Struct wgpu_types::DownlevelCapabilities [−][src]
pub struct DownlevelCapabilities { pub flags: DownlevelFlags, pub limits: DownlevelLimits, pub shader_model: ShaderModel, }
Expand description
Lists various ways the underlying platform does not conform to the WebGPU standard.
Fields
flags: DownlevelFlags
Combined boolean flags.
limits: DownlevelLimits
Additional limits
shader_model: ShaderModel
Which collections of features shaders support. Defined in terms of D3D’s shader models.
Implementations
Returns true if the underlying platform offers complete support of the baseline WebGPU standard.
If this returns false, some parts of the API will result in validation errors where they would not normally. These parts can be determined by the values in this structure.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for DownlevelCapabilities
impl Send for DownlevelCapabilities
impl Sync for DownlevelCapabilities
impl Unpin for DownlevelCapabilities
impl UnwindSafe for DownlevelCapabilities
Blanket Implementations
Mutably borrows from an owned value. Read more