Query the capabilities of a layer
int PgGetLayerCaps( int layer, int format_index, PgLayerCaps_t *const caps );
This argument must not be NULL.
ph
PgGetLayerCaps() queries the capabilities of the given layer, in the given format. You can use the format_index to iterate through all of the available layer formats. An error is returned when format_index exceeds the number of supported formats.
Photon
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | No |
PdSetTargetDevice(), PgLayerCaps_t
“Layers” in the Raw Drawing and Animation chapter of the Photon Programmer's Guide