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

Declare the interface for AOV store objects, which are used to write arbitrary output variables during the shading process. More...

Inheritance diagram for ModuleAovStore:
ModuleProjectItem ModuleObject OfModule ResourceUser EventObject CoreCustomData CoreBaseObject CoreBaseType

Public Member Functions

virtual bool store (const CtxEval &eval_ctx, CtxShader &ctx, CoreBasicArray< float > &aov_list, const GMathVec3f &opacity=GMathVec3f(1.0f)) const
 Function called by the shading process when "evaluating" the AOV store nodes.
 
virtual bool get_aov_store_desc (AovStoreDesc &aov_store_desc) const
 Accessor to the aov store descriptor.
 

Static Public Member Functions

static void scan_global_aovs (const OfAttr *global_aovs_attr, CoreVector< ModuleAovStore * > &global_aov_store)
 returns the list of all AOV stores referenced by a given attribute
 

Protected Member Functions

virtual void module_constructor (OfObject &object) override
 

Additional Inherited Members

- Public Types inherited from EventObject
typedef void(* EventInfoFunction )(EventObject &, const EventInfo &, void *)
 event callback signature for free functions / static methods.
 
typedef void(EventObject::* EventInfoMethod )(EventObject &, const EventInfo &, void *)
 event callback signature for methods.
 
typedef void(* EventFunction )(EventObject &, const CoreString &, void *)
 
typedef void(EventObject::* EventMethod )(EventObject &, const CoreString &, void *)
 
- Static Public Attributes inherited from ModuleObject
static constexpr unsigned int null_variation = 0
 Key of the null resource variation.
 

Detailed Description

Declare the interface for AOV store objects, which are used to write arbitrary output variables during the shading process.

Member Function Documentation

void ModuleAovStore::scan_global_aovs ( const OfAttr global_aovs_attr,
CoreVector< ModuleAovStore * > &  global_aov_store 
)
static

returns the list of all AOV stores referenced by a given attribute

Parameters
global_aovs_attrthe attribute which must be a reference attribute
global_aov_storeall the AOV stores referenced by global_aovs_attr