Struct ash::vk::PhysicalDeviceMeshShaderFeaturesNVBuilder
source · #[repr(transparent)]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.