GameApi 28
Library used by GameApi Builder tool
Loading...
Searching...
No Matches
ShaderParamML Class Reference
Inheritance diagram for ShaderParamML:
Collaboration diagram for ShaderParamML:

Public Member Functions

 ShaderParamML (GameApi::Env &env, GameApi::EveryApi &ev, MainLoopItem *next, Vector light_dir, unsigned int level1, unsigned int level2, unsigned int level3, float spec_size, bool ambient, bool diffuse, bool specular)
std::vector< int > shader_id ()
void handle_event (MainLoopEvent &e)
void Collect (CollectVisitor &vis)
void HeavyPrepare ()
void Prepare ()
void execute (MainLoopEnv &e)
Public Member Functions inherited from MainLoopItem
virtual ~MainLoopItem ()
virtual void logoexecute ()
virtual void FirstFrame ()
virtual bool ReadyToPrepare () const
virtual void destroy ()
virtual void set_vars (std::map< std::string, std::string > vars)
virtual std::map< std::string, std::string > get_vars () const
Public Member Functions inherited from CollectInterface
virtual ~CollectInterface ()
virtual int NumBlocks () const

Constructor & Destructor Documentation

◆ ShaderParamML()

ShaderParamML::ShaderParamML ( GameApi::Env & env,
GameApi::EveryApi & ev,
MainLoopItem * next,
Vector light_dir,
unsigned int level1,
unsigned int level2,
unsigned int level3,
float spec_size,
bool ambient,
bool diffuse,
bool specular )
inline

Member Function Documentation

◆ Collect()

void ShaderParamML::Collect ( CollectVisitor & vis)
inlinevirtual

Implements MainLoopItem.

◆ execute()

void ShaderParamML::execute ( MainLoopEnv & e)
inlinevirtual

Implements MainLoopItem.

◆ handle_event()

void ShaderParamML::handle_event ( MainLoopEvent & e)
inlinevirtual

Implements MainLoopItem.

◆ HeavyPrepare()

void ShaderParamML::HeavyPrepare ( )
inlinevirtual

Implements MainLoopItem.

◆ Prepare()

void ShaderParamML::Prepare ( )
inlinevirtual

Implements MainLoopItem.

◆ shader_id()

std::vector< int > ShaderParamML::shader_id ( )
inlinevirtual

Reimplemented from MainLoopItem.


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