Search Results for

    Show / Hide Table of Contents

    Class DX12SwapChainFrameBuffer

    This class represent the swapchain FrameBuffer on DirectX12.

    Inheritance
    object
    FrameBuffer
    DX12SwapChainFrameBuffer
    Implements
    ILoadable
    IDisposable
    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.ColorTargets
    FrameBuffer.DepthStencilTarget
    FrameBuffer.OutputDescription
    FrameBuffer.IntermediateBufferAssociated
    FrameBuffer.disposeAttachments
    FrameBuffer.Dispose()
    FrameBuffer.Invalidate(ILoadable)
    FrameBuffer.ReleaseUnusedMemory()
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Evergine.DirectX12
    Assembly: Evergine.DirectX12.dll
    Syntax
    public class DX12SwapChainFrameBuffer : FrameBuffer, ILoadable, IDisposable, 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 swapchain to create from.

    Fields

    BackBufferTextures

    The colors texture array of this DX12SwapChainFrameBuffer.

    Declaration
    public DX12Texture[] BackBufferTextures
    Field Value
    Type Description
    DX12Texture[]

    BackBuffers

    The renderTargetView array of this DX12SwapChainFrameBuffer.

    Declaration
    public CpuDescriptorHandle[] BackBuffers
    Field Value
    Type Description
    CpuDescriptorHandle[]

    CurrentBackBufferIndex

    The active backBuffer 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 depthTargetView of this DX12SwapChainFrameBuffer.

    Declaration
    public CpuDescriptorHandle DepthTargetview
    Field Value
    Type Description
    CpuDescriptorHandle

    Properties

    ColorTargetViews

    Gets the renderTargetView array of this DX12SwapChainFrameBuffer.

    Declaration
    public CpuDescriptorHandle ColorTargetViews { get; }
    Property Value
    Type Description
    CpuDescriptorHandle

    Name

    Gets or sets a string identifying this instance. 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
    IDisposable
    IDependencyObject

    Extension Methods

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