anyKode Marilou
ContentsIndexHome
PreviousUpNext
Image::ComputeLineBytesCount
C++
static int ComputeLineBytesCount(Marilou::Commons::SurfaceFormats Format, int Width);
Parameters 
Description 
Marilou::Commons::SurfaceFormats Format 
[in] Pixels format 
int Width 
[in] Horizontal resolution 

Size in bytes of a line.

Computes the size in bytes of an image line according to the parameter. The size holds account of alignment on 32 bits.

Documentation v4.7 (18/01/2015), Copyright (c) 2015 anyKode. All rights reserved.
What do you think about this topic? Send feedback!