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

br_model_enum_cbfn


The Call-Back Function

This type defines a function, supplied to BrModelEnum()
240, and to be called by it for a selection of models.

The typedef

(See fwproto.h for a precise declaration)

br_uint_32 br_model_enum_cbfn(br_model*, void*) Enumerator

Specification


CBFnModelEnum()

Description:
An application defined call-back function accepting a model and an application supplied argument (as supplied to BrModelEnum()
240).

Declaration:
br_uint_32 BR_CALLBACK CBFnModelEnum(br_model* model, void* arg)

Arguments:
br_model * model

One of the models selected by BrModelEnum()240.

void * arg

The argument supplied to BrModelEnum()240.

Preconditions:
BRender has completed initialisation.

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

Result:
br_uint_32

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

See Also:
BrModelEnum()240, BrModelFind()240.



Generated with CERN WebMaker