Path Tracer
Classes | Macros | Variables
texture.h File Reference

Defines texture helper structures for the library. More...

#include <assimp/types.h>
#include "./Compiler/pushpack1.h"
#include "./Compiler/poppack1.h"

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
 

Detailed Description

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.

Macro Definition Documentation

◆ AI_EMBEDDED_TEXNAME_PREFIX

#define AI_EMBEDDED_TEXNAME_PREFIX   "*"

◆ AI_MAKE_EMBEDDED_TEXNAME

#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)