supereight
Loading...
Searching...
No Matches
include
se
common
rgba.hpp
Go to the documentation of this file.
1
/*
2
* SPDX-FileCopyrightText: 2024 Smart Robotics Lab, Imperial College London, Technical University of Munich
3
* SPDX-FileCopyrightText: 2024 Sotiris Papatheodorou
4
* SPDX-License-Identifier: BSD-3-Clause
5
*/
6
7
#ifndef SE_COMMON_RGBA_HPP
8
#define SE_COMMON_RGBA_HPP
9
10
#include <cstdint>
11
12
namespace
se
{
13
15
struct
RGBA
{
16
std::uint8_t
r
= 0x00;
17
std::uint8_t
g
= 0x00;
18
std::uint8_t
b
= 0x00;
19
std::uint8_t
a
= 0xFF;
20
};
21
22
}
// namespace se
23
24
#endif
// SE_COMMON_RGBA_HPP
se
Helper wrapper to allocate and de-allocate octants in the octree.
Definition
bounded_vector.hpp:14
se::RGBA
A colour represented as a Red-Green-Blue-Alpha tuple with 8-bits per channel.
Definition
rgba.hpp:15
se::RGBA::g
std::uint8_t g
Definition
rgba.hpp:17
se::RGBA::a
std::uint8_t a
Definition
rgba.hpp:19
se::RGBA::b
std::uint8_t b
Definition
rgba.hpp:18
se::RGBA::r
std::uint8_t r
Definition
rgba.hpp:16
Generated by
1.9.8