Search Results for

    Show / Hide Table of Contents

    Struct OutputAttachmentDescription

    Contains properties that describe the characteristics of a new pipeline state object.

    Namespace: Evergine.Common.Graphics
    Assembly: Evergine.Common.dll
    Syntax
    public struct OutputAttachmentDescription

    Constructors

    OutputAttachmentDescription(PixelFormat, bool)

    Initializes a new instance of the OutputAttachmentDescription struct.

    Declaration
    public OutputAttachmentDescription(PixelFormat format, bool resolveMSAA = false)
    Parameters
    Type Name Description
    PixelFormat format

    The format of the Texture attachment.

    bool resolveMSAA

    Indicates if the Texture with MSAA attachment needs to be resolved.

    Fields

    Format

    The pixel format.

    Declaration
    public PixelFormat Format
    Field Value
    Type Description
    PixelFormat

    ResolveMSAA

    Indicates if the Texture with MSAA attachment needs to be resolved.

    Declaration
    public bool ResolveMSAA
    Field Value
    Type Description
    bool

    Methods

    Equals(OutputAttachmentDescription)

    Returns a hash code for this instance.

    Declaration
    public bool Equals(OutputAttachmentDescription other)
    Parameters
    Type Name Description
    OutputAttachmentDescription other

    Used to compare.

    Returns
    Type Description
    bool

    A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.

    Equals(object)

    Determines whether the specified object is equal to this instance.

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    object obj

    The object to compare with this instance.

    Returns
    Type Description
    bool

    true if the specified object is equal to this instance; otherwise, false.

    Overrides
    ValueType.Equals(object)

    GetHashCode()

    Returns a hash code for this instance.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int

    A hash code for this instance, suitable for use in hashing algorithms and data structures like hash tables.

    Overrides
    ValueType.GetHashCode()

    Operators

    operator ==(OutputAttachmentDescription, OutputAttachmentDescription)

    Implements the operator ==.

    Declaration
    public static bool operator ==(OutputAttachmentDescription value1, OutputAttachmentDescription value2)
    Parameters
    Type Name Description
    OutputAttachmentDescription value1

    The first value.

    OutputAttachmentDescription value2

    The second value.

    Returns
    Type Description
    bool

    The result of the operation.

    operator !=(OutputAttachmentDescription, OutputAttachmentDescription)

    Implements the operator ==.

    Declaration
    public static bool operator !=(OutputAttachmentDescription value1, OutputAttachmentDescription value2)
    Parameters
    Type Name Description
    OutputAttachmentDescription value1

    The first value.

    OutputAttachmentDescription value2

    The second value.

    Returns
    Type Description
    bool

    The result of the operator.

    Extension Methods

    ReflectionHelper.GetMemberAssembly(object)
    ReflectionHelper.GetTypeName(object)
    In this article
    Back to top
    Generated by DocFX