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

AlphaBlendLines functor Generate an output line that is a per-pixel-alpha-blend of the two input lines. More...

#include <LineScalers.hh>

Public Member Functions

 AlphaBlendLines (PixelOperations< Pixel > pixelOps)
 
void operator() (std::span< const Pixel > in1, std::span< const Pixel > in2, std::span< Pixel > out)
 
void operator() (Pixel in1, std::span< const Pixel > in2, std::span< Pixel > out)
 

Detailed Description

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

AlphaBlendLines functor Generate an output line that is a per-pixel-alpha-blend of the two input lines.

The first input line contains the alpha-value per pixel.

Parameters
in1First input line
in2Second input line
outOutput line

Definition at line 259 of file LineScalers.hh.

Constructor & Destructor Documentation

◆ AlphaBlendLines()

template<std::unsigned_integral Pixel>
openmsx::AlphaBlendLines< Pixel >::AlphaBlendLines ( PixelOperations< Pixel pixelOps)
explicit

Definition at line 1130 of file LineScalers.hh.

Member Function Documentation

◆ operator()() [1/2]

template<std::unsigned_integral Pixel>
void openmsx::AlphaBlendLines< Pixel >::operator() ( Pixel  in1,
std::span< const Pixel in2,
std::span< Pixel out 
)

Definition at line 1148 of file LineScalers.hh.

References view::zip_equal().

◆ operator()() [2/2]

template<std::unsigned_integral Pixel>
void openmsx::AlphaBlendLines< Pixel >::operator() ( std::span< const Pixel in1,
std::span< const Pixel in2,
std::span< Pixel out 
)

Definition at line 1136 of file LineScalers.hh.

References view::zip_equal().


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