DX Namespace Reference


Classes

struct  DXColor
struct  DXVector
struct  DXRotation
struct  DXUV
struct  DXMatrix
struct  IDXAnimation
struct  IDXAnimationKey
struct  IDXAnimationKeyframe
struct  IDXAnimationOwned
struct  IDXFace
struct  IDXGetGroupResult
struct  IDXGroup
struct  IDXGroupAnim
struct  IDXGroupAnimOwned
struct  IDXGroupOwned
struct  IDXLightMap
struct  IDXMaterial
struct  IDXMaterialMap
struct  IDXMaterialOwned
struct  IDXMesh
struct  IDXMeshOwned
struct  IDXModel
struct  IDXModelInfo
struct  IDXModelInfoOwned
struct  IDXModelOwned
struct  IDXModelProperties
struct  IDXModelPropertiesOwned
struct  IDXMultiMap
struct  IDXObjectPropAttribute
struct  IDXObjectProp
struct  IDXObjectPropOwned
struct  IDXRotationKey
struct  IDXScaleKey
struct  IDXSkin
struct  DXSkinVert
struct  IDXSkinEntry
struct  IDXSkinOwned
struct  IDXSurfaceDetail
struct  IDXTag
struct  IDXTranslationKey
struct  IDXUsedFile
struct  IDXUserData
struct  IDXVertex

Typedefs

typedef unsigned int uint
typedef unsigned char byte

Enumerations

enum  DXError {
  Error_Success = 0, Error_OutOfRange, Error_OutOfRange2, Error_NullParam,
  Error_NullParam2, Error_InvalidVertex, Error_InvalidMaterial, Error_NotFound,
  Error_BadLowerBound, Error_BadUpperBound, Error_BadRange, Error_Duplicate,
  Error_InvalidParam, Error_InvalidID, Error_FileNotFound, Error_OpenFileWrite,
  Error_BadXML
}
enum  DXReflectionType { Reflection_None = 0, Reflection_Environment, Reflection_Cubic, Reflection_Reserved }
enum  DXStandardMapType {
  StandardMap_Diffuse = 0, StandardMap_Emissive, StandardMap_Opacity, StandardMap_Bump,
  StandardMap_Normal, StandardMap_Specular, StandardMap_Reserved
}
enum  DXMapType { MapType_Standard = 0, MapType_Light, MapType_Multi, MapType_Reserved }
enum  DXMapCombine {
  Combine_Normal = 0, Combine_Multiply, Combine_Lighten, Combine_Darken,
  Combine_Reserved
}

Functions

DXMESHEXPORT uint DXMCALL DXMeshAPIVersion ()
DXMESHEXPORT DXColor CreateColor (byte a, byte r, byte g, byte b)
DXMESHEXPORT bool ValidateID (const char *id)
DXMESHEXPORT void CleanID (char *id)
DXMESHEXPORT DXVector CreateVector (float x, float y, float z)
DXMESHEXPORT DXUV CreateUV (float u, float v)
DXMESHEXPORT DXRotation CreateRotation (float x, float y, float z, float w)
DXMESHEXPORT DXMatrix CreateMatrix (float m00, float m01, float m02, float m03, float m10, float m11, float m12, float m13, float m20, float m21, float m22, float m23, float m30, float m31, float m32, float m33)
DXMESHEXPORT DXMatrix CreateMatrix (float m[16])
DXMESHEXPORT const wchar_t * TranslateStandardMap (DXStandardMapType type)
DXMESHEXPORT const char * TranslateCombine (DXMapCombine combine)
DXMESHEXPORT IDXModelCreateModel ()
DXMESHEXPORT IDXModelCreateModelFromFile (const wchar_t *const filename)
DXMESHEXPORT void DestroyModel (IDXModel *model)
DXMESHEXPORT DXSkinVert CreateSkinVert (uint index, float weight)

Variables

const DXMatrix IdentityMatrix = CreateMatrix(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)

Typedef Documentation

typedef unsigned char DX::byte

typedef unsigned int DX::uint


Enumeration Type Documentation

Enumerator:
Error_Success 
Error_OutOfRange 
Error_OutOfRange2 
Error_NullParam 
Error_NullParam2 
Error_InvalidVertex 
Error_InvalidMaterial 
Error_NotFound 
Error_BadLowerBound 
Error_BadUpperBound 
Error_BadRange 
Error_Duplicate 
Error_InvalidParam 
Error_InvalidID 
Error_FileNotFound 
Error_OpenFileWrite 
Error_BadXML 

Enumerator:
Combine_Normal 
Combine_Multiply 
Combine_Lighten 
Combine_Darken 
Combine_Reserved 

Enumerator:
MapType_Standard 
MapType_Light 
MapType_Multi 
MapType_Reserved 

This controls the reflection properties of this material.
None : This material will not reflect anything and will be rendered normally.
Environment : This material will reflect the current environment map of the scene.
Cubic : This materal will reflect the other objects in the scene in realtime.
Reserved : This is used internally, and should not be specified.

Enumerator:
Reflection_None 
Reflection_Environment 
Reflection_Cubic 
Reflection_Reserved 

Enumerator:
StandardMap_Diffuse 
StandardMap_Emissive 
StandardMap_Opacity 
StandardMap_Bump 
StandardMap_Normal 
StandardMap_Specular 
StandardMap_Reserved 


Function Documentation

DXMESHEXPORT void DX::CleanID ( char *  id  ) 

DXMESHEXPORT DXColor DX::CreateColor ( byte  a,
byte  r,
byte  g,
byte  b 
)

DXMESHEXPORT DXMatrix DX::CreateMatrix ( float  m[16]  ) 

DXMESHEXPORT DXMatrix DX::CreateMatrix ( float  m00,
float  m01,
float  m02,
float  m03,
float  m10,
float  m11,
float  m12,
float  m13,
float  m20,
float  m21,
float  m22,
float  m23,
float  m30,
float  m31,
float  m32,
float  m33 
)

DXMESHEXPORT IDXModel* DX::CreateModel (  ) 

DXMESHEXPORT IDXModel* DX::CreateModelFromFile ( const wchar_t *const   filename  ) 

DXMESHEXPORT DXRotation DX::CreateRotation ( float  x,
float  y,
float  z,
float  w 
)

DXMESHEXPORT DXSkinVert DX::CreateSkinVert ( uint  index,
float  weight 
)

DXMESHEXPORT DXUV DX::CreateUV ( float  u,
float  v 
)

DXMESHEXPORT DXVector DX::CreateVector ( float  x,
float  y,
float  z 
)

DXMESHEXPORT void DX::DestroyModel ( IDXModel *  model  ) 

DXMESHEXPORT uint DXMCALL DX::DXMeshAPIVersion (  ) 

DXMESHEXPORT const char* DX::TranslateCombine ( DXMapCombine  combine  ) 

DXMESHEXPORT const wchar_t* DX::TranslateStandardMap ( DXStandardMapType  type  ) 

DXMESHEXPORT bool DX::ValidateID ( const char *  id  ) 


Variable Documentation

const DXMatrix DX::IdentityMatrix = CreateMatrix(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)


Generated on Tue Apr 14 11:40:18 2009 for DXMeshAPI by  doxygen 1.5.7.1