Clarisse 5.0 SP8 SDK  5.0.5.8.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | List of all members
ModuleMaterialDefaultCallbacks Class Reference

Definition of the callbacks that are called by the shading process. More...

Inheritance diagram for ModuleMaterialDefaultCallbacks:
ModuleMaterialCallbacks ModuleObjectCallbacks OfClassCallbacks

Public Member Functions

virtual void init_callbacks (OfClassCallbacks &callbacks)
 

Additional Inherited Members

- Public Types inherited from ModuleMaterialCallbacks
typedef void(* GetAovsCallback )(OfObject &, CoreVector< short > &aov_list)
 Implement this callback if you need to define AOV dynamically or do not want to use the basic registration method.
The function must fill the aov_list parameter with the indices of the AOV groups the material will output.
 
typedef void(* ShadeBasicCallback )(OfObject &, const CtxEval &, CtxShader &, GMathVec3f *color, GMathVec3f *opacity, CoreBasicArray< float > aov_values)
 This callback is called as a default one to shade a basic material.
 
- Public Attributes inherited from ModuleMaterialCallbacks
ShadeBasicCallback cb_shade_basic
 
GetAovsCallback cb_get_aovs
 

Detailed Description

Definition of the callbacks that are called by the shading process.