#[repr(transparent)]pub struct PhysicalDeviceMeshShaderPropertiesNVBuilder<'a> { /* private fields */ }
Implementations
sourceimpl<'a> PhysicalDeviceMeshShaderPropertiesNVBuilder<'a>
impl<'a> PhysicalDeviceMeshShaderPropertiesNVBuilder<'a>
pub fn max_draw_mesh_tasks_count(self, max_draw_mesh_tasks_count: u32) -> Self
pub fn max_task_work_group_invocations(
self,
max_task_work_group_invocations: u32
) -> Self
pub fn max_task_work_group_size(
self,
max_task_work_group_size: [u32; 3]
) -> Self
pub fn max_task_total_memory_size(self, max_task_total_memory_size: u32) -> Self
pub fn max_task_output_count(self, max_task_output_count: u32) -> Self
pub fn max_mesh_work_group_invocations(
self,
max_mesh_work_group_invocations: u32
) -> Self
pub fn max_mesh_work_group_size(
self,
max_mesh_work_group_size: [u32; 3]
) -> Self
pub fn max_mesh_total_memory_size(self, max_mesh_total_memory_size: u32) -> Self
pub fn max_mesh_output_vertices(self, max_mesh_output_vertices: u32) -> Self
pub fn max_mesh_output_primitives(self, max_mesh_output_primitives: u32) -> Self
pub fn max_mesh_multiview_view_count(
self,
max_mesh_multiview_view_count: u32
) -> Self
pub fn mesh_output_per_vertex_granularity(
self,
mesh_output_per_vertex_granularity: u32
) -> Self
pub fn mesh_output_per_primitive_granularity(
self,
mesh_output_per_primitive_granularity: u32
) -> Self
sourcepub fn build(self) -> PhysicalDeviceMeshShaderPropertiesNV
pub fn build(self) -> PhysicalDeviceMeshShaderPropertiesNV
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
sourceimpl<'a> Deref for PhysicalDeviceMeshShaderPropertiesNVBuilder<'a>
impl<'a> Deref for PhysicalDeviceMeshShaderPropertiesNVBuilder<'a>
type Target = PhysicalDeviceMeshShaderPropertiesNV
type Target = PhysicalDeviceMeshShaderPropertiesNV
The resulting type after dereferencing.
sourceimpl<'a> DerefMut for PhysicalDeviceMeshShaderPropertiesNVBuilder<'a>
impl<'a> DerefMut for PhysicalDeviceMeshShaderPropertiesNVBuilder<'a>
impl ExtendsPhysicalDeviceProperties2 for PhysicalDeviceMeshShaderPropertiesNVBuilder<'_>
Auto Trait Implementations
impl<'a> RefUnwindSafe for PhysicalDeviceMeshShaderPropertiesNVBuilder<'a>
impl<'a> !Send for PhysicalDeviceMeshShaderPropertiesNVBuilder<'a>
impl<'a> !Sync for PhysicalDeviceMeshShaderPropertiesNVBuilder<'a>
impl<'a> Unpin for PhysicalDeviceMeshShaderPropertiesNVBuilder<'a>
impl<'a> UnwindSafe for PhysicalDeviceMeshShaderPropertiesNVBuilder<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more