LogoPixi’VN
pixi-jsFunctions

Function: setKTXTranscoderPath()

> setKTXTranscoderPath(config): void

Defined in: node_modules/pixi.js/lib/compressed-textures/ktx2/utils/setKTXTranscoderPath.d.ts:18

Sets the paths for the KTX transcoder library.

Parameters

config

Partial<typeof ktxTranscoderUrls>

Partial configuration object to set custom paths for the KTX transcoder. This allows you to override the default URLs for the KTX transcoder library.

Returns

void

Advanced