MOS
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
mos::aud::Sound Class Referencefinal

Audio buffer and audio source combined. More...

#include <sound.hpp>

Public Member Functions

 Sound (Shared_buffer buffer=nullptr, Source source=Source())
 

Static Public Member Functions

static auto load (const nlohmann::json &json, Assets &assets, const glm::mat4 &parent_transform=glm::mat4(1.0f)) -> Sound
 

Public Attributes

Shared_buffer buffer
 
Source source
 

Detailed Description

Audio buffer and audio source combined.


The documentation for this class was generated from the following file: