Murl::Graph::FixedProgram Class Reference

The FixedProgram node class. More...

#include "murl_graph_fixed_program.h"

Inheritance diagram for Murl::Graph::FixedProgram:

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 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 FixedProgram node class.

XML Elements

XML Graph Node Tag:

<FixedProgram>

XML Graph Node Attributes:

coloringEnabled="NO" [Bool]

Set to YES to enable setting the material color via a Parameters node. See Murl::Graph::IFixedProgram::SetColoringEnabled().

vertexColoringEnabled="NO" [Bool]

Set to YES to enable setting the ambient and diffuse color via individual vertex colors. See Murl::Graph::IFixedProgram::SetVertexColoringEnabled().

lightingEnabled="NO" [Bool]

Set to YES to enable lighting calculations. See Murl::Graph::IFixedProgram::SetLightingEnabled().

emissiveTintingEnabled="NO" [Bool]

Set to YES to enable emissive tinting. See Murl::Graph::IFixedProgram::SetEmissiveTintingEnabled().

textureUnit0Enabled="NO" [Bool]

Set to YES to enable texture unit #0. See Murl::Graph::IFixedProgram::SetTexturingEnabled().

textureUnit1Enabled="NO" [Bool]

Set to YES to enable texture unit #1. See Murl::Graph::IFixedProgram::SetTexturingEnabled().

lightModel="ONE_SIDED" [IEnums::LightModel]

Set to one of the available fixed-function light models. See Murl::Graph::IFixedProgram::SetLightModel().


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


Copyright © 2011-2024 Spraylight GmbH.