Skip to main content

Module instance

Module instance 

Source
Expand description

The flags every wgpu instance in this workspace is built with.

Two instances exist: the one crate::test_support opens for offscreen work, and the one teksilo-platform opens for windows. They have to agree about this, so the rule lives here, in the crate both can reach, rather than at either call site.

Functions§

instance_flags
The InstanceFlags to build a wgpu instance with: wgpu’s own defaults, read from the environment, minus VALIDATION_INDIRECT_CALL.