menu
GpuAdapterRequest
import { GpuAdapterRequest } from "destack:gpu/binding";
Adapter discovery options.
1export struct GpuAdapterRequest {2 backend: GpuBackend;3 powerPreference: GpuPowerPreference;4 forceFallbackAdapter: boolean;5 compatibleSurface: GpuSurfaceHandle;6}Members
backend: GpuBackendPreferred backend.
powerPreference: GpuPowerPreferencePreferred power profile.
forceFallbackAdapter: booleanWhether only one fallback adapter should be selected.
compatibleSurface: GpuSurfaceHandleSurface compatibility constraint when provided.