![]() |
![]()
| ![]() |
![]()
NAMErendertarget_range - Limit the order- range of objects to render SYNOPSISbool:ok
DESCRIPTIONIn some render- and optimization scenarios one might want to only allow a certain set of objects to be rendered. Normally object hierarchies are ordered based on an order value, see order_image and the default rendering pipeline will process these objects according to that order, going from low to high. Using this function, a rendertarget (including the special WORLDID ) can be set to skip values that fall outside min <= val <= max. The objects will still have external storage and similar processing being synchronized, they will just not be considered when generating the rendertarget output. NOTES
EXAMPLEfunction rendertarget_range0() -- in this example, only the green object will be visible SEE ALSO:define_rendertarget(3) order_image(3) image_inherit_order(3)
|