MCPcopy Create free account
hub / github.com/defold/defold / WebGPUEndRenderPass

Function WebGPUEndRenderPass

engine/graphics/src/webgpu/graphics_webgpu.cpp:1655–1664  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1653}
1654
1655static void WebGPUEndRenderPass(WebGPUContext* context)
1656{
1657 if (context->m_CurrentRenderPass.m_Encoder)
1658 {
1659 TRACE_CALL;
1660 assert(context->m_CurrentRenderPass.m_Target);
1661 RenderPassEnd(context);
1662 memset(&context->m_CurrentRenderPass, 0, sizeof(context->m_CurrentRenderPass));
1663 }
1664}
1665
1666static WGPURenderPassEncoder RenderPassBegin(WebGPUContext* context, const float* clear_color, const float* clear_depth, const uint32_t* clear_stencil)
1667{

Callers 4

WebGPUBeginComputePassFunction · 0.85
WebGPUBeginRenderPassFunction · 0.85
WebGPUClearFunction · 0.85

Calls 2

RenderPassEndFunction · 0.85
assertFunction · 0.50

Tested by

no test coverage detected