Struct ash::vk::PhysicalDeviceMeshShaderFeaturesNVBuilder
source · pub struct PhysicalDeviceMeshShaderFeaturesNVBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> PhysicalDeviceMeshShaderFeaturesNVBuilder<'a>
impl<'a> PhysicalDeviceMeshShaderFeaturesNVBuilder<'a>
pub fn task_shader(self, task_shader: bool) -> Self
pub fn mesh_shader(self, mesh_shader: bool) -> Self
sourcepub fn build(self) -> PhysicalDeviceMeshShaderFeaturesNV
pub fn build(self) -> PhysicalDeviceMeshShaderFeaturesNV
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 PhysicalDeviceMeshShaderFeaturesNVBuilder<'a>
impl<'a> Deref for PhysicalDeviceMeshShaderFeaturesNVBuilder<'a>
source§impl<'a> DerefMut for PhysicalDeviceMeshShaderFeaturesNVBuilder<'a>
impl<'a> DerefMut for PhysicalDeviceMeshShaderFeaturesNVBuilder<'a>
impl ExtendsDeviceCreateInfo for PhysicalDeviceMeshShaderFeaturesNVBuilder<'_>
impl ExtendsPhysicalDeviceFeatures2 for PhysicalDeviceMeshShaderFeaturesNVBuilder<'_>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for PhysicalDeviceMeshShaderFeaturesNVBuilder<'a>
impl<'a> !Send for PhysicalDeviceMeshShaderFeaturesNVBuilder<'a>
impl<'a> !Sync for PhysicalDeviceMeshShaderFeaturesNVBuilder<'a>
impl<'a> Unpin for PhysicalDeviceMeshShaderFeaturesNVBuilder<'a>
impl<'a> UnwindSafe for PhysicalDeviceMeshShaderFeaturesNVBuilder<'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