MeVisLab Resolution Independence API
|
A helper class that collects uniforms instead of setting them to a shader. More...
#include <SoUniformParameterBase.h>
Public Member Functions | |
void | set1f (const SbString &name, const float value) override |
void | set2f (const SbString &name, const float *value) override |
void | set3f (const SbString &name, const float *value) override |
void | set4f (const SbString &name, const float *value) override |
void | set2f (const SbString &name, const float value0, const float value1) override |
void | set3f (const SbString &name, const float value0, const float value1, const float value2) override |
void | set4f (const SbString &name, const float value0, const float value1, const float value2, const float value3) override |
void | set1fv (const SbString &name, const int num, const float *value) override |
void | set2fv (const SbString &name, const int num, const float *value) override |
void | set3fv (const SbString &name, const int num, const float *value) override |
void | set4fv (const SbString &name, const int num, const float *value) override |
void | set1i (const SbString &name, const int32_t value) override |
void | set2i (const SbString &name, const int32_t *value) override |
void | set2i (const SbString &name, const SbVec2s &value) override |
void | set3i (const SbString &name, const int32_t *value) override |
void | set3i (const SbString &name, const SbVec3s &value) override |
void | set4i (const SbString &name, const int32_t *value) override |
void | setMatrix3fv (const SbString &name, int num, const float *value, SbBool transpose=FALSE) override |
void | setMatrix4fv (const SbString &name, int num, const float *value, SbBool transpose=FALSE) override |
void | setSamplerInfo (const SbString &name, SamplerType type, uint32_t texId) override |
const std::vector< ml::OpenGL::TypeInfo > & | getUniforms () const |
Public Member Functions inherited from SoUniformParameterBase | |
virtual int | addTextureSampler (const SbString &) |
Adds a texture sampler with the given name and returns the assigned texture unit. | |
virtual void | setMatrix3f (const SbString &name, const float *values, SbBool transpose=FALSE) |
virtual void | setMatrix4f (const SbString &name, const float *values, SbBool transpose=FALSE) |
Additional Inherited Members | |
Public Types inherited from SoUniformParameterBase | |
enum | SamplerType { SAMPLER_1D , SAMPLER_2D , SAMPLER_3D , SAMPLER_CUBEMAP } |
Protected Member Functions inherited from SoUniformParameterBase | |
SoUniformParameterBase () | |
Hidden constructor. | |
virtual | ~SoUniformParameterBase () |
Hidden destructor. | |
A helper class that collects uniforms instead of setting them to a shader.
Definition at line 85 of file SoUniformParameterBase.h.
|
inline |
Definition at line 113 of file SoUniformParameterBase.h.
|
overridevirtual |
Reimplemented from SoUniformParameterBase.
|
overridevirtual |
Reimplemented from SoUniformParameterBase.
|
overridevirtual |
Reimplemented from SoUniformParameterBase.
|
overridevirtual |
Reimplemented from SoUniformParameterBase.
|
overridevirtual |
Reimplemented from SoUniformParameterBase.
|
overridevirtual |
Reimplemented from SoUniformParameterBase.
|
overridevirtual |
Reimplemented from SoUniformParameterBase.
|
overridevirtual |
Reimplemented from SoUniformParameterBase.
|
overridevirtual |
Reimplemented from SoUniformParameterBase.
|
overridevirtual |
Reimplemented from SoUniformParameterBase.
|
overridevirtual |
Reimplemented from SoUniformParameterBase.
|
overridevirtual |
Reimplemented from SoUniformParameterBase.
|
overridevirtual |
Reimplemented from SoUniformParameterBase.
|
overridevirtual |
Reimplemented from SoUniformParameterBase.
|
overridevirtual |
Reimplemented from SoUniformParameterBase.
|
overridevirtual |
Reimplemented from SoUniformParameterBase.
|
overridevirtual |
Reimplemented from SoUniformParameterBase.
|
overridevirtual |
Reimplemented from SoUniformParameterBase.
|
overridevirtual |
Reimplemented from SoUniformParameterBase.
|
overridevirtual |
Reimplemented from SoUniformParameterBase.