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

31 lines
368 B
C++
Raw Normal View History

2022-10-03 18:51:34 +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
2022-10-05 21:10:51 +05:00
int target() const;
2022-10-03 18:51:34 +05:00
};
}