Module mesh_library

Procs

proc createItem(self: MeshLibrary; id: int64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc setItemName(self: MeshLibrary; id: int64; name: string) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc setItemMesh(self: MeshLibrary; id: int64; mesh: Mesh) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc setItemNavmesh(self: MeshLibrary; id: int64; navmesh: NavigationMesh) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc setItemShapes(self: MeshLibrary; id: int64; shapes: Array) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc setItemPreview(self: MeshLibrary; id: int64; texture: Texture) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getItemName(self: MeshLibrary; id: int64): string {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getItemMesh(self: MeshLibrary; id: int64): Mesh {.
gcsafe, locks: 0, raises: [Exception], tags: [RootEffect]
.}
proc getItemNavmesh(self: MeshLibrary; id: int64): NavigationMesh {.
gcsafe, locks: 0, raises: [Exception], tags: [RootEffect]
.}
proc getItemShapes(self: MeshLibrary; id: int64): Array {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getItemPreview(self: MeshLibrary; id: int64): Texture {.
gcsafe, locks: 0, raises: [Exception], tags: [RootEffect]
.}
proc removeItem(self: MeshLibrary; id: int64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc findItemByName(self: MeshLibrary; name: string): int64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc clear(self: MeshLibrary) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getItemList(self: MeshLibrary): PoolIntArray {.
gcsafe, locks: 0, raises: [Exception], tags: [RootEffect]
.}
proc getLastUnusedItemId(self: MeshLibrary): int64 {.
gcsafe, locks: 0, raises: [], tags: []
.}