BRender Technical Reference Manual:4 Data Structures (Alphabetical Reference):br_map_enum_cbfn
Next|Prev|Up
The Call-Back Function
Specification
CBFnMapEnum()

br_map_enum_cbfn


The Call-Back Function

This type defines a function, supplied to BrMapEnum()
289, and to be called by it for a selection of maps.

The typedef

(See fwproto.h for a precise declaration)

br_uint_32 br_map_enum_cbfn(br_pixelmap*,void*) Enumerator

Specification


CBFnMapEnum()

Description:
An application defined call-back function accepting a pixel map and an application supplied argument (as supplied to BrMapEnum()
289).

Declaration:
br_uint_32 BR_CALLBACK CBFnMapEnum(br_pixelmap* map, void* arg)

Arguments:
br_pixelmap * map

One of the maps selected by BrMapEnum()289.

void * arg

The argument supplied to BrMapEnum()289.

Preconditions:
BRender has completed initialisation.

Effects:
Application defined. Avoid adding or removing maps within this function.

Result:
br_uint_32

Any non-zero value will terminate the enumeration and be returned by BrMapEnum()289. Return zero to continue the enumeration.

See Also:
BrMapEnum()289, BrMapFind()289.



Generated with CERN WebMaker