Type Alias wgpu_core::device::DeviceDescriptor
source · pub type DeviceDescriptor<'a> = DeviceDescriptor<Label<'a>>;Aliased Type§
struct DeviceDescriptor<'a> {
pub label: Option<Cow<'a, str>>,
pub features: Features,
pub limits: Limits,
}Fields§
§label: Option<Cow<'a, str>>Debug label for the device.
features: FeaturesFeatures that the device should support. If any feature is not supported by the adapter, creating a device will panic.
limits: LimitsLimits that the device should support. If any limit is “better” than the limit exposed by the adapter, creating a device will panic.