Rubeus::GraphicComponents::Image struct

A collection of the image data and its features.

Constructors, destructors, conversion operators

Image(ILubyte imageData[], unsigned int height, unsigned int width, unsigned int bpp)
Constructor.
~Image()
Destructor.

Public variables

ILubyte* m_Image
The image data array.
const unsigned int m_Height
Height of the image in pixels.
const unsigned int m_Width
Width of the image in pixels.
const unsigned int m_BPP
The bits per pixel of the image data. (= # of channels * sizeof(byte))

Function documentation

Rubeus::GraphicComponents::Image::Image(ILubyte imageData[], unsigned int height, unsigned int width, unsigned int bpp)

Constructor.

Parameters
imageData Array of byte values storing image data pixel-wise.
height Height of the image in pixels.
width Width of the image in pixels.
bpp bpp of the image in bits per pixel.