Image::getBufferSize

Description

uint16_t Image::getBufferSize()

Image::getBufferSize returns the size the buffer should have, based on width/height and the image type. This function is used internally, if you are using it in your game you are probably doing something wrong!

Parameters

none

Returns

uint16_t: buffer size in bytes

Example

N/A