#[repr(C)]pub struct DeviceCapabilities {
pub minimumSupportedShaderModel: ShaderModel,
pub waveLaneCountMin: u32,
pub waveLaneCountMax: u32,
pub fp16Supported: bool,
pub raytracingSupported: bool,
}Expand description
A structure encapasulating a collection of device capabilities.
Fields§
§minimumSupportedShaderModel: ShaderModel< The minimum shader model supported by the device.
waveLaneCountMin: u32< The minimum supported wavefront width.
waveLaneCountMax: u32< The maximum supported wavefront width.
fp16Supported: bool< The device supports FP16 in hardware.
raytracingSupported: bool< The device supports raytracing.
Trait Implementations§
Source§impl Clone for DeviceCapabilities
impl Clone for DeviceCapabilities
Source§fn clone(&self) -> DeviceCapabilities
fn clone(&self) -> DeviceCapabilities
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DeviceCapabilities
impl Debug for DeviceCapabilities
Source§impl Default for DeviceCapabilities
impl Default for DeviceCapabilities
impl Copy for DeviceCapabilities
Auto Trait Implementations§
impl Freeze for DeviceCapabilities
impl RefUnwindSafe for DeviceCapabilities
impl Send for DeviceCapabilities
impl Sync for DeviceCapabilities
impl Unpin for DeviceCapabilities
impl UnwindSafe for DeviceCapabilities
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more