Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    RenderOutputDescription Struct

    Namespace: Stride.Graphics
    Assembly: Stride.Graphics.dll

    Describes render targets and depth stencil output formats.

    [DataContract]
    public struct RenderOutputDescription : IEquatable<RenderOutputDescription>
    Name Description
    Constructors
    RenderOutputDescription(PixelFormat, PixelFormat, MultisampleCount)
    Fields
    DepthStencilFormat
    MultisampleCount
    RenderTargetCount
    RenderTargetFormat0
    RenderTargetFormat1
    RenderTargetFormat2
    RenderTargetFormat3
    RenderTargetFormat4
    RenderTargetFormat5
    RenderTargetFormat6
    RenderTargetFormat7
    ScissorTestEnable

    Enable scissor-rectangle culling. All pixels ouside an active scissor rectangle are culled.

    Methods
    CaptureState(CommandList)
    Equals(RenderOutputDescription)
    Equals(Object)
    GetHashCode()
    Operators
    Equality(RenderOutputDescription, RenderOutputDescription)
    Inequality(RenderOutputDescription, RenderOutputDescription)
    | Improve this Doc View Source

    Constructors


    RenderOutputDescription(PixelFormat, PixelFormat, MultisampleCount)

    public RenderOutputDescription(PixelFormat renderTargetFormat, PixelFormat depthStencilFormat = PixelFormat.None, MultisampleCount multisampleCount = MultisampleCount.None)
    Parameters
    Type Name Description
    PixelFormat renderTargetFormat
    PixelFormat depthStencilFormat
    MultisampleCount multisampleCount
    | Improve this Doc View Source

    Fields


    DepthStencilFormat

    public PixelFormat DepthStencilFormat
    Field Value
    Type Description
    PixelFormat

    MultisampleCount

    public MultisampleCount MultisampleCount
    Field Value
    Type Description
    MultisampleCount

    RenderTargetCount

    public int RenderTargetCount
    Field Value
    Type Description
    System.Int32

    RenderTargetFormat0

    public PixelFormat RenderTargetFormat0
    Field Value
    Type Description
    PixelFormat

    RenderTargetFormat1

    public PixelFormat RenderTargetFormat1
    Field Value
    Type Description
    PixelFormat

    RenderTargetFormat2

    public PixelFormat RenderTargetFormat2
    Field Value
    Type Description
    PixelFormat

    RenderTargetFormat3

    public PixelFormat RenderTargetFormat3
    Field Value
    Type Description
    PixelFormat

    RenderTargetFormat4

    public PixelFormat RenderTargetFormat4
    Field Value
    Type Description
    PixelFormat

    RenderTargetFormat5

    public PixelFormat RenderTargetFormat5
    Field Value
    Type Description
    PixelFormat

    RenderTargetFormat6

    public PixelFormat RenderTargetFormat6
    Field Value
    Type Description
    PixelFormat

    RenderTargetFormat7

    public PixelFormat RenderTargetFormat7
    Field Value
    Type Description
    PixelFormat

    ScissorTestEnable

    Enable scissor-rectangle culling. All pixels ouside an active scissor rectangle are culled.

    public bool ScissorTestEnable
    Field Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    Methods


    CaptureState(CommandList)

    public void CaptureState(CommandList commandList)
    Parameters
    Type Name Description
    CommandList commandList

    Equals(RenderOutputDescription)

    public bool Equals(RenderOutputDescription other)
    Parameters
    Type Name Description
    RenderOutputDescription other
    Returns
    Type Description
    System.Boolean

    Equals(Object)

    public override bool Equals(object obj)
    Parameters
    Type Name Description
    System.Object obj
    Returns
    Type Description
    System.Boolean
    Overrides
    System.ValueType.Equals(System.Object)

    GetHashCode()

    public override int GetHashCode()
    Returns
    Type Description
    System.Int32
    Overrides
    System.ValueType.GetHashCode()
    | Improve this Doc View Source

    Operators


    Equality(RenderOutputDescription, RenderOutputDescription)

    public static bool operator ==(RenderOutputDescription left, RenderOutputDescription right)
    Parameters
    Type Name Description
    RenderOutputDescription left
    RenderOutputDescription right
    Returns
    Type Description
    System.Boolean

    Inequality(RenderOutputDescription, RenderOutputDescription)

    public static bool operator !=(RenderOutputDescription left, RenderOutputDescription right)
    Parameters
    Type Name Description
    RenderOutputDescription left
    RenderOutputDescription right
    Returns
    Type Description
    System.Boolean

    Inherited Members

    System.ValueType.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