Project

General

Profile

SO3Engine
SO3::AdvancedCookTorranceLighting Class Reference

#include <SO3RtssCustom.h>

Inheritance diagram for SO3::AdvancedCookTorranceLighting:

Public Member Functions

 AdvancedCookTorranceLighting ()
 
const Ogre::String & getType () const override
 
int getExecutionOrder () const override
 
void copyFrom (const Ogre::RTShader::SubRenderState &rhs) override
 
bool preAddToRenderState (const Ogre::RTShader::RenderState *renderState, Ogre::Pass *srcPass, Ogre::Pass *dstPass) override
 
const Ogre::String & getMetalRoughnessMapName () const
 
bool setParameter (const Ogre::String &name, const Ogre::String &value) override
 
bool createCpuSubPrograms (Ogre::RTShader::ProgramSet *programSet) override
 

Detailed Description

Definition at line 43 of file SO3RtssCustom.h.

Constructor & Destructor Documentation

◆ AdvancedCookTorranceLighting()

SO3::AdvancedCookTorranceLighting::AdvancedCookTorranceLighting ( )

Definition at line 23 of file SO3RtssCustom.cpp.

Member Function Documentation

◆ copyFrom()

void SO3::AdvancedCookTorranceLighting::copyFrom ( const Ogre::RTShader::SubRenderState &  rhs)
override

Definition at line 167 of file SO3RtssCustom.cpp.

◆ createCpuSubPrograms()

bool SO3::AdvancedCookTorranceLighting::createCpuSubPrograms ( Ogre::RTShader::ProgramSet *  programSet)
override

Definition at line 28 of file SO3RtssCustom.cpp.

◆ getExecutionOrder()

int SO3::AdvancedCookTorranceLighting::getExecutionOrder ( ) const
inlineoverride

Definition at line 50 of file SO3RtssCustom.h.

◆ getMetalRoughnessMapName()

const Ogre::String & SO3::AdvancedCookTorranceLighting::getMetalRoughnessMapName ( ) const
inline

Return the metallic-roughness map texture name.

Definition at line 59 of file SO3RtssCustom.h.

◆ getType()

const Ogre::String & SO3::AdvancedCookTorranceLighting::getType ( ) const
override

Definition at line 26 of file SO3RtssCustom.cpp.

◆ preAddToRenderState()

bool SO3::AdvancedCookTorranceLighting::preAddToRenderState ( const Ogre::RTShader::RenderState *  renderState,
Ogre::Pass *  srcPass,
Ogre::Pass *  dstPass 
)
override

Definition at line 176 of file SO3RtssCustom.cpp.

◆ setParameter()

bool SO3::AdvancedCookTorranceLighting::setParameter ( const Ogre::String &  name,
const Ogre::String &  value 
)
override

Definition at line 195 of file SO3RtssCustom.cpp.


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