Grindstone Game Engine v0.2.0
An open source game engine and toolkit.
All Classes Pages
Grindstone::Audio::AudioClipAsset Struct Reference
Inheritance diagram for Grindstone::Audio::AudioClipAsset:
Grindstone::Asset

Public Member Functions

 AudioClipAsset (Uuid uuid, std::string_view name, ALuint buffer, std::uint32_t channelCount, std::uint32_t sampleRate, std::uint16_t bitsPerSample)
 
- Public Member Functions inherited from Grindstone::Asset
 Asset (Uuid uuid, std::string_view name)
 
virtual AssetType GetAssetType () const
 
virtual bool operator== (const Asset &other) const
 
virtual bool operator!= (const Asset &other) const
 

Public Attributes

ALuint buffer = -1
 
std::uint32_t channelCount = 0
 
std::uint32_t sampleRate = 0
 
std::uint16_t bitsPerSample = 0
 
- Public Attributes inherited from Grindstone::Asset
Uuid uuid
 
std::string name
 
size_t referenceCount = 1
 
AssetLoadStatus assetLoadStatus = AssetLoadStatus::Unloaded
 

Additional Inherited Members

- Static Public Member Functions inherited from Grindstone::Asset
static AssetType GetStaticType ()
 

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