TeaPacket v0.0.1
Multiplatform Game Engine
Loading...
Searching...
No Matches
TeaPacket::Assets Namespace Reference

Functionality relating to files. More...

Classes

class  AssetStream
 

Functions

std::string ReadTextAsset (const std::string &path)
 Read an asset from the Asset Registry in plain text form.
 
std::vector< char > ReadAllBytesFromAsset (const std::string &path)
 Read the raw bytes from an Asset in the Asset Registry.
 
Graphics::Texture ReadTGA (const std::string &path)
 

Detailed Description

Functionality relating to files.

Function Documentation

◆ ReadAllBytesFromAsset()

std::vector< char > TeaPacket::Assets::ReadAllBytesFromAsset ( const std::string & path)

Read the raw bytes from an Asset in the Asset Registry.

◆ ReadTextAsset()

std::string TeaPacket::Assets::ReadTextAsset ( const std::string & path)

Read an asset from the Asset Registry in plain text form.

◆ ReadTGA()

Graphics::Texture TeaPacket::Assets::ReadTGA ( const std::string & path)