An extension to the IRTShaderManager interface.
#include <IRTShaderNode.h>
Public Member Functions |
|
virtual const MCHAR * | GetShaderCode (Animatable *anim)=0 |
For the given Animatable access the compiled effect
code from the system. |
|
Static Public Member Functions |
|
static
DllExport IRTShaderManager2 * |
GetRTShaderManager2 () |
Access to the IRTShaderManager2
interface. |
virtual const MCHAR* GetShaderCode | ( | Animatable * | anim | ) | [pure virtual] |
For the given Animatable access the compiled effect code from the system.
THis will be the actual code generated by the tree compiler, and passed to the DirectX frame work.
[in] | anim | The animatable whose shader code is requested |
static DllExport IRTShaderManager2* GetRTShaderManager2 | ( | ) | [static] |
Access to the IRTShaderManager2 interface.
A developer would use something like the following.
IRTShaderManager2 * lpShaderMgr2 = IRTShaderManager2::GetIRTShaderManager2()
It is exported in the RTMax.dll