pygfx.renderers.wgpu¶
General functions and classes to operate more closely with the wgpu backend.
Print a report on the internal status of WGPU. |
|
|
Select whether a powerful or battery-friendly GPU is selected. |
|
Select a specific adapter / GPU. |
|
Enable specific features (as strings) on the wgpu device. |
|
Turns Scenes into rasterized images using wgpu. |
|
Decorator for WGPU rendering functions. |
Get the globally shared instance. |
|
|
An object to store global data to share between multiple wgpu renderers. |
Classes and functions required to implement custom shaders:
|
A base shader for world objects. |
|
Simple object to hold together some information about a binding, for internal use. |
|
Simple wrapper for a GPUSampler. |
|
Simple wrapper for a GPUTextureView. |
|
Load wgsl code from the file system. |
Lower level functions that may or may not be needed in custom shaders:
|
Return the number of channels from a buffer format. |
|
Convert pygfx' own format to the wgpu format. |
|
Convert pygfx' own format to the wgpu format. |