Search Results for

    Show / Hide Table of Contents

    Class DX11FrameBuffer

    FrameBuffer implementation on DirectX.

    Inheritance
    object
    FrameBuffer
    DX11FrameBuffer
    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.DirectX11
    Assembly: Evergine.DirectX11.dll
    Syntax
    public class DX11FrameBuffer : FrameBuffer, ILoadable, IDisposable, 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 DepthStencil flag.

    FrameBufferAttachment[] colorTargets

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

    bool disposeAttachments

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

    Fields

    ColorTargetViews

    The renderTargetView array of this DX11FrameBuffer.

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

    DepthTargetview

    The depthTargetView of this DX11FrameBuffer.

    Declaration
    public ID3D11DepthStencilView DepthTargetview
    Field Value
    Type Description
    ID3D11DepthStencilView

    Properties

    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