Borrowed immutable view of one generated leaf. 更多...
#include <ArtifactPublication.h>
Public 属性 | |
| PersistentId | id |
| std::string_view | role |
| PartKind | kind = PartKind::Grid |
| std::uint64_t | schemaVersion = 1 |
| std::string_view | buildKey |
| Bounds | bounds |
| std::span< const float > | positions |
| std::span< const float > | normals |
| std::span< const float > | uvs |
| std::span< const std::uint32_t > | indices |
| std::int32_t | width = 0 |
| std::int32_t | height = 0 |
| std::span< const std::uint32_t > | cells |
| std::span< const Point > | points |
| std::string_view | metadataJson |
详细描述
Borrowed immutable view of one generated leaf.
The view is valid only during the provider's prepare call. Providers must copy every field needed after that call and must not retain these spans or string views.
在文件 ArtifactPublication.h 第 61 行定义.
类成员变量说明
◆ bounds
| Bounds eve::artifact::PartView::bounds |
在文件 ArtifactPublication.h 第 67 行定义.
◆ buildKey
| std::string_view eve::artifact::PartView::buildKey |
在文件 ArtifactPublication.h 第 66 行定义.
◆ cells
| std::span<const std::uint32_t> eve::artifact::PartView::cells |
在文件 ArtifactPublication.h 第 74 行定义.
◆ height
| std::int32_t eve::artifact::PartView::height = 0 |
在文件 ArtifactPublication.h 第 73 行定义.
◆ id
| PersistentId eve::artifact::PartView::id |
在文件 ArtifactPublication.h 第 62 行定义.
◆ indices
| std::span<const std::uint32_t> eve::artifact::PartView::indices |
在文件 ArtifactPublication.h 第 71 行定义.
◆ kind
| PartKind eve::artifact::PartView::kind = PartKind::Grid |
在文件 ArtifactPublication.h 第 64 行定义.
◆ metadataJson
| std::string_view eve::artifact::PartView::metadataJson |
在文件 ArtifactPublication.h 第 76 行定义.
◆ normals
| std::span<const float> eve::artifact::PartView::normals |
在文件 ArtifactPublication.h 第 69 行定义.
◆ points
| std::span<const Point> eve::artifact::PartView::points |
在文件 ArtifactPublication.h 第 75 行定义.
◆ positions
| std::span<const float> eve::artifact::PartView::positions |
在文件 ArtifactPublication.h 第 68 行定义.
◆ role
| std::string_view eve::artifact::PartView::role |
在文件 ArtifactPublication.h 第 63 行定义.
◆ schemaVersion
| std::uint64_t eve::artifact::PartView::schemaVersion = 1 |
在文件 ArtifactPublication.h 第 65 行定义.
◆ uvs
| std::span<const float> eve::artifact::PartView::uvs |
在文件 ArtifactPublication.h 第 70 行定义.
◆ width
| std::int32_t eve::artifact::PartView::width = 0 |
在文件 ArtifactPublication.h 第 72 行定义.
该结构体的文档由以下文件生成:
- src/engine/common/ArtifactPublication.h