anyKode Marilou
|
Computes the buffer bytes size required to store an image according to the parameters. Calculation takes in account the 32 bits alignment.
static int ComputeImageByteSize(Marilou::Commons::SurfaceFormats Format, int Width, int Height);
Parameters |
Description |
Marilou::Commons::SurfaceFormats Format |
[in] Pixels format |
int Width |
[in] Number of pixels in a line |
int Height |
[in] Number of pixels in a column |
Size in bytes of the image.
Documentation v4.7 (18/01/2015), Copyright (c) 2015 anyKode. All rights reserved.
|
What do you think about this topic? Send feedback!
|