HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SIM_RenderParmsVolatile Class Reference

#include <SIM_RenderParmsVolatile.h>

+ Inheritance diagram for SIM_RenderParmsVolatile:

Public Member Functions

void getMaterialShop (const SIM_Object *obj, UT_String &str) const override
 
bool getForDisplay (const SIM_Object *obj) const override
 
bool getForRender (const SIM_Object *obj) const override
 

Protected Member Functions

 SIM_RenderParmsVolatile (const SIM_DataFactory *factory)
 
 ~SIM_RenderParmsVolatile () override
 

Detailed Description

This class holds rendering options much like object rendering parameters. To use this data type, attach it as subdata to a SIM_Geometry that is being rendered. This is a volatile version that reloads its value directly from the opnode rather than using the data.

Definition at line 20 of file SIM_RenderParmsVolatile.h.

Constructor & Destructor Documentation

SIM_RenderParmsVolatile::SIM_RenderParmsVolatile ( const SIM_DataFactory factory)
explicitprotected
SIM_RenderParmsVolatile::~SIM_RenderParmsVolatile ( )
overrideprotected

Member Function Documentation

bool SIM_RenderParmsVolatile::getForDisplay ( const SIM_Object obj) const
overridevirtual

Reimplemented from SIM_RenderParms.

bool SIM_RenderParmsVolatile::getForRender ( const SIM_Object obj) const
overridevirtual

Reimplemented from SIM_RenderParms.

void SIM_RenderParmsVolatile::getMaterialShop ( const SIM_Object obj,
UT_String str 
) const
overridevirtual

These methods check the creatorNode to query its current parm value and will pass down to the actual options only if the creator node can't be found.

Reimplemented from SIM_RenderParms.


The documentation for this class was generated from the following file: