CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
ALBuffer.hpp
Go to the documentation of this file.
1//
2// CeresEngine - A game development framework
3//
4// Created by Rogiel Sulzbach.
5// Copyright (c) 2018-2022 Rogiel Sulzbach. All rights reserved.
6//
7
8#pragma once
9
10#include "ALLoader.hpp"
11
13
14namespace CeresEngine {
15
16 class ALDevice;
17
18 class ALBuffer final : public AudioAPIBuffer {
19 friend class ALSource;
20
21 private:
23 ALuint bufferID;
24
25 public:
26 explicit ALBuffer(ALDevice& device, const AudioAPIBufferDescriptor& descriptor);
27 ~ALBuffer() final;
28 };
29
30} // namespace CeresEngine
Definition ALBuffer.hpp:18
ALuint bufferID
The OpenAL buffer ID.
Definition ALBuffer.hpp:23
ALBuffer(ALDevice &device, const AudioAPIBufferDescriptor &descriptor)
Definition ALDevice.hpp:18
Definition ALSource.hpp:18
The Buffer class represents an audio buffer (or a piece of) which consists of a sequence of samples t...
Definition Buffer.hpp:45
Definition Application.hpp:19