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

br_actor_enum_cbfn


The Call-Back Function

This type defines a function, supplied to BrActorEnum()
90, and to be called by it for an actor's children.

The typedef

(See fwproto.h for a precise declaration)

br_uint_32 br_actor_enum_cbfn(br_actor*, void*) Enumerator

Specification


CBFnActorEnum()

Description:
An application defined call-back function accepting an actor and an application supplied argument (as supplied to BrActorEnum()
90).

Declaration:
br_uint_32 BR_CALLBACK CBFnActorEnum(br_actor* a, void* arg)

Arguments:
br_actor * a

One of the child actors enumerated by BrActorEnum()90.

void * arg

The argument supplied to BrActorEnum()90.

Preconditions:
BRender has completed initialisation.

Effects:
Application defined. Avoid adding or removing children to the parent actor within this function.

Result:
br_uint_32

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

See Also:
BrActorEnum()90, BrActorSearch()91.



Generated with CERN WebMaker