Murl::Graph::ConstantBufferParameterGroup Class Referenceabstract

The abstract ConstantBufferParameterGroup node class. More...

#include "murl_graph_constant_buffer_parameter_group.h"

Inheritance diagram for Murl::Graph::ConstantBufferParameterGroup:

Additional Inherited Members

- Public Types inherited from Murl::IFactoryObject< INode >
typedef Array< const ClassInfo *> ClassInfoArray
 Definition of an array of ClassInfo objects. More...
 
- Public Member Functions inherited from Murl::IFactoryObject< INode >
virtual ~IFactoryObject ()
 The destructor. More...
 
virtual const ClassInfo * GetObjectClassInfo () const=0
 Get the object instance's class info, if present. More...
 
virtual void ResetObjectProperties ()=0
 Reset the object instance's properties to their default values.
 
- Static Public Member Functions inherited from Murl::IFactoryObject< INode >
static const PropertyInfoGetPropertyInfo ()
 Get the class' property info struct. More...
 
static const AttributeInfoGetAttributeInfo ()
 Get the class' attribute info struct. More...
 
static void ResetProperties (IFactoryObject< INode > *object)
 Reset an object instance's properties to their default values. More...
 

Detailed Description

The abstract ConstantBufferParameterGroup node class.

XML Elements

XML Graph Node Attributes:

name="" [String]

The group name. See Murl::Graph::IConstantBufferParameterGroup::SetName().

uniforms="" [String]

A string containing individual parameter definitions, each delimited by a semicolon character (';'). Each definition must be in the form "TYPE NAME(VALUE);", with TYPE being one of the Murl::IEnums::UniformType string values (e.g. "SINT32_VECTOR_2") or a valid GLSL data type (e.g. "vec4"), and NAME matching a uniform name from a vertex or fragment shader. VALUE must be either a single numeric value for scalar types, or a comma-separated list of individual vector or matrix values. Predefined uniform names can be queried through Murl::IEnums::GetUniformItemName() with one of the predefined uniform items from the Murl::IEnums::UniformItem enumeration.
Example using predefined uniforms:
uniforms="vec4 uMaterialColorDiffuse; FLOAT uMaterialShininess;"
Example using custom uniforms:
uniforms="vec4 uTestColor(0,1,0,1); vec3 uTestSize(1,1,1);"
See Murl::Graph::IUniformContainer::AddUniform().


The documentation for this class was generated from the following file:
  • murl_graph_constant_buffer_parameter_group.h


Copyright © 2011-2018 Spraylight GmbH.