Visualization Library 2.0.0
A lightweight C++ OpenGL middleware for 2D/3D graphics
|
[Download] [Tutorials] [All Classes] [Grouped Classes] |
Wraps an OpenGL Shading Language uniform to be associated to a GLSLProgram (see vl::GLSLProgram documentation). More...
#include <Uniform.hpp>
Public Member Functions | |
Uniform () | |
Uniform (const char *name) | |
ref< Uniform > | clone () const |
const std::string & | name () const |
Returns the name of the uniform variable. More... | |
std::string & | name () |
Returns the name of the uniform variable. More... | |
void | setName (const char *name) |
Sets the name of the uniform variable. More... | |
void | setName (const std::string &name) |
Sets the name of the uniform variable. More... | |
void | setUniform1i (int count, const int *value) |
void | setUniform2i (int count, const int *value) |
void | setUniform3i (int count, const int *value) |
void | setUniform4i (int count, const int *value) |
void | setUniform1ui (int count, const unsigned int *value) |
void | setUniform2ui (int count, const unsigned int *value) |
void | setUniform3ui (int count, const unsigned int *value) |
void | setUniform4ui (int count, const unsigned int *value) |
void | setUniform1f (int count, const float *value) |
void | setUniform2f (int count, const float *value) |
void | setUniform3f (int count, const float *value) |
void | setUniform4f (int count, const float *value) |
void | setUniform1d (int count, const double *value) |
void | setUniform2d (int count, const double *value) |
void | setUniform3d (int count, const double *value) |
void | setUniform4d (int count, const double *value) |
void | setUniformMatrix2f (int count, const float *value) |
void | setUniformMatrix3f (int count, const float *value) |
void | setUniformMatrix4f (int count, const float *value) |
void | setUniformMatrix2x3f (int count, const float *value) |
void | setUniformMatrix3x2f (int count, const float *value) |
void | setUniformMatrix2x4f (int count, const float *value) |
void | setUniformMatrix4x2f (int count, const float *value) |
void | setUniformMatrix3x4f (int count, const float *value) |
void | setUniformMatrix4x3f (int count, const float *value) |
void | setUniformMatrix2d (int count, const double *value) |
void | setUniformMatrix3d (int count, const double *value) |
void | setUniformMatrix4d (int count, const double *value) |
void | setUniformMatrix2x3d (int count, const double *value) |
void | setUniformMatrix3x2d (int count, const double *value) |
void | setUniformMatrix2x4d (int count, const double *value) |
void | setUniformMatrix4x2d (int count, const double *value) |
void | setUniformMatrix3x4d (int count, const double *value) |
void | setUniformMatrix4x3d (int count, const double *value) |
void | setUniform (int count, const int *value) |
void | setUniform (int count, const ivec2 *value) |
void | setUniform (int count, const ivec3 *value) |
void | setUniform (int count, const ivec4 *value) |
void | setUniform (int count, const unsigned int *value) |
void | setUniform (int count, const uvec2 *value) |
void | setUniform (int count, const uvec3 *value) |
void | setUniform (int count, const uvec4 *value) |
void | setUniform (int count, const float *value) |
void | setUniform (int count, const fvec2 *value) |
void | setUniform (int count, const fvec3 *value) |
void | setUniform (int count, const fvec4 *value) |
void | setUniform (int count, const fmat2 *value) |
void | setUniform (int count, const fmat3 *value) |
void | setUniform (int count, const fmat4 *value) |
void | setUniform (int count, const double *value) |
void | setUniform (int count, const dvec2 *value) |
void | setUniform (int count, const dvec3 *value) |
void | setUniform (int count, const dvec4 *value) |
void | setUniform (int count, const dmat2 *value) |
void | setUniform (int count, const dmat3 *value) |
void | setUniform (int count, const dmat4 *value) |
void | setUniform (int value) |
void | setUniformI (const int &value) |
void | setUniform (const ivec2 &value) |
void | setUniform (const ivec3 &value) |
void | setUniform (const ivec4 &value) |
void | setUniform (unsigned int value) |
void | setUniformU (const unsigned int &value) |
void | setUniform (const uvec2 &value) |
void | setUniform (const uvec3 &value) |
void | setUniform (const uvec4 &value) |
void | setUniform (float value) |
void | setUniformF (const float &value) |
void | setUniform (const fvec2 &value) |
void | setUniform (const fvec3 &value) |
void | setUniform (const fvec4 &value) |
void | setUniform (const fmat2 &value) |
void | setUniform (const fmat3 &value) |
void | setUniform (const fmat4 &value) |
void | setUniform (double value) |
void | setUniformD (const double &value) |
void | setUniform (const dvec2 &value) |
void | setUniform (const dvec3 &value) |
void | setUniform (const dvec4 &value) |
void | setUniform (const dmat2 &value) |
void | setUniform (const dmat3 &value) |
void | setUniform (const dmat4 &value) |
float | getUniformF () const |
double | getUniformD () const |
int | getUniformI () const |
unsigned int | getUniformU () const |
ivec2 | getUniform2I () const |
ivec3 | getUniform3I () const |
ivec4 | getUniform4I () const |
uvec2 | getUniform2U () const |
uvec3 | getUniform3U () const |
uvec4 | getUniform4U () const |
fvec2 | getUniform2F () const |
fvec3 | getUniform3F () const |
fvec4 | getUniform4F () const |
dvec2 | getUniform2D () const |
dvec3 | getUniform3D () const |
dvec4 | getUniform4D () const |
void | getUniform (double *value) const |
void | getUniform (float *value) const |
void | getUniform (int *value) const |
void | getUniform (unsigned int *value) const |
void | getUniform (ivec2 *value) const |
void | getUniform (ivec3 *value) const |
void | getUniform (ivec4 *value) const |
void | getUniform (uvec2 *value) const |
void | getUniform (uvec3 *value) const |
void | getUniform (uvec4 *value) const |
void | getUniform (fvec2 *value) const |
void | getUniform (fvec3 *value) const |
void | getUniform (fvec4 *value) const |
void | getUniform (fmat2 *value) const |
void | getUniform (fmat3 *value) const |
void | getUniform (fmat4 *value) const |
void | getUniform (dvec2 *value) const |
void | getUniform (dvec3 *value) const |
void | getUniform (dvec4 *value) const |
void | getUniform (dmat2 *value) const |
void | getUniform (dmat3 *value) const |
void | getUniform (dmat4 *value) const |
EUniformType | type () const |
int | count () const |
void * | rawData () |
const void * | rawData () const |
Public Member Functions inherited from vl::Object | |
Object () | |
Constructor. More... | |
Object (const Object &other) | |
Copy constructor: copies the name, ref count mutex and user data. More... | |
Object & | operator= (const Object &other) |
Copy operator: copies the object's name, ref count mutex and user data. More... | |
const std::string & | objectName () const |
The name of the object, by default set to the object's class name. More... | |
void | setObjectName (const char *name) |
The name of the object, by default set to the object's class name in debug builds. More... | |
void | setObjectName (const std::string &name) |
The name of the object, by default set to the object's class name in debug builds. More... | |
void | setRefCountMutex (IMutex *mutex) |
The mutex used to protect the reference counting of an Object across multiple threads. More... | |
IMutex * | refCountMutex () |
The mutex used to protect the reference counting of an Object across multiple threads. More... | |
const IMutex * | refCountMutex () const |
The mutex used to protect the reference counting of an Object across multiple threads. More... | |
int | referenceCount () const |
Returns the number of references of an object. More... | |
void | incReference () const |
Increments the reference count of an object. More... | |
void | decReference () |
Decrements the reference count of an object and deletes it if both automaticDelete() is true the count reaches 0. More... | |
void | setAutomaticDelete (bool autodel_on) |
If set to true the Object is deleted when its reference count reaches 0. More... | |
bool | automaticDelete () const |
If set to true the Object is deleted when its reference count reaches 0. More... | |
template<class T > | |
T * | as () |
Casts an Object to the specified class. More... | |
template<class T > | |
const T * | as () const |
Casts an Object to the specified class. More... | |
Protected Member Functions | |
VL_COMPILE_TIME_CHECK (sizeof(int)==sizeof(float)) void initData(int count) | |
void | initDouble (int count) |
int | singleCount () const |
int | doubleCount () const |
const double * | doubleData () const |
const float * | floatData () const |
const int * | intData () const |
const unsigned int * | uintData () const |
Protected Member Functions inherited from vl::Object | |
virtual | ~Object () |
Protected Attributes | |
EUniformType | mType |
std::vector< int > | mData |
std::string | mName |
Protected Attributes inherited from vl::Object | |
std::string | mObjectName |
IMutex * | mRefCountMutex |
int | mReferenceCount |
bool | mAutomaticDelete |
Friends | |
class | GLSLProgram |
Wraps an OpenGL Shading Language uniform to be associated to a GLSLProgram (see vl::GLSLProgram documentation).
Definition at line 59 of file Uniform.hpp.
|
inline |
Definition at line 67 of file Uniform.hpp.
Referenced by clone().
|
inline |
Definition at line 72 of file Uniform.hpp.
Definition at line 78 of file Uniform.hpp.
References Uniform().
|
inline |
Definition at line 261 of file Uniform.hpp.
References doubleCount(), mData, mType, singleCount(), vl::UT_DOUBLE, vl::UT_DOUBLE_MAT2, vl::UT_DOUBLE_MAT2x3, vl::UT_DOUBLE_MAT2x4, vl::UT_DOUBLE_MAT3, vl::UT_DOUBLE_MAT3x2, vl::UT_DOUBLE_MAT3x4, vl::UT_DOUBLE_MAT4, vl::UT_DOUBLE_MAT4x2, vl::UT_DOUBLE_MAT4x3, vl::UT_DOUBLE_VEC2, vl::UT_DOUBLE_VEC3, vl::UT_DOUBLE_VEC4, vl::UT_FLOAT, vl::UT_FLOAT_MAT2, vl::UT_FLOAT_MAT2x3, vl::UT_FLOAT_MAT2x4, vl::UT_FLOAT_MAT3, vl::UT_FLOAT_MAT3x2, vl::UT_FLOAT_MAT3x4, vl::UT_FLOAT_MAT4, vl::UT_FLOAT_MAT4x2, vl::UT_FLOAT_MAT4x3, vl::UT_FLOAT_VEC2, vl::UT_FLOAT_VEC3, vl::UT_FLOAT_VEC4, vl::UT_INT, vl::UT_INT_VEC2, vl::UT_INT_VEC3, vl::UT_INT_VEC4, vl::UT_UNSIGNED_INT, vl::UT_UNSIGNED_INT_VEC2, vl::UT_UNSIGNED_INT_VEC3, vl::UT_UNSIGNED_INT_VEC4, and VL_TRAP.
Referenced by vl::GLSLProgram::applyUniformSet(), and vlX::VLXClassWrapper_Uniform::exportUniform().
|
inlineprotected |
|
inlineprotected |
Definition at line 326 of file Uniform.hpp.
References mData, and VL_CHECK.
Referenced by vl::GLSLProgram::applyUniformSet().
|
inlineprotected |
Definition at line 327 of file Uniform.hpp.
References mData, and VL_CHECK.
Referenced by vl::GLSLProgram::applyUniformSet().
|
inline |
Definition at line 230 of file Uniform.hpp.
References mData, type(), vl::UT_NONE, and VL_CHECK.
Referenced by vlX::VLXClassWrapper_Uniform::exportUniform(), vl::Shader::getUniform(), getUniform2D(), getUniform2F(), getUniform2I(), getUniform2U(), getUniform3D(), getUniform3F(), getUniform3I(), getUniform3U(), getUniform4D(), getUniform4F(), getUniform4I(), getUniform4U(), getUniformD(), getUniformF(), getUniformI(), and getUniformU().
|
inline |
Definition at line 231 of file Uniform.hpp.
References mData, type(), vl::UT_NONE, and VL_CHECK.
|
inline |
Definition at line 232 of file Uniform.hpp.
References mData, type(), vl::UT_NONE, and VL_CHECK.
|
inline |
Definition at line 233 of file Uniform.hpp.
References mData, type(), vl::UT_NONE, and VL_CHECK.
|
inline |
Definition at line 235 of file Uniform.hpp.
References getUniform(), and vl::Vector2< T_Scalar >::ptr().
Referenced by getUniform().
|
inline |
Definition at line 236 of file Uniform.hpp.
References getUniform(), and vl::Vector3< T_Scalar >::ptr().
Referenced by getUniform().
|
inline |
Definition at line 237 of file Uniform.hpp.
References getUniform(), and vl::Vector4< T_Scalar >::ptr().
Referenced by getUniform().
|
inline |
Definition at line 239 of file Uniform.hpp.
References getUniform(), and vl::Vector2< T_Scalar >::ptr().
Referenced by getUniform().
|
inline |
Definition at line 240 of file Uniform.hpp.
References getUniform(), and vl::Vector3< T_Scalar >::ptr().
Referenced by getUniform().
|
inline |
Definition at line 241 of file Uniform.hpp.
References getUniform(), and vl::Vector4< T_Scalar >::ptr().
Referenced by getUniform().
|
inline |
Definition at line 243 of file Uniform.hpp.
References getUniform(), and vl::Vector2< T_Scalar >::ptr().
Referenced by getUniform().
|
inline |
Definition at line 244 of file Uniform.hpp.
References getUniform(), and vl::Vector3< T_Scalar >::ptr().
Referenced by getUniform().
|
inline |
Definition at line 245 of file Uniform.hpp.
References getUniform(), and vl::Vector4< T_Scalar >::ptr().
Referenced by getUniform().
|
inline |
Definition at line 247 of file Uniform.hpp.
References getUniform(), and vl::Matrix2< T_Scalar >::ptr().
Referenced by getUniform().
|
inline |
Definition at line 248 of file Uniform.hpp.
References getUniform(), and vl::Matrix3< T_Scalar >::ptr().
Referenced by getUniform().
|
inline |
Definition at line 249 of file Uniform.hpp.
References getUniform(), and vl::Matrix4< T_Scalar >::ptr().
Referenced by getUniform().
|
inline |
Definition at line 251 of file Uniform.hpp.
References getUniform(), and vl::Vector2< T_Scalar >::ptr().
Referenced by getUniform().
|
inline |
Definition at line 252 of file Uniform.hpp.
References getUniform(), and vl::Vector3< T_Scalar >::ptr().
Referenced by getUniform().
|
inline |
Definition at line 253 of file Uniform.hpp.
References getUniform(), and vl::Vector4< T_Scalar >::ptr().
Referenced by getUniform().
|
inline |
Definition at line 255 of file Uniform.hpp.
References getUniform(), and vl::Matrix2< T_Scalar >::ptr().
Referenced by getUniform().
|
inline |
Definition at line 256 of file Uniform.hpp.
References getUniform(), and vl::Matrix3< T_Scalar >::ptr().
Referenced by getUniform().
|
inline |
Definition at line 257 of file Uniform.hpp.
References getUniform(), and vl::Matrix4< T_Scalar >::ptr().
Referenced by getUniform().
|
inline |
Definition at line 226 of file Uniform.hpp.
References getUniform(), and vl::Vector2< T_Scalar >::ptr().
|
inline |
Definition at line 222 of file Uniform.hpp.
References getUniform(), and vl::Vector2< T_Scalar >::ptr().
|
inline |
Definition at line 214 of file Uniform.hpp.
References getUniform(), and vl::Vector2< T_Scalar >::ptr().
|
inline |
Definition at line 218 of file Uniform.hpp.
References getUniform(), and vl::Vector2< T_Scalar >::ptr().
|
inline |
Definition at line 227 of file Uniform.hpp.
References getUniform(), and vl::Vector3< T_Scalar >::ptr().
|
inline |
Definition at line 223 of file Uniform.hpp.
References getUniform(), and vl::Vector3< T_Scalar >::ptr().
|
inline |
Definition at line 215 of file Uniform.hpp.
References getUniform(), and vl::Vector3< T_Scalar >::ptr().
|
inline |
Definition at line 219 of file Uniform.hpp.
References getUniform(), and vl::Vector3< T_Scalar >::ptr().
|
inline |
Definition at line 228 of file Uniform.hpp.
References getUniform(), and vl::Vector4< T_Scalar >::ptr().
|
inline |
Definition at line 224 of file Uniform.hpp.
References getUniform(), and vl::Vector4< T_Scalar >::ptr().
|
inline |
Definition at line 216 of file Uniform.hpp.
References getUniform(), and vl::Vector4< T_Scalar >::ptr().
|
inline |
Definition at line 220 of file Uniform.hpp.
References getUniform(), and vl::Vector4< T_Scalar >::ptr().
|
inline |
Definition at line 210 of file Uniform.hpp.
References getUniform(), mData, type(), vl::UT_NONE, and VL_CHECK.
|
inline |
Definition at line 209 of file Uniform.hpp.
References getUniform(), mData, type(), vl::UT_NONE, and VL_CHECK.
|
inline |
Definition at line 211 of file Uniform.hpp.
References getUniform(), mData, type(), vl::UT_NONE, and VL_CHECK.
|
inline |
Definition at line 212 of file Uniform.hpp.
References getUniform(), mData, type(), vl::UT_NONE, and VL_CHECK.
|
inlineprotected |
Definition at line 323 of file Uniform.hpp.
References mData.
Referenced by setUniform1d(), setUniform2d(), setUniform3d(), setUniform4d(), setUniformMatrix2d(), setUniformMatrix2x3d(), setUniformMatrix2x4d(), setUniformMatrix3d(), setUniformMatrix3x2d(), setUniformMatrix3x4d(), setUniformMatrix4d(), setUniformMatrix4x2d(), and setUniformMatrix4x3d().
|
inlineprotected |
Definition at line 328 of file Uniform.hpp.
References mData, and VL_CHECK.
Referenced by vl::GLSLProgram::applyUniformSet().
|
inline |
Returns the name of the uniform variable.
Definition at line 86 of file Uniform.hpp.
References mName.
Referenced by vl::GLSLProgram::applyUniformSet(), vl::ShaderNode::eraseUniform(), vlX::VLXClassWrapper_Uniform::exportUniform(), vlX::VLXClassWrapper_Uniform::importUniform(), setName(), vl::UniformSet::setUniform(), vl::ShaderNode::setUniform(), and Uniform().
|
inline |
Returns the name of the uniform variable.
Definition at line 89 of file Uniform.hpp.
References mName.
|
inline |
Definition at line 316 of file Uniform.hpp.
Referenced by vlX::VLXClassWrapper_Uniform::exportUniform().
|
inline |
Definition at line 318 of file Uniform.hpp.
|
inline |
Sets the name of the uniform variable.
Definition at line 92 of file Uniform.hpp.
Referenced by vl::UniformSet::gocUniform(), and vlX::VLXClassWrapper_Uniform::importUniform().
|
inline |
Sets the name of the uniform variable.
Definition at line 95 of file Uniform.hpp.
|
inline |
Definition at line 145 of file Uniform.hpp.
References setUniform1i().
Referenced by vl::Terrain::init(), vl::RaycastVolume::updateUniforms(), and vl::SlicedVolume::updateUniforms().
|
inline |
Definition at line 146 of file Uniform.hpp.
References vl::Vector2< T_Scalar >::ptr(), and setUniform2i().
|
inline |
Definition at line 147 of file Uniform.hpp.
References vl::Vector3< T_Scalar >::ptr(), and setUniform3i().
|
inline |
Definition at line 148 of file Uniform.hpp.
References vl::Vector4< T_Scalar >::ptr(), and setUniform4i().
|
inline |
Definition at line 150 of file Uniform.hpp.
References setUniform1ui().
|
inline |
Definition at line 151 of file Uniform.hpp.
References vl::Vector2< T_Scalar >::ptr(), and setUniform2ui().
|
inline |
Definition at line 152 of file Uniform.hpp.
References vl::Vector3< T_Scalar >::ptr(), and setUniform3ui().
|
inline |
Definition at line 153 of file Uniform.hpp.
References vl::Vector4< T_Scalar >::ptr(), and setUniform4ui().
|
inline |
Definition at line 155 of file Uniform.hpp.
References setUniform1f().
|
inline |
Definition at line 156 of file Uniform.hpp.
References vl::Vector2< T_Scalar >::ptr(), and setUniform2f().
|
inline |
Definition at line 157 of file Uniform.hpp.
References vl::Vector3< T_Scalar >::ptr(), and setUniform3f().
|
inline |
Definition at line 158 of file Uniform.hpp.
References vl::Vector4< T_Scalar >::ptr(), and setUniform4f().
|
inline |
Definition at line 160 of file Uniform.hpp.
References vl::Matrix2< T_Scalar >::ptr(), and setUniformMatrix2f().
|
inline |
Definition at line 161 of file Uniform.hpp.
References vl::Matrix3< T_Scalar >::ptr(), and setUniformMatrix3f().
|
inline |
Definition at line 162 of file Uniform.hpp.
References vl::Matrix4< T_Scalar >::ptr(), and setUniformMatrix4f().
|
inline |
Definition at line 164 of file Uniform.hpp.
References setUniform1d().
|
inline |
Definition at line 165 of file Uniform.hpp.
References vl::Vector2< T_Scalar >::ptr(), and setUniform2d().
|
inline |
Definition at line 166 of file Uniform.hpp.
References vl::Vector3< T_Scalar >::ptr(), and setUniform3d().
|
inline |
Definition at line 167 of file Uniform.hpp.
References vl::Vector4< T_Scalar >::ptr(), and setUniform4d().
|
inline |
Definition at line 169 of file Uniform.hpp.
References vl::Matrix2< T_Scalar >::ptr(), and setUniformMatrix2d().
|
inline |
Definition at line 170 of file Uniform.hpp.
References vl::Matrix3< T_Scalar >::ptr(), and setUniformMatrix3d().
|
inline |
Definition at line 171 of file Uniform.hpp.
References vl::Matrix4< T_Scalar >::ptr(), and setUniformMatrix4d().
|
inline |
Definition at line 175 of file Uniform.hpp.
References setUniform1i().
|
inline |
Definition at line 177 of file Uniform.hpp.
References vl::Vector2< T_Scalar >::ptr(), and setUniform2i().
|
inline |
Definition at line 178 of file Uniform.hpp.
References vl::Vector3< T_Scalar >::ptr(), and setUniform3i().
|
inline |
Definition at line 179 of file Uniform.hpp.
References vl::Vector4< T_Scalar >::ptr(), and setUniform4i().
|
inline |
Definition at line 181 of file Uniform.hpp.
References setUniform1ui().
|
inline |
Definition at line 183 of file Uniform.hpp.
References vl::Vector2< T_Scalar >::ptr(), and setUniform2ui().
|
inline |
Definition at line 184 of file Uniform.hpp.
References vl::Vector3< T_Scalar >::ptr(), and setUniform3ui().
|
inline |
Definition at line 185 of file Uniform.hpp.
References vl::Vector4< T_Scalar >::ptr(), and setUniform4ui().
|
inline |
Definition at line 187 of file Uniform.hpp.
References setUniform1f().
|
inline |
Definition at line 189 of file Uniform.hpp.
References vl::Vector2< T_Scalar >::ptr(), and setUniform2f().
|
inline |
Definition at line 190 of file Uniform.hpp.
References vl::Vector3< T_Scalar >::ptr(), and setUniform3f().
|
inline |
Definition at line 191 of file Uniform.hpp.
References vl::Vector4< T_Scalar >::ptr(), and setUniform4f().
|
inline |
Definition at line 193 of file Uniform.hpp.
References vl::Matrix2< T_Scalar >::ptr(), and setUniformMatrix2f().
|
inline |
Definition at line 194 of file Uniform.hpp.
References vl::Matrix3< T_Scalar >::ptr(), and setUniformMatrix3f().
|
inline |
Definition at line 195 of file Uniform.hpp.
References vl::Matrix4< T_Scalar >::ptr(), and setUniformMatrix4f().
|
inline |
Definition at line 197 of file Uniform.hpp.
References setUniform1d().
|
inline |
Definition at line 199 of file Uniform.hpp.
References vl::Vector2< T_Scalar >::ptr(), and setUniform2d().
|
inline |
Definition at line 200 of file Uniform.hpp.
References vl::Vector3< T_Scalar >::ptr(), and setUniform3d().
|
inline |
Definition at line 201 of file Uniform.hpp.
References vl::Vector4< T_Scalar >::ptr(), and setUniform4d().
|
inline |
Definition at line 203 of file Uniform.hpp.
References vl::Matrix2< T_Scalar >::ptr(), and setUniformMatrix2d().
|
inline |
Definition at line 204 of file Uniform.hpp.
References vl::Matrix3< T_Scalar >::ptr(), and setUniformMatrix3d().
|
inline |
Definition at line 205 of file Uniform.hpp.
References vl::Matrix4< T_Scalar >::ptr(), and setUniformMatrix4d().
|
inline |
Definition at line 114 of file Uniform.hpp.
References initDouble(), mData, mType, and vl::UT_DOUBLE.
Referenced by vlX::VLXClassWrapper_Uniform::importUniform(), setUniform(), and setUniformD().
|
inline |
Definition at line 109 of file Uniform.hpp.
References mData, mType, and vl::UT_FLOAT.
Referenced by vlX::VLXClassWrapper_Uniform::importUniform(), setUniform(), and setUniformF().
|
inline |
Definition at line 99 of file Uniform.hpp.
References mData, mType, and vl::UT_INT.
Referenced by vlX::VLXClassWrapper_Uniform::importUniform(), setUniform(), setUniformI(), and vl::SlicedVolume::updateUniforms().
|
inline |
Definition at line 104 of file Uniform.hpp.
References mData, mType, and vl::UT_UNSIGNED_INT.
Referenced by vlX::VLXClassWrapper_Uniform::importUniform(), setUniform(), and setUniformU().
|
inline |
Definition at line 115 of file Uniform.hpp.
References initDouble(), mData, mType, and vl::UT_DOUBLE_VEC2.
Referenced by vlX::VLXClassWrapper_Uniform::importUniform(), and setUniform().
|
inline |
Definition at line 110 of file Uniform.hpp.
References mData, mType, and vl::UT_FLOAT_VEC2.
Referenced by vlX::VLXClassWrapper_Uniform::importUniform(), and setUniform().
|
inline |
Definition at line 100 of file Uniform.hpp.
References mData, mType, and vl::UT_INT_VEC2.
Referenced by vlX::VLXClassWrapper_Uniform::importUniform(), and setUniform().
|
inline |
Definition at line 105 of file Uniform.hpp.
References mData, mType, and vl::UT_UNSIGNED_INT_VEC2.
Referenced by vlX::VLXClassWrapper_Uniform::importUniform(), and setUniform().
|
inline |
Definition at line 116 of file Uniform.hpp.
References initDouble(), mData, mType, and vl::UT_DOUBLE_VEC3.
Referenced by vlX::VLXClassWrapper_Uniform::importUniform(), and setUniform().
|
inline |
Definition at line 111 of file Uniform.hpp.
References mData, mType, and vl::UT_FLOAT_VEC3.
Referenced by vlX::VLXClassWrapper_Uniform::importUniform(), and setUniform().
|
inline |
Definition at line 101 of file Uniform.hpp.
References mData, mType, and vl::UT_INT_VEC3.
Referenced by vlX::VLXClassWrapper_Uniform::importUniform(), and setUniform().
|
inline |
Definition at line 106 of file Uniform.hpp.
References mData, mType, and vl::UT_UNSIGNED_INT_VEC3.
Referenced by vlX::VLXClassWrapper_Uniform::importUniform(), and setUniform().
|
inline |
Definition at line 117 of file Uniform.hpp.
References initDouble(), mData, mType, and vl::UT_DOUBLE_VEC4.
Referenced by vlX::VLXClassWrapper_Uniform::importUniform(), and setUniform().
|
inline |
Definition at line 112 of file Uniform.hpp.
References mData, mType, and vl::UT_FLOAT_VEC4.
Referenced by vlX::VLXClassWrapper_Uniform::importUniform(), and setUniform().
|
inline |
Definition at line 102 of file Uniform.hpp.
References mData, mType, and vl::UT_INT_VEC4.
Referenced by vlX::VLXClassWrapper_Uniform::importUniform(), and setUniform().
|
inline |
Definition at line 107 of file Uniform.hpp.
References mData, mType, and vl::UT_UNSIGNED_INT_VEC4.
Referenced by vlX::VLXClassWrapper_Uniform::importUniform(), and setUniform().
|
inline |
Definition at line 198 of file Uniform.hpp.
References setUniform1d().
|
inline |
Definition at line 188 of file Uniform.hpp.
References setUniform1f().
Referenced by vl::Terrain::init().
|
inline |
Definition at line 176 of file Uniform.hpp.
References setUniform1i().
Referenced by vl::Terrain::init(), and vl::RaycastVolume::updateUniforms().
|
inline |
Definition at line 132 of file Uniform.hpp.
References initDouble(), mData, mType, and vl::UT_DOUBLE_MAT2.
Referenced by vlX::VLXClassWrapper_Uniform::importUniform(), and setUniform().
|
inline |
Definition at line 121 of file Uniform.hpp.
References mData, mType, and vl::UT_FLOAT_MAT2.
Referenced by vlX::VLXClassWrapper_Uniform::importUniform(), and setUniform().
|
inline |
Definition at line 136 of file Uniform.hpp.
References initDouble(), mData, mType, and vl::UT_DOUBLE_MAT2x3.
Referenced by vlX::VLXClassWrapper_Uniform::importUniform().
|
inline |
Definition at line 125 of file Uniform.hpp.
References mData, mType, and vl::UT_FLOAT_MAT2x3.
Referenced by vlX::VLXClassWrapper_Uniform::importUniform().
|
inline |
Definition at line 138 of file Uniform.hpp.
References initDouble(), mData, mType, and vl::UT_DOUBLE_MAT2x4.
Referenced by vlX::VLXClassWrapper_Uniform::importUniform().
|
inline |
Definition at line 127 of file Uniform.hpp.
References mData, mType, and vl::UT_FLOAT_MAT2x4.
Referenced by vlX::VLXClassWrapper_Uniform::importUniform().
|
inline |
Definition at line 133 of file Uniform.hpp.
References initDouble(), mData, mType, and vl::UT_DOUBLE_MAT3.
Referenced by vlX::VLXClassWrapper_Uniform::importUniform(), and setUniform().
|
inline |
Definition at line 122 of file Uniform.hpp.
References mData, mType, and vl::UT_FLOAT_MAT3.
Referenced by vlX::VLXClassWrapper_Uniform::importUniform(), and setUniform().
|
inline |
Definition at line 137 of file Uniform.hpp.
References initDouble(), mData, mType, and vl::UT_DOUBLE_MAT3x2.
Referenced by vlX::VLXClassWrapper_Uniform::importUniform().
|
inline |
Definition at line 126 of file Uniform.hpp.
References mData, mType, and vl::UT_FLOAT_MAT3x2.
Referenced by vlX::VLXClassWrapper_Uniform::importUniform().
|
inline |
Definition at line 140 of file Uniform.hpp.
References initDouble(), mData, mType, and vl::UT_DOUBLE_MAT3x4.
Referenced by vlX::VLXClassWrapper_Uniform::importUniform().
|
inline |
Definition at line 129 of file Uniform.hpp.
References mData, mType, and vl::UT_FLOAT_MAT3x4.
Referenced by vlX::VLXClassWrapper_Uniform::importUniform().
|
inline |
Definition at line 134 of file Uniform.hpp.
References initDouble(), mData, mType, and vl::UT_DOUBLE_MAT4.
Referenced by vlX::VLXClassWrapper_Uniform::importUniform(), and setUniform().
|
inline |
Definition at line 123 of file Uniform.hpp.
References mData, mType, and vl::UT_FLOAT_MAT4.
Referenced by vlX::VLXClassWrapper_Uniform::importUniform(), and setUniform().
|
inline |
Definition at line 139 of file Uniform.hpp.
References initDouble(), mData, mType, and vl::UT_DOUBLE_MAT4x2.
Referenced by vlX::VLXClassWrapper_Uniform::importUniform().
|
inline |
Definition at line 128 of file Uniform.hpp.
References mData, mType, and vl::UT_FLOAT_MAT4x2.
Referenced by vlX::VLXClassWrapper_Uniform::importUniform().
|
inline |
Definition at line 141 of file Uniform.hpp.
References initDouble(), mData, mType, and vl::UT_DOUBLE_MAT4x3.
Referenced by vlX::VLXClassWrapper_Uniform::importUniform().
|
inline |
Definition at line 130 of file Uniform.hpp.
References mData, mType, and vl::UT_FLOAT_MAT4x3.
Referenced by vlX::VLXClassWrapper_Uniform::importUniform().
|
inline |
Definition at line 182 of file Uniform.hpp.
References setUniform1ui().
|
inlineprotected |
|
inline |
Definition at line 259 of file Uniform.hpp.
References mType.
Referenced by vlX::VLXClassWrapper_Uniform::exportUniform(), getUniform(), getUniformD(), getUniformF(), getUniformI(), and getUniformU().
|
inlineprotected |
Definition at line 329 of file Uniform.hpp.
References mData, and VL_CHECK.
Referenced by vl::GLSLProgram::applyUniformSet().
|
inlineprotected |
Definition at line 321 of file Uniform.hpp.
References mData.
|
friend |
Definition at line 63 of file Uniform.hpp.
|
protected |
Definition at line 332 of file Uniform.hpp.
Referenced by count(), doubleCount(), doubleData(), floatData(), getUniform(), getUniformD(), getUniformF(), getUniformI(), getUniformU(), initDouble(), intData(), rawData(), setUniform1d(), setUniform1f(), setUniform1i(), setUniform1ui(), setUniform2d(), setUniform2f(), setUniform2i(), setUniform2ui(), setUniform3d(), setUniform3f(), setUniform3i(), setUniform3ui(), setUniform4d(), setUniform4f(), setUniform4i(), setUniform4ui(), setUniformMatrix2d(), setUniformMatrix2f(), setUniformMatrix2x3d(), setUniformMatrix2x3f(), setUniformMatrix2x4d(), setUniformMatrix2x4f(), setUniformMatrix3d(), setUniformMatrix3f(), setUniformMatrix3x2d(), setUniformMatrix3x2f(), setUniformMatrix3x4d(), setUniformMatrix3x4f(), setUniformMatrix4d(), setUniformMatrix4f(), setUniformMatrix4x2d(), setUniformMatrix4x2f(), setUniformMatrix4x3d(), setUniformMatrix4x3f(), singleCount(), uintData(), and VL_COMPILE_TIME_CHECK().
|
protected |
Definition at line 333 of file Uniform.hpp.
|
protected |
Definition at line 331 of file Uniform.hpp.
Referenced by vl::GLSLProgram::applyUniformSet(), count(), setUniform1d(), setUniform1f(), setUniform1i(), setUniform1ui(), setUniform2d(), setUniform2f(), setUniform2i(), setUniform2ui(), setUniform3d(), setUniform3f(), setUniform3i(), setUniform3ui(), setUniform4d(), setUniform4f(), setUniform4i(), setUniform4ui(), setUniformMatrix2d(), setUniformMatrix2f(), setUniformMatrix2x3d(), setUniformMatrix2x3f(), setUniformMatrix2x4d(), setUniformMatrix2x4f(), setUniformMatrix3d(), setUniformMatrix3f(), setUniformMatrix3x2d(), setUniformMatrix3x2f(), setUniformMatrix3x4d(), setUniformMatrix3x4f(), setUniformMatrix4d(), setUniformMatrix4f(), setUniformMatrix4x2d(), setUniformMatrix4x2f(), setUniformMatrix4x3d(), setUniformMatrix4x3f(), and type().
Visualization Library 2.0.0 Reference Documentation
Updated on Wed Dec 23 2020 12:44:12.
© Copyright Michele Bosi. All rights reserved.