Skip to main content

Module caps

Module caps 

Source
Expand description

Adapter capability probing: TierCaps and DownlevelProfile.

TierCaps is plain data pulled off a real wgpu::Adapter at device-init time (TierCaps::probe), so downstream tier/pipeline decisions are unit-testable against TierCaps::fake with no GPU in the loop — the same pure-decision/platform-lookup split frust-render’s tier selection follows.

DownlevelProfile tells a caller whether the adapter’s limits are the full desktop set or clamped to the GLES-3.0/WebGL2 downlevel defaults, which a browser target (a future host) will always hit and which FRUST_ENGINE_DOWNLEVEL=1 lets a desktop developer rehearse today.

Structs§

TierCaps
Plain-data adapter capabilities the GPU crate’s device/pipeline/atlas decisions are built over. Constructed from a real wgpu::Adapter via TierCaps::probe, or by hand in host tests via TierCaps::fake.

Enums§

DownlevelProfile
Whether an adapter’s usable limits are the full native set, or clamped to the GLES-3.0/WebGL2 downlevel defaults (wgpu::Limits::downlevel_webgl2_defaults).