OpenTTD Source 20250509-master-gb1cdf5024f
FBlitter_8bppSimple Class Reference

Factory for the most trivial 8bpp blitter. More...

#include <8bpp_simple.hpp>

Inheritance diagram for FBlitter_8bppSimple:
BlitterFactory

Public Member Functions

std::unique_ptr< BlitterCreateInstance () override
 Create an instance of this Blitter-class.
 
- Public Member Functions inherited from BlitterFactory
std::string_view GetName () const
 Get the long, human readable, name for the Blitter-class.
 
std::string_view GetDescription () const
 Get a nice description of the blitter-class.
 

Additional Inherited Members

- Static Public Member Functions inherited from BlitterFactory
static BlitterSelectBlitter (std::string_view name)
 Find the requested blitter and return its class.
 
static BlitterFactoryGetBlitterFactory (std::string_view name)
 Get the blitter factory with the given name.
 
static BlitterGetCurrentBlitter ()
 Get the current active blitter (always set by calling SelectBlitter).
 
static void GetBlittersInfo (std::back_insert_iterator< std::string > &output_iterator)
 Fill a buffer with information about the blitters.
 
- Protected Member Functions inherited from BlitterFactory
 BlitterFactory (std::string_view name, std::string_view description, bool usable=true)
 Construct the blitter, and register it.
 
virtual bool IsUsable () const
 Is the blitter usable with the current drivers and hardware config?
 

Detailed Description

Factory for the most trivial 8bpp blitter.

Definition at line 26 of file 8bpp_simple.hpp.

Constructor & Destructor Documentation

◆ FBlitter_8bppSimple()

FBlitter_8bppSimple::FBlitter_8bppSimple ( )
inline

Definition at line 28 of file 8bpp_simple.hpp.

Member Function Documentation

◆ CreateInstance()

std::unique_ptr< Blitter > FBlitter_8bppSimple::CreateInstance ( )
inlineoverridevirtual

Create an instance of this Blitter-class.

Implements BlitterFactory.

Definition at line 29 of file 8bpp_simple.hpp.


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