meshlet_bindings.wgsl
Name | Type | Value |
---|---|---|
CENTIMETERS_PER_METER
#
![]() |
AbstractFloat
![]() |
100.0 |
Name | Group | Binding index | Binding type | Type | Shader Def |
---|---|---|---|---|---|
meshlet_instance_meshlet_counts
#
![]() |
0 | 0 | <storage, read> |
array<u32>
![]() |
🟢 MESHLET_FILL_CLUSTER_BUFFERS_PASS |
meshlet_instance_meshlet_slice_starts
#
![]() |
0 | 1 | <storage, read> |
array<u32>
![]() |
🟢 MESHLET_FILL_CLUSTER_BUFFERS_PASS |
meshlet_cluster_instance_ids
#
![]() |
0 | 2 | <storage, read_write> |
array<u32>
![]() |
🟢 MESHLET_FILL_CLUSTER_BUFFERS_PASS |
meshlet_cluster_meshlet_ids
#
![]() |
0 | 3 | <storage, read_write> |
array<u32>
![]() |
🟢 MESHLET_FILL_CLUSTER_BUFFERS_PASS |
meshlet_global_cluster_count
#
![]() |
0 | 4 | <storage, read_write> | atomic<u32> | 🟢 MESHLET_FILL_CLUSTER_BUFFERS_PASS |
meshlet_cluster_meshlet_ids
#
![]() |
0 | 0 | <storage, read> |
array<u32>
![]() |
🟢 MESHLET_CULLING_PASS |
meshlet_bounding_spheres
#
![]() |
0 | 1 | <storage, read> |
array<MeshletBoundingSpheres>
![]() |
🟢 MESHLET_CULLING_PASS |
meshlet_simplification_errors
#
![]() |
0 | 2 | <storage, read> |
array<u32>
![]() |
🟢 MESHLET_CULLING_PASS |
meshlet_cluster_instance_ids
#
![]() |
0 | 3 | <storage, read> |
array<u32>
![]() |
🟢 MESHLET_CULLING_PASS |
meshlet_instance_uniforms
#
![]() |
0 | 4 | <storage, read> |
array<Mesh>
![]() |
🟢 MESHLET_CULLING_PASS |
meshlet_view_instance_visibility
#
![]() |
0 | 5 | <storage, read> |
array<u32>
![]() |
🟢 MESHLET_CULLING_PASS |
meshlet_second_pass_candidates
#
![]() |
0 | 6 | <storage, read_write> |
array<atomic<u32>>
![]() |
🟢 MESHLET_CULLING_PASS |
meshlet_software_raster_indirect_args
#
![]() |
0 | 7 | <storage, read_write> | DispatchIndirectArgs | 🟢 MESHLET_CULLING_PASS |
meshlet_hardware_raster_indirect_args
#
![]() |
0 | 8 | <storage, read_write> | DrawIndirectArgs | 🟢 MESHLET_CULLING_PASS |
meshlet_raster_clusters
#
![]() |
0 | 9 | <storage, read_write> |
array<u32>
![]() |
🟢 MESHLET_CULLING_PASS |
depth_pyramid
#
![]() |
0 | 10 | texture_2d<f32> | 🟢 MESHLET_CULLING_PASS | |
view
#
![]() |
0 | 11 | <uniform> | View | 🟢 MESHLET_CULLING_PASS |
previous_view
#
![]() |
0 | 12 | <uniform> | PreviousViewUniforms | 🟢 MESHLET_CULLING_PASS |
meshlet_cluster_meshlet_ids
#
![]() |
0 | 0 | <storage, read> |
array<u32>
![]() |
🟢 MESHLET_VISIBILITY_BUFFER_RASTER_PASS |
meshlets
#
![]() |
0 | 1 | <storage, read> |
array<Meshlet>
![]() |
🟢 MESHLET_VISIBILITY_BUFFER_RASTER_PASS |
meshlet_indices
#
![]() |
0 | 2 | <storage, read> |
array<u32>
![]() |
🟢 MESHLET_VISIBILITY_BUFFER_RASTER_PASS |
meshlet_vertex_positions
#
![]() |
0 | 3 | <storage, read> |
array<u32>
![]() |
🟢 MESHLET_VISIBILITY_BUFFER_RASTER_PASS |
meshlet_cluster_instance_ids
#
![]() |
0 | 4 | <storage, read> |
array<u32>
![]() |
🟢 MESHLET_VISIBILITY_BUFFER_RASTER_PASS |
meshlet_instance_uniforms
#
![]() |
0 | 5 | <storage, read> |
array<Mesh>
![]() |
🟢 MESHLET_VISIBILITY_BUFFER_RASTER_PASS |
meshlet_raster_clusters
#
![]() |
0 | 6 | <storage, read> |
array<u32>
![]() |
🟢 MESHLET_VISIBILITY_BUFFER_RASTER_PASS |
meshlet_software_raster_cluster_count
#
![]() |
0 | 7 | <storage, read> |
u32
![]() |
🟢 MESHLET_VISIBILITY_BUFFER_RASTER_PASS |
meshlet_visibility_buffer
#
![]() |
0 | 8 | <storage, read_write> |
array<atomic<u64>>
![]() |
🟢 MESHLET_VISIBILITY_BUFFER_RASTER_PASS, 🟢 MESHLET_VISIBILITY_BUFFER_RASTER_PASS_OUTPUT |
meshlet_visibility_buffer
#
![]() |
0 | 8 | <storage, read_write> |
array<atomic<u32>>
![]() |
🟢 MESHLET_VISIBILITY_BUFFER_RASTER_PASS, 🔴 MESHLET_VISIBILITY_BUFFER_RASTER_PASS_OUTPUT |
view
#
![]() |
0 | 9 | <uniform> | View | 🟢 MESHLET_VISIBILITY_BUFFER_RASTER_PASS |
meshlet_visibility_buffer
#
![]() |
1 | 0 | <storage, read> |
array<u64>
![]() |
🟢 MESHLET_MESH_MATERIAL_PASS |
meshlet_cluster_meshlet_ids
#
![]() |
1 | 1 | <storage, read> |
array<u32>
![]() |
🟢 MESHLET_MESH_MATERIAL_PASS |
meshlets
#
![]() |
1 | 2 | <storage, read> |
array<Meshlet>
![]() |
🟢 MESHLET_MESH_MATERIAL_PASS |
meshlet_indices
#
![]() |
1 | 3 | <storage, read> |
array<u32>
![]() |
🟢 MESHLET_MESH_MATERIAL_PASS |
meshlet_vertex_positions
#
![]() |
1 | 4 | <storage, read> |
array<u32>
![]() |
🟢 MESHLET_MESH_MATERIAL_PASS |
meshlet_vertex_normals
#
![]() |
1 | 5 | <storage, read> |
array<u32>
![]() |
🟢 MESHLET_MESH_MATERIAL_PASS |
meshlet_vertex_uvs
#
![]() |
1 | 6 | <storage, read> |
array<vec2<f32>>
![]() |
🟢 MESHLET_MESH_MATERIAL_PASS |
meshlet_cluster_instance_ids
#
![]() |
1 | 7 | <storage, read> |
array<u32>
![]() |
🟢 MESHLET_MESH_MATERIAL_PASS |
meshlet_instance_uniforms
#
![]() |
1 | 8 | <storage, read> |
array<Mesh>
![]() |
🟢 MESHLET_MESH_MATERIAL_PASS |
Name | Type |
---|---|
start_vertex_position_bit |
u32
![]() |
start_vertex_attribute_id |
u32
![]() |
start_index_id |
u32
![]() |
packed_a |
u32
![]() |
packed_b |
u32
![]() |
min_vertex_position_channel_x |
f32
![]() |
min_vertex_position_channel_y |
f32
![]() |
min_vertex_position_channel_z |
f32
![]() |
Name | Type |
---|---|
culling_sphere | MeshletBoundingSphere |
lod_group_sphere | MeshletBoundingSphere |
lod_parent_group_sphere | MeshletBoundingSphere |
Name | Type | Shader Def |
---|---|---|
scene_cluster_count |
u32
![]() |
🟢 MESHLET_CULLING_PASS |
meshlet_raster_cluster_rightmost_slot |
u32
![]() |
🟢 MESHLET_CULLING_PASS |
Parameter | Type |
---|---|
meshlet |
ptr<function, Meshlet>
![]() |
Parameter | Type |
---|---|
meshlet |
ptr<function, Meshlet>
![]() |
🟢 MESHLET_CULLING_PASS
Parameter | Type |
---|---|
instance_id |
u32
![]() |
🟢 MESHLET_CULLING_PASS
Parameter | Type |
---|---|
cluster_id |
u32
![]() |
🟢 MESHLET_VISIBILITY_BUFFER_RASTER_PASS
Parameter | Type |
---|---|
index_id |
u32
![]() |
🟢 MESHLET_VISIBILITY_BUFFER_RASTER_PASS
Parameter | Type |
---|---|
meshlet |
ptr<function, Meshlet>
![]() |
vertex_id |
u32
![]() |
🟢 MESHLET_MESH_MATERIAL_PASS
Parameter | Type |
---|---|
index_id |
u32
![]() |
🟢 MESHLET_MESH_MATERIAL_PASS
Parameter | Type |
---|---|
meshlet |
ptr<function, Meshlet>
![]() |
vertex_id |
u32
![]() |
🟢 MESHLET_MESH_MATERIAL_PASS
Parameter | Type |
---|---|
meshlet |
ptr<function, Meshlet>
![]() |
vertex_id |
u32
![]() |
🟢 MESHLET_MESH_MATERIAL_PASS
Parameter | Type |
---|---|
meshlet |
ptr<function, Meshlet>
![]() |
vertex_id |
u32
![]() |