Assimp v5.2.2 (January 2022)
The Asset-Importer-Lib API documentation.
texture.h File Reference

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

Classes

struct  aiTexel
 Helper structure to represent a texel in a ARGB8888 format. More...
 
struct  aiTexture
 Helper structure to describe an embedded texture. More...
 

Macros

#define AI_EMBEDDED_TEXNAME_PREFIX   "*"
 AI_MAKE_EMBEDDED_TEXNAME More...
 
#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. More...
 
#define AI_TEXTURE_H_INC
 
#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)

◆ AI_TEXTURE_H_INC

#define AI_TEXTURE_H_INC

◆ HINTMAXTEXTURELEN

#define HINTMAXTEXTURELEN   9

Variable Documentation

◆ PACK_STRUCT

struct aiTexel PACK_STRUCT