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
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
pygfx.renderers.wgpu.to_texture_format
Writing custom shaders
Using the Pygfx gallery scraper
Github
pygfx
Advanced wgpu
pygfx.renderers.wgpu
pygfx.renderers.wgpu.GfxSampler
Edit on GitHub
pygfx.renderers.wgpu.GfxSampler
class
pygfx.renderers.wgpu.
GfxSampler
(
filter
=
'nearest'
,
address_mode
=
'clamp'
)
Bases:
object
Simple wrapper for a GPUSampler. Should be considered read-only.