pygfx.renderers.wgpu.enable_wgpu_features

pygfx.renderers.wgpu.enable_wgpu_features(*features)

Enable specific features (as strings) on the wgpu device.

WARNING: enabling features means that your code may not work on all devices. The point of wgpu is that it can make a promise that a visualization works and looks the same on any device. Using features breaks that promise, and may cause your code to not work on e.g. mobile devices or certain operating systems.

This function must be called before before the first Renderer is created. It can be called multiple times to enable more features.

For more information on features: