Color blitter struct
You set up the properties and pass the BlitFunc to the rasterizer.
auto cblit = AngularBlit(m_pixels,m_stride,m_height); cblit.setColor(color); m_rasterizer.rasterize(cblit.getBlitFunc);
Construct an color blitter. pixels - pointer to a 32 bpp pixel buffer stride - buffer width in pixels height - buffer heigth in pixels
returns a BlitFunc for use by the rasterizer
set the colour to blit
See Implementation
Color blitter struct
You set up the properties and pass the BlitFunc to the rasterizer.