pygfx.renderers.wgpu.to_texture_format

pygfx.renderers.wgpu.to_texture_format(format)

Convert any pygfx-allowed texture format to the wgpu.TextureFormat.