mentalray/imrShaderClassDesc.h File Reference

imrShaderClassDesc.h File Reference
#include "../iparamb2.h"

Classes

class  imrShaderClassDesc
 

Macros

#define GETIMRSHADERCLASSDESC_CMD   0x984a860f
 

Functions

imrShaderClassDescGet_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 }
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
#define NULL
Definition: autoptr.h:20
#define GETIMRSHADERCLASSDESC_CMD
Definition: imrShaderClassDesc.h:140
Definition: imrShaderClassDesc.h:33