Search Results for

    Show / Hide Table of Contents

    Class DX12FrameBuffer

    FrameBuffer implementation in DirectX.

    Inheritance
    object
    FrameBuffer
    DX12FrameBuffer
    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.ColorTargets
    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 DX12FrameBuffer : FrameBuffer, ILoadable, IDependencyObject

    Constructors

    DX12FrameBuffer(DX12GraphicsContext, FrameBufferAttachment?, FrameBufferAttachment[], bool)

    Initializes a new instance of the DX12FrameBuffer class.

    Declaration
    public DX12FrameBuffer(DX12GraphicsContext context, FrameBufferAttachment? depthTarget, FrameBufferAttachment[] colorTargets, bool disposeAttachments = true)
    Parameters
    Type Name Description
    DX12GraphicsContext context

    The graphics context.

    FrameBufferAttachment? depthTarget

    The depth texture, which must have been created with the DepthStencil flag.

    FrameBufferAttachment[] colorTargets

    The array of color textures, all of which must have been created with the RenderTarget flags.

    bool disposeAttachments

    When this framebuffer is disposed, dispose of the attachment textures too.

    Fields

    ColorTargetTextures

    The color texture array of this DX12FrameBuffer.

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

    ColorTargetViews

    The render target view array of this DX12FrameBuffer.

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

    DepthTargetTexture

    The depth texture of this DX12FrameBuffer.

    Declaration
    public DX12Texture DepthTargetTexture
    Field Value
    Type Description
    DX12Texture

    DepthTargetview

    The depth target view of this DX12FrameBuffer.

    Declaration
    public CpuDescriptorHandle DepthTargetview
    Field Value
    Type Description
    CpuDescriptorHandle

    Properties

    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

    RequireFlipProjection

    Gets or sets a value indicating whether this FrameBuffer requires the projection matrix to be flipped. By default, it will indicate the default flip behavior, but the user can change it.

    Declaration
    public override bool RequireFlipProjection { get; }
    Property Value
    Type Description
    bool
    Overrides
    FrameBuffer.RequireFlipProjection

    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