Luanti 5.11.0-dev
 
Loading...
Searching...
No Matches
GameGlobalShaderConstantSetterFactory Class Reference
+ Inheritance diagram for GameGlobalShaderConstantSetterFactory:
+ Collaboration diagram for GameGlobalShaderConstantSetterFactory:

Public Member Functions

 GameGlobalShaderConstantSetterFactory (Client *client)
 
void setSky (Sky *sky)
 
virtual IShaderConstantSettercreate ()
 
- Public Member Functions inherited from IShaderConstantSetterFactory
virtual ~IShaderConstantSetterFactory ()=default
 

Private Attributes

Skym_sky = nullptr
 
Clientm_client
 
std::vector< GameGlobalShaderConstantSetter * > created_nosky
 

Constructor & Destructor Documentation

◆ GameGlobalShaderConstantSetterFactory()

GameGlobalShaderConstantSetterFactory::GameGlobalShaderConstantSetterFactory ( Client * client)
inline

Member Function Documentation

◆ create()

virtual IShaderConstantSetter * GameGlobalShaderConstantSetterFactory::create ( )
inlinevirtual

◆ setSky()

void GameGlobalShaderConstantSetterFactory::setSky ( Sky * sky)
inline

References created_nosky, and m_sky.

Member Data Documentation

◆ created_nosky

std::vector<GameGlobalShaderConstantSetter *> GameGlobalShaderConstantSetterFactory::created_nosky
private

Referenced by create(), and setSky().

◆ m_client

Client* GameGlobalShaderConstantSetterFactory::m_client
private

Referenced by create().

◆ m_sky

Sky* GameGlobalShaderConstantSetterFactory::m_sky = nullptr
private

Referenced by create(), and setSky().


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