#[repr(C)]pub struct PhysicalDeviceMeshShaderFeaturesNV {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub task_shader: u32,
pub mesh_shader: u32,
}Expand description
VkPhysicalDeviceMeshShaderFeaturesNV
Provided by VK_NV_mesh_shader.
§Extends
Fields§
§s_type: StructureTypeMust be VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MESH_SHADER_FEATURES_NV.
p_next: *mut c_voidOptional, may be null.
task_shader: u32§mesh_shader: u32Implementations§
Source§impl PhysicalDeviceMeshShaderFeaturesNV
impl PhysicalDeviceMeshShaderFeaturesNV
Sourcepub fn builder<'a>() -> PhysicalDeviceMeshShaderFeaturesNVBuilder<'a>
pub fn builder<'a>() -> PhysicalDeviceMeshShaderFeaturesNVBuilder<'a>
Start building this struct; s_type is already set to the correct variant.
Trait Implementations§
Source§impl Clone for PhysicalDeviceMeshShaderFeaturesNV
impl Clone for PhysicalDeviceMeshShaderFeaturesNV
Source§fn clone(&self) -> PhysicalDeviceMeshShaderFeaturesNV
fn clone(&self) -> PhysicalDeviceMeshShaderFeaturesNV
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 Default for PhysicalDeviceMeshShaderFeaturesNV
impl Default for PhysicalDeviceMeshShaderFeaturesNV
Source§fn default() -> PhysicalDeviceMeshShaderFeaturesNV
fn default() -> PhysicalDeviceMeshShaderFeaturesNV
Returns the “default value” for a type. Read more
impl Copy for PhysicalDeviceMeshShaderFeaturesNV
impl ExtendsDeviceCreateInfo for PhysicalDeviceMeshShaderFeaturesNV
impl ExtendsPhysicalDeviceFeatures2 for PhysicalDeviceMeshShaderFeaturesNV
Auto Trait Implementations§
impl Freeze for PhysicalDeviceMeshShaderFeaturesNV
impl RefUnwindSafe for PhysicalDeviceMeshShaderFeaturesNV
impl !Send for PhysicalDeviceMeshShaderFeaturesNV
impl !Sync for PhysicalDeviceMeshShaderFeaturesNV
impl Unpin for PhysicalDeviceMeshShaderFeaturesNV
impl UnsafeUnpin for PhysicalDeviceMeshShaderFeaturesNV
impl UnwindSafe for PhysicalDeviceMeshShaderFeaturesNV
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