|
Vulkan Schnee 0.0.1
High-performance rendering engine
|
Mapping from MeshAsset primitive to shared geometry buffer location. Used by RenderingDataManager to track deduplicated geometry. More...
#include <RenderData.h>
Public Attributes | |
| uint32_t | meshGeometryId |
| Index into MeshGeometryData buffer. | |
| uint32_t | meshletStartIndex |
| First meshlet in shared buffer. | |
| uint32_t | meshletCount |
| Number of meshlets. | |
| uint32_t | vertexBaseOffset |
| Offset into vertex buffer. | |
| uint32_t | triangleBaseOffset |
| Offset into triangle buffer. | |
| uint32_t | vsIndexOffset |
| Offset into VS index buffer (contiguous uint32_t) | |
| uint32_t | vsIndexCount |
| Number of indices (triangleCount * 3) | |
| bool | isSingleMeshlet |
| True if meshletCount == 1 (use vertex shader path) | |
| uint32_t | pipelineIndex |
| Cached pipeline index from material. | |
| glm::vec3 | localBoundsCenter |
| Cached local bounding sphere center. | |
| float | localBoundsRadius |
| Cached local bounding sphere radius. | |
Mapping from MeshAsset primitive to shared geometry buffer location. Used by RenderingDataManager to track deduplicated geometry.
Definition at line 312 of file RenderData.h.
| bool EngineCore::MeshGeometryMapping::isSingleMeshlet |
True if meshletCount == 1 (use vertex shader path)
Definition at line 322 of file RenderData.h.
Referenced by EngineCore::RenderingDataManager::updatePrimitiveDataInstanced().
| glm::vec3 EngineCore::MeshGeometryMapping::localBoundsCenter |
Cached local bounding sphere center.
Definition at line 325 of file RenderData.h.
Referenced by EngineCore::RenderingDataManager::updatePrimitiveDataInstanced().
| float EngineCore::MeshGeometryMapping::localBoundsRadius |
Cached local bounding sphere radius.
Definition at line 326 of file RenderData.h.
Referenced by EngineCore::RenderingDataManager::updatePrimitiveDataInstanced().
| uint32_t EngineCore::MeshGeometryMapping::meshGeometryId |
Index into MeshGeometryData buffer.
Definition at line 314 of file RenderData.h.
Referenced by EngineCore::RenderingDataManager::updatePrimitiveDataInstanced().
| uint32_t EngineCore::MeshGeometryMapping::meshletCount |
Number of meshlets.
Definition at line 316 of file RenderData.h.
Referenced by EngineCore::RenderingDataManager::updatePrimitiveDataInstanced().
| uint32_t EngineCore::MeshGeometryMapping::meshletStartIndex |
First meshlet in shared buffer.
Definition at line 315 of file RenderData.h.
Referenced by EngineCore::RenderingDataManager::updatePrimitiveDataInstanced().
| uint32_t EngineCore::MeshGeometryMapping::pipelineIndex |
Cached pipeline index from material.
Definition at line 324 of file RenderData.h.
Referenced by EngineCore::RenderingDataManager::updatePrimitiveDataInstanced().
| uint32_t EngineCore::MeshGeometryMapping::triangleBaseOffset |
Offset into triangle buffer.
Definition at line 318 of file RenderData.h.
Referenced by EngineCore::RenderingDataManager::updatePrimitiveDataInstanced().
| uint32_t EngineCore::MeshGeometryMapping::vertexBaseOffset |
Offset into vertex buffer.
Definition at line 317 of file RenderData.h.
Referenced by EngineCore::RenderingDataManager::updatePrimitiveDataInstanced().
| uint32_t EngineCore::MeshGeometryMapping::vsIndexCount |
Number of indices (triangleCount * 3)
Definition at line 321 of file RenderData.h.
Referenced by EngineCore::RenderingDataManager::updatePrimitiveDataInstanced().
| uint32_t EngineCore::MeshGeometryMapping::vsIndexOffset |
Offset into VS index buffer (contiguous uint32_t)
Definition at line 320 of file RenderData.h.
Referenced by EngineCore::RenderingDataManager::updatePrimitiveDataInstanced().