]> git.tdb.fi Git - libs/gl.git/blobdiff - source/core/frameformat.h
Make FrameAttachment capable of distinguishing RGB and BGR formats
[libs/gl.git] / source / core / frameformat.h
index 4662ae8f9d2d02ec8aebe576532f13e932d67ed8..c55a0f303b269a2d495d29be5cd3354bf4a3e06b 100644 (file)
@@ -13,8 +13,9 @@ of the attachment point and the format of the attached texture.
 
 The values are bitfields laid as follows:
 
-nnnn nn_f _sss _ccc
-      │ │    │    └╴Number of components
+nnnn nn_f _sss rccc
+      │ │    │ │  └╴Number of components
+      │ │    │ └───╴Reverse order flag
       │ │    └─────╴Size of one component
       │ └──────────╴Floating-point flag
       └────────────╴Attachment index