载入中...
搜索中...
未找到
Vertex/index buffers for one mesh. 更多...
#include <Graphics.h>
Public 属性 | |
| wgpu::Buffer | vertexBuffer |
| wgpu::Buffer | indexBuffer |
| uint64_t | vertexCapacity = 0 |
| uint64_t | indexCapacity = 0 |
| uint32_t | indexCount = 0 |
| uint32_t | vertexCount = 0 |
| uint32_t | vertexStride = 0 |
| wgpu::IndexFormat | indexFormat = wgpu::IndexFormat::Uint32 |
| std::vector< MeshVertex > | cpuVertices |
| std::vector< float > | updateVertices |
| std::vector< uint16_t > | updateIndices16 |
详细描述
Vertex/index buffers for one mesh.
在文件 Graphics.h 第 159 行定义.
类成员变量说明
◆ cpuVertices
| std::vector<MeshVertex> eve::graphics::webgpu::GpuMesh::cpuVertices |
◆ indexBuffer
| wgpu::Buffer eve::graphics::webgpu::GpuMesh::indexBuffer |
在文件 Graphics.h 第 161 行定义.
◆ indexCapacity
| uint64_t eve::graphics::webgpu::GpuMesh::indexCapacity = 0 |
在文件 Graphics.h 第 163 行定义.
◆ indexCount
| uint32_t eve::graphics::webgpu::GpuMesh::indexCount = 0 |
在文件 Graphics.h 第 164 行定义.
被这些函数引用 eve::graphics::webgpu::Graphics::gpuDrivenSubmitResident().
◆ indexFormat
| wgpu::IndexFormat eve::graphics::webgpu::GpuMesh::indexFormat = wgpu::IndexFormat::Uint32 |
在文件 Graphics.h 第 167 行定义.
◆ updateIndices16
| std::vector<uint16_t> eve::graphics::webgpu::GpuMesh::updateIndices16 |
在文件 Graphics.h 第 170 行定义.
◆ updateVertices
| std::vector<float> eve::graphics::webgpu::GpuMesh::updateVertices |
在文件 Graphics.h 第 169 行定义.
◆ vertexBuffer
| wgpu::Buffer eve::graphics::webgpu::GpuMesh::vertexBuffer |
在文件 Graphics.h 第 160 行定义.
◆ vertexCapacity
| uint64_t eve::graphics::webgpu::GpuMesh::vertexCapacity = 0 |
在文件 Graphics.h 第 162 行定义.
◆ vertexCount
| uint32_t eve::graphics::webgpu::GpuMesh::vertexCount = 0 |
在文件 Graphics.h 第 165 行定义.
◆ vertexStride
| uint32_t eve::graphics::webgpu::GpuMesh::vertexStride = 0 |
在文件 Graphics.h 第 166 行定义.
该结构体的文档由以下文件生成:
- src/modules/graphics/webgpu/Graphics.h