Struct wgpu_types::DownlevelProperties [−][src]
pub struct DownlevelProperties { pub flags: DownlevelFlags, pub shader_model: ShaderModel, }
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
impl DownlevelProperties
[src]
impl DownlevelProperties
[src]pub fn is_webgpu_compliant(self) -> bool
[src]
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
impl Clone for DownlevelProperties
[src]
impl Clone for DownlevelProperties
[src]fn clone(&self) -> DownlevelProperties
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for DownlevelProperties
[src]
impl Copy for DownlevelProperties
[src]impl Default for DownlevelProperties
[src]
impl Default for DownlevelProperties
[src]impl Eq for DownlevelProperties
[src]
impl Eq for DownlevelProperties
[src]impl Hash for DownlevelProperties
[src]
impl Hash for DownlevelProperties
[src]impl Ord for DownlevelProperties
[src]
impl Ord for DownlevelProperties
[src]impl PartialEq<DownlevelProperties> for DownlevelProperties
[src]
impl PartialEq<DownlevelProperties> for DownlevelProperties
[src]fn eq(&self, other: &DownlevelProperties) -> bool
[src]
fn ne(&self, other: &DownlevelProperties) -> bool
[src]
impl PartialOrd<DownlevelProperties> for DownlevelProperties
[src]
impl PartialOrd<DownlevelProperties> for DownlevelProperties
[src]fn partial_cmp(&self, other: &DownlevelProperties) -> Option<Ordering>
[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn lt(&self, other: &Rhs) -> bool#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn le(&self, other: &Rhs) -> bool#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn gt(&self, other: &Rhs) -> bool#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn ge(&self, other: &Rhs) -> boolimpl StructuralEq for DownlevelProperties
[src]
impl StructuralEq for DownlevelProperties
[src]Auto Trait Implementations
impl RefUnwindSafe for DownlevelProperties
impl RefUnwindSafe for DownlevelProperties
impl Send for DownlevelProperties
impl Send for DownlevelProperties
impl Sync for DownlevelProperties
impl Sync for DownlevelProperties
impl Unpin for DownlevelProperties
impl Unpin for DownlevelProperties
impl UnwindSafe for DownlevelProperties
impl UnwindSafe for DownlevelProperties