Texture Definition

Defines a single texture set of parameters, which can be used in a Texture Application. More...

Modules

 Texture Mapping Operator
 A3DSDKTexture.
 
 Texture Mapping Type
 
 Texture Function
 
 Texture Mapping Attribute
 Defines texture-mapping methods.
 
 Texture Applying Mode
 Defines special modes for applying textures.
 
 PBR attribute name
 Defines names for PBR attributes associated to A3DGraphMaterialData.
 
 Texture Blend Parameter
 
 Texture Alpha Mode Parameter
 
 Texture Mapping Attribute Components
 
 Texture Alpha Test
 
 Texture Wrapping Mode
 
 Texture Transformation
 

Data Structures

struct  A3DGraphTextureDefinitionData
 TextureDefinitionData structure. More...
 

Functions

A3DStatus A3DGlobalGetGraphTextureDefinitionData (const A3DUns32 uiIndexTextureDefinition, A3DGraphTextureDefinitionData *pData)
 Populates the A3DGraphTextureDefinitionData structure. More...
 
A3DStatus A3DGlobalInsertGraphTextureDefinition (const A3DGraphTextureDefinitionData *pData, A3DUns32 *puiIndexTextureDefinition)
 Creates a Texture Definition from an A3DGraphTextureDefinitionData structure in global data. More...
 

Detailed Description

Defines a single texture set of parameters, which can be used in a Texture Application.

The Texture definitions are stored in the global data.

See also
Global Data Module.

Function Documentation

◆ A3DGlobalGetGraphTextureDefinitionData()

A3DStatus A3DGlobalGetGraphTextureDefinitionData ( const A3DUns32  uiIndexTextureDefinition,
A3DGraphTextureDefinitionData pData 
)

Populates the A3DGraphTextureDefinitionData structure.

Version
2.0
Returns
A3D_SUCCESS in case of success or an error code
Return values
A3D_INITIALIZE_NOT_CALLED
A3D_INVALID_DATA_STRUCT_SIZE
A3D_INVALID_DATA_STRUCT_NULL
A3D_SUCCESS

◆ A3DGlobalInsertGraphTextureDefinition()

A3DStatus A3DGlobalInsertGraphTextureDefinition ( const A3DGraphTextureDefinitionData pData,
A3DUns32 puiIndexTextureDefinition 
)

Creates a Texture Definition from an A3DGraphTextureDefinitionData structure in global data.

Version
2.0
Returns
A3D_SUCCESS in case of success or an error code
Return values
A3D_INITIALIZE_NOT_CALLED
A3D_INVALID_DATA_STRUCT_SIZE
A3D_INVALID_DATA_STRUCT_NULL
A3D_DEFAULT_COLOR
A3D_INVALID_COLOR_INDEX
A3D_SUCCESS