IComputeNode Interface
Namespace: Stride.Rendering.MaterialsAssembly: Stride.Rendering.dll
Base interface for all IComputeNode
public interface IComputeNode
Name | Description | |
---|---|---|
Methods | ||
GenerateShaderSource(ShaderGeneratorContext, MaterialComputeColorKeys) | Generates the shader source equivalent for this node |
|
GetChildren(Object) | Gets the children. |
Methods
GenerateShaderSource(ShaderGeneratorContext, MaterialComputeColorKeys)
Generates the shader source equivalent for this node
ShaderSource GenerateShaderSource(ShaderGeneratorContext context, MaterialComputeColorKeys baseKeys)
Parameters
Type | Name | Description |
---|---|---|
ShaderGeneratorContext | context | |
MaterialComputeColorKeys | baseKeys |
Returns
Type | Description |
---|---|
ShaderSource | ShaderSource. |
GetChildren(Object)
Gets the children.
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. |