Texture_loadImage function

  1. @Native<Bool Function(Pointer<TEngine>, Pointer<TTexture>, Pointer<TLinearImage>, UnsignedInt, UnsignedInt, Int)>(ffi.Pointer<TEngine>, ffi.Pointer<TTexture>, ffi.Pointer<TLinearImage>, ffi.UnsignedInt, ffi.UnsignedInt, ffi.Int)>(isLeaf: true)
bool Texture_loadImage(
  1. Pointer<TEngine> tEngine,
  2. Pointer<TTexture> tTexture,
  3. Pointer<TLinearImage> tImage,
  4. int bufferFormat,
  5. int pixelDataType,
  6. int level,
)

Implementation

@ffi.Native<
    ffi.Bool Function(
        ffi.Pointer<TEngine>,
        ffi.Pointer<TTexture>,
        ffi.Pointer<TLinearImage>,
        ffi.UnsignedInt,
        ffi.UnsignedInt,
        ffi.Int)>(isLeaf: true)
external bool Texture_loadImage(
  ffi.Pointer<TEngine> tEngine,
  ffi.Pointer<TTexture> tTexture,
  ffi.Pointer<TLinearImage> tImage,
  int bufferFormat,
  int pixelDataType,
  int level,
);