mentalray/imrShaderClassDesc.h File Reference
Main Page
Topics
Modules
Namespaces
Classes
Files
File List
File Members
imrShaderClassDesc.h File Reference
Classes
|
Macros
|
Functions
#include "
../iparamb2.h
"
Classes
class
imrShaderClassDesc
Macros
#define
GETIMRSHADERCLASSDESC_CMD
0x984a860f
Functions
imrShaderClassDesc
*
Get_mrShaderClassDesc
(
ClassDesc
*cd)
Macro Definition Documentation
#define GETIMRSHADERCLASSDESC_CMD 0x984a860f
Function Documentation
imrShaderClassDesc
* Get_mrShaderClassDesc
(
ClassDesc
*
cd
)
inline
143
{
144
145
if
((cd !=
NULL
) && (cd->
Execute
(
GETIMRSHADERCLASSDESC_CMD
) == (
GETIMRSHADERCLASSDESC_CMD
+ 1))) {
146
return
static_cast<
imrShaderClassDesc
*
>
(cd);
147
}
148
else
{
149
return
NULL
;
150
}
151
}
ClassDesc::Execute
virtual INT_PTR Execute(int cmd, ULONG_PTR arg1=0, ULONG_PTR arg2=0, ULONG_PTR arg3=0)
This function is maintained so the 3ds Max SDK can be extended without breaking backwards compatibili...
Definition:
plugapi.h:1327
NULL
#define NULL
Definition:
autoptr.h:20
GETIMRSHADERCLASSDESC_CMD
#define GETIMRSHADERCLASSDESC_CMD
Definition:
imrShaderClassDesc.h:140
imrShaderClassDesc
Definition:
imrShaderClassDesc.h:33