Zen API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kSize kPixelFormat_AllocSize ( kPixelFormat  format,
kSize  width,
kSize  height 
)

Returns size in bytes when buffer is situated in CPU/GPU memory.

Parameters
formatPixel format.
widthWidth.
heightHeight.
Returns
Allocation size in bytes.