Computes the same descriptor a WebGPU backend would expose without a device. 更多...
#include <ArtifactProvider.h>
静态 Public 成员函数 | |
| static std::optional< GraphicsArtifactDescriptor > | describe (const eve::artifact::PublicationView &publication) |
| Describe the selected mesh part, or return empty for invalid input. | |
详细描述
Computes the same descriptor a WebGPU backend would expose without a device.
This adapter intentionally consumes only the common publication view. It is used for Vulkan/WebGPU parity tests and does not include either backend SDK.
在文件 ArtifactProvider.h 第 72 行定义.
成员函数说明
◆ describe()
|
static |
Describe the selected mesh part, or return empty for invalid input.
在文件 ArtifactProvider.cpp 第 219 行定义.
引用了 eve::graphics::GraphicsArtifactDescriptor::buildKey, eve::graphics::GraphicsArtifactDescriptor::checksum, eve::graphics::GraphicsArtifactDescriptor::id, eve::graphics::GraphicsArtifactDescriptor::indexCount, mesh, eve::graphics::GraphicsArtifactDescriptor::role , 以及 eve::graphics::GraphicsArtifactDescriptor::vertexCount.
该类的文档由以下文件生成:
- src/modules/graphics/ArtifactProvider.h
- src/modules/graphics/ArtifactProvider.cpp