supereight
Loading...
Searching...
No Matches
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
12namespace se {
13
15struct 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
Helper wrapper to allocate and de-allocate octants in the octree.
Definition bounded_vector.hpp:14
A colour represented as a Red-Green-Blue-Alpha tuple with 8-bits per channel.
Definition rgba.hpp:15
std::uint8_t g
Definition rgba.hpp:17
std::uint8_t a
Definition rgba.hpp:19
std::uint8_t b
Definition rgba.hpp:18
std::uint8_t r
Definition rgba.hpp:16