v2.0.0
Loading...
Searching...
No Matches
rendertypes.h
Go to the documentation of this file.
1//=============================================================================================================
25
26#ifndef RENDERTYPES_H
27#define RENDERTYPES_H
28
29//=============================================================================================================
30// INCLUDES
31//=============================================================================================================
32
33#include "../disp3D_global.h"
34
35#include <cstdint>
36
37namespace DISP3DLIB
38{
39
40//=============================================================================================================
51inline uint32_t packABGR(uint32_t r, uint32_t g, uint32_t b, uint32_t a = 0xFF)
52{
53 return (a << 24) | (b << 16) | (g << 8) | r;
54}
55
56//=============================================================================================================
72
73//=============================================================================================================
87
88} // namespace DISP3DLIB
89
90#endif // RENDERTYPES_H
Library export/import macros and namespace marker for the disp3D library.
3-D brain visualisation using the Qt RHI rendering backend.
uint32_t packABGR(uint32_t r, uint32_t g, uint32_t b, uint32_t a=0xFF)
Definition rendertypes.h:51
@ ModeSourceEstimate
Definition rendertypes.h:85