U++ framework
Do not panic. Ask here before giving up.

Home » Community » Newbie corner » How does one determine the byte order of the RGBA struct?
Re: How does one determine the byte order of the RGBA struct? [message #47975 is a reply to message #47974] Sun, 30 April 2017 12:23 Go to previous messageGo to previous message
Zbych is currently offline  Zbych
Messages: 332
Registered: July 2009
Senior Member
What do you need it for?
You can try to use offsetof:
if (offsetof(RGBA, a) == 0){
   [...]
}
 
Read Message
Read Message
Read Message
Previous Topic: Layout editor, where's the ColorPusher and other magical types???
Next Topic: C++11 issue under Linux
Goto Forum:
  


Current Time: Wed Apr 29 21:57:57 GMT+2 2026

Total time taken to generate the page: 0.00480 seconds