Silicon
A realtime platform for creating interactive media.
|
#include <Asset.hpp>
Public Member Functions | |
PlainTextAsset (std::string path) | |
const std::string & | GetText () const |
Public Member Functions inherited from Si::Asset | |
const std::string & | GetPath () const |
Vector< std::uint8_t > & | GetBytes () |
virtual | ~Asset () |
Additional Inherited Members | |
Static Public Member Functions inherited from Si::Asset | |
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 inherited from Si::Asset | |
Asset (std::string path) | |
Protected Attributes inherited from Si::Asset | |
Vector< std::uint8_t > | m_data |
|
explicit |
const std::string & Si::PlainTextAsset::GetText | ( | ) | const |