ScummVM API documentation
Twp::Shader Class Reference
Inheritance diagram for Twp::Shader:
Twp::FadeShader Twp::HudShader Twp::Lighting

Public Member Functions

void init (const char *name, const char *vertex, const char *fragment)
 
int getUniformLocation (const char *name) const
 
void setUniform (const char *name, int value)
 
void setUniform (const char *name, float value)
 
void setUniform (const char *name, float *value, size_t count)
 
void setUniform2 (const char *name, float *value, size_t count)
 
void setUniform3 (const char *name, float *value, size_t count)
 
void setUniform (const char *name, Math::Vector2d value)
 
void setUniform3 (const char *name, Color value)
 
void setUniform4 (const char *name, Color value)
 
virtual void applyUniforms ()
 
virtual int getNumTextures ()
 
virtual int getTexture (int index)
 
virtual int getTextureLoc (int index)
 

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