DX::IDXMaterialMap Struct Reference

#include <IDXMaterialMap.h>

Inherits DX::IDXModelOwned, DX::IDXMaterialOwned, and DX::IDXUserData.

Inherited by DX::IDXLightMap, and DX::IDXMultiMap.

Collaboration diagram for DX::IDXMaterialMap:

Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual uint DXMCALL GetMapCoordChannel () const =0
virtual const wchar_t *DXMCALL GetSource () const =0
virtual DXMapType DXMCALL GetType () const =0
virtual void DXMCALL SetMapCoordChannel (uint channel)=0
virtual DXError DXMCALL SetSource (const wchar_t *source)=0


Detailed Description

IDXMaterialMap is used for standard maps and is the base for multi and light maps.

Member Function Documentation

virtual uint DXMCALL DX::IDXMaterialMap::GetMapCoordChannel (  )  const [pure virtual]

Get the coordinate channel index that this map will be applied to.

Returns:
The coord index.

virtual const wchar_t* DXMCALL DX::IDXMaterialMap::GetSource (  )  const [pure virtual]

Get the name of the texture that will be used for this map.

Parameters:
The texture map.

virtual DXMapType DXMCALL DX::IDXMaterialMap::GetType (  )  const [pure virtual]

Get the type of map this is.

Returns:
A member of the DXMapType enumeration.

virtual void DXMCALL DX::IDXMaterialMap::SetMapCoordChannel ( uint  channel  )  [pure virtual]

Set the coordinate channel that this map will be applied to.

Parameters:
channel The channel index that will be used.

virtual DXError DXMCALL DX::IDXMaterialMap::SetSource ( const wchar_t *  source  )  [pure virtual]

Set the filename that will be used for the map.

Parameters:
source The name of the texture to use.
Returns:
Error_NullParam if source was null.
Error_Success if the source was updated.


Generated on Wed Jun 17 17:24:51 2009 for DXMesh API by  doxygen 1.5.7.1