aboutsummaryrefslogtreecommitdiff
path: root/src/Platform/OpenGL/OpenGLRendererAPI.h
diff options
context:
space:
mode:
authorhachem <im@hachem.wtf>2025-08-15 03:18:29 +0200
committerhachem <im@hachem.wtf>2025-08-15 03:18:29 +0200
commit4172869e54093eee6e1595ebe0fa55c9fe98aef7 (patch)
tree2004c518688e6db529e437fe3f0120ad0fcc1dd9 /src/Platform/OpenGL/OpenGLRendererAPI.h
parentbc2d88c799cb3913a5defe4ea9ddea9c56814349 (diff)
[help]: Complete first geodesic 3d raytracing
Diffstat (limited to 'src/Platform/OpenGL/OpenGLRendererAPI.h')
-rw-r--r--src/Platform/OpenGL/OpenGLRendererAPI.h10
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;
};
};