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

fzrt_pbuf_get_clut

Description

Gets the color table for a pixel buffer. A pixel buffer only contains a color table it is created with a pixel format of FZRT_PBUF_FORMAT_INDEXED.

Plugin Prototype

fzrt_error_td fzrt_pbuf_get_clut(

fzrt_pbuf_ptr

pixbuf,

fzrt_color_table_ptr *

clut )

Parameters

pixbuf [Input]

pointer to a pixel buffer

clut [Result]

pointer to a color table pointer received the pixel buffer color table

Returns

error number, FZRT_NOERR if successful

Availability

5.0.0.0

Function Set

fz_fzrt_graf_fset


Defined in

fzrt_api.h