Class ComputeNode
- Namespace
- Stride.Rendering.Materials.ComputeColors
- Assembly
- Stride.Rendering.dll
Base interface for all computer color nodes.
[DataContract(Inherited = true)]
public abstract class ComputeNode : IComputeNode
- Inheritance
-
objectComputeNode
- Implements
- Derived
Constructors
ComputeNode()
Initializes a new instance of the ComputeNode class.
protected ComputeNode()
Methods
GenerateShaderSource(ShaderGeneratorContext, MaterialComputeColorKeys)
Generates the shader source equivalent for this node
public abstract ShaderSource GenerateShaderSource(ShaderGeneratorContext context, MaterialComputeColorKeys baseKeys)
Parameters
contextShaderGeneratorContextbaseKeysMaterialComputeColorKeys
Returns
- ShaderSource
ShaderSource.
GetChildren(object)
Gets the children.
public virtual IEnumerable<IComputeNode> GetChildren(object context = null)
Parameters
contextobjectThe context to get the children.
Returns
- IEnumerable<IComputeNode>
The list of children.