pub struct PhysicalDeviceComputeShaderDerivativesFeaturesNVBuilder<'a> { /* private fields */ }
Implementations§
Source§impl<'a> PhysicalDeviceComputeShaderDerivativesFeaturesNVBuilder<'a>
impl<'a> PhysicalDeviceComputeShaderDerivativesFeaturesNVBuilder<'a>
pub fn compute_derivative_group_quads( self, compute_derivative_group_quads: bool, ) -> Self
pub fn compute_derivative_group_linear( self, compute_derivative_group_linear: bool, ) -> Self
Sourcepub fn build(self) -> PhysicalDeviceComputeShaderDerivativesFeaturesNV
pub fn build(self) -> PhysicalDeviceComputeShaderDerivativesFeaturesNV
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 PhysicalDeviceComputeShaderDerivativesFeaturesNVBuilder<'a>
impl<'a> Deref for PhysicalDeviceComputeShaderDerivativesFeaturesNVBuilder<'a>
Source§impl<'a> DerefMut for PhysicalDeviceComputeShaderDerivativesFeaturesNVBuilder<'a>
impl<'a> DerefMut for PhysicalDeviceComputeShaderDerivativesFeaturesNVBuilder<'a>
impl ExtendsDeviceCreateInfo for PhysicalDeviceComputeShaderDerivativesFeaturesNVBuilder<'_>
impl ExtendsPhysicalDeviceFeatures2 for PhysicalDeviceComputeShaderDerivativesFeaturesNVBuilder<'_>
Auto Trait Implementations§
impl<'a> Freeze for PhysicalDeviceComputeShaderDerivativesFeaturesNVBuilder<'a>
impl<'a> RefUnwindSafe for PhysicalDeviceComputeShaderDerivativesFeaturesNVBuilder<'a>
impl<'a> !Send for PhysicalDeviceComputeShaderDerivativesFeaturesNVBuilder<'a>
impl<'a> !Sync for PhysicalDeviceComputeShaderDerivativesFeaturesNVBuilder<'a>
impl<'a> Unpin for PhysicalDeviceComputeShaderDerivativesFeaturesNVBuilder<'a>
impl<'a> UnwindSafe for PhysicalDeviceComputeShaderDerivativesFeaturesNVBuilder<'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