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