formZ SDK | 5.0 API Reference | System | Runtime Library (FZRT) | Graphics

fzrt_pbuf_get_pixelformat

Description

Gets the format of a pixel in a pixel buffer.

Plugin Prototype

fzrt_error_td fzrt_pbuf_get_pixelformat(

fzrt_pbuf_ptr

pixbuf,

fzrt_pix_format_enum *

pix_format )

Parameters

pixbuf [Input]

allocated pixbuf

pix_format [Result]

format of pixel Data - FZRT_PBUF_FORMAT_RGB, FZRT_PBUF_FORMAT_RGBA etc

Returns

FZRT_NOERR if successful, error number otherwise

Availability

5.0.0.0

Function Set

fz_fzrt_graf_fset


Defined in

fzrt_api.h