27 template <VEX_Precision PREC>
51 {
return myStructName; }
53 {
return myStructName; }
58 {
return myIsExport; }
60 { myIsExport = is_export; }
68 { myIsArray = is_array; }
71 {
return myArraySize; }
73 { myArraySize = array_size; }
78 {
return myFloatValues; }
80 { myFloatValues =
values; }
83 {
return myIntValues; }
88 {
return myStringValues; }
90 { myStringValues =
values; }
117 {
return myContextType; }
119 { myContextType =
type; }
124 {
return myFunctionName; }
126 { myFunctionName =
name; }
133 { myParms.setCapacity( capacity ); }
136 { myParms.emplace_back( parm ); }
150 static bool getShaderInfoFromFile(
155 static bool getShaderInfoFromCode(
VEX_Type
VEX variable types.
Information about VEX shader parameter.
void setFunctionName(const UT_StringRef &name)
Shader function name.
bool isArray() const
Array info.
JSON reader class which handles parsing of JSON or bJSON files.
Class which writes ASCII or binary JSON streams.
const UT_StringHolder & getStructName() const
Parameter type.
Information about the VEX shader.
void appendParameter(ShaderParmInfo &&parm)
Shader function parameters.
VEX_Type getType() const
Parameter type.
void setArraySize(exint array_size)
Array info.
void setStringValues(const UT_StringArray &values)
Default values.
const UT_IntArray & getIntValues() const
Default values.
bool isStruct() const
Parameter type.
VEX_ContextType getContextType() const
VEX context type (surface, displacement, etc).
const UT_StringHolder & getName() const
Parameter name.
void setIntValues(const UT_IntArray &values)
Default values.
GLuint const GLchar * name
void setFloatValues(const UT_DoubleArray &values)
Default values.
void setParameterArrayCapacity(exint capacity)
Shader function parameters.
void setIsExport(bool is_export)
Export (outgoing parm flag) info.
void setIsArray(bool is_array)
Array info.
A class holding a VEX function.
GLenum GLsizei GLsizei GLint * values
const UT_StringHolder & getFunctionName() const
Shader function name.
const UT_DoubleArray & getFloatValues() const
Default values.
bool isExport() const
Export (outgoing parm flag) info.
void setContextType(VEX_ContextType type)
VEX context type (surface, displacement, etc).
GLubyte GLubyte GLubyte GLubyte w
exint getArraySize() const
Array info.
const UT_StringArray & getStringValues() const
Default values.
const UT_Array< ShaderParmInfo > & getParameters() const
Shader function parameters.