pub struct PhysicalDeviceMeshShaderPropertiesNVBuilder<'a> { /* private fields */ }
Implementations§
Source§impl<'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§
Source§impl<'a> Deref for PhysicalDeviceMeshShaderPropertiesNVBuilder<'a>
impl<'a> Deref for PhysicalDeviceMeshShaderPropertiesNVBuilder<'a>
Source§impl<'a> DerefMut for PhysicalDeviceMeshShaderPropertiesNVBuilder<'a>
impl<'a> DerefMut for PhysicalDeviceMeshShaderPropertiesNVBuilder<'a>
impl ExtendsPhysicalDeviceProperties2 for PhysicalDeviceMeshShaderPropertiesNVBuilder<'_>
Auto Trait Implementations§
impl<'a> Freeze for PhysicalDeviceMeshShaderPropertiesNVBuilder<'a>
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§
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