Murl::Graph::Shader Class Reference
The Shader node class. More...
#include "murl_graph_shader.h"
Inheritance diagram for Murl::Graph::Shader:
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 Shader node class.
XML Elements
- XML Graph Node Attributes:
-
shaderResourceId="" [String]
The optional ID of the shader resource. If not specified, the "source" attribute must be used. See Murl::Graph::IShader::GetShaderResourceTarget().
fallbackShaderId="" [String]
The optional ID of a fallback shader node. See Murl::Graph::IShader::GetFallbackShaderNodeTarget().
source="" [String]
Optionally, this sets the shader source code directly. If not specified, the "shaderResourceId" attribute must be used. See Murl::Graph::IShader::SetSource().
type="ALL" [IEnums::ShaderType]
The shader type (vertex/fragment or both). See Murl::Graph::IShader::SetType().
The documentation for this class was generated from the following file:
- murl_graph_shader.h
Public Types inherited from