Blamite Game Engine - blam!  00296.01.12.21.0102.blamite
The core library for the Blamite Game Engine.
BlamShaderUniform1F Class Reference

#include <uniforms.h>

+ Inheritance diagram for BlamShaderUniform1F:

Public Member Functions

 BlamShaderUniform1F (GLuint _program_id, std::string _name)
 
void Update ()
 
- Public Member Functions inherited from BlamGLSLShaderUniform
 BlamGLSLShaderUniform (GLuint _program_id, std::string _name, BlamShaderUniformType _type)
 
BlamShaderUniformType GetType ()
 
std::string GetName ()
 
bool IsValid ()
 
void Prepare ()
 

Public Attributes

float x = 0.0f
 

Additional Inherited Members

- Protected Attributes inherited from BlamGLSLShaderUniform
std::string name = ""
 
GLuint program_id = -1
 
GLint uniform = -1
 
bool valid = false
 

Constructor & Destructor Documentation

◆ BlamShaderUniform1F()

BlamShaderUniform1F::BlamShaderUniform1F ( GLuint  _program_id,
std::string  _name 
)

Member Function Documentation

◆ Update()

void BlamShaderUniform1F::Update ( )
virtual

Reimplemented from BlamGLSLShaderUniform.

Member Data Documentation

◆ x

float BlamShaderUniform1F::x = 0.0f

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