![]() |
VR-Forces 4.6 Class Documentation
|
The shared lighting render settings. More...

Public Member Functions | |
| virtual | ~DtSharedLightingRenderSettings () |
| DTOR. | |
Setting Getters & Setters | |
| float | lightingEmissionScale () const |
| Get / Set scale factor for emissive textures. | |
| void | setLightingEmissionScale (float setting) |
| float | lightingDiffuseScale () const |
| Get / Set scale factor for diffuse light. | |
| void | setLightingDiffuseScale (float setting) |
| float | lightingAmbientScale () const |
| Get / Set scale factor for ambient light. | |
| void | setLightingAmbientScale (float setting) |
| float | globalAmbientValue () const |
| void | setGlobalAmbientValue (float ambientValue) |
| bool | useGlobalAmbient () const |
| void | setUseGlobalAmbient (bool useGlobalAmbient) |
| float | globalDiffuseValue () const |
| void | setGlobalDiffuseValue (float diffuseValue) |
| bool | useGlobalDiffuse () const |
| void | setUseGlobalDiffuse (bool useGlobalDiffuse) |
| bool | perPixelLightingEnabled () const |
| void | setPerPixelLightingEnabled (bool setting) |
Settings record / backup methods | |
| void | setFromRecord (const makArchives::DtLightingRenderSettingsRecord &rec) |
| Restore the settings from a record. | |
| void | getRecord (makArchives::DtLightingRenderSettingsRecord &rec) const |
| Get the settings as a record. | |
| virtual const DtLightingRenderSettingsBackup * | settingsBackup () const |
| Accessor for the settings backup (const). | |
| virtual DtLightingRenderSettingsBackup * | settingsBackup () |
| Accessor for the settings backup. | |
| virtual void | backup () |
| Called to back up the settings. | |
Public Member Functions inherited from makVrv::DtSharedSettings | |
| DtSharedSettings (const DtSharedSettingsManager &manager) | |
| CTOR. | |
| virtual | ~DtSharedSettings () |
| DTOR. | |
| boost::shared_mutex & | mutex () |
| Get the mutex for the settings object. | |
| SafetyKey | safeToEmitSignals () |
| Create a safety key for the function, see above example. | |
| void | setCurrentWriteLock (boost::unique_lock< boost::shared_mutex > *currentWriteLock) |
| No need to call, set by the DtWriteSettingLock object. | |
Public Member Functions inherited from makVrv::DtVirtualBaseClass | |
| DtVirtualBaseClass () | |
| Do nothing constructor. | |
| virtual | ~DtVirtualBaseClass () |
| Virtual do nothing destructor. | |
Static Public Member Functions | |
| static std::string | className () |
| The class name for this settings object. | |
Protected Member Functions | |
| DtSharedLightingRenderSettings (DtSharedSettingsManager &manager) | |
| Protected CTOR (Use DtReadSettingsLock and DtWriteSettingsLock). | |
Protected Attributes | |
| float | myLightingEmissionScale |
| float | myLightingDiffuseScale |
| float | myLightingAmbientScale |
| float | myGlobalAmbientValue |
| bool | myUseGlobalAmbient |
| float | myGlobalDiffuseValue |
| bool | myUseGlobalDiffuse |
| bool | myPerPixelLightingEnabled |
| DtLightingRenderSettingsBackup * | mySettingsBackup |
Friends | |
| class | DtReadSettingsLock< DtSharedLightingRenderSettings > |
| Use the DtReadSettingsLock to read the object. | |
| class | DtWriteSettingsLock< DtSharedLightingRenderSettings > |
| Use the DtWriteSettingsLock to write to the object. | |
The shared lighting render settings.
|
virtual |
DTOR.
|
protected |
Protected CTOR (Use DtReadSettingsLock and DtWriteSettingsLock).
| float makVrv::DtSharedLightingRenderSettings::lightingEmissionScale | ( | ) | const |
Get / Set scale factor for emissive textures.
| void makVrv::DtSharedLightingRenderSettings::setLightingEmissionScale | ( | float | setting | ) |
| float makVrv::DtSharedLightingRenderSettings::lightingDiffuseScale | ( | ) | const |
Get / Set scale factor for diffuse light.
| void makVrv::DtSharedLightingRenderSettings::setLightingDiffuseScale | ( | float | setting | ) |
| float makVrv::DtSharedLightingRenderSettings::lightingAmbientScale | ( | ) | const |
Get / Set scale factor for ambient light.
| void makVrv::DtSharedLightingRenderSettings::setLightingAmbientScale | ( | float | setting | ) |
| float makVrv::DtSharedLightingRenderSettings::globalAmbientValue | ( | ) | const |
| void makVrv::DtSharedLightingRenderSettings::setGlobalAmbientValue | ( | float | ambientValue | ) |
| bool makVrv::DtSharedLightingRenderSettings::useGlobalAmbient | ( | ) | const |
| void makVrv::DtSharedLightingRenderSettings::setUseGlobalAmbient | ( | bool | useGlobalAmbient | ) |
| float makVrv::DtSharedLightingRenderSettings::globalDiffuseValue | ( | ) | const |
| void makVrv::DtSharedLightingRenderSettings::setGlobalDiffuseValue | ( | float | diffuseValue | ) |
| bool makVrv::DtSharedLightingRenderSettings::useGlobalDiffuse | ( | ) | const |
| void makVrv::DtSharedLightingRenderSettings::setUseGlobalDiffuse | ( | bool | useGlobalDiffuse | ) |
| bool makVrv::DtSharedLightingRenderSettings::perPixelLightingEnabled | ( | ) | const |
| void makVrv::DtSharedLightingRenderSettings::setPerPixelLightingEnabled | ( | bool | setting | ) |
| void makVrv::DtSharedLightingRenderSettings::setFromRecord | ( | const makArchives::DtLightingRenderSettingsRecord & | rec | ) |
Restore the settings from a record.
| void makVrv::DtSharedLightingRenderSettings::getRecord | ( | makArchives::DtLightingRenderSettingsRecord & | rec | ) | const |
Get the settings as a record.
|
virtual |
Accessor for the settings backup (const).
Reimplemented from makVrv::DtSharedSettings.
|
virtual |
Accessor for the settings backup.
Reimplemented from makVrv::DtSharedSettings.
|
virtual |
Called to back up the settings.
Reimplemented from makVrv::DtSharedSettings.
|
static |
The class name for this settings object.
|
friend |
Use the DtReadSettingsLock to read the object.
|
friend |
Use the DtWriteSettingsLock to write to the object.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |