Creates a new Shape from an existing svgFileContents.
Returns a reference handle for this resource.
Gets the shape hash. Useful to check if two shapes are equal.
Returns the meta data of this resource.
Name of the resource. Use primarily for easier identification and not important to the engine itself.
The shape path.
Returns a universally unique identifier of this resource.
Duplicates the resource and creates a unique UUID for the duplicated resource.
The duplicated resource or null, if the duplication failed.
Compares two shapes to check for equality.
Virtual
Method called by RSX to perform actions required after the creation of the resource.
Forcefully unloads the resource.
A shape is an object that uses mathematical and vector descriptions to be drawn. It can, theoretically, be scaled indefinitely.
Shapes can be rendered to a texture. The Shape object holds the list of all commands that need to be executed by the system to render the shape. You can submit a shape for rendering using it's method.