summaryrefslogtreecommitdiff
path: root/gfx/models/texture.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2023-12-15 01:46:22 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2023-12-15 01:46:22 +0000
commit14aa604389110f5da25e0c06ca4c6a753c497248 (patch)
treebda3fb51760e28a4de582126cc6e5392ace74e6b /gfx/models/texture.h
parentSupport setting framebuffer texture format (diff)
downloadilt-14aa604389110f5da25e0c06ca4c6a753c497248.tar.bz2
ilt-14aa604389110f5da25e0c06ca4c6a753c497248.tar.xz
ilt-14aa604389110f5da25e0c06ca4c6a753c497248.zip
Basic support for saving integer position buffer
Diffstat (limited to 'gfx/models/texture.h')
-rw-r--r--gfx/models/texture.h1
1 files changed, 1 insertions, 0 deletions
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);