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

Function WebGPUSetTexture

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

Source from the content-addressed store, hash-verified

3237}
3238
3239static void WebGPUSetTexture(HContext context, HTexture _texture, const TextureParams& params)
3240{
3241 TRACE_CALL;
3242 WebGPUTexture* texture = GetAssetFromContainer<WebGPUTexture>(g_WebGPUContext->m_BaseContext.m_AssetHandleContainer, _texture);
3243 WebGPUSetTextureInternal(texture, params);
3244}
3245
3246static uint32_t WebGPUGetTextureResourceSize(HContext context, HTexture _texture)
3247{

Callers 1

WebGPUSetTextureAsyncFunction · 0.85

Calls 1

WebGPUSetTextureInternalFunction · 0.85

Tested by

no test coverage detected