ComputeVertexStreamColor Class
Namespace: Stride.Rendering.Materials.ComputeColorsAssembly: Stride.Rendering.dll
A compute color producing a color from a stream.
Derived from ComputeVertexStreamColor:
[DataContract("ComputeVertexStreamColor")]
[Display("Vertex Stream", null)]
public class ComputeVertexStreamColor : ComputeVertexStreamBase, IComputeVertexStream, IComputeColor, IComputeNode
Name | Description | |
---|---|---|
Constructors | ||
ComputeVertexStreamColor() | Initializes a new instance of the ComputeVertexStreamColor class. |
|
Properties | ||
HasChanged | Indicates if the IComputeColor has changed since the last time it was checked, which might require recompilation of the shader mixins. Once polled, it will reset all cached states and revert to false until other changes have been triggered. |
|
Methods | ||
GetColorChannelAsString() |
Constructors
ComputeVertexStreamColor()
Initializes a new instance of the ComputeVertexStreamColor class.
public ComputeVertexStreamColor()
Properties
HasChanged
Indicates if the IComputeColor has changed since the last time it was checked, which might require recompilation of the shader mixins. Once polled, it will reset all cached states and revert to false until other changes have been triggered.
public bool HasChanged { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
GetColorChannelAsString()
protected override string GetColorChannelAsString()
Returns
Type | Description |
---|---|
System.String |