Blender V5.3
decoder.h File Reference
#include "common.h"
#include <ktx.h>
#include <stddef.h>

Go to the source code of this file.

Functions

 decodeFromFile (const char *filename, ktxTexture2 **newTex)
 getImageInfo (ktxTexture2 *texture, unsigned int *width, unsigned int *height, size_t *dataSize)
 getImageDataFloat (ktxTexture2 *texture, float *destination, size_t destinationSize)
 destroyTexture (ktxTexture2 *texture)

Function Documentation

◆ decodeFromFile()

decodeFromFile ( const char * filename,
ktxTexture2 ** newTex )

◆ destroyTexture()

destroyTexture ( ktxTexture2 * texture)

Definition at line 98 of file ktx_bridge/intern/decoder.cpp.

References destroyTexture(), and texture().

Referenced by destroyTexture().

◆ getImageDataFloat()

getImageDataFloat ( ktxTexture2 * texture,
float * destination,
size_t destinationSize )

◆ getImageInfo()

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().