menu
GpuDevice
import { GpuDevice } from "destack:gpu/binding";
GPU device.
1export struct GpuDevice {2 backend: GpuBackend;3 enabledFeatures: [GpuFeatureId];4 effectiveLimits: GpuAdapterLimits;5 queueCount: uint32;6 hasTimelineSync: boolean;7 hasTimestampQueries: boolean;8 hasPushConstants: boolean;9}Members
backend: GpuBackendChosen backend for this device.
enabledFeatures: [GpuFeatureId]Feature identifiers enabled on this device.
effectiveLimits: GpuAdapterLimitsEffective device limits.
queueCount: uint32Default queue count visible to the runtime.
hasTimelineSync: booleanWhether timeline synchronization is available.
hasTimestampQueries: booleanWhether timestamp queries are available.
hasPushConstants: booleanWhether push constants are available.