Creates a new stylesheet resource from CSS source text.
The CSS source text.
Optionaluuid: UUIDOptional UUID for the resource.
OptionalisInternalConstructor: booleanHandle to the created stylesheet resource.
Returns a reference handle for this resource.
Determines if the resource is destroyed.
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.
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.