Class VKFrameBufferBase
Abstract class used to have the same interface for swapchainframebuffer and framebuffer objects.
Inherited Members
Namespace: Evergine.Vulkan
Assembly: Evergine.Vulkan.dll
Syntax
public abstract class VKFrameBufferBase : FrameBuffer, ILoadable, IDisposable, IDependencyObject
Constructors
VKFrameBufferBase()
Initializes a new instance of the VKFrameBufferBase class.
Declaration
public VKFrameBufferBase()
VKFrameBufferBase(FrameBufferAttachment?, FrameBufferAttachment[], bool)
Initializes a new instance of the VKFrameBufferBase class.
Declaration
public VKFrameBufferBase(FrameBufferAttachment? depthTarget, FrameBufferAttachment[] colorTargets, bool disposeAttachments)
Parameters
Type | Name | Description |
---|---|---|
FrameBufferAttachment? | depthTarget | The depthtarget attachment. |
FrameBufferAttachment[] | colorTargets | The colortarget attachment. |
bool | disposeAttachments | Whether the attachment texture should be destroy with this object or not. |
Methods
TransitionToFinalLayout(VkCommandBuffer)
Transition to ready to use layout.
Declaration
public abstract void TransitionToFinalLayout(VkCommandBuffer cb)
Parameters
Type | Name | Description |
---|---|---|
VkCommandBuffer | cb | The command buffer to execute this change. |
TransitionToIntermedialLayout(VkCommandBuffer)
Transition framebuffer to intermediate layout.
Declaration
public abstract void TransitionToIntermedialLayout(VkCommandBuffer cb)
Parameters
Type | Name | Description |
---|---|---|
VkCommandBuffer | cb | The command buffer to execute this change. |