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

Public Member Functions

 GLTFShaderML (GameApi::EveryApi &ev, MainLoopItem *next, float mix, float self_mult, float rest_mult, bool tex0, bool tex1, bool tex2, bool tex3, bool tex4, bool tex5, bool tex6, bool tex7, float roughnessfactor, float metallicfactor, float basecolorfactor0, float basecolorfactor1, float basecolorfactor2, float basecolorfactor3, float occul_strength, float emiss_factor, bool spec, Vector diff_factor, Vector spec_factor, float glossi_factor, bool unlit, float emis2_r, float emis2_g, float emis2_b, Vector light_dir2, std::string cache_id, bool emissive)
void handle_event (MainLoopEvent &e)
void Collect (CollectVisitor &vis)
void HeavyPrepare ()
void Prepare ()
void execute (MainLoopEnv &e)
std::vector< int > shader_id ()
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

◆ GLTFShaderML()

GLTFShaderML::GLTFShaderML ( GameApi::EveryApi & ev,
MainLoopItem * next,
float mix,
float self_mult,
float rest_mult,
bool tex0,
bool tex1,
bool tex2,
bool tex3,
bool tex4,
bool tex5,
bool tex6,
bool tex7,
float roughnessfactor,
float metallicfactor,
float basecolorfactor0,
float basecolorfactor1,
float basecolorfactor2,
float basecolorfactor3,
float occul_strength,
float emiss_factor,
bool spec,
Vector diff_factor,
Vector spec_factor,
float glossi_factor,
bool unlit,
float emis2_r,
float emis2_g,
float emis2_b,
Vector light_dir2,
std::string cache_id,
bool emissive )
inline

Member Function Documentation

◆ Collect()

void GLTFShaderML::Collect ( CollectVisitor & vis)
inlinevirtual

Implements MainLoopItem.

◆ execute()

void GLTFShaderML::execute ( MainLoopEnv & e)
inlinevirtual

Implements MainLoopItem.

◆ handle_event()

void GLTFShaderML::handle_event ( MainLoopEvent & e)
inlinevirtual

Implements MainLoopItem.

◆ HeavyPrepare()

void GLTFShaderML::HeavyPrepare ( )
inlinevirtual

Implements MainLoopItem.

◆ Prepare()

void GLTFShaderML::Prepare ( )
inlinevirtual

Implements MainLoopItem.

◆ shader_id()

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

Reimplemented from MainLoopItem.


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