载入中...
搜索中...
未找到
eve::graphics::vulkan::GpuMesh结构体 参考
#include <Graphics.h>
Public 属性 | |
| vkb::HostVertexBuffer | vertices |
| vkb::GenericBuffer | indices |
| std::array< vkb::HostVertexBuffer, kDynamicVertexCopies > | dynVertices |
| std::array< vkb::GenericBuffer, kDynamicVertexCopies > | dynIndices |
| std::vector< uint32_t > | cpuIndices |
| CPU index copy for dynamic meshes (also normalizes 16-bit static indices to 32-bit ring buffers). | |
| uint64_t | dynamicWriteCount = 0 |
| Number of dynamic updates; ring slot = count % kDynamicVertexCopies. | |
| bool | dynamic = false |
| uint32_t | indexCount = 0 |
| vk::IndexType | indexType = vk::IndexType::eUint32 |
静态 Public 属性 | |
| static constexpr size_t | kDynamicVertexCopies = 3 |
| Ring copies for per-frame updated meshes (skin/morph/sprite stack). Writing the next copy never races with in-flight frames, so dynamic updates need no device-wide wait. Only allocated once a mesh is actually updated (static meshes keep a single copy). | |
详细描述
在文件 Graphics.h 第 140 行定义.
类成员变量说明
◆ cpuIndices
| std::vector<uint32_t> eve::graphics::vulkan::GpuMesh::cpuIndices |
CPU index copy for dynamic meshes (also normalizes 16-bit static indices to 32-bit ring buffers).
在文件 Graphics.h 第 152 行定义.
◆ dynamic
| bool eve::graphics::vulkan::GpuMesh::dynamic = false |
在文件 Graphics.h 第 155 行定义.
◆ dynamicWriteCount
| uint64_t eve::graphics::vulkan::GpuMesh::dynamicWriteCount = 0 |
Number of dynamic updates; ring slot = count % kDynamicVertexCopies.
在文件 Graphics.h 第 154 行定义.
◆ dynIndices
| std::array<vkb::GenericBuffer, kDynamicVertexCopies> eve::graphics::vulkan::GpuMesh::dynIndices |
在文件 Graphics.h 第 149 行定义.
◆ dynVertices
| std::array<vkb::HostVertexBuffer, kDynamicVertexCopies> eve::graphics::vulkan::GpuMesh::dynVertices |
在文件 Graphics.h 第 148 行定义.
◆ indexCount
| uint32_t eve::graphics::vulkan::GpuMesh::indexCount = 0 |
在文件 Graphics.h 第 156 行定义.
◆ indexType
| vk::IndexType eve::graphics::vulkan::GpuMesh::indexType = vk::IndexType::eUint32 |
在文件 Graphics.h 第 157 行定义.
◆ indices
| vkb::GenericBuffer eve::graphics::vulkan::GpuMesh::indices |
在文件 Graphics.h 第 147 行定义.
◆ kDynamicVertexCopies
|
staticconstexpr |
Ring copies for per-frame updated meshes (skin/morph/sprite stack). Writing the next copy never races with in-flight frames, so dynamic updates need no device-wide wait. Only allocated once a mesh is actually updated (static meshes keep a single copy).
在文件 Graphics.h 第 145 行定义.
◆ vertices
| vkb::HostVertexBuffer eve::graphics::vulkan::GpuMesh::vertices |
在文件 Graphics.h 第 146 行定义.
该结构体的文档由以下文件生成:
- src/modules/graphics/vulkan/Graphics.h