Search Results for

    Show / Hide Table of Contents

    Class GLSwapChainFrameBuffer

    The OpenGL implementation of a swap chain framebuffer object.

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

    Constructors

    GLSwapChainFrameBuffer(GraphicsContext, FrameBufferAttachment?, FrameBufferAttachment[], bool)

    Initializes a new instance of the GLSwapChainFrameBuffer class.

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

    The GL graphic context.

    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 of the attachment textures too.

    Properties

    GLColorTargets

    Gets the ColorTarget OpenGL texture array.

    Declaration
    public GLPlaceHolderTexture[] GLColorTargets { get; }
    Property Value
    Type Description
    GLPlaceHolderTexture[]

    GLDepthStencilTarget

    Gets the depth stencil OpenGL texture.

    Declaration
    public GLPlaceHolderTexture GLDepthStencilTarget { get; }
    Property Value
    Type Description
    GLPlaceHolderTexture

    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

    Implements

    ILoadable
    IDependencyObject

    Extension Methods

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