16 #ifndef SURGSIM_GRAPHICS_UNIFORM_H 17 #define SURGSIM_GRAPHICS_UNIFORM_H 19 #include "SurgSim/Graphics/UniformBase.h" 37 SURGSIM_ADD_RW_PROPERTY(
Uniform, T, Value,
get,
set);
41 virtual void set(
const T& value) = 0;
44 virtual const T&
get()
const = 0;
54 virtual size_t getNumElements()
const = 0;
59 virtual void setElement(
size_t index,
const T& value) = 0;
63 virtual void set(
const std::vector<T>& value) = 0;
68 virtual typename std::vector<T>::const_reference getElement(
size_t index)
const = 0;
72 virtual const std::vector<T>&
get()
const = 0;
79 #endif // SURGSIM_GRAPHICS_UNIFORM_H Wraps glewInit() to separate the glew opengl definitions from the osg opengl definitions only imgui n...
Definition: AddRandomSphereBehavior.cpp:36
Definition: MockObjects.h:47