GPU-driven rendering std430 GPU layouts. 更多...
#include <GpuDrivenTypes.h>
Public 属性 | |
| glm::vec4 | boundsCenterRadius |
| uint32_t | vertexOffset = 0 |
| uint32_t | vertexCount = 0 |
| uint32_t | indexOffset = 0 |
| uint32_t | indexCount = 0 |
| uint32_t | indexType = 1 |
| uint32_t | firstIndex = 0 |
| uint32_t | vertexBase = 0 |
| uint32_t | lodGroupId = kInvalidGpuDrivenSlot |
| uint32_t | vgAssetId = kInvalidGpuDrivenSlot |
| uint32_t | pad1 = 0 |
| uint32_t | pad2 = 0 |
| uint32_t | pad3 = 0 |
详细描述
GPU-driven rendering std430 GPU layouts.
These layouts are mirrored by the GLSL shaders that consume the bindless table (mesh3d_gpudriven.*) and by the compute passes (stage 2+). They live in the backend-independent graphics namespace so RenderSystem3D can build them without depending on the Vulkan backend.
Constants / batch descriptors without GLM live in GpuDrivenApi.h.
GPU mesh table record (std430). Mirrors GLSL GpuMeshRecord.
GpuMeshRecord public API.
在文件 GpuDrivenTypes.h 第 26 行定义.
类成员变量说明
◆ boundsCenterRadius
| glm::vec4 eve::graphics::GpuMeshRecord::boundsCenterRadius |
在文件 GpuDrivenTypes.h 第 27 行定义.
◆ firstIndex
| uint32_t eve::graphics::GpuMeshRecord::firstIndex = 0 |
在文件 GpuDrivenTypes.h 第 33 行定义.
◆ indexCount
| uint32_t eve::graphics::GpuMeshRecord::indexCount = 0 |
在文件 GpuDrivenTypes.h 第 31 行定义.
◆ indexOffset
| uint32_t eve::graphics::GpuMeshRecord::indexOffset = 0 |
在文件 GpuDrivenTypes.h 第 30 行定义.
◆ indexType
| uint32_t eve::graphics::GpuMeshRecord::indexType = 1 |
在文件 GpuDrivenTypes.h 第 32 行定义.
◆ lodGroupId
| uint32_t eve::graphics::GpuMeshRecord::lodGroupId = kInvalidGpuDrivenSlot |
在文件 GpuDrivenTypes.h 第 35 行定义.
◆ pad1
| uint32_t eve::graphics::GpuMeshRecord::pad1 = 0 |
在文件 GpuDrivenTypes.h 第 37 行定义.
◆ pad2
| uint32_t eve::graphics::GpuMeshRecord::pad2 = 0 |
在文件 GpuDrivenTypes.h 第 38 行定义.
◆ pad3
| uint32_t eve::graphics::GpuMeshRecord::pad3 = 0 |
在文件 GpuDrivenTypes.h 第 39 行定义.
◆ vertexBase
| uint32_t eve::graphics::GpuMeshRecord::vertexBase = 0 |
在文件 GpuDrivenTypes.h 第 34 行定义.
◆ vertexCount
| uint32_t eve::graphics::GpuMeshRecord::vertexCount = 0 |
在文件 GpuDrivenTypes.h 第 29 行定义.
◆ vertexOffset
| uint32_t eve::graphics::GpuMeshRecord::vertexOffset = 0 |
在文件 GpuDrivenTypes.h 第 28 行定义.
◆ vgAssetId
| uint32_t eve::graphics::GpuMeshRecord::vgAssetId = kInvalidGpuDrivenSlot |
该结构体的文档由以下文件生成:
- src/modules/graphics/GpuDrivenTypes.h