Search Results for

    Show / Hide Table of Contents

    Class GLFrameBuffer

    The OpenGL implementation of a framebuffer object.

    Inheritance
    object
    FrameBuffer
    GLFrameBuffer
    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.Invalidate(ILoadable)
    FrameBuffer.ReleaseUnusedMemory()
    Namespace: Evergine.OpenGL
    Assembly: Evergine.OpenGL.dll
    Syntax
    public class GLFrameBuffer : FrameBuffer, ILoadable, IDependencyObject

    Constructors

    GLFrameBuffer(GLGraphicsContext, FrameBufferAttachment?, FrameBufferAttachment[], bool)

    Initializes a new instance of the GLFrameBuffer class.

    Declaration
    public GLFrameBuffer(GLGraphicsContext context, FrameBufferAttachment? depthTarget, FrameBufferAttachment[] colorTargets, bool disposeAttachments)
    Parameters
    Type Name Description
    GLGraphicsContext context

    The OpenGL GraphicsContext.

    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

    GLColorTargets

    The ColorTarget OpenGL texture array of this GLTexture.

    Declaration
    public GLBaseTexture[] GLColorTargets
    Field Value
    Type Description
    GLBaseTexture[]

    GLDepthStencilTarget

    The DepthStencil OpenGL texture of this GLTexture.

    Declaration
    public GLBaseTexture GLDepthStencilTarget
    Field Value
    Type Description
    GLBaseTexture

    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

    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