Used to show the available keys in the Manager. Mostly used for import.
Represents the store of the data.
Holds the instance of the GeometryManager.
Returns all saved values.
Returns the instance of the Manager or creates a new one if there is none. Only one instance is allowed.
Saves a value in the Manager. Overrides existing values of the key.
The key of the value
The value to be saved
Adds a value if it not already exists within the storage.
The key of the value
The value to be saved
Checks if a key exists in the storage.
The key to be checked.
Returns the value of a key or undefined if the key not exists.
The key of the value to be returned.
Imports data of another GeometrieManager into this one. Everything created anew cause JSON-serializing causes the loss of methods.
OpenGL Context to create the geometries anew.
The data of the geometries to import.
Checks if the geometry is a Box.
The geometry to be checked.
Checks if the geometry is a Model.
The geometry to be checked.
Checks if the geometry is a Plane.
The geometry to be checked.
Checks if the geometry is a Pyramid.
The geometry to be checked.
Checks if the geometry is a Sphere.
The geometry to be checked.
Checks if the geometry is a TextureBox.
The geometry to be checked.
Checks if the geometry is a TexturePlane.
The geometry to be checked.
Removes a certain key from the storage.
The key of the value to be removed.
Generated using TypeDoc
Helps to avoid doubled Geometries and so hopefully preserves some GPU-Memory. All geometries should be retrieved only from the Geometrymanager by their respective key.