CAST II Game Engine |
||||||||
![]() |
MAIN | FEATURES | SCREENSHOTS | FORUMS | MANUAL | DOWNLOADS | CONTACTS | |
type IRefcountedContainer = interface
Create an instance with CreateRefcountedContainer. The container can be used to accumulate temporary objects and buffers. When no more references points to the container it destroys itself and all accumulated objects and buffers.
![]() | function AddObject(Obj: TObject): TObject; |
![]() | procedure AddObjects(Objs: array of TObject); |
![]() | function AddPointer(Ptr: Pointer): Pointer; |
![]() | procedure AddPointers(Ptrs: array of Pointer); |
![]() | function AddObject(Obj: TObject): TObject; |
Adds an object instance
![]() | procedure AddObjects(Objs: array of TObject); |
Adds an array of object instances
![]() | function AddPointer(Ptr: Pointer): Pointer; |
Adds a memory buffer
![]() | procedure AddPointers(Ptrs: array of Pointer); |
Adds an array of memory buffers
|
Last modified: Jan 6, 2010 |