MCPcopy Create free account
hub / github.com/cogentcore/core / EndRenderPass

Method EndRenderPass

vgpu/system.go:478–482  ·  view source on GitHub ↗

EndRenderPass adds commands to the given command buffer to end the render pass. It does not call EndCommandBuffer, in case any further commands are to be added.

(cmd vk.CommandBuffer)

Source from the content-addressed store, hash-verified

476// to end the render pass. It does not call EndCommandBuffer,
477// in case any further commands are to be added.
478func (sy *System) EndRenderPass(cmd vk.CommandBuffer) {
479 // Note that ending the renderpass changes the image's layout from
480 // vk.ImageLayoutColorAttachmentOptimal to vk.ImageLayoutPresentSrc
481 vk.CmdEndRenderPass(cmd)
482}
483
484/////////////////////////////////////////////
485// Memory utils

Callers 10

mainFunction · 0.95
mainFunction · 0.95
EndDrawMethod · 0.80
EndFillMethod · 0.80
mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
RenderImplMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected