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 | Class and Description |
|---|---|
| private static class |
| Access | Constructor and Description |
|---|---|
| protected | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public static PFNKTXITERCB | Returns: the newPFNKTXITERCBCreates a |
| public static PFNKTXITERCB | create(PFNKTXITERCBI instance)
Creates a |
| public static PFNKTXITERCB |
| PFNKTXITERCB | back to summary |
|---|---|
| protected PFNKTXITERCB() | |
| PFNKTXITERCB | back to summary |
|---|---|
| pack-priv PFNKTXITERCB(long functionPointer) | |
| create | back to summary |
|---|---|
| public static PFNKTXITERCB create(long functionPointer) Creates a
| |
| create | back to summary |
|---|---|
| public static PFNKTXITERCB create(PFNKTXITERCBI instance) Creates a | |
| createSafe | back to summary |
|---|---|
| public static PFNKTXITERCB createSafe(long functionPointer) Like
| |
| Modifier and Type | Field and Description |
|---|---|
| private final PFNKTXITERCBI |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| 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)Implements org. ktxTexture_Iterate* functions to receive image data.
|
| delegate | back to summary |
|---|---|
| private final PFNKTXITERCBI delegate | |
| Container | back to summary |
|---|---|
| pack-priv Container(long functionPointer, PFNKTXITERCBI delegate) | |
| invoke | back to summary |
|---|---|
| public int invoke(int miplevel, int face, int width, int height, int depth, long faceLodSize, long pixels, long userdata) Implements org. Doc from org. 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
| |