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

Function WebGPUSetTextureAsync

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

Source from the content-addressed store, hash-verified

3626}
3627
3628static void WebGPUSetTextureAsync(HContext context, HTexture texture, const TextureParams& params, SetTextureAsyncCallback callback, void* user_data)
3629{
3630 TRACE_CALL;
3631 WebGPUSetTexture(context, texture, params);
3632 if (callback)
3633 callback(texture, user_data);
3634}
3635
3636static bool WebGPUIsExtensionSupported(HContext context, const char* extension)
3637{

Callers

nothing calls this directly

Calls 1

WebGPUSetTextureFunction · 0.85

Tested by

no test coverage detected