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

Function WebGPUCreateCommandEncoder

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

Source from the content-addressed store, hash-verified

1589}
1590
1591static void WebGPUCreateCommandEncoder(WebGPUContext* context)
1592{
1593 if (!context->m_CommandEncoder)
1594 {
1595 context->m_CommandEncoder = wgpuDeviceCreateCommandEncoder(context->m_Device, NULL);
1596 }
1597}
1598
1599static void WebGPUEndRenderPass(WebGPUContext* context);
1600

Callers 2

WebGPUBeginComputePassFunction · 0.85
WebGPUBeginRenderPassFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected