23 #ifndef vtkOpenGLUniforms_h
24 #define vtkOpenGLUniforms_h
26 #include "vtkRenderingOpenGL2Module.h"
30 VTK_ABI_NAMESPACE_BEGIN
31 class vtkUniformInternals;
73 const std::vector<int>&
value)
override;
75 const std::vector<float>&
value)
override;
97 void SetUniform3fv(
const char* name,
int count,
const float (*f)[3])
override;
98 void SetUniform4fv(
const char* name,
int count,
const float (*f)[4])
override;
107 void SetUniform3f(
const char* name,
const double v[3])
override;
108 void SetUniform3uc(
const char* name,
const unsigned char v[3])
override;
109 void SetUniform4uc(
const char* name,
const unsigned char v[4])
override;
116 bool GetUniformi(
const char* name,
int& v)
override;
117 bool GetUniformf(
const char* name,
float& v)
override;
119 bool GetUniform2f(
const char* name,
float v[2])
override;
120 bool GetUniform3f(
const char* name,
float v[3])
override;
121 bool GetUniform4f(
const char* name,
float v[4])
override;
131 bool GetUniform3f(
const char* name,
double v[3])
override;
132 bool GetUniform3uc(
const char* name,
unsigned char v[3])
override;
133 bool GetUniform4uc(
const char* name,
unsigned char v[4])
override;
140 bool GetUniform1iv(
const char* name, std::vector<int>& f)
override;
141 bool GetUniform1fv(
const char* name, std::vector<float>& f)
override;
142 bool GetUniform2fv(
const char* name, std::vector<float>& f)
override;
143 bool GetUniform3fv(
const char* name, std::vector<float>& f)
override;
144 bool GetUniform4fv(
const char* name, std::vector<float>& f)
override;
179 vtkUniformInternals* Internals;
182 #define vtkOpenGLUniforms_OVERRIDE_ATTRIBUTES vtkOpenGLUniforms::CreateOverrideAttributes()
183 VTK_ABI_NAMESPACE_END
Attribute for vtkObjectFactory overrides.
represent and manipulate 4x4 transformation matrices
vtkTypeUInt32 vtkMTimeType
a simple class to control print indentation
represent and manipulate 3x3 transformation matrices
The ShaderProgram uses one or more Shader objects.