载入中...
搜索中...
未找到
eve::graphics::webgpu::GpuMesh结构体 参考

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
 

详细描述

Vertex/index buffers for one mesh.

在文件 Graphics.h 第 153 行定义.

类成员变量说明

◆ cpuVertices

std::vector<MeshVertex> eve::graphics::webgpu::GpuMesh::cpuVertices

◆ indexBuffer

wgpu::Buffer eve::graphics::webgpu::GpuMesh::indexBuffer

在文件 Graphics.h 第 155 行定义.

◆ indexCapacity

uint64_t eve::graphics::webgpu::GpuMesh::indexCapacity = 0

在文件 Graphics.h 第 157 行定义.

◆ indexCount

uint32_t eve::graphics::webgpu::GpuMesh::indexCount = 0

在文件 Graphics.h 第 158 行定义.

被这些函数引用 eve::graphics::webgpu::Graphics::gpuDrivenSubmitResident().

◆ indexFormat

wgpu::IndexFormat eve::graphics::webgpu::GpuMesh::indexFormat = wgpu::IndexFormat::Uint32

在文件 Graphics.h 第 161 行定义.

◆ vertexBuffer

wgpu::Buffer eve::graphics::webgpu::GpuMesh::vertexBuffer

在文件 Graphics.h 第 154 行定义.

◆ vertexCapacity

uint64_t eve::graphics::webgpu::GpuMesh::vertexCapacity = 0

在文件 Graphics.h 第 156 行定义.

◆ vertexCount

uint32_t eve::graphics::webgpu::GpuMesh::vertexCount = 0

在文件 Graphics.h 第 159 行定义.

◆ vertexStride

uint32_t eve::graphics::webgpu::GpuMesh::vertexStride = 0

在文件 Graphics.h 第 160 行定义.


该结构体的文档由以下文件生成: