Path Tracer
|
Defines texture helper structures for the library. More...
Go to the source code of this file.
Classes | |
struct | aiTexel |
Helper structure to represent a texel in a ARGB8888 format. More... | |
struct | aiTexture |
Macros | |
#define | AI_TEXTURE_H_INC |
#define | AI_EMBEDDED_TEXNAME_PREFIX "*" |
#define | AI_MAKE_EMBEDDED_TEXNAME(_n_) AI_EMBEDDED_TEXNAME_PREFIX # _n_ |
#define | HINTMAXTEXTURELEN 9 |
Variables | |
struct aiTexel | PACK_STRUCT |
Defines texture helper structures for the library.
Used for file formats which embed their textures into the model file. Supported are both normal textures, which are stored as uncompressed pixels, and "compressed" textures, which are stored in a file format such as PNG or TGA.
#define AI_EMBEDDED_TEXNAME_PREFIX "*" |
#define AI_MAKE_EMBEDDED_TEXNAME | ( | _n_ | ) | AI_EMBEDDED_TEXNAME_PREFIX # _n_ |
Used to build the reserved path name used by the material system to reference textures that are embedded into their corresponding model files. The parameter specifies the index of the texture (zero-based, in the aiScene::mTextures array)