pygfx.renderers.wgpu.to_index_format

pygfx.renderers.wgpu.to_index_format(format)

Convert any pygfx-allowed buffer format to the wgpu.IndexFormat.