Search Results for

    Show / Hide Table of Contents

    Class DX11FrameBuffer

    Framebuffer implementation in DirectX.

    Inheritance
    object
    FrameBuffer
    DX11FrameBuffer
    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.ColorTargets
    FrameBuffer.DepthStencilTarget
    FrameBuffer.OutputDescription
    FrameBuffer.IntermediateBufferAssociated
    FrameBuffer.disposeAttachments
    FrameBuffer.Dispose()
    FrameBuffer.Dispose(bool)
    FrameBuffer.Invalidate(ILoadable)
    FrameBuffer.ReleaseUnusedMemory()
    Namespace: Evergine.DirectX11
    Assembly: Evergine.DirectX11.dll
    Syntax
    public class DX11FrameBuffer : FrameBuffer, ILoadable, IDependencyObject

    Constructors

    DX11FrameBuffer(FrameBufferAttachment?, FrameBufferAttachment[], bool)

    Initializes a new instance of the DX11FrameBuffer class.

    Declaration
    public DX11FrameBuffer(FrameBufferAttachment? depthTarget, FrameBufferAttachment[] colorTargets, bool disposeAttachments = true)
    Parameters
    Type Name Description
    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

    ColorTargetViews

    The render target view array of this DX11FrameBuffer.

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

    DepthTargetview

    The depth target view of this DX11FrameBuffer.

    Declaration
    public ID3D11DepthStencilView DepthTargetview
    Field Value
    Type Description
    ID3D11DepthStencilView

    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

    Methods

    Destroy()

    Destroy framebuffer resources.

    Declaration
    protected override void Destroy()
    Overrides
    FrameBuffer.Destroy()

    Implements

    ILoadable
    IDependencyObject

    Extension Methods

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