Public Member Functions

IDxMaterial3 Class Reference

Search for all occurrences

#include <IDxMaterial.h>

Inheritance diagram for IDxMaterial3:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual IEffectParser GetCurrentParser ()=0
  Access to the current active parser for the loaded effect file.
virtual INode GetLightNode (D3DXHANDLE handle)=0
  Get the active light node based on the D3DXHANDLE.
virtual IParameterManager GetCurrentParameterManager ()=0
  Get the active Parameter Manager.
virtual int  GetNumberOfTechniques ()=0
  Get total number of Techniques.
virtual const MCHAR *  GetTechniqueName (int index)=0
  Get the technique name.
virtual const MCHAR *  GetCurrentTechniqueName ()=0
  Get the active technique name.
virtual ILightManager GetCurrentLightManager ()=0
  Get the active light manager.

Member Function Documentation

virtual IEffectParser* GetCurrentParser ( ) [pure virtual]

Access to the current active parser for the loaded effect file.

Returns:
The current parser
virtual INode* GetLightNode ( D3DXHANDLE  handle ) [pure virtual]

Get the active light node based on the D3DXHANDLE.

Parameters:
handle The handle based on the effect file
Returns:
The light node
virtual IParameterManager* GetCurrentParameterManager ( ) [pure virtual]

Get the active Parameter Manager.

Returns:
The current parameter manager owned by the material
virtual int GetNumberOfTechniques ( ) [pure virtual]

Get total number of Techniques.

Returns the total number of validated techniques used by the DirectX Shader material

Returns:
The number of techniques
virtual const MCHAR* GetTechniqueName ( int  index ) [pure virtual]

Get the technique name.

virtual const MCHAR* GetCurrentTechniqueName ( ) [pure virtual]

Get the active technique name.

virtual ILightManager* GetCurrentLightManager ( ) [pure virtual]

Get the active light manager.

Provides access to the light manager maintained by the material. This provides access to various light data like position, color and attenuation

Returns:
The current active light manager

IDxMaterial3 IDxMaterial3 IDxMaterial3 IDxMaterial3 IDxMaterial3 IDxMaterial3 IDxMaterial3 IDxMaterial3 IDxMaterial3 IDxMaterial3
IDxMaterial3 IDxMaterial3 IDxMaterial3 IDxMaterial3 IDxMaterial3 IDxMaterial3 IDxMaterial3 IDxMaterial3 IDxMaterial3 IDxMaterial3