From 14aa604389110f5da25e0c06ca4c6a753c497248 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Fri, 15 Dec 2023 01:46:22 +0000 Subject: Basic support for saving integer position buffer --- gfx/models/texture.h | 1 + 1 file changed, 1 insertion(+) (limited to 'gfx/models/texture.h') diff --git a/gfx/models/texture.h b/gfx/models/texture.h index 5e1b440..5d40b39 100644 --- a/gfx/models/texture.h +++ b/gfx/models/texture.h @@ -40,6 +40,7 @@ public: static void save(const glTexture &, const char * path); static void saveDepth(const glTexture &, const char * path); static void saveNormal(const glTexture &, const char * path); + static void savePosition(const glTexture &, const char * path); protected: static void save(const glTexture &, GLenum, GLenum, uint8_t channels, const char * path, uint8_t tgaFormat); -- cgit v1.2.3