Function
CoglPixelFormatget_bytes_per_pixel
Declaration [src]
int
cogl_pixel_format_get_bytes_per_pixel (
CoglPixelFormat format,
int plane
)
Parameters
format
-
Type:
CoglPixelFormat
The pixel format.
plane
-
Type:
int
The index of the plane (should not be more than the number of planes in the given format).