|
Vulkan Schnee 0.0.1 (22840dc8)
High-performance rendering engine
|
GPU-side meshlet descriptor consumed by mesh shaders. More...
#include <RenderData.h>
Public Attributes | |
| uint32_t | vertexCount |
| Number of vertices referenced by this meshlet. | |
| uint32_t | triangleCount |
| Number of packed triangles referenced by this meshlet. | |
| uint32_t | vertexDataOffset |
| First vertex element for this meshlet. | |
| uint32_t | triangleDataOffset |
| First packed triangle element for this meshlet. | |
| uint32_t | primitiveIndex |
| Primitive or mesh geometry index used for object/material lookup. | |
| uint32_t | pipelineIndex |
| Pipeline bin used to route the meshlet to the correct material shader. | |
| uint64_t | vertexDataAddress |
| Device address of the vertex buffer used by this meshlet. | |
| uint64_t | triangleDataAddress |
| Device address of the packed triangle buffer used by this meshlet. | |
| uint32_t | _padding [2] {} |
| Padding required by the shader layout. | |
GPU-side meshlet descriptor consumed by mesh shaders.
vertexDataAddress and triangleDataAddress are device addresses of the buffers that contain the meshlet's vertex and packed triangle data. Offsets are element offsets into those buffers. The layout matches GLSL UnifiedMeshlet and is 48 bytes.
Definition at line 149 of file RenderData.h.
| uint32_t Engine::Rendering::GpuBuffers::UnifiedMeshlet::_padding[2] {} |
Padding required by the shader layout.
Definition at line 159 of file RenderData.h.
| uint32_t Engine::Rendering::GpuBuffers::UnifiedMeshlet::pipelineIndex |
Pipeline bin used to route the meshlet to the correct material shader.
Definition at line 156 of file RenderData.h.
| uint32_t Engine::Rendering::GpuBuffers::UnifiedMeshlet::primitiveIndex |
Primitive or mesh geometry index used for object/material lookup.
Definition at line 155 of file RenderData.h.
| uint32_t Engine::Rendering::GpuBuffers::UnifiedMeshlet::triangleCount |
Number of packed triangles referenced by this meshlet.
Definition at line 152 of file RenderData.h.
| uint64_t Engine::Rendering::GpuBuffers::UnifiedMeshlet::triangleDataAddress |
Device address of the packed triangle buffer used by this meshlet.
Definition at line 158 of file RenderData.h.
| uint32_t Engine::Rendering::GpuBuffers::UnifiedMeshlet::triangleDataOffset |
First packed triangle element for this meshlet.
Definition at line 154 of file RenderData.h.
| uint32_t Engine::Rendering::GpuBuffers::UnifiedMeshlet::vertexCount |
Number of vertices referenced by this meshlet.
Definition at line 151 of file RenderData.h.
| uint64_t Engine::Rendering::GpuBuffers::UnifiedMeshlet::vertexDataAddress |
Device address of the vertex buffer used by this meshlet.
Definition at line 157 of file RenderData.h.
| uint32_t Engine::Rendering::GpuBuffers::UnifiedMeshlet::vertexDataOffset |
First vertex element for this meshlet.
Definition at line 153 of file RenderData.h.