diff options
Diffstat (limited to 'src/Platform/OpenGL/OpenGLRendererAPI.h')
| -rw-r--r-- | src/Platform/OpenGL/OpenGLRendererAPI.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Platform/OpenGL/OpenGLRendererAPI.h b/src/Platform/OpenGL/OpenGLRendererAPI.h index 0576db8..5a68622 100644 --- a/src/Platform/OpenGL/OpenGLRendererAPI.h +++ b/src/Platform/OpenGL/OpenGLRendererAPI.h @@ -36,5 +36,9 @@ namespace Donut virtual void BindImageTexture(uint32_t textureID, uint32_t slot = 0, bool readOnly = false) override; + virtual void ReadPixels(uint32_t x, uint32_t y, + uint32_t width, uint32_t height, + uint32_t format, uint32_t type, + void* pixels) override; }; }; |
