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
ModuleRenderer Class Reference

Base class of all renderers (Clarisse renderer as well as external renderers integrated in Clarisse). More...

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

Public Member Functions

void get_supported_lights (CoreVector< CoreString > &supported_lights, CoreVector< CoreString > &unsupported_lights) const
 Return the names of the light classes supported by this renderer.
 
void get_supported_geometries (CoreVector< CoreString > &supported_geometries, CoreVector< CoreString > &unsupported_geometries) const
 Return the names of the geometry classes supported by this renderer.
 
void get_supported_materials (CoreVector< CoreString > &supported_materials, CoreVector< CoreString > &unsupported_materials) const
 Return the names of the material classes supported by this renderer.
 

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 Member Functions inherited from ModuleObject
static ResourceID declare_resource (const char *tag)
 
static ResourceID declare_resource (const CoreString &tag)
 
static bool declare_resource (ResourceID id, const char *tag)
 
static bool declare_resource (ResourceID id, const CoreString &tag)
 
static ResourceID get_resource_id (const char *tag)
 
static ResourceID get_resource_id (const CoreString &tag)
 
static const char * get_resource_tag (ResourceID id)
 
static void clear_unused_resources (SysThreadManager &thread_manager, const CoreBasicArray< OfObject * > &objects)
 
- Static Public Attributes inherited from ModuleObject
static constexpr unsigned int null_variation = 0
 Key of the null resource variation.
 
- Protected Member Functions inherited from ModuleProjectItem
virtual void module_constructor (OfObject &object) override
 

Detailed Description

Base class of all renderers (Clarisse renderer as well as external renderers integrated in Clarisse).

This class implements a Renderer object in Clarisse.

Member Function Documentation

void ModuleRenderer::get_supported_geometries ( CoreVector< CoreString > &  supported_geometries,
CoreVector< CoreString > &  unsupported_geometries 
) const

Return the names of the geometry classes supported by this renderer.

Parameters
supported_geometriesThe list of geometry classes supported by this renderer
unsupported_geometriesThe list of geometry classes not supported by this renderer
Note
Instead of specifying many classes, you can specify a base class as supported and optionally some of its children as unsupported.
void ModuleRenderer::get_supported_lights ( CoreVector< CoreString > &  supported_lights,
CoreVector< CoreString > &  unsupported_lights 
) const

Return the names of the light classes supported by this renderer.

Parameters
supported_lightsThe list of light classes supported by this renderer
unsupported_lightsThe list of light classes not supported by this renderer
Note
Instead of specifying many classes, you can specify a base class as supported and optionally some of its children as unsupported.
void ModuleRenderer::get_supported_materials ( CoreVector< CoreString > &  supported_materials,
CoreVector< CoreString > &  unsupported_materials 
) const

Return the names of the material classes supported by this renderer.

Parameters
supported_materialsThe list of material classes supported by this renderer
unsupported_materialsThe list of material classes not supported by this renderer
Note
Instead of specifying many classes, you can specify a base class as supported and optionally some of its children as unsupported.