#[repr(C)]pub struct PhysicalDeviceShaderSMBuiltinsPropertiesNV {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub shader_sm_count: u32,
pub shader_warps_per_sm: u32,
}Expand description
VkPhysicalDeviceShaderSMBuiltinsPropertiesNV
Provided by VK_NV_shader_sm_builtins.
Returned only*, filled by Vulkan, not constructed by the application.
§Extends
Fields§
§s_type: StructureTypeMust be VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_SM_BUILTINS_PROPERTIES_NV.
p_next: *mut c_voidOptional, may be null.
shader_sm_count: u32§shader_warps_per_sm: u32Implementations§
Source§impl PhysicalDeviceShaderSMBuiltinsPropertiesNV
impl PhysicalDeviceShaderSMBuiltinsPropertiesNV
Sourcepub fn builder<'a>() -> PhysicalDeviceShaderSMBuiltinsPropertiesNVBuilder<'a>
pub fn builder<'a>() -> PhysicalDeviceShaderSMBuiltinsPropertiesNVBuilder<'a>
Start building this struct; s_type is already set to the correct variant.
Trait Implementations§
Source§impl Clone for PhysicalDeviceShaderSMBuiltinsPropertiesNV
impl Clone for PhysicalDeviceShaderSMBuiltinsPropertiesNV
Source§fn clone(&self) -> PhysicalDeviceShaderSMBuiltinsPropertiesNV
fn clone(&self) -> PhysicalDeviceShaderSMBuiltinsPropertiesNV
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 moreimpl Copy for PhysicalDeviceShaderSMBuiltinsPropertiesNV
impl ExtendsPhysicalDeviceProperties2 for PhysicalDeviceShaderSMBuiltinsPropertiesNV
Auto Trait Implementations§
impl Freeze for PhysicalDeviceShaderSMBuiltinsPropertiesNV
impl RefUnwindSafe for PhysicalDeviceShaderSMBuiltinsPropertiesNV
impl !Send for PhysicalDeviceShaderSMBuiltinsPropertiesNV
impl !Sync for PhysicalDeviceShaderSMBuiltinsPropertiesNV
impl Unpin for PhysicalDeviceShaderSMBuiltinsPropertiesNV
impl UnsafeUnpin for PhysicalDeviceShaderSMBuiltinsPropertiesNV
impl UnwindSafe for PhysicalDeviceShaderSMBuiltinsPropertiesNV
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