Class Assets

Nested Relationships

Nested Types

Inheritance Relationships

Derived Type

Class Documentation

class Assets

Subclassed by dai::AssetsMutable

Public Functions

inline void setStorage(std::uint8_t *ps)
inline bool has(const std::string &key)
inline AssetView get(const std::string &key)
inline std::vector<std::pair<std::string, AssetView>> getAll()
DEPTHAI_SERIALIZE(Assets, map)

Protected Attributes

std::uint8_t *pStorageStart = nullptr
std::unordered_map<std::string, AssetInternal> map
struct AssetInternal

Public Functions

DEPTHAI_SERIALIZE(AssetInternal, offset, size, alignment)

Public Members

std::uint32_t offset
std::uint32_t size
std::uint32_t alignment