Murl Engine API  Version 2024.1
Murl::Graph::UniversalProgram Class Reference

The UniversalProgram node class. More...

#include <murl_graph_universal_program.h>

Detailed Description

The UniversalProgram node class.

XML Elements

XML Graph Node Tag:

<UniversalProgram>

XML Graph Node Attributes:

vertexColoringEnabled="NO" [Bool]

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

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().

vertexShaderResourceId="""" [String]

The ID of the Murl::Graph::IShader node used as a vertex shader. if left empty vertex shader from shaderId will be taken

shaderResourceId="""" [String]

The ID of the Murl::Graph::IShader node used as both a vertex and fragment shader.

depthOnly="NO" [Bool]

Set to YES to enable only depth output

Inheritance diagram for Murl::Graph::UniversalProgram:
Murl::Graph::Program Murl::Graph::IUniversalProgram Murl::Graph::Node Murl::Graph::IProgram Murl::Graph::INode Murl::IFactoryObject< INode > Murl::Graph::ITraversable

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...
 

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