![]() |
Lysa
0.0
Lysa 3D Engine
|
Classes | |
| struct | AnimationHeader |
| struct | DataInfo |
| struct | Header |
| struct | ImageHeader |
| struct | MaterialHeader |
| struct | MeshHeader |
| struct | MipLevelInfo |
| struct | NodeHeader |
| struct | SurfaceInfo |
| struct | TextureHeader |
| struct | TextureInfo |
| struct | TrackInfo |
Public Member Functions | |
| AssetsPack () = default | |
Static Public Member Functions | |
| template<typename T_OBJECT , typename T_MESH_INSTANCE , typename T_ANIMATION_PLAYER > | |
| static std::shared_ptr< T_OBJECT > | load (const std::string &fileURI, const std::string &rootName="Root") |
| template<typename T_OBJECT , typename T_MESH_INSTANCE , typename T_ANIMATION_PLAYER > | |
| static std::shared_ptr< T_OBJECT > | load (std::pair< std::shared_ptr< std::streambuf >, std::shared_ptr< std::istream >> stream, const std::string &rootName="Root") |
| static std::vector< unique_id > | loadImages (const std::string &fileURI) |
| static std::vector< unique_id > | loadImages (std::pair< std::shared_ptr< std::streambuf >, std::shared_ptr< std::istream >> stream) |
Static Public Attributes | |
| static constexpr auto | NAME_SIZE {64} |
| static constexpr char | MAGIC [] { 'A', 'S', 'S', 'E', 'T', 'S' } |
| static constexpr uint32 | VERSION {1} |
|
default |
|
inlinestatic |
Loads a scene graph from an assets pack file.
| T_OBJECT | Object instance base type (e.g. lysa::nodes::Node). |
| T_MESH_INSTANCE | Mesh instance type. |
| T_ANIMATION_PLAYER | Animation player type. |
| fileURI | VirtualFS URI of the .assets file. |
| rootName | Name assigned to the synthetic root node. |
|
static |
Loads a scene graph from an already-opened assets pack data stream.
| T_OBJECT | Object instance base type (e.g. lysa::nodes::Node). |
| T_MESH_INSTANCE | Mesh instance type. |
| T_ANIMATION_PLAYER | Animation player type. |
| stream | Open stream pair returned by VirtualFS::openReadStream. |
| rootName | Name assigned to the synthetic root node. |
|
static |
Loads only the images from an assets pack file.
| fileURI | VirtualFS URI of the .assets file. |
|
static |
Loads only the images from an already-opened assets pack data stream.
| stream | Open stream pair returned by VirtualFS::openReadStream. |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |