@tolokoban/tgd
Version:
ToloGameDev library for WebGL2
13 lines • 627 B
TypeScript
import { TgdCodeBloc } from "../shader";
/**
* Copy data from one place to another,
* in memory.
* @see [MDN](https://developer.mozilla.org/en-US/docs/WebAssembly/Reference/Memory/Copy)
*/
export declare function wasm_memory_copy(from: TgdCodeBloc[], to: TgdCodeBloc[], length: TgdCodeBloc[]): TgdCodeBloc[];
/**
* Fill a region of memory with the same byte value.
* @see [MDN](https://developer.mozilla.org/en-US/docs/WebAssembly/Reference/Memory/Fill)
*/
export declare function wasm_memory_fill(from: TgdCodeBloc[], length: TgdCodeBloc[], fillByte?: TgdCodeBloc[]): TgdCodeBloc[];
//# sourceMappingURL=memory.d.ts.map