31 lines
374 B
C++
31 lines
374 B
C++
#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
|
|
|
|
const int target() const;
|
|
};
|
|
|
|
}
|