///
/// HybridFrameSourceSpec.cpp
/// This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
/// https://github.com/mrousavy/nitro
/// Copyright © Marc Rousavy @ Margelo
///

#include "HybridFrameSourceSpec.hpp"

namespace margelo::nitro::videopipeline {

  void HybridFrameSourceSpec::loadHybridMethods() {
    // load base methods/properties
    HybridObject::loadHybridMethods();
    // load custom methods/properties
    registerHybrids(this, [](Prototype& prototype) {
      prototype.registerHybridGetter("unstable_bufferAddr", &HybridFrameSourceSpec::getUnstable_bufferAddr);
      prototype.registerHybridGetter("width", &HybridFrameSourceSpec::getWidth);
      prototype.registerHybridGetter("height", &HybridFrameSourceSpec::getHeight);
      prototype.registerHybridGetter("format", &HybridFrameSourceSpec::getFormat);
      prototype.registerHybridMethod("readBytes", &HybridFrameSourceSpec::readBytes);
    });
  }

} // namespace margelo::nitro::videopipeline
