Texture_setImage function
- @Native<Bool Function(Pointer<TEngine>, Pointer<TTexture>, Uint32, Pointer<Uint8>, Size, Uint32, Uint32, Uint32, Uint32, Uint32, Uint32, Uint32, Uint32)>(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)>(isLeaf: true)
bool
Texture_setImage(
- Pointer<TEngine> tEngine,
- Pointer<TTexture> tTexture,
- int level,
- Pointer<Uint8> data,
- int size,
- int x_offset,
- int y_offset,
- int z_offset,
- int width,
- int height,
- int depth,
- int bufferFormat,
- int pixelDataType,
)
Implementation
@ffi.Native<
ffi.Bool 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)>(isLeaf: true)
external bool Texture_setImage(
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,
);