13 namespace visualization {
21 << uid.
GetId() <<
", hash: " << uid.
Hash() <<
"]";
27 static const size_t kTypesMapped = 14;
29 static_assert(kTypesCount == kTypesMapped,
30 "You forgot to add string value for new handle type.");
32 static const char* kTypesMapping[kTypesMapped] = {
35 "Light",
"IndirectLight",
37 "Material",
"MaterialInstance",
38 "Texture",
"RenderTarget",
39 "VertexBuffer",
"IndexBuffer"};
41 return kTypesMapping[
static_cast<size_t>(
type)];
std::ostream & operator<<(std::ostream &os, const REHandle_abstract &uid)
Generic file read and write utility for python interface.
static const char * TypeToString(EntityType type)
std::uint16_t GetId() const
static std::array< std::uint16_t, static_cast< size_t >EntityType::Count)> uid_table