Table of Contents

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

context ShaderGeneratorContext
baseKeys MaterialComputeColorKeys

Returns

ShaderSource

ShaderSource.

GetChildren(object)

Gets the children.

public virtual IEnumerable<IComputeNode> GetChildren(object context = null)

Parameters

context object

The context to get the children.

Returns

IEnumerable<IComputeNode>

The list of children.