@awayjs/stage
Version:
Stage for AwayJS
44 lines • 1.16 kB
TypeScript
export declare const enum ContextWebGLVersion {
WEBGL = 1,
WEBGL2 = 2
}
export declare const enum ContextWebGLPreference {
/**
* Not allowed
*/
NONE = 0,
/**
* For POT and nPOT textures
*/
ALL_TEXTURES = 1,
/**
* Only for POT textures or WebGl2
*/
POT_TEXTURES = 2
}
export declare const ContextWebGLFlags: {
/**
* Preferred WebGL version for rendering
* @default 2
* @deprecated Use Settings.PREF_WEBGL_VERSION
*/
PREF_VERSION: number;
/**
* Preferred multisample for webgl2 on rendertargets.
* @deprecated Use Settings.ENABLE_MULTISAMPLE_TEXTURE
* @default true
*/
PREF_MULTISAMPLE: boolean;
/**
* Preferred mipmaps for textures
* @default ALL
*/
PREF_MIPMAP: ContextWebGLPreference;
/**
* Preferred repeate wrapping for all type of textures, on webg1 will throw a warn for nPOT textures
* ContextWebGLPreference.POT_TEXTURES will allow only for POT textures on WebGL1
* @default ALL_TEXTURES
*/
PREF_REPEAT_WRAP: ContextWebGLPreference;
};
//# sourceMappingURL=ContextWebGLFlags.d.ts.map