载入中...
搜索中...
未找到
eve::voxel_editing::VoxelPaletteRuntime类 参考
Candidate-first CubeTypeRegistry publication. 更多...
#include <VoxelPaletteTarget.h>
Public 成员函数 | |
| VoxelPaletteRuntime () | |
| Voxel palette runtime. | |
| ~VoxelPaletteRuntime () | |
| Voxel palette runtime. | |
| Result< std::vector< VoxelPalettePublishedEntry > > | publish (const VoxelPaletteTarget &) |
| Build a complete registry before replacing the active generation. | |
| const voxel::CubeTypeRegistry * | registry () const |
| Access the published registry. | |
| Revision | revision () const |
| Revision. | |
详细描述
Candidate-first CubeTypeRegistry publication.
在文件 VoxelPaletteTarget.h 第 122 行定义.
构造及析构函数说明
◆ VoxelPaletteRuntime()
|
default |
Voxel palette runtime.
◆ ~VoxelPaletteRuntime()
|
default |
Voxel palette runtime.
成员函数说明
◆ publish()
| Result< std::vector< VoxelPalettePublishedEntry > > eve::voxel_editing::VoxelPaletteRuntime::publish | ( | const VoxelPaletteTarget & | document | ) |
Build a complete registry before replacing the active generation.
在文件 VoxelPaletteRuntime.cpp 第 8 行定义.
引用了 d, eve::voxel_editing::VoxelPaletteTarget::entries(), eve::editing::EditableTargetState::revision() , 以及 eve::voxel_editing::VoxelPaletteTarget::validate().
◆ registry()
|
inline |
Access the published registry.
- 返回
- Borrowed pointer owned by this runtime, or null. @lifetime Valid until the next publish or runtime destruction.
在文件 VoxelPaletteTarget.h 第 132 行定义.
◆ revision()
|
inline |
Revision.
在文件 VoxelPaletteTarget.h 第 134 行定义.
该类的文档由以下文件生成:
- src/modules/voxel/editing/VoxelPaletteTarget.h
- src/modules/voxel/editing/VoxelPaletteRuntime.cpp