MAPS-TFSS: Manipulating And Perceiving Simultaneously - Tactile Force Sensor Simulator

Public Member Functions

Graphics::Sensing::ShaderVariable_1f Class Reference

A float uniform. More...

#include <ShaderVariable.hpp>

Inheritance diagram for Graphics::Sensing::ShaderVariable_1f:
Inheritance graph
[legend]
Collaboration diagram for Graphics::Sensing::ShaderVariable_1f:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ShaderVariable_1f (ShaderClass *s, const char *n, float val)
void updateVal ()
 Update the value of the variable on the GPU side.

Detailed Description

A float uniform.

Definition at line 103 of file ShaderVariable.hpp.


Constructor & Destructor Documentation

Graphics::Sensing::ShaderVariable_1f::ShaderVariable_1f ( ShaderClass s,
const char *  n,
float  val 
) [inline]
Parameters:
s Associated shader
n Variable name
val Value for variable

Definition at line 111 of file ShaderVariable.hpp.


Member Function Documentation

void Graphics::Sensing::ShaderVariable_1f::updateVal (  )  [inline, virtual]

Update the value of the variable on the GPU side.

Implements Graphics::Sensing::ShaderVariable.

Definition at line 117 of file ShaderVariable.hpp.


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