Stride

OPEN / CLOSE
  • Features
  • Blog
  • Documentation
  • Community
(icon) Download

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

OPEN / CLOSE
  • English
  • 日本語
    Show / Hide Table of Contents

    ComputeVertexStreamBase Class

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

    Class ComputeVertexStreamBase.

    System.Object → ComputeNode → ComputeVertexStreamBase
    Derived from ComputeVertexStreamBase: ComputeVertexStreamColor ComputeVertexStreamScalar

    public abstract class ComputeVertexStreamBase : ComputeNode, IComputeVertexStream, IComputeNode
    Name Description
    Properties
    Stream
    Methods
    GenerateShaderSource(ShaderGeneratorContext, MaterialComputeColorKeys)
    GetColorChannelAsString()
    | Improve this Doc View Source

    Properties


    Stream

    [DataMember(10)]
    public IVertexStreamDefinition Stream { get; set; }
    Property Value
    Type Description
    IVertexStreamDefinition
    | Improve this Doc View Source

    Methods


    GenerateShaderSource(ShaderGeneratorContext, MaterialComputeColorKeys)

    public override ShaderSource GenerateShaderSource(ShaderGeneratorContext context, MaterialComputeColorKeys baseKeys)
    Parameters
    Type Name Description
    ShaderGeneratorContext context
    MaterialComputeColorKeys baseKeys
    Returns
    Type Description
    ShaderSource
    Overrides
    ComputeNode.GenerateShaderSource(ShaderGeneratorContext, MaterialComputeColorKeys)

    GetColorChannelAsString()

    protected abstract string GetColorChannelAsString()
    Returns
    Type Description
    System.String

    Inherited Members

    ComputeNode.GetChildren(Object)

    Extension Methods

    ComponentBaseExtensions.DisposeBy<T>(T, ICollectorHolder)
    ComponentBaseExtensions.RemoveDisposeBy<T>(T, ICollectorHolder)
    • Improve this Doc
    • View Source
    In This Article

    Back to top

    Copyright © 2019-2021 .NET Foundation and Contributors
    Supported by the .NET Foundation