A3DSDKTexture.h File Reference

Header for the Texture module, which is part of the Graphics module. More...

Data Structures

struct  A3DGraphTextureApplicationData
 TextureApplicationData structure. More...
 
struct  A3DGraphTextureDefinitionData
 TextureDefinitionData structure. More...
 
struct  A3DGraphTextureTransformationData
 Texture Transformation Structure. More...
 

Macros

#define kA3DTextureApplyingModeAlphaTest   0x0002
 
#define kA3DTextureApplyingModeLighting   0x0001
 
#define kA3DTextureApplyingModeNone   0x0000
 
#define kA3DTextureApplyingModeVertexColor   0x0004
 
#define kA3DTextureMappingAmbient   0x0080
 
#define kA3DTextureMappingBump   0x0002
 
#define kA3DTextureMappingComponentsAlpha   0x0008
 
#define kA3DTextureMappingComponentsBlue   0x0004
 
#define kA3DTextureMappingComponentsGreen   0x0002
 
#define kA3DTextureMappingComponentsRed   0x0001
 Defines which component(s) must be used to map a texture. More...
 
#define kA3DTextureMappingComponentsRgb   0x0007
 
#define kA3DTextureMappingComponentsRgba   0x000f
 
#define kA3DTextureMappingCubicalReflection   0x0010
 
#define kA3DTextureMappingDiffuse   0x0001
 
#define kA3DTextureMappingEmission   0x0100
 
#define kA3DTextureMappingOpacity   0x0004
 
#define kA3DTextureMappingRefraction   0x0020
 
#define kA3DTextureMappingSpecular   0x0040
 
#define kA3DTextureMappingSphericalReflection   0x0008
 

Enumerations

enum  A3DETextureAlphaTest {
  kA3DTextureAlphaTestUnknown, kA3DTextureAlphaTestNever, kA3DTextureAlphaTestLess, kA3DTextureAlphaTestEqual,
  kA3DTextureAlphaTestLequal, kA3DTextureAlphaTestGreater, kA3DTextureAlphaTestNotequal, kA3DTextureAlphaTestGequal,
  kA3DTextureAlphaTestAlways
}
 Reserved for future use. More...
 
enum  A3DETextureBlendParameter {
  kA3DTextureBlendParameterUnknown, kA3DTextureBlendParameterZero, kA3DTextureBlendParameterOne, kA3DTextureBlendParameterSrcColor,
  kA3DTextureBlendParameterOneMinusSrcColor, kA3DTextureBlendParameterDstColor, kA3DTextureBlendParameterOneMinusDstColor, kA3DTextureBlendParameterSrcAlpha,
  kA3DTextureBlendParameterOneMinusSrcAlpha, kA3DTextureBlendParameterDstAlpha, kA3DTextureBlendParameterOneMinusDstAlpha, kA3DTextureBlendParameterSrcAlphaSaturate
}
 Reserved for future use. More...
 
enum  A3DETextureFunction {
  kA3DTextureFunctionUnknown, kA3DTextureFunctionModulate, kA3DTextureFunctionReplace, kA3DTextureFunctionBlend,
  kA3DTextureFunctionDecal
}
 Defines how to paint a texture on the surface being rendered. More...
 
enum  A3DETextureMappingOperator {
  kA3DTextureMappingOperatorUnknown, kA3DTextureMappingOperatorPlanar, kA3DTextureMappingOperatorCylindrical, kA3DTextureMappingOperatorSpherical,
  kA3DTextureMappingOperatorCubical
}
 Reserved for future use. More...
 
enum  A3DETextureMappingType { kA3DTextureMappingTypeUnknown, kA3DTextureMappingTypeStored, kA3DTextureMappingTypeParametric, kA3DTextureMappingTypeOperator }
 Defines how to get mapping coordinates. More...
 
enum  A3DETextureWrappingMode {
  kA3DTextureWrappingModeUnknown, kA3DTextureWrappingModeRepeat, kA3DTextureWrappingModeClampToBorder, kA3DTextureWrappingModeClamp,
  kA3DTextureWrappingModeClampToEdge, kA3DTextureWrappingModeMirroredRepeat
}
 Defines repeating and clamping texture modes. More...
 

Functions

A3DStatus A3DGlobalGetGraphTextureApplicationData (const A3DUns32 uiIndexTextureApplication, A3DGraphTextureApplicationData *pData)
 Populates the A3DGraphTextureApplicationData structure. More...
 
A3DStatus A3DGlobalGetGraphTextureDefinitionData (const A3DUns32 uiIndexTextureDefinition, A3DGraphTextureDefinitionData *pData)
 Populates the A3DGraphTextureDefinitionData structure. More...
 
A3DStatus A3DGlobalInsertGraphTextureApplication (const A3DGraphTextureApplicationData *pData, A3DUns32 *puiIndexTextureApplication)
 Creates a Texture Application from an A3DGraphTextureApplicationData structure in global data. More...
 
A3DStatus A3DGlobalInsertGraphTextureDefinition (const A3DGraphTextureDefinitionData *pData, A3DUns32 *puiIndexTextureDefinition)
 Creates a Texture Definition from an A3DGraphTextureDefinitionData structure in global data. More...
 
A3DStatus A3DGraphTextureTransformationCreate (const A3DGraphTextureTransformationData *pData, A3DGraphTextureTransformation **ppTextureTransformation)
 Creates an A3DGraphTextureTransformation from an A3DGraphTextureTransformationData structure. More...
 
A3DStatus A3DGraphTextureTransformationGet (const A3DGraphTextureTransformation *pTextureTransformation, A3DGraphTextureTransformationData *pData)
 Populates the A3DGraphTextureTransformation structure. More...
 

Detailed Description

Header for the Texture module, which is part of the Graphics module.

Author
Tech Soft 3D
Version
9.1
Date
March 2016
Copyright (c) 2016 by Tech Soft 3D, LLC. All rights reserved.