We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8a54646 commit eb30058Copy full SHA for eb30058
src/engine/render/imagedata.h
@@ -70,6 +70,17 @@ class ImageData final
70
* for example). Intended for use on grayscale textures.
71
*/
72
void forcergbimage();
73
+
74
+ /**
75
+ * @brief Creates a new image that increases the bit depth of the image.
76
+ *
77
+ * If there is two channels in the original image, replaces it with a four
78
+ * channel image where the first channel is copied to the rgb channels, and
79
+ * the second channel is copied to the a channel.
80
81
+ * If there is one channel in the original image, replaces it with a three
82
+ * channel image where all three channels are copies of the original channel.
83
+ */
84
void swizzleimage();
85
86
/**
0 commit comments