Search Results for

    Show / Hide Table of Contents

    Class VKSwapChainFrameBuffer

    This class represents the swapchain FrameBuffer in Vulkan.

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

    Constructors

    VKSwapChainFrameBuffer(VKGraphicsContext, VKSwapChain)

    Initializes a new instance of the VKSwapChainFrameBuffer class.

    Declaration
    public VKSwapChainFrameBuffer(VKGraphicsContext context, VKSwapChain swapchain)
    Parameters
    Type Name Description
    VKGraphicsContext context

    The graphics context.

    VKSwapChain swapchain

    The swapchain to create from.

    Fields

    BackBufferImages

    The color texture array of this VKFrameBuffer.

    Declaration
    public VkImage[] BackBufferImages
    Field Value
    Type Description
    VkImage[]

    CurrentBackBufferIndex

    The active back buffer index.

    Declaration
    public int CurrentBackBufferIndex
    Field Value
    Type Description
    int

    DepthTargetTexture

    The depth texture of this VKFrameBuffer.

    Declaration
    public VKTexture DepthTargetTexture
    Field Value
    Type Description
    VKTexture

    FrameBuffers

    The array of framebuffers linked to this swapchain.

    Declaration
    public VKFrameBuffer[] FrameBuffers
    Field Value
    Type Description
    VKFrameBuffer[]

    Properties

    ColorTargets

    Gets or sets the collection of color target textures associated with this FrameBuffer.

    Declaration
    public override FrameBufferAttachment[] ColorTargets { get; protected set; }
    Property Value
    Type Description
    FrameBufferAttachment[]
    Overrides
    FrameBuffer.ColorTargets

    CurrentBackBuffer

    Gets the current framebuffer based on the CurrentBackBufferIndex.

    Declaration
    public VkFramebuffer CurrentBackBuffer { get; }
    Property Value
    Type Description
    VkFramebuffer

    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)

    TransitionToFinalLayout(VkCommandBuffer)

    Transition to a ready-to-use layout.

    Declaration
    public override void TransitionToFinalLayout(VkCommandBuffer cb)
    Parameters
    Type Name Description
    VkCommandBuffer cb

    The command buffer to execute this change.

    Overrides
    VKFrameBufferBase.TransitionToFinalLayout(VkCommandBuffer)

    TransitionToIntermedialLayout(VkCommandBuffer)

    Transitions the framebuffer to an intermediate layout.

    Declaration
    public override void TransitionToIntermedialLayout(VkCommandBuffer cb)
    Parameters
    Type Name Description
    VkCommandBuffer cb

    The command buffer to execute this change.

    Overrides
    VKFrameBufferBase.TransitionToIntermedialLayout(VkCommandBuffer)

    Implements

    ILoadable
    IDependencyObject

    Extension Methods

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