12 #ifndef __CVEX_Value__
13 #define __CVEX_Value__
59 template <VEX_Precision PREC>
146 {
return getRawData(); }
149 bool setData(
void *
data,
int array_size)
150 {
return setRawData(myType, data, array_size); }
154 {
return setTypedData(stringdata); }
165 { myIsConstant = isconstant; }
167 {
return myIsConstant; }
181 void clearAndAllocArray(
bool ispacked);
196 bool myIsPackedArray;
198 template <VEX_Precision ALLPREC>
200 template <VEX_Precision ALLPREC>
VEX_Type
VEX variable types.
#define SYS_DEPRECATED(__V__)
CVEX_EXTERN_TEMPLATE(CVEX_ValueT< VEX_32 >)
CVEX_Type getType() const
Query type of VEX value.
void setIsConstant(bool isconstant)
bool isVarying() const
Query whether the VEX value is uniform or varying.
Class which writes ASCII or binary JSON streams.
const UT_StringHolder & getName() const
Query name of VEX value.
typename VEX_PrecisionResolver< P >::vec3_type VEXvec3
List of input or output values for a CVEX_Context.
A class representing a VEX value.
typename VEX_PrecisionResolver< P >::float_type VEXfloat
typename VEX_PrecisionResolver< P >::mat4_type VEXmat4
GLuint const GLchar * name
CVEX_Type
The CVEX_Type enum defines the VEX types available to CVEX.
typename VEX_PrecisionResolver< P >::mat2_type VEXmat2
bool isExport() const
Query whether the VEX value is an export (or read-only)
typename VEX_PrecisionResolver< P >::vec2_type VEXvec2
typename VEX_PrecisionResolver< P >::vec4_type VEXvec4
bool isPackedArray() const
typename VEX_PrecisionResolver< P >::int_type VEXint
GLubyte GLubyte GLubyte GLubyte w
typename VEX_PrecisionResolver< P >::mat3_type VEXmat3