|
Blender V5.3
|
Go to the source code of this file.
Functions | |
| int | decodeFromFile (const char *filename, ktxTexture2 **newTex) |
| int | getImageInfo (ktxTexture2 *texture, unsigned int *width, unsigned int *height, size_t *dataSize) |
| int | getImageDataFloat (ktxTexture2 *texture, float *destination, size_t destinationSize) |
| void | destroyTexture (ktxTexture2 *texture) |
| int decodeFromFile | ( | const char * | filename, |
| ktxTexture2 ** | newTex ) |
Definition at line 8 of file ktx_bridge/intern/decoder.cpp.
References decodeFromFile(), VK_FORMAT_R8G8B8A8_SRGB, and VK_FORMAT_R8G8B8A8_UNORM.
Referenced by decodeFromFile().
| void destroyTexture | ( | ktxTexture2 * | texture | ) |
Definition at line 98 of file ktx_bridge/intern/decoder.cpp.
References destroyTexture(), and texture().
Referenced by destroyTexture().
| int getImageDataFloat | ( | ktxTexture2 * | texture, |
| float * | destination, | ||
| size_t | destinationSize ) |
Definition at line 56 of file ktx_bridge/intern/decoder.cpp.
References getImageDataFloat(), texture(), VK_FORMAT_R8G8B8A8_SRGB, VK_FORMAT_R8G8B8A8_UNORM, x, and y.
Referenced by getImageDataFloat().
| int getImageInfo | ( | ktxTexture2 * | texture, |
| unsigned int * | width, | ||
| unsigned int * | height, | ||
| size_t * | dataSize ) |
Definition at line 43 of file ktx_bridge/intern/decoder.cpp.
References getImageInfo(), and texture().
Referenced by getImageInfo().