Model loading · function

isDds

Whether these bytes are a DDS at all. The magic, and nothing inferred from a file name.

Explained in Importing models.

function isDds(bytes: Uint8Array): boolean
import { isDds } from '@driftengine/assets';

Parameters

ParameterTypeDescription
bytesUint8Array