pygfx
stable
Guide
Gallery
Reference
Advanced
pygfx.renderers.wgpu
pygfx.renderers.wgpu.print_wgpu_report
pygfx.renderers.wgpu.select_power_preference
pygfx.renderers.wgpu.select_adapter
pygfx.renderers.wgpu.enable_wgpu_features
pygfx.renderers.wgpu.WgpuRenderer
pygfx.renderers.wgpu.register_wgpu_render_function
pygfx.renderers.wgpu.get_shared
pygfx.renderers.wgpu.Shared
pygfx.renderers.wgpu.ShaderInterface
pygfx.renderers.wgpu.BaseShader
pygfx.renderers.wgpu.Binding
pygfx.renderers.wgpu.GfxSampler
pygfx.renderers.wgpu.GfxTextureView
pygfx.renderers.wgpu.register_wgsl_loader
pygfx.renderers.wgpu.load_wgsl
pygfx.renderers.wgpu.nchannels_from_format
pygfx.renderers.wgpu.to_index_format
pygfx.renderers.wgpu.to_vertex_format
to_vertex_format()
pygfx.renderers.wgpu.to_texture_format
Writing custom shaders
Using the Pygfx gallery scraper
Github
pygfx
Advanced wgpu
pygfx.renderers.wgpu
pygfx.renderers.wgpu.to_vertex_format
Edit on GitHub
pygfx.renderers.wgpu.to_vertex_format
pygfx.renderers.wgpu.
to_vertex_format
(
format
)
Convert any pygfx-allowed buffer format to the wgpu.VertexFormat.