#include <stdmat.h>
Public Member Functions |
|
BOOL | SupportsShaders () |
virtual BOOL | KeyAtTimeByID (ParamID id, TimeValue t)=0 |
Checks if the material parameter has a key
set at the specified time. |
|
MAX_DEPRECATED BOOL | KeyAtTime (int id, TimeValue t) |
virtual int | GetMapState (int indx)=0 |
virtual MSTR | GetMapName (int indx)=0 |
virtual void | SyncADTexLock (BOOL lockOn)=0 |
virtual BOOL | SwitchShader (Class_ID id)=0 |
virtual Shader * | GetShader ()=0 |
virtual BOOL | IsFaceted ()=0 |
virtual void | SetFaceted (BOOL on)=0 |
virtual long | StdIDToChannel (long id)=0 |
virtual void | SetShading (int s) |
virtual int | GetShading () |
virtual BOOL | SwitchSampler (Class_ID id)=0 |
virtual Sampler * | GetPixelSampler (int mtlNum, BOOL backFace)=0 |
virtual BOOL | GetSelfIllumColorOn (int mtlNum=0, BOOL backFace=FALSE)=0 |
virtual Color | GetSelfIllumColor (int mtlNum, BOOL backFace)=0 |
virtual Color | GetSelfIllumColor (TimeValue t)=0 |
virtual void | SetSelfIllumColorOn (BOOL on)=0 |
virtual void | SetSelfIllumColor (Color c, TimeValue t)=0 |
virtual float | GetReflectionDim (float diffIllumIntensity) |
virtual Color | TranspColor (float opac, Color filt, Color diff)=0 |
virtual float | GetEffOpacity (ShadeContext &sc, float opac)=0 |
BOOL SupportsShaders | ( | ) | [inline, virtual] |
Reimplemented from Mtl.
{ return TRUE; }
virtual BOOL KeyAtTimeByID | ( | ParamID | id, |
TimeValue | t | ||
) | [pure virtual] |
Checks if the material parameter has a key set at the specified time.
id | - The ID of the parameter to check. |
t | - The time to check. |
MAX_DEPRECATED BOOL KeyAtTime | ( | int | id, |
TimeValue | t | ||
) |
virtual int GetMapState | ( | int | indx | ) | [pure virtual] |
virtual MSTR GetMapName | ( | int | indx | ) | [pure virtual] |
virtual void SyncADTexLock | ( | BOOL | lockOn | ) | [pure virtual] |
virtual BOOL SwitchShader | ( | Class_ID | id | ) | [pure virtual] |
virtual Shader* GetShader | ( | ) | [pure virtual] |
virtual BOOL IsFaceted | ( | ) | [pure virtual] |
virtual void SetFaceted | ( | BOOL | on | ) | [pure virtual] |
virtual long StdIDToChannel | ( | long | id | ) | [pure virtual] |
virtual void SetShading | ( | int | s | ) | [inline, virtual] |
Implements StdMat.
{}
virtual int GetShading | ( | ) | [inline, virtual] |
Implements StdMat.
{ return -1; }
virtual BOOL SwitchSampler | ( | Class_ID | id | ) | [pure virtual] |
virtual Sampler* GetPixelSampler | ( | int | mtlNum, |
BOOL | backFace | ||
) | [pure virtual] |
virtual BOOL GetSelfIllumColorOn | ( | int | mtlNum = 0 , |
BOOL | backFace =
FALSE |
||
) | [pure virtual] |
virtual Color GetSelfIllumColor | ( | int | mtlNum, |
BOOL | backFace | ||
) | [pure virtual] |
virtual Color GetSelfIllumColor | ( | TimeValue | t | ) | [pure virtual] |
virtual void SetSelfIllumColorOn | ( | BOOL | on | ) | [pure virtual] |
virtual void SetSelfIllumColor | ( | Color | c, |
TimeValue | t | ||
) | [pure virtual] |
virtual float GetReflectionDim | ( | float | diffIllumIntensity | ) | [inline, virtual] |
{ return 1.0f; }
virtual float GetEffOpacity | ( | ShadeContext & | sc, |
float | opac | ||
) | [pure virtual] |