Texture_setImageRenderThread function

  1. @Native<Void Function(Pointer<TEngine>, Pointer<TTexture>, Uint32, Pointer<Uint8>, Size, Uint32, Uint32, Uint32, Uint32, Uint32, Uint32, Uint32, Uint32, Pointer<NativeFunction<Void Function(Bool)>>)>(ffi.Pointer<TEngine>, ffi.Pointer<TTexture>, ffi.Uint32, ffi.Pointer<ffi.Uint8>, ffi.Size, ffi.Uint32, ffi.Uint32, ffi.Uint32, ffi.Uint32, ffi.Uint32, ffi.Uint32, ffi.Uint32, ffi.Uint32, ffi.Pointer<ffi.NativeFunction<ffi.Void Function(ffi.Bool)>>)>(isLeaf: true)
void Texture_setImageRenderThread(
  1. Pointer<TEngine> tEngine,
  2. Pointer<TTexture> tTexture,
  3. int level,
  4. Pointer<Uint8> data,
  5. int size,
  6. int x_offset,
  7. int y_offset,
  8. int z_offset,
  9. int width,
  10. int height,
  11. int depth,
  12. int bufferFormat,
  13. int pixelDataType,
  14. Pointer<NativeFunction<Void Function(Bool)>> onComplete,
)

Implementation

@ffi.Native<
        ffi.Void Function(
            ffi.Pointer<TEngine>,
            ffi.Pointer<TTexture>,
            ffi.Uint32,
            ffi.Pointer<ffi.Uint8>,
            ffi.Size,
            ffi.Uint32,
            ffi.Uint32,
            ffi.Uint32,
            ffi.Uint32,
            ffi.Uint32,
            ffi.Uint32,
            ffi.Uint32,
            ffi.Uint32,
            ffi.Pointer<ffi.NativeFunction<ffi.Void Function(ffi.Bool)>>)>(
    isLeaf: true)
external void Texture_setImageRenderThread(
  ffi.Pointer<TEngine> tEngine,
  ffi.Pointer<TTexture> tTexture,
  int level,
  ffi.Pointer<ffi.Uint8> data,
  int size,
  int x_offset,
  int y_offset,
  int z_offset,
  int width,
  int height,
  int depth,
  int bufferFormat,
  int pixelDataType,
  ffi.Pointer<ffi.NativeFunction<ffi.Void Function(ffi.Bool)>> onComplete,
);