Click or drag to resize
Ab4d.SharpEngine logo

GpuSwapChainReportRenderPassFinished Method

ReportRenderPassFinished can be called after a RenderPass that uses this GpuImage as attachment has finished. This will update the current ImageLayout and set current AccessMask to ColorAttachmentWrite and current StageMask to ColorAttachmentOutput.

Namespace: Ab4d.SharpEngine.Core
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.2.9386+3a404a3e1ebfa4efd231da7fe6f10dfb23b95dc4
Syntax
C#
public void ReportRenderPassFinished(
	ImageLayout finalImageLayout,
	int currentSwapChainImageIndex,
	AccessFlags accessMask = AccessFlags.ColorAttachmentWrite,
	PipelineStageFlags stageMask = PipelineStageFlags.ColorAttachmentOutput
)

Parameters

finalImageLayout  ImageLayout
currentSwapChainImageIndex  Int32
current SwapChain image or 0 when no SwapChain is used
accessMask  AccessFlags  (Optional)
AccessFlags that is set to CurrentImageAccessMask (ColorAttachmentWrite by default)
stageMask  PipelineStageFlags  (Optional)
PipelineStageFlags that is set to CurrentImageStageMask (ColorAttachmentOutput by default)
See Also