Silicon
A realtime platform for creating interactive media.
|
#include <Asset.hpp>
Public Member Functions | |
const std::string & | GetPath () const |
Vector< std::uint8_t > & | GetBytes () |
virtual | ~Asset () |
Static Public Member Functions | |
template<typename T > | |
static std::shared_ptr< T > | GetNow (const std::string &asset_path) |
template<typename T > | |
static Future< std::shared_ptr< T > > | Get (const std::string &asset_path) |
Protected Member Functions | |
Asset (std::string path) | |
Protected Attributes | |
Vector< std::uint8_t > | m_data |
|
explicitprotected |
|
inlinestatic |
Vector< std::uint8_t > & Si::Asset::GetBytes | ( | ) |
|
inlinestatic |
const std::string & Si::Asset::GetPath | ( | ) | const |
|
protected |