Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    RenderStage Class

    Namespace: Stride.Rendering
    Assembly: Stride.Rendering.dll

    Represents a way to instantiate a given RenderObject for rendering, esp. concerning effect selection and permutation.

    System.Object → RenderStage
    Derived from RenderStage:

    [DataContract]
    public sealed class RenderStage : IIdentifiable
    Name Description
    Constructors
    RenderStage()
    RenderStage(String, String)
    Fields
    Index

    Index in RenderStages.

    Output

    Defines render targets this stage outputs to.

    Properties
    EffectSlotName

    The effect permutation slot name. If similar to another RenderStage, effect permutations will be shared.

    Filter
    Id

    Gets the id of this instance

    Name

    The name of this RenderStage.

    OutputValidator
    SortMode

    Defines how RenderNode sorting should be performed.

    Methods
    ToString()
    | Improve this Doc View Source

    Constructors


    RenderStage()

    public RenderStage()

    RenderStage(String, String)

    public RenderStage(string name, string effectSlotName)
    Parameters
    Type Name Description
    System.String name
    System.String effectSlotName
    | Improve this Doc View Source

    Fields


    Index

    Index in RenderStages.

    public int Index
    Field Value
    Type Description
    System.Int32

    Output

    Defines render targets this stage outputs to.

    public RenderOutputDescription Output
    Field Value
    Type Description
    RenderOutputDescription
    | Improve this Doc View Source

    Properties


    EffectSlotName

    The effect permutation slot name. If similar to another RenderStage, effect permutations will be shared.

    public string EffectSlotName { get; set; }
    Property Value
    Type Description
    System.String

    Filter

    public RenderStageFilter Filter { get; set; }
    Property Value
    Type Description
    RenderStageFilter

    Id

    Gets the id of this instance

    [DataMember(-100)]
    [Display(null, null, Browsable = false)]
    public Guid Id { get; set; }
    Property Value
    Type Description
    System.Guid

    Name

    The name of this RenderStage.

    public string Name { get; set; }
    Property Value
    Type Description
    System.String

    OutputValidator

    public RenderOutputValidator OutputValidator { get; }
    Property Value
    Type Description
    RenderOutputValidator

    SortMode

    Defines how RenderNode sorting should be performed.

    public SortMode SortMode { get; set; }
    Property Value
    Type Description
    SortMode
    | Improve this Doc View Source

    Methods


    ToString()

    public override string ToString()
    Returns
    Type Description
    System.String
    Overrides
    System.Object.ToString()

    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