AbstractStaticclearClears all cached data, including textures, meshes, and shader code.
StaticgetStaticgetStaticgetRetrieves mesh data parsed from an OBJ file from the cache or loads, parses, and caches it if not present.
The URI of the OBJ file. *
StaticgetStaticgetRetrieves a 2D texture from the cache or loads and caches it if not present.
The URI of the texture. *
Optionalgl: WebGL2RenderingContextThe WebGL2 rendering context. *
StaticgetRetrieves a Cube texture from the cache or loads and caches it if not present.
Optionalgl: WebGL2RenderingContextThe WebGL2 rendering context. *
StaticgetRetrieves a default white texture from the cache or loads and caches it if not present. This texture is loaded from "assets/default/white.jpg".
The WebGL2 rendering context.
StaticgetRetrieves a default white cubemap texture from the cache, maintaining the URI signature for engine compatibility.
Optionalgl: WebGL2RenderingContextThe WebGL2 rendering context.
StaticloadRetrieves shader source code from the cache or loads and caches it if not present.
The URI of the shader source file. *
StaticreleaseStaticset
A static class that manages the caching of various engine assets such as textures, meshes, and shader code. *