| ![[Previous]](../prev.gif) | ![[Contents]](../contents.gif) | ![[Index]](../keyword_index.gif) | ![[Next]](../next.gif) | 
Set a layer's chroma operation
#include <gf/gf.h>
void gf_layer_set_chroma( gf_layer_t layer,
                          const gf_chroma_t * chroma );
gf
This function sets a layer's chroma operation. Chroma allows you extended control over how the layer is overlaid into the overall display.
|  | Changes to the layer's parameters are enqueued. You need to call gf_layer_update() to make them take effect. | 
The chroma parameters normally control how the contents of the layer are compared with intersecting layers that are behind the specified layer.
|  | For the chroma operation, the attached layer can be thought of as the “source” while the layer(s) behind it can be thought of as the “destination”. | 
QNX Graphics Framework
| Safety: | |
|---|---|
| Interrupt handler | No | 
| Signal handler | No | 
| Thread | Yes | 
gf_chroma_t, gf_layer_set_blending(), gf_layer_query(), gf_layer_update()
| ![[Previous]](../prev.gif) | ![[Contents]](../contents.gif) | ![[Index]](../keyword_index.gif) | ![[Next]](../next.gif) |