Struct pilka_lib::ash::vk::PhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXTBuilder [−]
#[repr(transparent)]pub struct PhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXTBuilder<'a> { /* fields omitted */ }
Implementations
pub fn shader_demote_to_helper_invocation(
self,
shader_demote_to_helper_invocation: bool
) -> PhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXTBuilder<'a>
pub fn build(self) -> PhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT
pub fn build(self) -> PhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT
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.
Methods from Deref<Target = PhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT>
Trait Implementations
impl<'a> Deref for PhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXTBuilder<'a>
impl<'a> Deref for PhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXTBuilder<'a>
The resulting type after dereferencing.
pub fn deref(
&self
) -> &<PhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXTBuilder<'a> as Deref>::Target
pub fn deref(
&self
) -> &<PhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXTBuilder<'a> as Deref>::Target
Dereferences the value.
impl<'a> DerefMut for PhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXTBuilder<'a>
impl<'a> DerefMut for PhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXTBuilder<'a>
pub fn deref_mut(
&mut self
) -> &mut <PhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXTBuilder<'a> as Deref>::Target
pub fn deref_mut(
&mut self
) -> &mut <PhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXTBuilder<'a> as Deref>::Target
Mutably dereferences the value.