Search Results for

    Show / Hide Table of Contents

    Class DX12SwapChainFrameBuffer

    This class represents the swapchain FrameBuffer in DirectX12.

    Inheritance
    object
    FrameBuffer
    DX12SwapChainFrameBuffer
    Implements
    ILoadable
    IDependencyObject
    Inherited Members
    FrameBuffer.Id
    FrameBuffer.ReaderVersion
    FrameBuffer.Invalidated
    FrameBuffer.Dependencies
    FrameBuffer.disposed
    FrameBuffer.requireFlipProjection
    FrameBuffer.Width
    FrameBuffer.Height
    FrameBuffer.ArraySize
    FrameBuffer.SampleCount
    FrameBuffer.RequireFlipProjection
    FrameBuffer.DepthStencilTarget
    FrameBuffer.OutputDescription
    FrameBuffer.IntermediateBufferAssociated
    FrameBuffer.disposeAttachments
    FrameBuffer.Dispose()
    FrameBuffer.Invalidate(ILoadable)
    FrameBuffer.ReleaseUnusedMemory()
    Namespace: Evergine.DirectX12
    Assembly: Evergine.DirectX12.dll
    Syntax
    public class DX12SwapChainFrameBuffer : FrameBuffer, ILoadable, IDependencyObject

    Constructors

    DX12SwapChainFrameBuffer(DX12GraphicsContext, DX12SwapChain)

    Initializes a new instance of the DX12SwapChainFrameBuffer class.

    Declaration
    public DX12SwapChainFrameBuffer(DX12GraphicsContext context, DX12SwapChain swapchain)
    Parameters
    Type Name Description
    DX12GraphicsContext context

    The graphics context.

    DX12SwapChain swapchain

    The swap chain to create from.

    Fields

    CurrentBackBufferIndex

    The active back buffer index.

    Declaration
    public int CurrentBackBufferIndex
    Field Value
    Type Description
    int

    DepthTargetTexture

    The depth texture of this DX12SwapChainFrameBuffer.

    Declaration
    public DX12Texture DepthTargetTexture
    Field Value
    Type Description
    DX12Texture

    DepthTargetview

    The depth target view of this DX12SwapChainFrameBuffer.

    Declaration
    public CpuDescriptorHandle DepthTargetview
    Field Value
    Type Description
    CpuDescriptorHandle

    FrameBuffers

    The array of framebuffers linked to this swapchain.

    Declaration
    public DX12FrameBuffer[] FrameBuffers
    Field Value
    Type Description
    DX12FrameBuffer[]

    Properties

    ColorTargets

    Gets or sets the collection of color target textures associated with this FrameBuffer.

    Declaration
    public override FrameBufferAttachment[] ColorTargets { get; protected set; }
    Property Value
    Type Description
    FrameBufferAttachment[]
    Overrides
    FrameBuffer.ColorTargets

    Name

    Gets or sets a string identifying this instance. It can be used in graphics debuggers tools.

    Declaration
    public override string Name { get; set; }
    Property Value
    Type Description
    string
    Overrides
    FrameBuffer.Name

    Methods

    Dispose(bool)

    Releases unmanaged and - optionally - managed resources.

    Declaration
    protected override void Dispose(bool disposing)
    Parameters
    Type Name Description
    bool disposing

    true to release both managed and unmanaged resources; false to release only unmanaged resources.

    Overrides
    FrameBuffer.Dispose(bool)

    Implements

    ILoadable
    IDependencyObject

    Extension Methods

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