Euphoria
eu::core::StaticPalette< size > Struct Template Reference

#include <palette.h>

Public Member Functions

constexpr StaticPalette (std::string_view n, const std::array< const Rgbi, size > &c)
 
constexpr const Paletteoperator* () const
 
constexpr const Paletteoperator-> () const
 

Public Attributes

std::string_view name
 
std::array< const Rgbi, size > colors
 
Palette pal
 

Detailed Description

template<std::size_t size>
struct eu::core::StaticPalette< size >

Definition at line 62 of file palette.h.

Constructor & Destructor Documentation

◆ StaticPalette()

template<std::size_t size>
constexpr eu::core::StaticPalette< size >::StaticPalette ( std::string_view  n,
const std::array< const Rgbi, size > &  c 
)
inlineconstexpr

Definition at line 68 of file palette.h.

Member Function Documentation

◆ operator*()

template<std::size_t size>
constexpr const Palette& eu::core::StaticPalette< size >::operator* ( ) const
inlineconstexpr

Definition at line 77 of file palette.h.

◆ operator->()

template<std::size_t size>
constexpr const Palette* eu::core::StaticPalette< size >::operator-> ( ) const
inlineconstexpr

Definition at line 82 of file palette.h.

Member Data Documentation

◆ colors

template<std::size_t size>
std::array<const Rgbi, size> eu::core::StaticPalette< size >::colors

Definition at line 65 of file palette.h.

◆ name

template<std::size_t size>
std::string_view eu::core::StaticPalette< size >::name

Definition at line 64 of file palette.h.

◆ pal

template<std::size_t size>
Palette eu::core::StaticPalette< size >::pal

Definition at line 66 of file palette.h.


The documentation for this struct was generated from the following file: