Creates a new stylesheet resource from CSS source text.
The CSS source text.
Optionaluuid: UUID
Optional UUID for the resource.
OptionalisInternalConstructor: booleanHandle to the created stylesheet resource.
Returns a reference handle for this resource.
Returns true if the stylesheet is empty.
Returns the meta data of this resource.
Name of the resource. Use primarily for easier identification and not important to the engine itself.
Returns the number of style rules.
Gets the raw CSS source text.
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.
Virtual
Method called by RSX to perform actions required after the creation of the resource.
Forcefully unloads the resource.
A parsed CSS stylesheet resource.
Contains style rules, at-rules, and CSS variables with efficient indexing for selector matching. The raw CSS source text is stored for serialization; parsed data is rebuilt on deserialization.