18 #ifndef IGNITION_RENDERING_SHADERPARAM_HH_ 19 #define IGNITION_RENDERING_SHADERPARAM_HH_ 28 #include "ignition/rendering/config.hh" 29 #include "ignition/rendering/Export.hh" 35 inline namespace IGNITION_RENDERING_VERSION_NAMESPACE {
38 class ShaderParamPrivate;
55 PARAM_FLOAT_BUFFER = 3,
77 public: uint32_t Count()
const;
86 public:
void operator=(
const float _value);
90 public:
void operator=(
const int _value);
94 public:
void InitializeBuffer(uint32_t _count);
98 public:
void UpdateBuffer(
float *_floatBuffer);
102 public:
void UpdateBuffer(
int *_intBuffer);
107 public:
bool Value(
float *_value)
const;
112 public:
bool Value(
int *_value)
const;
#define IGN_COMMON_WARN_RESUME__DLL_INTERFACE_MISSING
a variant type that holds params that can be passed to a shader
Definition: ShaderParam.hh:41
ParamType
Definition: ShaderParam.hh:43
#define IGN_COMMON_WARN_IGNORE__DLL_INTERFACE_MISSING