Search Results for

    Show / Hide Table of Contents

    Struct SwapChainDescription

    Represents the requiered information to create a new swapchain depending of the platform.

    Implements
    IEquatable<SwapChainDescription>
    Inherited Members
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Evergine.Common.Graphics
    Assembly: Evergine.Common.dll
    Syntax
    public struct SwapChainDescription : IEquatable<SwapChainDescription>

    Fields

    ColorTargetFlags

    The color texture flags for binding to pipeline stages. The flags ca be combined by a logical OR.

    Declaration
    public TextureFlags ColorTargetFlags
    Field Value
    Type Description
    TextureFlags

    ColorTargetFormat

    The pixel format of the color target.

    Declaration
    public PixelFormat ColorTargetFormat
    Field Value
    Type Description
    PixelFormat

    DepthStencilTargetFlags

    The depth texture flags for binding to pipeline stages. The flags ca be combined by a logical OR.

    Declaration
    public TextureFlags DepthStencilTargetFlags
    Field Value
    Type Description
    TextureFlags

    DepthStencilTargetFormat

    The pixel format of the depthstencil target.

    Declaration
    public PixelFormat DepthStencilTargetFormat
    Field Value
    Type Description
    PixelFormat

    Height

    The swapchain buffers height.

    Declaration
    public uint Height
    Field Value
    Type Description
    uint

    IsWindowed

    Whether the output is in windowed mode.

    Declaration
    public bool IsWindowed
    Field Value
    Type Description
    bool

    RefreshRate

    The refresh rate.

    Declaration
    public uint RefreshRate
    Field Value
    Type Description
    uint

    SampleCount

    The sampler count of this swapchain.

    Declaration
    public TextureSampleCount SampleCount
    Field Value
    Type Description
    TextureSampleCount

    SurfaceInfo

    Surface information.

    Declaration
    public SurfaceInfo SurfaceInfo
    Field Value
    Type Description
    SurfaceInfo

    Width

    The swapchain buffers width.

    Declaration
    public uint Width
    Field Value
    Type Description
    uint

    Methods

    Equals(SwapChainDescription)

    Returns a hash code for this instance.

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

    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 a hash table.

    Overrides
    ValueType.GetHashCode()

    Operators

    operator ==(SwapChainDescription, SwapChainDescription)

    Implements the operator ==.

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

    The value1.

    SwapChainDescription value2

    The value2.

    Returns
    Type Description
    bool

    The result of the operator.

    operator !=(SwapChainDescription, SwapChainDescription)

    Implements the operator ==.

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

    The value1.

    SwapChainDescription value2

    The value2.

    Returns
    Type Description
    bool

    The result of the operator.

    Implements

    IEquatable<T>

    Extension Methods

    ReflectionHelper.GetMemberAssembly(object)
    ReflectionHelper.GetTypeName(object)
    In This Article
    Back to top
    Generated by DocFX