I now think a simple query function might be better than modifying the enum because 32 bits (typical enum size) isn't really enough space to store all the information we want. A simple query function could just return a const pointer to a struct that describes the pixel format in detail.
I now think a simple query function might be better than modifying the enum because 32 bits (typical enum size) isn't really enough space to store all the information we want. A simple query function could just return a const pointer to a struct that describes the pixel format in detail.