Struct gfx_hal::MeshShaderProperties [−][src]
pub struct MeshShaderProperties {}Show fields
pub max_draw_mesh_tasks_count: u32, pub max_task_work_group_invocations: u32, pub max_task_work_group_size: [u32; 3], pub max_task_total_memory_size: u32, pub max_task_output_count: u32, pub max_mesh_work_group_invocations: u32, pub max_mesh_work_group_size: [u32; 3], pub max_mesh_total_memory_size: u32, pub max_mesh_output_vertices: u32, pub max_mesh_output_primitives: u32, pub max_mesh_multiview_view_count: u32, pub mesh_output_per_vertex_granularity: u32, pub mesh_output_per_primitive_granularity: u32,
Resource limits related to the Mesh Shaders.
Fields
max_draw_mesh_tasks_count: u32
The maximum number of local workgroups that can be launched by a single draw mesh tasks command
max_task_work_group_invocations: u32
The maximum total number of task shader invocations in a single local workgroup. The product of the X, Y, and Z sizes, as specified by the LocalSize execution mode in shader modules or by the object decorated by the WorkgroupSize decoration, must be less than or equal to this limit.
max_task_work_group_size: [u32; 3]
The maximum size of a local task workgroup. These three values represent the maximum local workgroup size in the X, Y, and Z dimensions, respectively. The x, y, and z sizes, as specified by the LocalSize execution mode or by the object decorated by the WorkgroupSize decoration in shader modules, must be less than or equal to the corresponding limit.
max_task_total_memory_size: u32
The maximum number of bytes that the task shader can use in total for shared and output memory combined.
max_task_output_count: u32
The maximum number of output tasks a single task shader workgroup can emit.
max_mesh_work_group_invocations: u32
The maximum total number of mesh shader invocations in a single local workgroup. The product of the X, Y, and Z sizes, as specified by the LocalSize execution mode in shader modules or by the object decorated by the WorkgroupSize decoration, must be less than or equal to this limit.
max_mesh_work_group_size: [u32; 3]
The maximum size of a local mesh workgroup. These three values represent the maximum local workgroup size in the X, Y, and Z dimensions, respectively. The x, y, and z sizes, as specified by the LocalSize execution mode or by the object decorated by the WorkgroupSize decoration in shader modules, must be less than or equal to the corresponding limit.
max_mesh_total_memory_size: u32
The maximum number of bytes that the mesh shader can use in total for shared and output memory combined.
max_mesh_output_vertices: u32
The maximum number of vertices a mesh shader output can store.
max_mesh_output_primitives: u32
The maximum number of primitives a mesh shader output can store.
max_mesh_multiview_view_count: u32
The maximum number of multi-view views a mesh shader can use.
mesh_output_per_vertex_granularity: u32
The granularity with which mesh vertex outputs are allocated. The value can be used to compute the memory size used by the mesh shader, which must be less than or equal to maxMeshTotalMemorySize.
mesh_output_per_primitive_granularity: u32
The granularity with which mesh outputs qualified as per-primitive are allocated. The value can be used to compute the memory size used by the mesh shader, which must be less than or equal to
Trait Implementations
impl Clone for MeshShaderProperties
[src]
impl Clone for MeshShaderProperties
[src]fn clone(&self) -> MeshShaderProperties
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for MeshShaderProperties
[src]
impl Copy for MeshShaderProperties
[src]impl Default for MeshShaderProperties
[src]
impl Default for MeshShaderProperties
[src]fn default() -> MeshShaderProperties
[src]
impl PartialEq<MeshShaderProperties> for MeshShaderProperties
[src]
impl PartialEq<MeshShaderProperties> for MeshShaderProperties
[src]fn eq(&self, other: &MeshShaderProperties) -> bool
[src]
fn ne(&self, other: &MeshShaderProperties) -> bool
[src]
Auto Trait Implementations
impl RefUnwindSafe for MeshShaderProperties
impl RefUnwindSafe for MeshShaderProperties
impl Send for MeshShaderProperties
impl Send for MeshShaderProperties
impl Sync for MeshShaderProperties
impl Sync for MeshShaderProperties
impl Unpin for MeshShaderProperties
impl Unpin for MeshShaderProperties
impl UnwindSafe for MeshShaderProperties
impl UnwindSafe for MeshShaderProperties