#include <IDxMaterial.h>
Public Types |
|
enum | BitmapTypes
{ UNKNOWN_MAP, DIFFUSE_MAP, BUMP_MAP, SPECULAR_MAP, OPACITY_MAP, DISPLACEMENT_MAP, LIGHTMAP_MAP, NORMAL_MAP, REFLECTION_MAP } |
Public Member Functions |
|
virtual int | GetBitmapMappingChannel (int index)=0 |
Get the Mapping channel defined for the
texture. |
|
virtual BitmapTypes | GetBitmapUsage (int index)=0 |
Get the usage of the bitmap. |
|
virtual void | SetMappingChannel (int bitmapIndex, int mapChannel)=0 |
Set the mapping channel for the bitmap.
|
enum BitmapTypes |
virtual int GetBitmapMappingChannel | ( | int | index | ) | [pure virtual] |
Get the Mapping channel defined for the texture.
The mapping channel as specified in the Effect file. If no mapping is defined then this will be mapping channel 0
index | The index of the bitmap to access |
virtual BitmapTypes GetBitmapUsage | ( | int | index | ) | [pure virtual] |
Get the usage of the bitmap.
This is typically the usuage as seen from 3dsmax. The usage is based on the Semantic used in the effect file This would be used in conjunction with GetNumberOfEffectBitmaps
index | The index of the bitmap to query |
virtual void SetMappingChannel | ( | int | bitmapIndex, |
int | mapChannel | ||
) | [pure virtual] |
Set the mapping channel for the bitmap.
This would be used in conjunction with GetNumberOfEffectBitmaps
bitmapIndex | The index of the bitmap |
mapChannel | The mapping channel value |