Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    RenderOutputValidator Class

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

    Represents how we setup the graphics pipeline output targets.

    System.Object → RenderOutputValidator
    Derived from RenderOutputValidator:

    public sealed class RenderOutputValidator
    Name Description
    Properties
    RenderTargets
    ShaderSource
    Methods
    Add<T>(PixelFormat, Boolean)
    BeginCustomValidation(PixelFormat, MultisampleCount)
    EndCustomValidation()
    Find(Type)
    Find<T>()
    Validate(ref RenderOutputDescription)
    | Improve this Doc View Source

    Properties


    RenderTargets

    public IReadOnlyList<RenderTargetDescription> RenderTargets { get; }
    Property Value
    Type Description
    System.Collections.Generic.IReadOnlyList<RenderTargetDescription>

    ShaderSource

    public ShaderMixinSource ShaderSource { get; }
    Property Value
    Type Description
    ShaderMixinSource
    | Improve this Doc View Source

    Methods


    Add<T>(PixelFormat, Boolean)

    public void Add<T>(PixelFormat format, bool isShaderResource = true)
        where T : IRenderTargetSemantic, new()
    Parameters
    Type Name Description
    PixelFormat format
    System.Boolean isShaderResource
    Type Parameters
    Name Description
    T

    BeginCustomValidation(PixelFormat, MultisampleCount)

    public void BeginCustomValidation(PixelFormat depthStencilFormat, MultisampleCount multisampleCount = MultisampleCount.None)
    Parameters
    Type Name Description
    PixelFormat depthStencilFormat
    MultisampleCount multisampleCount

    EndCustomValidation()

    public void EndCustomValidation()

    Find(Type)

    public int Find(Type semanticType)
    Parameters
    Type Name Description
    System.Type semanticType
    Returns
    Type Description
    System.Int32

    Find<T>()

    public int Find<T>()
        where T : IRenderTargetSemantic
    Returns
    Type Description
    System.Int32
    Type Parameters
    Name Description
    T

    Validate(ref RenderOutputDescription)

    public void Validate(ref RenderOutputDescription renderOutput)
    Parameters
    Type Name Description
    RenderOutputDescription renderOutput

    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