 |
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.CoreAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 5.0.1075+bc537c8d217949260b11f66ee86aefa6456ac517
Syntaxpublic 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