![]() |
![]()
| ![]() |
![]()
NAMEimage_framesetsize - Allocate slots for multi-frame objects. SYNOPSISnil
DESCRIPTIONObjects can have a frameset associated with them. A frameset is comprised of references to vstores that have been acquired from other pre-existing objects, including the source object itself. This mechanism works similarly to image_sharestorage and the lifecycle of the frameset association is tied to the supplied vid . This can be used for applications e.g. multitexturing, animations, texturing complex 3D models and as a round-robin storage for dynamic data sources (effectively giving access to previous frames). mode is FRAMESET_SPLIT , other options are FRAMESET_MULTITEXTURE . FRAMESET_SPLIT only has one active frame, like any other video object (and then relies on framecyclemode or manually selecting visible frame by explicitly calling image_active_frame). FRAMESET_MULTITEXTURE tries to split the frameset across multiple texture units. These can be accessed in a shader through the samplers map_tu0, map_tu1 etc. NOTES
EXAMPLEfunction image_framesetsize0() SEE ALSO:set_image_as_frame(3) image_framesetsize(3) image_framecyclemode(3) image_active_frame(3)
|