KTX_error_code (*invoke) (
int miplevel,
int face,
int width,
int height,
int depth,
ktx_uint64_t faceLodSize,
void *pixels,
void *userdata
)
| Modifier and Type | Method and Description |
|---|---|
| public default void | callback(long
a pointer to the memory used for the function's return value.
ret, long If the function is declared as returning Otherwise, the callback must fill the object to which this points, following the same special promotion behavior as
a vector of pointers to memory holding the arguments to the function args)Implements org. |
| public default FFICIF | getCallInterface()
Implements org. |
| public int | invoke(int
MIP level from 0 to the max level which is dependent on the texture size miplevel, int usually 0; for cube maps, one of the 6 cube faces in the order +X, -X, +Y, -Y, +Z, -Z, 0 to 5 face, int width of the image width, int height of the image or, for 1D textures textures, 1 height, int depth of the image or, for 1D & 2D textures, 1 depth, long number of bytes of data pointed at by faceLodSize, long pixelspointer to the image data pixels, long pointer for the application to pass data to and from the callback function userdata)Signature of function called by the |
| CIF | back to summary |
|---|---|
| public static final FFICIF CIF | |
| callback | back to summary |
|---|---|
| public default void callback(long ret, long args) Implements org. Doc from org. The Java method that will be called from native code when the native callback function is invoked.
| |
| getCallInterface | back to summary |
|---|---|
| public default FFICIF getCallInterface() Implements org. Doc from org. Returns the libffi Call Interface for this callback function. [INTERNAL API] | |
| invoke | back to summary |
|---|---|
| public int invoke(int miplevel, int face, int width, int height, int depth, long faceLodSize, long pixels, long userdata) Signature of function called by the The function parameters are used to pass values which change for each image. Obtain values which are uniform across all images from the
| |