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

Queryable backend-neutral mesh resource owned by the graphics module. 更多...

#include <ArtifactProvider.h>

Public 属性

eve::PersistentId id
 
std::string buildKey
 
GraphicsArtifactHandle handle
 
std::string role
 
std::vector< float > positions
 
std::vector< float > normals
 
std::vector< float > uvs
 
std::vector< std::uint32_t > indices
 
std::string backendName = "cpu"
 Backend name observed when upload was attempted, or cpu.
 
std::string uploadState = "not-attempted"
 Explicit upload outcome: not-attempted, uploaded, or capability-degraded.
 
bool gpuResident = false
 Whether the provider currently owns a backend resource for this descriptor.
 
std::uint32_t backendVertexStride = 0
 Actual backend vertex stride, zero when no upload exists.
 
std::uint32_t backendIndexElementSize = 0
 Actual backend index element size, zero when no upload exists.
 

详细描述

Queryable backend-neutral mesh resource owned by the graphics module.

在文件 ArtifactProvider.h 第 45 行定义.

类成员变量说明

◆ backendIndexElementSize

std::uint32_t eve::graphics::GraphicsArtifactResource::backendIndexElementSize = 0

Actual backend index element size, zero when no upload exists.

在文件 ArtifactProvider.h 第 63 行定义.

◆ backendName

std::string eve::graphics::GraphicsArtifactResource::backendName = "cpu"

Backend name observed when upload was attempted, or cpu.

在文件 ArtifactProvider.h 第 55 行定义.

◆ backendVertexStride

std::uint32_t eve::graphics::GraphicsArtifactResource::backendVertexStride = 0

Actual backend vertex stride, zero when no upload exists.

在文件 ArtifactProvider.h 第 61 行定义.

◆ buildKey

std::string eve::graphics::GraphicsArtifactResource::buildKey

在文件 ArtifactProvider.h 第 47 行定义.

◆ gpuResident

bool eve::graphics::GraphicsArtifactResource::gpuResident = false

Whether the provider currently owns a backend resource for this descriptor.

在文件 ArtifactProvider.h 第 59 行定义.

◆ handle

GraphicsArtifactHandle eve::graphics::GraphicsArtifactResource::handle

在文件 ArtifactProvider.h 第 48 行定义.

◆ id

eve::PersistentId eve::graphics::GraphicsArtifactResource::id

在文件 ArtifactProvider.h 第 46 行定义.

◆ indices

std::vector<std::uint32_t> eve::graphics::GraphicsArtifactResource::indices

在文件 ArtifactProvider.h 第 53 行定义.

◆ normals

std::vector<float> eve::graphics::GraphicsArtifactResource::normals

在文件 ArtifactProvider.h 第 51 行定义.

◆ positions

std::vector<float> eve::graphics::GraphicsArtifactResource::positions

在文件 ArtifactProvider.h 第 50 行定义.

◆ role

std::string eve::graphics::GraphicsArtifactResource::role

在文件 ArtifactProvider.h 第 49 行定义.

◆ uploadState

std::string eve::graphics::GraphicsArtifactResource::uploadState = "not-attempted"

Explicit upload outcome: not-attempted, uploaded, or capability-degraded.

在文件 ArtifactProvider.h 第 57 行定义.

◆ uvs

std::vector<float> eve::graphics::GraphicsArtifactResource::uvs

在文件 ArtifactProvider.h 第 52 行定义.


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