#[repr(C)]pub struct PhysicalDeviceComputeShaderDerivativesFeaturesNV<'a> {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub compute_derivative_group_quads: Bool32,
pub compute_derivative_group_linear: Bool32,
pub _marker: PhantomData<&'a ()>,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *mut c_void
§compute_derivative_group_quads: Bool32
§compute_derivative_group_linear: Bool32
§_marker: PhantomData<&'a ()>
Implementations§
source§impl<'a> PhysicalDeviceComputeShaderDerivativesFeaturesNV<'a>
impl<'a> PhysicalDeviceComputeShaderDerivativesFeaturesNV<'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
Trait Implementations§
source§impl<'a> Clone for PhysicalDeviceComputeShaderDerivativesFeaturesNV<'a>
impl<'a> Clone for PhysicalDeviceComputeShaderDerivativesFeaturesNV<'a>
source§fn clone(&self) -> PhysicalDeviceComputeShaderDerivativesFeaturesNV<'a>
fn clone(&self) -> PhysicalDeviceComputeShaderDerivativesFeaturesNV<'a>
Returns a copy 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<'a> Debug for PhysicalDeviceComputeShaderDerivativesFeaturesNV<'a>
impl<'a> Debug for PhysicalDeviceComputeShaderDerivativesFeaturesNV<'a>
source§impl<'a> TaggedStructure for PhysicalDeviceComputeShaderDerivativesFeaturesNV<'a>
impl<'a> TaggedStructure for PhysicalDeviceComputeShaderDerivativesFeaturesNV<'a>
const STRUCTURE_TYPE: StructureType = StructureType::PHYSICAL_DEVICE_COMPUTE_SHADER_DERIVATIVES_FEATURES_NV
impl<'a> Copy for PhysicalDeviceComputeShaderDerivativesFeaturesNV<'a>
impl ExtendsDeviceCreateInfo for PhysicalDeviceComputeShaderDerivativesFeaturesNV<'_>
impl ExtendsPhysicalDeviceFeatures2 for PhysicalDeviceComputeShaderDerivativesFeaturesNV<'_>
impl Send for PhysicalDeviceComputeShaderDerivativesFeaturesNV<'_>
impl Sync for PhysicalDeviceComputeShaderDerivativesFeaturesNV<'_>
Auto Trait Implementations§
impl<'a> Freeze for PhysicalDeviceComputeShaderDerivativesFeaturesNV<'a>
impl<'a> RefUnwindSafe for PhysicalDeviceComputeShaderDerivativesFeaturesNV<'a>
impl<'a> Unpin for PhysicalDeviceComputeShaderDerivativesFeaturesNV<'a>
impl<'a> UnwindSafe for PhysicalDeviceComputeShaderDerivativesFeaturesNV<'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