hyporo-cpp/source/hyporo/gpu/opengl/buffer.hpp
2022-10-03 18:51:34 +05:00

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;
};
}