imrShaderClassDesc Class Reference
 
 
 
imrShaderClassDesc Class Reference

This reference page is linked to from the following overview topics: Mental Ray Classes, Translation of Texture Map and Materials.


#include <imrShaderClassDesc.h>

Inheritance diagram for imrShaderClassDesc:
ClassDesc2 InterfaceServer ClassDesc MaxHeapOperators MaxHeapOperators

Public Types

enum   ApplyTypes {
  kApply_Lens, kApply_Material, kApply_Light, kApply_Shadow,
  kApply_Environment, kApply_Volume, kApply_Texture, kApply_Photon,
  kApply_Geometry, kApply_Displace, kApply_PhotonEmitter, kApply_Output,
  kApply_LightMap, kApply_PhotonVol, kApply_Other, kApply_Bump,
  kApply_ContourShader, kApply_ContoutStore, kApply_ContourContrast, kApply_ContourOutput,
  kApply_Illum, kApply_PassMerge, kApply_MtlPhen, kApply_Count
}
enum   ApplyFlags {
  kApplyFlag_Lens = (1 << kApply_Lens), kApplyFlag_Material = (1 << kApply_Material), kApplyFlag_Light = (1 << kApply_Light), kApplyFlag_Shadow = (1 << kApply_Shadow),
  kApplyFlag_Environment = (1 << kApply_Environment), kApplyFlag_Volume = (1 << kApply_Volume), kApplyFlag_Texture = (1 << kApply_Texture), kApplyFlag_Photon = (1 << kApply_Photon),
  kApplyFlag_Geometry = (1 << kApply_Geometry), kApplyFlag_Displace = (1 << kApply_Displace), kApplyFlag_PhotonEmitter = (1 << kApply_PhotonEmitter), kApplyFlag_Output = (1 << kApply_Output),
  kApplyFlag_LightMap = (1 << kApply_LightMap), kApplyFlag_PhotonVol = (1 << kApply_PhotonVol), kApplyFlag_Other = (1 << kApply_Other), kApplyFlag_Bump = (1 << kApply_Bump),
  kApplyFlag_ContourShader = (1 << kApply_ContourShader), kApplyFlag_ContourStore = (1 << kApply_ContoutStore), kApplyFlag_ContourContrast = (1 << kApply_ContourContrast), kApplyFlag_ContourOutput = (1 << kApply_ContourOutput),
  kApplyFlag_Illum = (1 << kApply_Illum), kApplyFlag_PassMerge = (1 << kApply_PassMerge), kApplyFlag_MtlPhen = (1 << kApply_MtlPhen), kApplyFlag_All = (~0 & ~kApplyFlag_MtlPhen),
  kApplyFlag_Default = (kApplyFlag_Material | kApplyFlag_Texture | kApplyFlag_Illum | kApplyFlag_Bump)
}

Public Member Functions

virtual imrShader CreateShader (bool loading=false)=0
virtual unsigned int  GetApplyTypes ()=0
virtual mrShaderDesc &  GetShaderDesc ()=0
virtual ParamBlockDesc2 GetParamPBDesc ()=0
virtual Tab< ParamBlockDesc2 * > &  GetParamSubPBDescs ()=0
virtual ParamBlockDesc2 GetResultPBDesc ()=0
virtual Tab< ParamBlockDesc2 * > &  GetResultPBDescs ()=0
virtual ParamBlockDesc2 GetConnectionPBDesc ()=0
virtual Tab< ParamBlockDesc2 * > &  GetConnectionSubPBDescs ()=0
virtual IAutoMParamDlg CreateShaderParamDlgs (HWND hwMtlEdit, IMtlParams *imp, ReferenceTarget *obj)=0

Member Enumeration Documentation

Enumerator:
kApply_Lens 
kApply_Material 
kApply_Light 
kApply_Shadow 
kApply_Environment 
kApply_Volume 
kApply_Texture 
kApply_Photon 
kApply_Geometry 
kApply_Displace 
kApply_PhotonEmitter 
kApply_Output 
kApply_LightMap 
kApply_PhotonVol 
kApply_Other 
kApply_Bump 
kApply_ContourShader 
kApply_ContoutStore 
kApply_ContourContrast 
kApply_ContourOutput 
kApply_Illum 
kApply_PassMerge 
kApply_MtlPhen 
kApply_Count 
Enumerator:
kApplyFlag_Lens 
kApplyFlag_Material 
kApplyFlag_Light 
kApplyFlag_Shadow 
kApplyFlag_Environment 
kApplyFlag_Volume 
kApplyFlag_Texture 
kApplyFlag_Photon 
kApplyFlag_Geometry 
kApplyFlag_Displace 
kApplyFlag_PhotonEmitter 
kApplyFlag_Output 
kApplyFlag_LightMap 
kApplyFlag_PhotonVol 
kApplyFlag_Other 
kApplyFlag_Bump 
kApplyFlag_ContourShader 
kApplyFlag_ContourStore 
kApplyFlag_ContourContrast 
kApplyFlag_ContourOutput 
kApplyFlag_Illum 
kApplyFlag_PassMerge 
kApplyFlag_MtlPhen 
kApplyFlag_All 
kApplyFlag_Default 

Member Function Documentation

virtual imrShader* CreateShader ( bool  loading = false ) [pure virtual]
virtual unsigned int GetApplyTypes ( ) [pure virtual]
virtual mrShaderDesc& GetShaderDesc ( ) [pure virtual]
virtual ParamBlockDesc2* GetParamPBDesc ( ) [pure virtual]
virtual Tab<ParamBlockDesc2*>& GetParamSubPBDescs ( ) [pure virtual]
virtual ParamBlockDesc2* GetResultPBDesc ( ) [pure virtual]
virtual Tab<ParamBlockDesc2*>& GetResultPBDescs ( ) [pure virtual]
virtual ParamBlockDesc2* GetConnectionPBDesc ( ) [pure virtual]
virtual Tab<ParamBlockDesc2*>& GetConnectionSubPBDescs ( ) [pure virtual]
virtual IAutoMParamDlg* CreateShaderParamDlgs ( HWND  hwMtlEdit,
IMtlParams imp,
ReferenceTarget obj 
) [pure virtual]