summaryrefslogtreecommitdiff
path: root/graphics/asymptote/cudareflect/tinyexr/examples/exrview/exr-io.h
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2021-12-28 03:01:00 +0000
committerNorbert Preining <norbert@preining.info>2021-12-28 03:01:00 +0000
commitecdf859b6ce481abfd530425dcf6f0f764bd0001 (patch)
tree13bc161dc046876ac6c92fce5f9f5034ba9aa573 /graphics/asymptote/cudareflect/tinyexr/examples/exrview/exr-io.h
parent790995b7e79697514364450bf9c04f1b8d500838 (diff)
CTAN sync 202112280300
Diffstat (limited to 'graphics/asymptote/cudareflect/tinyexr/examples/exrview/exr-io.h')
-rw-r--r--graphics/asymptote/cudareflect/tinyexr/examples/exrview/exr-io.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/graphics/asymptote/cudareflect/tinyexr/examples/exrview/exr-io.h b/graphics/asymptote/cudareflect/tinyexr/examples/exrview/exr-io.h
new file mode 100644
index 0000000000..d338ff6977
--- /dev/null
+++ b/graphics/asymptote/cudareflect/tinyexr/examples/exrview/exr-io.h
@@ -0,0 +1,16 @@
+#ifndef EXR_IO_H_
+#define EXR_IO_H_
+
+#include "tinyexr.h"
+
+namespace exrio
+{
+
+bool GetEXRLayers(const char *filename);
+
+bool LoadEXRRGBA(float** rgba, int* w, int *h, const char* filename, const char* layername = nullptr);
+
+}
+
+
+#endif // EXR_IO_H_