|
Blender V5.3
|
#include "encoder.h"#include "common.h"#include <algorithm>#include <cstring>#include <thread>#include <vector>Go to the source code of this file.
Functions | |
| int | encodeToFile (const char *filename, const unsigned char *pixels, unsigned int width, unsigned int height, unsigned int channels, int quality, int is_data, int use_uastc, int compress) |
| int encodeToFile | ( | const char * | filename, |
| const unsigned char * | pixels, | ||
| unsigned int | width, | ||
| unsigned int | height, | ||
| unsigned int | channels, | ||
| int | quality, | ||
| int | is_data, | ||
| int | use_uastc, | ||
| int | compress ) |
Definition at line 13 of file ktx_bridge/intern/encoder.cpp.
References encodeToFile(), texture(), VK_FORMAT_R8G8B8_SRGB, VK_FORMAT_R8G8B8_UNORM, VK_FORMAT_R8G8B8A8_SRGB, VK_FORMAT_R8G8B8A8_UNORM, and y.
Referenced by encodeToFile().