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

Information about the VEX shader. More...

#include <VCC_Utils.h>

Public Member Functions

 ShaderInfo ()
 
bool save (UT_JSONWriter &w) const
 
bool load (UT_JSONParser &p)
 
VEX_ContextType getContextType () const
 VEX context type (surface, displacement, etc). More...
 
void setContextType (VEX_ContextType type)
 VEX context type (surface, displacement, etc). More...
 
const UT_StringHoldergetFunctionName () const
 Shader function name. More...
 
void setFunctionName (const UT_StringRef &name)
 Shader function name. More...
 
const UT_Array< ShaderParmInfo > & getParameters () const
 Shader function parameters. More...
 
void setParameterArrayCapacity (exint capacity)
 Shader function parameters. More...
 
void appendParameter (ShaderParmInfo &&parm)
 Shader function parameters. More...
 

Detailed Description

Information about the VEX shader.

Definition at line 109 of file VCC_Utils.h.

Constructor & Destructor Documentation

VCC_Utils::ShaderInfo::ShaderInfo ( )

Member Function Documentation

void VCC_Utils::ShaderInfo::appendParameter ( ShaderParmInfo &&  parm)
inline

Shader function parameters.

Definition at line 135 of file VCC_Utils.h.

VEX_ContextType VCC_Utils::ShaderInfo::getContextType ( ) const
inline

VEX context type (surface, displacement, etc).

Definition at line 116 of file VCC_Utils.h.

const UT_StringHolder& VCC_Utils::ShaderInfo::getFunctionName ( ) const
inline

Shader function name.

Definition at line 123 of file VCC_Utils.h.

const UT_Array<ShaderParmInfo>& VCC_Utils::ShaderInfo::getParameters ( ) const
inline

Shader function parameters.

Definition at line 130 of file VCC_Utils.h.

bool VCC_Utils::ShaderInfo::load ( UT_JSONParser p)
bool VCC_Utils::ShaderInfo::save ( UT_JSONWriter w) const
void VCC_Utils::ShaderInfo::setContextType ( VEX_ContextType  type)
inline

VEX context type (surface, displacement, etc).

Definition at line 118 of file VCC_Utils.h.

void VCC_Utils::ShaderInfo::setFunctionName ( const UT_StringRef name)
inline

Shader function name.

Definition at line 125 of file VCC_Utils.h.

void VCC_Utils::ShaderInfo::setParameterArrayCapacity ( exint  capacity)
inline

Shader function parameters.

Definition at line 132 of file VCC_Utils.h.


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