|
MeVisLab Toolbox Reference
|
Base class for uniform shader parameters. More...
#include <SoUniformParameterBase.h>
Public Types | |
| enum | SamplerType { SAMPLER_1D , SAMPLER_2D , SAMPLER_3D , SAMPLER_CUBEMAP } |
Public Member Functions | |
| virtual int | addTextureSampler (const SbString &) |
| Adds a texture sampler with the given name and returns the assigned texture unit. | |
| virtual void | set1f (const SbString &, const float) |
| virtual void | set2f (const SbString &, const float *) |
| virtual void | set3f (const SbString &, const float *) |
| virtual void | set4f (const SbString &, const float *) |
| virtual void | set2f (const SbString &, const float, const float) |
| virtual void | set3f (const SbString &, const float, const float, const float) |
| virtual void | set4f (const SbString &, const float, const float, const float, const float) |
| virtual void | set1fv (const SbString &, const int, const float *) |
| virtual void | set2fv (const SbString &, const int, const float *) |
| virtual void | set3fv (const SbString &, const int, const float *) |
| virtual void | set4fv (const SbString &, const int, const float *) |
| virtual void | set1i (const SbString &, const int32_t) |
| virtual void | set2i (const SbString &, const int32_t *) |
| virtual void | set2i (const SbString &, const SbVec2s &) |
| virtual void | set3i (const SbString &, const int32_t *) |
| virtual void | set3i (const SbString &, const SbVec3s &) |
| virtual void | set4i (const SbString &, const int32_t *) |
| virtual void | setMatrix3f (const SbString &name, const float *values, SbBool transpose=FALSE) |
| virtual void | setMatrix4f (const SbString &name, const float *values, SbBool transpose=FALSE) |
| virtual void | setMatrix3fv (const SbString &, int, const float *, SbBool=FALSE) |
| virtual void | setMatrix4fv (const SbString &, int, const float *, SbBool=FALSE) |
| virtual void | setSamplerInfo (const SbString &, SamplerType, uint32_t) |
Protected Member Functions | |
| SoUniformParameterBase () | |
| Hidden constructor. | |
| virtual | ~SoUniformParameterBase () |
| Hidden destructor. | |
Base class for uniform shader parameters.
Base class for uniform shader parameters.
Definition at line 29 of file SoUniformParameterBase.h.
| Enumerator | |
|---|---|
| SAMPLER_1D | |
| SAMPLER_2D | |
| SAMPLER_3D | |
| SAMPLER_CUBEMAP | |
Definition at line 72 of file SoUniformParameterBase.h.
|
protected |
Hidden constructor.
|
protectedvirtual |
Hidden destructor.
|
inlinevirtual |
Adds a texture sampler with the given name and returns the assigned texture unit.
Reimplemented in SoGLShaderProgram.
Definition at line 42 of file SoUniformParameterBase.h.
|
inlinevirtual |
Reimplemented in SoGLShaderProgram, and SoShaderParameterCollector.
Definition at line 45 of file SoUniformParameterBase.h.
|
inlinevirtual |
Reimplemented in SoGLShaderProgram, and SoShaderParameterCollector.
Definition at line 53 of file SoUniformParameterBase.h.
|
inlinevirtual |
Reimplemented in SoGLShaderProgram, and SoShaderParameterCollector.
Definition at line 58 of file SoUniformParameterBase.h.
|
inlinevirtual |
Reimplemented in SoGLShaderProgram, and SoShaderParameterCollector.
Definition at line 46 of file SoUniformParameterBase.h.
|
inlinevirtual |
Reimplemented in SoGLShaderProgram, and SoShaderParameterCollector.
Definition at line 49 of file SoUniformParameterBase.h.
|
inlinevirtual |
Reimplemented in SoGLShaderProgram, and SoShaderParameterCollector.
Definition at line 54 of file SoUniformParameterBase.h.
|
inlinevirtual |
Reimplemented in SoGLShaderProgram, and SoShaderParameterCollector.
Definition at line 59 of file SoUniformParameterBase.h.
|
inlinevirtual |
Reimplemented in SoGLShaderProgram, and SoShaderParameterCollector.
Definition at line 60 of file SoUniformParameterBase.h.
|
inlinevirtual |
Reimplemented in SoGLShaderProgram, and SoShaderParameterCollector.
Definition at line 47 of file SoUniformParameterBase.h.
|
inlinevirtual |
Reimplemented in SoGLShaderProgram, and SoShaderParameterCollector.
Definition at line 50 of file SoUniformParameterBase.h.
|
inlinevirtual |
Reimplemented in SoGLShaderProgram, and SoShaderParameterCollector.
Definition at line 55 of file SoUniformParameterBase.h.
|
inlinevirtual |
Reimplemented in SoGLShaderProgram, and SoShaderParameterCollector.
Definition at line 61 of file SoUniformParameterBase.h.
|
inlinevirtual |
Reimplemented in SoGLShaderProgram, and SoShaderParameterCollector.
Definition at line 62 of file SoUniformParameterBase.h.
|
inlinevirtual |
Reimplemented in SoGLShaderProgram, and SoShaderParameterCollector.
Definition at line 48 of file SoUniformParameterBase.h.
|
inlinevirtual |
Reimplemented in SoGLShaderProgram, and SoShaderParameterCollector.
Definition at line 51 of file SoUniformParameterBase.h.
|
inlinevirtual |
Reimplemented in SoGLShaderProgram, and SoShaderParameterCollector.
Definition at line 56 of file SoUniformParameterBase.h.
|
inlinevirtual |
Reimplemented in SoGLShaderProgram, and SoShaderParameterCollector.
Definition at line 63 of file SoUniformParameterBase.h.
|
inlinevirtual |
Definition at line 65 of file SoUniformParameterBase.h.
|
inlinevirtual |
Reimplemented in SoGLShaderProgram, and SoShaderParameterCollector.
Definition at line 67 of file SoUniformParameterBase.h.
|
inlinevirtual |
Definition at line 66 of file SoUniformParameterBase.h.
|
inlinevirtual |
Reimplemented in SoGLShaderProgram, and SoShaderParameterCollector.
Definition at line 68 of file SoUniformParameterBase.h.
|
inlinevirtual |
Reimplemented in SoShaderParameterCollector.
Definition at line 81 of file SoUniformParameterBase.h.