Struct wgpu::DownlevelProperties [−][src]
pub struct DownlevelProperties { pub flags: DownlevelFlags, 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.
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
Returns the “default value” for a type. Read more
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 DownlevelProperties
impl Send for DownlevelProperties
impl Sync for DownlevelProperties
impl Unpin for DownlevelProperties
impl UnwindSafe for DownlevelProperties
Blanket Implementations
Mutably borrows from an owned value. Read more
impl<T> CallHasher for T where
T: Hash,
impl<T> CallHasher for T where
T: Hash,
Compare self to key
and return true
if they are equal.