LogoPixi’VN
coreNamespacesLive2DCubismCoreClasses

Class: Memory

Defined in: node_modules/untitled-pixi-live2d-engine/types/index.d.ts:488

Memory functions.

Methods

initializeAmountOfMemory()

> static initializeAmountOfMemory(size): void

Defined in: node_modules/untitled-pixi-live2d-engine/types/index.d.ts:498

HACK: Extend memory size allocated during module initialization. If the specified size is less than or equal to 16777216(byte), the default of 16 MB is allocated.

Parameters

size

number

allocated memory size [byte(s)]

Returns

void

See

https://github.com/emscripten-core/emscripten/blob/main/src/settings.js#L161

On this page