mentalray/imrShader.h File Reference

#include "../tab.h"
#include "../maxtypes.h"
#include "../BaseInterface.h"
#include "../strclass.h"

Classes

class  imrShader
 

Macros

#define IMRSHADER_INTERFACE_ID   Interface_ID(0x3b2f7b97, 0x5766e45)
 

Functions

imrShaderGetIMRShader (InterfaceServer *iserver)
 
bool IsIMRShader (InterfaceServer *iserver)
 
ReferenceTargetGetReferenceTarget (imrShader *shader)
 

Macro Definition Documentation

#define IMRSHADER_INTERFACE_ID   Interface_ID(0x3b2f7b97, 0x5766e45)

Function Documentation

imrShader* GetIMRShader ( InterfaceServer iserver)
inline
93  {
94 
95  if(iserver == NULL)
96  return NULL;
97  else
98  return static_cast<imrShader*>(iserver->GetInterface(IMRSHADER_INTERFACE_ID));
99 }
Definition: imrShader.h:45
#define NULL
Definition: autoptr.h:20
#define IMRSHADER_INTERFACE_ID
Definition: imrShader.h:31
virtual UtilExport BaseInterface * GetInterface(Interface_ID id)
bool IsIMRShader ( InterfaceServer iserver)
inline
107  {
108 
109  return (GetIMRShader(iserver) != NULL);
110 }
#define NULL
Definition: autoptr.h:20
imrShader * GetIMRShader(InterfaceServer *iserver)
Definition: imrShader.h:93
ReferenceTarget* GetReferenceTarget ( imrShader shader)
inline
117  {
118 
119  return ((shader != NULL) ? &shader->GetReferenceTarget() : NULL);
120 }
virtual ReferenceTarget & GetReferenceTarget()=0
#define NULL
Definition: autoptr.h:20