Renderer · function
isCompressedSource
Whether source is a compressed source rather than an image.
Explained in Hello world.
function isCompressedSource(source: unknown): source is CompressedTextureSourceimport { isCompressedSource } from '@driftengine/core';Parameters
| Parameter | Type | Description |
|---|---|---|
source | unknown |