hyporo-cpp/source/hpr/gpu/opengl/buffer.hpp

31 lines
338 B
C++
Raw Normal View History

2022-12-06 23:52:49 +05:00
#pragma once
#include "../buffer.hpp"
namespace hpr::gpu::opengl
{
class Buffer : public gpu::Buffer
{
friend class Device;
protected:
unsigned int p_bufferIndex;
unsigned int p_vertexArrayIndex;
public:
// Constructors
Buffer();
virtual ~Buffer();
// Member functions
int target() const;
};
}