pub struct PhysicalDeviceShaderDemoteToHelperInvocationFeaturesBuilder<'a> { /* private fields */ }
Implementations§
Source§impl<'a> PhysicalDeviceShaderDemoteToHelperInvocationFeaturesBuilder<'a>
impl<'a> PhysicalDeviceShaderDemoteToHelperInvocationFeaturesBuilder<'a>
pub fn shader_demote_to_helper_invocation( self, shader_demote_to_helper_invocation: bool, ) -> Self
Sourcepub fn build(self) -> PhysicalDeviceShaderDemoteToHelperInvocationFeatures
pub fn build(self) -> PhysicalDeviceShaderDemoteToHelperInvocationFeatures
Calling build will discard all the lifetime information. Only call this if
necessary! Builders implement Deref
targeting their corresponding Vulkan struct,
so references to builders can be passed directly to Vulkan functions.
Trait Implementations§
Source§impl<'a> Deref for PhysicalDeviceShaderDemoteToHelperInvocationFeaturesBuilder<'a>
impl<'a> Deref for PhysicalDeviceShaderDemoteToHelperInvocationFeaturesBuilder<'a>
impl ExtendsDeviceCreateInfo for PhysicalDeviceShaderDemoteToHelperInvocationFeaturesBuilder<'_>
impl ExtendsPhysicalDeviceFeatures2 for PhysicalDeviceShaderDemoteToHelperInvocationFeaturesBuilder<'_>
Auto Trait Implementations§
impl<'a> Freeze for PhysicalDeviceShaderDemoteToHelperInvocationFeaturesBuilder<'a>
impl<'a> RefUnwindSafe for PhysicalDeviceShaderDemoteToHelperInvocationFeaturesBuilder<'a>
impl<'a> !Send for PhysicalDeviceShaderDemoteToHelperInvocationFeaturesBuilder<'a>
impl<'a> !Sync for PhysicalDeviceShaderDemoteToHelperInvocationFeaturesBuilder<'a>
impl<'a> Unpin for PhysicalDeviceShaderDemoteToHelperInvocationFeaturesBuilder<'a>
impl<'a> UnwindSafe for PhysicalDeviceShaderDemoteToHelperInvocationFeaturesBuilder<'a>
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