* Class: Gfx3MeshPool
#author("2024-02-10T19:12:23+00:00","","")

** Constructors
- ''new Gfx3MeshPool''(originMesh: Gfx3Mesh, numInstances: number): Gfx3MeshPool~
-- ''originMesh''~
-- ''numInstances''~
** Methods
- ''acquire''()~
The "acquire" function returns an available `MeshInstance` from a list of instances, setting its
position, scale, and rotation to zero and marking it as used.~
~
- ''delete''(): void~
The "delete" function free all resources.
Warning: you need to call this method to free allocation for this object.~
~
- ''dispose''(instance: MeshInstance): void~
The "dispose" function marks a MeshInstance as unused.~
-- ''instance'': The `instance` parameter is the instance to dispose.~
~
- ''draw''(): void~
The "draw" function.~
~
- ''find''(id: number)~
The "find" function returns a MeshInstance object with a specific id or undefined if no matching
object is found.~
-- ''id'': The `id` parameter is instance id.~
~
- ''update''(ts: number): void~
The "update" function.~
-- ''ts'': The `ts` parameter stands for "timestep".~


Front page   Edit Diff History Attach Copy Rename Reload   New Page list Search Recent changes   Help   RSS of recent changes