UNPKG

@babylonjs/core

Version:

Getting started? Play directly with the Babylon.js API using our [playground](https://playground.babylonjs.com/). It also contains a lot of samples to learn how to use it.

27 lines (26 loc) 762 B
/** * Options to load the associated Twgsl library */ export interface TwgslOptions { /** * Defines an existing instance of Twgsl (useful in modules who do not access the global instance). */ twgsl?: any; /** * Defines the URL of the twgsl JS File. */ jsPath?: string; /** * Defines the URL of the twgsl WASM File. */ wasmPath?: string; } /** @internal */ export declare class WebGPUTintWASM { private static readonly _TwgslDefaultOptions; static ShowWGSLShaderCode: boolean; static DisableUniformityAnalysis: boolean; private static _Twgsl; initTwgsl(twgslOptions?: TwgslOptions): Promise<void>; convertSpirV2WGSL(code: Uint32Array, disableUniformityAnalysis?: boolean): string; }