Search Results for

    Show / Hide Table of Contents

    Class VKSwapChainFrameBuffer

    This class represent the swapchain FrameBuffer on Vulkan.

    Inheritance
    object
    FrameBuffer
    VKFrameBufferBase
    VKSwapChainFrameBuffer
    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.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.Vulkan
    Assembly: Evergine.Vulkan.dll
    Syntax
    public class VKSwapChainFrameBuffer : VKFrameBufferBase, ILoadable, IDisposable, 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 colors texture array of this VKFrameBuffer.

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

    CurrentBackBufferIndex

    The active backBuffer 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 frambuffers linked to this swapchain.

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

    Properties

    ColorTargets

    Gets or sets the collection of colors targets 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 CurrentBackBufferIndex.

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

    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)

    TransitionToFinalLayout(VkCommandBuffer)

    Transition to 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)

    Transition framebuffer to 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
    IDisposable
    IDependencyObject

    Extension Methods

    ReflectionHelper.GetMemberAssembly(object)
    ReflectionHelper.GetTypeName(object)
    In This Article
    Back to top
    Generated by DocFX