implemented SDL3 as an option for window manager
This commit is contained in:
17
TSE_OpenGlImpl/src/buffer/IndexBuffer.hpp
Normal file
17
TSE_OpenGlImpl/src/buffer/IndexBuffer.hpp
Normal file
@@ -0,0 +1,17 @@
|
||||
#pragma once
|
||||
|
||||
#include "buffer.hpp"
|
||||
#include "Types.hpp"
|
||||
|
||||
namespace TSE::OpenGL
|
||||
{
|
||||
class IndexBuffer : public buffer
|
||||
{
|
||||
public:
|
||||
IndexBuffer(ushort* data, ushort count);
|
||||
inline IndexBuffer() = default;
|
||||
void WriteData(ushort* data, ushort count);
|
||||
void Bind() override;
|
||||
void Unbind() override;
|
||||
};
|
||||
} // namespace TSE::GLFW
|
||||
Reference in New Issue
Block a user