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

31 lines
368 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
int target() const;
};
}