CommonLibVR
GColor.h
Go to the documentation of this file.
1
#pragma once
2
3
namespace
RE
4
{
5
class
GColor
6
{
7
public
:
8
struct
RGB32
9
{
10
std::uint8_t
blue
;
// 0
11
std::uint8_t
green
;
// 1
12
std::uint8_t
red
;
// 2
13
std::uint8_t
alpha
;
// 3
14
};
15
static_assert(
sizeof
(
RGB32
) == 0x4);
16
17
union
ColorData
18
{
19
RGB32
channels
;
20
std::uint32_t
raw
;
21
};
22
static_assert(
sizeof
(
ColorData
) == 0x4);
23
24
// members
25
ColorData
colorData
;
// 0
26
private
:
27
KEEP_FOR_RE
()
28
};
29
static_assert(
sizeof
(
GColor
) == 0x4);
30
}
KEEP_FOR_RE
#define KEEP_FOR_RE()
Definition:
PCH.h:713
RE::GColor
Definition:
GColor.h:6
RE::GColor::colorData
ColorData colorData
Definition:
GColor.h:22
RE
Definition:
AbsorbEffect.h:6
RE::GColor::RGB32
Definition:
GColor.h:9
RE::GColor::RGB32::red
std::uint8_t red
Definition:
GColor.h:12
RE::GColor::RGB32::blue
std::uint8_t blue
Definition:
GColor.h:10
RE::GColor::RGB32::alpha
std::uint8_t alpha
Definition:
GColor.h:13
RE::GColor::RGB32::green
std::uint8_t green
Definition:
GColor.h:11
RE::GColor::ColorData
Definition:
GColor.h:18
RE::GColor::ColorData::raw
std::uint32_t raw
Definition:
GColor.h:20
RE::GColor::ColorData::channels
RGB32 channels
Definition:
GColor.h:19
CommonLibVR
include
RE
G
GColor.h
Generated by
1.9.1