The GenericGeometry node class. More...
#include "murl_graph_generic_geometry.h"
Additional Inherited Members | |
Public Types inherited from Murl::IFactoryObject< INode > | |
using | ClassInfoArray = Array< const ClassInfo * > |
Definition of an array of ClassInfo objects. | |
Public Member Functions inherited from Murl::IFactoryObject< INode > | |
~IFactoryObject () override | |
The destructor. | |
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 PropertyInfo * | GetPropertyInfo () |
Get the class' property info struct. More... | |
static const AttributeInfo * | GetAttributeInfo () |
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 GenericGeometry node class.
XML Elements
- XML Graph Node Attributes:
-
materialSlot="0" [SInt32]
The material slot to use for rendering. See Murl::Graph::IDrawable::SetMaterialSlot().
parametersSlot="0" [SInt32]
The parameters' slot to use for rendering. See Murl::Graph::IDrawable::SetParametersSlot().
textureSlots="{0}" [SInt32Array]
An array of texture slots to use for rendering. See Murl::Graph::IDrawable::SetTextureSlot().
textureSlot.N="0" [SInt32]
A single texture slot to use for rendering. See Murl::Graph::IDrawable::SetTextureSlot().
maxNumberOfLightStages="1" [UInt32]
The maximum number of light stages to render. See Murl::Graph::IDrawable::SetMaxNumberOfLightStages().
maxNumberOfIndices="0" [UInt32]
The maximum number of geometry indices. See Murl::Graph::IIndexBuffer::SetMaxNumberOfIndices().
maxNumberOfVertices="0" [UInt32]
The maximum number of geometry vertices. See Murl::Graph::IVertexBuffer::SetMaxNumberOfVertices().
enableViewCulling="true" [Bool]
Enable/disable view culling. See Murl::Graph::IDrawable::SetViewCullingEnabled().
enableCpuSkinning="true" [Bool]
Enable/disable CPU skinning. See Murl::Graph::IDrawable::SetCpuSkinningEnabled().
allowDynamicBatching="true" [Bool]
Allow/disallow dynamic batching. See Murl::Graph::IDrawable::SetDynamicBatchingAllowed().
hasCoord="false" [Bool]
If true, per-vertex 3D coordinates are included. See Murl::Graph::IAttributeContainer::AddAttribute().
hasNormal="false" [Bool]
If true, per-vertex normals are included. See Murl::Graph::IAttributeContainer::AddAttribute().
hasBinormal="false" [Bool]
If true, per-vertex binormals are included. See Murl::Graph::IAttributeContainer::AddAttribute().
hasTangent="false" [Bool]
If true, per-vertex tangents are included. See Murl::Graph::IAttributeContainer::AddAttribute().
hasColor="false" [Bool]
If true, per-vertex colors are included. See Murl::Graph::IAttributeContainer::AddAttribute().
hasTexCoord0="false" [Bool]
If true, per-vertex texture coords at unit 0 are included. See Murl::Graph::IAttributeContainer::AddAttribute().
hasTexCoord1="false" [Bool]
If true, per-vertex texture coords at unit 1 are included. See Murl::Graph::IAttributeContainer::AddAttribute().
hasTexCoord2="false" [Bool]
If true, per-vertex texture coords at unit 2 are included. See Murl::Graph::IAttributeContainer::AddAttribute().
hasTexCoord3="false" [Bool]
If true, per-vertex texture coords at unit 3 are included. See Murl::Graph::IAttributeContainer::AddAttribute().
hasTexCoord4="false" [Bool]
If true, per-vertex texture coords at unit 4 are included. See Murl::Graph::IAttributeContainer::AddAttribute().
hasTexCoord5="false" [Bool]
If true, per-vertex texture coords at unit 5 are included. See Murl::Graph::IAttributeContainer::AddAttribute().
hasTexCoord6="false" [Bool]
If true, per-vertex texture coords at unit 6 are included. See Murl::Graph::IAttributeContainer::AddAttribute().
hasTexCoord7="false" [Bool]
If true, per-vertex texture coords at unit 7 are included. See Murl::Graph::IAttributeContainer::AddAttribute().
hasBoneIndices="false" [Bool]
If true, per-vertex bone indices are included. See Murl::Graph::IAttributeContainer::AddAttribute().
hasBoneWeights="false" [Bool]
If true, per-vertex bone weights are included. See Murl::Graph::IAttributeContainer::AddAttribute().
indexBufferAccessMode="READ_AND_WRITE" [IEnums::BufferAccessMode]
The access mode of the underlying index buffer. See Murl::Graph::IIndexBuffer::SetIndexBufferAccessMode().
vertexBufferAccessMode="READ_AND_WRITE" [IEnums::BufferAccessMode]
The access mode of the underlying vertex buffer. See Murl::Graph::IVertexBuffer::SetVertexBufferAccessMode().
primitiveType="TRIANGLES" [IEnums::PrimitiveType]
The type of primitives to render. See Murl::Graph::IDrawable::SetPrimitiveType().
indexType="UINT16" [IEnums::IndexType]
The index buffer data type. See Murl::Graph::IIndexBuffer::SetIndexType().
attributes="" [String]
A string containing individual vertex attribute definitions, each delimited by a semicolon character (';'). Each definition must be in the form "TYPE NAME;", with TYPE being one of the Murl::IEnums::AttributeType string values (e.g. "UINT8_VECTOR_4") or a valid GLSL data type (e.g. "vec4"), and NAME matching an attribute name from a vertex shader. Predefined attribute names can be queried through Murl::IEnums::GetAttributeItemName() with one of the predefined attribute items from the Murl::IEnums::AttributeItem enumeration.
Example using predefined attributes:
attributes="vec3 aPosition; FLOAT_VECTOR_3 aNormal;"
Example using predefined attributes and custom ones:
attributes="FLOAT_VECTOR_3 aPosition; vec4 aMyVec; FLOAT aMyFloat;"
See Murl::Graph::IAttributeContainer::AddAttribute().
The documentation for this class was generated from the following file:
- murl_graph_generic_geometry.h