NSUNI/NSLAR Library a250670
Loading...
Searching...
No Matches
nnl::collection Namespace Reference

Provides structures and functions to manage containers of distinct but related assets. More...

Typedefs

using Collection = std::vector<Buffer>
 A container for related but distinct assets.
using CollectionView = std::vector<BufferView>
 A non-owning view of an asset collection.

Functions

bool IsOfType (BufferView buffer)
 Tests if the provided file is an asset collection.
Collection Import (BufferView buffer)
 Parses a binary file and converts it into a Collection object.
CollectionView ImportView (BufferView buffer)
 Parses a binary file and converts it into a CollectionView object.
Buffer Export (const Collection &asset_collection)
 Converts an asset collection to a binary file representation.

Detailed Description

Provides structures and functions to manage containers of distinct but related assets.

See also
nnl::collection::Collection
nnl::collection::IsOfType
nnl::collection::ImportView
nnl::collection::Import
nnl::collection::Export