r3mapsrc
real/raytr/r3mapsrc.h
r3raytr
The base class of objects which act as targets for mappings (see r3frmapp.h). Materials, effects etc. can be associated with objects using mapping objects.
r3Frlibobject
R3CLID_FRLIBOBJECT
r3Frmapsource
R3CLID_FRMAPSOURCE - 705
EVALUATE, ENUMOUTPUTCHANNELS, ENUMINPUTCHANNELS, PHASEQUERY, FILTERENUM,
int R3RegisterFrMappingSourceClass(R3APP *app);
R3FRMSRCM_EVALUATE
EVALUATE
R3FRMSRCM_EVALUATE
R3INT, phase to be evaluated
R3OBJ*, address of the parent map object
obj.EVALUATE(p1, p2, 0);
evaluate the object at given phase
R3FRMSRCM_ENUMOUTPUTCHANNELS
ENUMOUTPUTCHANNELS
R3FRMSRCM_ENUMOUTPUTCHANNELS
R3OBJ*, callback object
R3INT, phase mask. Only channels in defined phases will be reported. A particular phase is * indicated by 1<<phaseindex. 0xFFFFFFFF includes all phases.
R3INT, callback method
obj.ENUMOUTPUTCHANNELS(p1, p2, p3);
Report channels which this object affects by * R3SendMsgA3(msg, p1, phasebits, channelname) where phasebits is union of all bits * (1<<activephase), where activephase is the phase(s) where the object is operational
R3FRMSRCM_ENUMINPUTCHANNELS
ENUMINPUTCHANNELS
R3FRMSRCM_ENUMINPUTCHANNELS
obj.ENUMINPUTCHANNELS();
Report input channels which this object affects, see ENUMOUTPUTCHANNELS above.
R3FRMSRCM_PHASEQUERY
PHASEQUERY
R3FRMSRCM_PHASEQUERY
R3INT*, integer whose bits corresponging each used phase index should be enabled. !!! Add the bits using OR operation !!! p3 |= mybits
obj.PHASEQUERY(p3);
Asks which evaluation phases are being used
R3FRMSRCM_FILTERENUM
FILTERENUM
R3FRMSRCM_FILTERENUM
R3OBJ*, callback target
R3INT*, callback method
R3INT, phase bits to filter objects. Do callback only for objects evaluated in these phases
obj.FILTERENUM(p1, p2, p3);
Enumerate objects hierarchically R3DoA(p1, p3, enumerated_obj)
CALLBACK SYSTEM IS NO LONGER IN USE typedef struct r3frmat_evalcallbackmsg { R3OBJ *obj; int method; } R3FRMSRC_EVALCALLBACKMSG;
/
r3appobj *