Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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: 327
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: Mon May 05 15:07:20 CEST 2025

Total time taken to generate the page: 0.02877 seconds