HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
VCC_Utils::ShaderParmInfo Class Reference

Information about VEX shader parameter. More...

#include <VCC_Utils.h>

Public Member Functions

 ShaderParmInfo ()
 Constructors. More...
 
 ShaderParmInfo (const UT_StringRef &name, VEX_Type type, const UT_StringRef &struct_name=UT_StringRef())
 
const UT_StringHoldergetName () const
 Parameter name. More...
 
bool save (UT_JSONWriter &w) const
 
bool load (UT_JSONParser &p)
 
VEX_Type getType () const
 Parameter type. More...
 
const UT_StringHoldergetStructName () const
 Parameter type. More...
 
bool isStruct () const
 Parameter type. More...
 
bool isExport () const
 Export (outgoing parm flag) info. More...
 
void setIsExport (bool is_export)
 Export (outgoing parm flag) info. More...
 
bool isArray () const
 Array info. More...
 
void setIsArray (bool is_array)
 Array info. More...
 
exint getArraySize () const
 Array info. More...
 
void setArraySize (exint array_size)
 Array info. More...
 
const UT_DoubleArraygetFloatValues () const
 Default values. More...
 
void setFloatValues (const UT_DoubleArray &values)
 Default values. More...
 
const UT_IntArraygetIntValues () const
 Default values. More...
 
void setIntValues (const UT_IntArray &values)
 Default values. More...
 
const UT_StringArraygetStringValues () const
 Default values. More...
 
void setStringValues (const UT_StringArray &values)
 Default values. More...
 

Detailed Description

Information about VEX shader parameter.

Definition at line 34 of file VCC_Utils.h.

Constructor & Destructor Documentation

VCC_Utils::ShaderParmInfo::ShaderParmInfo ( )

Constructors.

VCC_Utils::ShaderParmInfo::ShaderParmInfo ( const UT_StringRef name,
VEX_Type  type,
const UT_StringRef struct_name = UT_StringRef() 
)

Member Function Documentation

exint VCC_Utils::ShaderParmInfo::getArraySize ( ) const
inline

Array info.

Definition at line 70 of file VCC_Utils.h.

const UT_DoubleArray& VCC_Utils::ShaderParmInfo::getFloatValues ( ) const
inline

Default values.

Definition at line 77 of file VCC_Utils.h.

const UT_IntArray& VCC_Utils::ShaderParmInfo::getIntValues ( ) const
inline

Default values.

Definition at line 82 of file VCC_Utils.h.

const UT_StringHolder& VCC_Utils::ShaderParmInfo::getName ( ) const
inline

Parameter name.

Definition at line 44 of file VCC_Utils.h.

const UT_StringArray& VCC_Utils::ShaderParmInfo::getStringValues ( ) const
inline

Default values.

Definition at line 87 of file VCC_Utils.h.

const UT_StringHolder& VCC_Utils::ShaderParmInfo::getStructName ( ) const
inline

Parameter type.

Definition at line 50 of file VCC_Utils.h.

VEX_Type VCC_Utils::ShaderParmInfo::getType ( ) const
inline

Parameter type.

Definition at line 48 of file VCC_Utils.h.

bool VCC_Utils::ShaderParmInfo::isArray ( ) const
inline

Array info.

Definition at line 65 of file VCC_Utils.h.

bool VCC_Utils::ShaderParmInfo::isExport ( ) const
inline

Export (outgoing parm flag) info.

Definition at line 57 of file VCC_Utils.h.

bool VCC_Utils::ShaderParmInfo::isStruct ( ) const
inline

Parameter type.

Definition at line 52 of file VCC_Utils.h.

bool VCC_Utils::ShaderParmInfo::load ( UT_JSONParser p)
bool VCC_Utils::ShaderParmInfo::save ( UT_JSONWriter w) const
void VCC_Utils::ShaderParmInfo::setArraySize ( exint  array_size)
inline

Array info.

Definition at line 72 of file VCC_Utils.h.

void VCC_Utils::ShaderParmInfo::setFloatValues ( const UT_DoubleArray values)
inline

Default values.

Definition at line 79 of file VCC_Utils.h.

void VCC_Utils::ShaderParmInfo::setIntValues ( const UT_IntArray values)
inline

Default values.

Definition at line 84 of file VCC_Utils.h.

void VCC_Utils::ShaderParmInfo::setIsArray ( bool  is_array)
inline

Array info.

Definition at line 67 of file VCC_Utils.h.

void VCC_Utils::ShaderParmInfo::setIsExport ( bool  is_export)
inline

Export (outgoing parm flag) info.

Definition at line 59 of file VCC_Utils.h.

void VCC_Utils::ShaderParmInfo::setStringValues ( const UT_StringArray values)
inline

Default values.

Definition at line 89 of file VCC_Utils.h.


The documentation for this class was generated from the following file: