ComputeNode Class
Namespace: Stride.Rendering.Materials.ComputeColorsAssembly: Stride.Rendering.dll
Base interface for all computer color nodes.
                 System.Object →  
                ComputeNode
              
              
                 Derived from ComputeNode:  ComputeBinaryBase<T>  ComputeKeyedBase  ComputeShaderClassBase<T>  ComputeVertexStreamBase 
              
              
              
[DataContract(Inherited = true)]
public abstract class ComputeNode : IComputeNode
              | Name | Description | |
|---|---|---|
| Constructors | ||
| ComputeNode() | Initializes a new instance of the ComputeNode class.  | 
                          |
| Methods | ||
| GenerateShaderSource(ShaderGeneratorContext, MaterialComputeColorKeys) | Generates the shader source equivalent for this node  | 
                          |
| GetChildren(Object) | Gets the children.  | 
                          |
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
| Type | Name | Description | 
|---|---|---|
| ShaderGeneratorContext | context | |
| MaterialComputeColorKeys | baseKeys | 
Returns
| Type | Description | 
|---|---|
| ShaderSource | ShaderSource.  | 
                  
GetChildren(Object)
Gets the children.
public virtual IEnumerable<IComputeNode> GetChildren(object context = null)
              Parameters
| Type | Name | Description | 
|---|---|---|
| System.Object | context | The context to get the children.  | 
                  
Returns
| Type | Description | 
|---|---|
| System.Collections.Generic.IEnumerable<IComputeNode> | The list of children.  |