openMSX
Public Member Functions | List of all members
openmsx::SDLDirectPixelAccess Class Reference

#include <SDLOutputSurface.hh>

Public Member Functions

 SDLDirectPixelAccess (SDL_Surface *surface_)
 
 ~SDLDirectPixelAccess ()
 
template<std::unsigned_integral Pixel>
std::span< PixelgetLine (unsigned y)
 

Detailed Description

Definition at line 12 of file SDLOutputSurface.hh.

Constructor & Destructor Documentation

◆ SDLDirectPixelAccess()

openmsx::SDLDirectPixelAccess::SDLDirectPixelAccess ( SDL_Surface *  surface_)

Definition at line 6 of file SDLOutputSurface.cc.

◆ ~SDLDirectPixelAccess()

openmsx::SDLDirectPixelAccess::~SDLDirectPixelAccess ( )

Definition at line 16 of file SDLOutputSurface.cc.

Member Function Documentation

◆ getLine()

template<std::unsigned_integral Pixel>
std::span< Pixel > openmsx::SDLDirectPixelAccess::getLine ( unsigned  y)
inline

Definition at line 19 of file SDLOutputSurface.hh.


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