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

fzrt_pbuf_update_clut

Description

Updates a pixel buffer with the new color table. This will replace the existing color table, if any, with the table supplied. This will not change the pixel format of the pixel. The format must be FZRT_PBUF_FORMAT_INDEXED.

Plugin Prototype

fzrt_error_td fzrt_pbuf_update_clut(

fzrt_pbuf_ptr

pixbuf,

fzrt_color_table_ptr

clut )

Parameters

pixbuf [Input]

allocated pixbuf

clut [Input]

pointer to color table

Returns

FZRT_NOERR if successful, error code otherwise

Availability

5.0.0.0

Function Set

fz_fzrt_graf_fset


Defined in

fzrt_api.h