]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - image.h
cubemap filters for rtlights are now supported
[xonotic/darkplaces.git] / image.h
diff --git a/image.h b/image.h
index 71a5535b16c24c919c27bd9533241a380ba4e254..f85a806085f8be2d3361e60e150ef19ddcf12ef1 100644 (file)
--- a/image.h
+++ b/image.h
@@ -2,6 +2,10 @@
 #ifndef IMAGE_H
 #define IMAGE_H
 
+// swizzle components (even converting number of components) and flip images
+// (warning: input must be different than output due to non-linear read/write)
+void Image_CopyMux(qbyte *outpixels, const qbyte *inpixels, int width, int height, int flipx, int flipy, int flipdiagonal, int numincomponents, int numoutcomponents, int *inputcomponentindices);
+
 // applies gamma correction to RGB pixels, in can be the same as out
 void Image_GammaRemapRGB(const qbyte *in, qbyte *out, int pixels, const qbyte *gammar, const qbyte *gammag, const qbyte *gammab);