diff options
Diffstat (limited to 'src/Platform/OpenGL/OpenGLRendererAPI.h')
| -rw-r--r-- | src/Platform/OpenGL/OpenGLRendererAPI.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/Platform/OpenGL/OpenGLRendererAPI.h b/src/Platform/OpenGL/OpenGLRendererAPI.h index f6b9fb4..0576db8 100644 --- a/src/Platform/OpenGL/OpenGLRendererAPI.h +++ b/src/Platform/OpenGL/OpenGLRendererAPI.h @@ -26,5 +26,15 @@ namespace Donut virtual void DrawIndexed(const Ref<VertexArray>& vertexArray, uint32_t indexCount = 0) override; + + virtual void DrawArrays(uint32_t vertexCount, + uint32_t first = 0) override; + virtual void DrawLines(const Ref<VertexArray>& vertexArray, + uint32_t indexCount = 0) override; + virtual void BindTexture(uint32_t textureID, + uint32_t slot = 0) override; + virtual void BindImageTexture(uint32_t textureID, + uint32_t slot = 0, + bool readOnly = false) override; }; }; |
