formZ SDK | 5.0 API Reference | System | Runtime Library (FZRT) | Graphics
Description
Gets the size of a pixel in a pixel buffer. This will return the depth of a pixel buffer. The depth is considered the number of bits used for color data in a pixel. Generally this is either 8, 16, 24, or 32.
Plugin Prototype
fzrt_error_td fzrt_pbuf_get_pixelsize(
pixbuf, | |
short* | pixel_size ) |
Parameters
pixbuf [Input]
allocated pixbuf
pixel_size [Result]
number of bits needed for one pixel
Returns
FZRT_NOERR if successful, error number otherwise
Availability
5.0.0.0
Function Set
Defined in