openMSX
Public Member Functions | List of all members
openmsx::PaletteLookup< Pixel > Class Template Reference

Public Member Functions

 PaletteLookup (std::span< const Pixel, 64 > palette64_, std::span< const Pixel, 256 > palette256_, std::span< const Pixel, 32768 > palette32768_)
 
void set64Offset (size_t offset)
 
Pixel lookup64 (size_t idx) const
 
Pixel lookup256 (size_t idx) const
 
Pixel lookup32768 (size_t idx) const
 

Detailed Description

template<std::unsigned_integral Pixel>
class openmsx::PaletteLookup< Pixel >

Definition at line 300 of file V9990BitmapConverter.cc.

Constructor & Destructor Documentation

◆ PaletteLookup()

template<std::unsigned_integral Pixel>
openmsx::PaletteLookup< Pixel >::PaletteLookup ( std::span< const Pixel, 64 >  palette64_,
std::span< const Pixel, 256 >  palette256_,
std::span< const Pixel, 32768 >  palette32768_ 
)
inline

Definition at line 303 of file V9990BitmapConverter.cc.

Member Function Documentation

◆ lookup256()

template<std::unsigned_integral Pixel>
Pixel openmsx::PaletteLookup< Pixel >::lookup256 ( size_t  idx) const
inline

Definition at line 315 of file V9990BitmapConverter.cc.

◆ lookup32768()

template<std::unsigned_integral Pixel>
Pixel openmsx::PaletteLookup< Pixel >::lookup32768 ( size_t  idx) const
inline

Definition at line 316 of file V9990BitmapConverter.cc.

◆ lookup64()

template<std::unsigned_integral Pixel>
Pixel openmsx::PaletteLookup< Pixel >::lookup64 ( size_t  idx) const
inline

Definition at line 314 of file V9990BitmapConverter.cc.

◆ set64Offset()

template<std::unsigned_integral Pixel>
void openmsx::PaletteLookup< Pixel >::set64Offset ( size_t  offset)
inline

Definition at line 313 of file V9990BitmapConverter.cc.


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