Table of Contents

Class ComputeVertexStreamBase

Namespace
Stride.Rendering.Materials.ComputeColors
Assembly
Stride.Rendering.dll

Class ComputeVertexStreamBase.

public abstract class ComputeVertexStreamBase : ComputeNode, IComputeVertexStream, IComputeNode
Inheritance
ComputeVertexStreamBase
Implements
Derived
Inherited Members

Properties

Stream

Gets or sets the stream.

[DataMember(10)]
public IVertexStreamDefinition Stream { get; set; }

Property Value

IVertexStreamDefinition

The stream.

Methods

GenerateShaderSource(ShaderGeneratorContext, MaterialComputeColorKeys)

Generates the shader source equivalent for this node

public override ShaderSource GenerateShaderSource(ShaderGeneratorContext context, MaterialComputeColorKeys baseKeys)

Parameters

context ShaderGeneratorContext
baseKeys MaterialComputeColorKeys

Returns

ShaderSource

ShaderSource.

GetColorChannelAsString()

protected abstract string GetColorChannelAsString()

Returns

string