v2.0.0
Loading...
Searching...
No Matches
rendertypes.h
Go to the documentation of this file.
1//=============================================================================================================
37
38#ifndef RENDERTYPES_H
39#define RENDERTYPES_H
40
41//=============================================================================================================
42// INCLUDES
43//=============================================================================================================
44
46
47#include <cstdint>
48
49//=============================================================================================================
60inline uint32_t packABGR(uint32_t r, uint32_t g, uint32_t b, uint32_t a = 0xFF)
61{
62 return (a << 24) | (b << 16) | (g << 8) | r;
63}
64
65//=============================================================================================================
81
82//=============================================================================================================
96
97#endif // RENDERTYPES_H
disp3D_rhi library export/import macros.
uint32_t packABGR(uint32_t r, uint32_t g, uint32_t b, uint32_t a=0xFF)
Definition rendertypes.h:60
ShaderMode
Definition rendertypes.h:73
@ Standard
Definition rendertypes.h:74
@ Dipole
Definition rendertypes.h:77
@ Holographic
Definition rendertypes.h:75
@ ShowNormals
Definition rendertypes.h:79
@ Anatomical
Definition rendertypes.h:76
@ XRay
Definition rendertypes.h:78
VisualizationMode
Definition rendertypes.h:90
@ ModeScientific
Definition rendertypes.h:93
@ ModeAnnotation
Definition rendertypes.h:92
@ ModeSurface
Definition rendertypes.h:91
@ ModeSourceEstimate
Definition rendertypes.h:94