Returns a canvas object that can be used to create a webgl context.
Optional
options: RequestInitReturns the current base URL For browser environments this is either the document.baseURI or window.location.href
Returns a 2D rendering context.
Returns a partial implementation of the browsers window.navigator
Returns a WebGL rendering context.
Readonly
ACTIVE_Readonly
ACTIVE_Readonly
ACTIVE_Readonly
ALIASED_Readonly
ALIASED_Readonly
ALPHA: 6406Readonly
ALPHA_Readonly
ALWAYS: 519Readonly
ARRAY_Readonly
ARRAY_Readonly
ATTACHED_Readonly
BACK: 1029Readonly
BLEND: 3042Readonly
BLEND_Readonly
BLEND_Readonly
BLEND_Readonly
BLEND_Readonly
BLEND_Readonly
BLEND_Readonly
BLEND_Readonly
BLEND_Readonly
BLUE_Readonly
BOOL: 35670Readonly
BOOL_Readonly
BOOL_Readonly
BOOL_Readonly
BROWSER_Readonly
BUFFER_Readonly
BUFFER_Readonly
BYTE: 5120Readonly
CCW: 2305Readonly
CLAMP_Readonly
COLOR_Readonly
COLOR_Readonly
COLOR_Readonly
COLOR_Readonly
COMPILE_Readonly
COMPRESSED_Readonly
CONSTANT_Readonly
CONSTANT_Readonly
CONTEXT_Readonly
CULL_Readonly
CULL_Readonly
CURRENT_Readonly
CURRENT_Readonly
CW: 2304Readonly
DECR: 7683Readonly
DECR_Readonly
DELETE_Readonly
DEPTH_Readonly
DEPTH_Readonly
DEPTH_Readonly
DEPTH_Readonly
DEPTH_Readonly
DEPTH_Readonly
DEPTH_Readonly
DEPTH_Readonly
DEPTH_Readonly
DEPTH_Readonly
DEPTH_Readonly
DEPTH_Readonly
DITHER: 3024Readonly
DONT_Readonly
DST_Readonly
DST_Readonly
DYNAMIC_Readonly
ELEMENT_Readonly
ELEMENT_Readonly
EQUAL: 514Readonly
FASTEST: 4353Readonly
FLOAT: 5126Readonly
FLOAT_Readonly
FLOAT_Readonly
FLOAT_Readonly
FLOAT_Readonly
FLOAT_Readonly
FLOAT_Readonly
FRAGMENT_Readonly
FRAMEBUFFER: 36160Readonly
FRAMEBUFFER_Readonly
FRAMEBUFFER_Readonly
FRAMEBUFFER_Readonly
FRAMEBUFFER_Readonly
FRAMEBUFFER_Readonly
FRAMEBUFFER_Readonly
FRAMEBUFFER_Readonly
FRAMEBUFFER_Readonly
FRAMEBUFFER_Readonly
FRAMEBUFFER_Readonly
FRONT: 1028Readonly
FRONT_Readonly
FRONT_Readonly
FUNC_Readonly
FUNC_Readonly
FUNC_Readonly
GENERATE_Readonly
GEQUAL: 518Readonly
GREATER: 516Readonly
GREEN_Readonly
HIGH_Readonly
HIGH_Readonly
IMPLEMENTATION_Readonly
IMPLEMENTATION_Readonly
INCR: 7682Readonly
INCR_Readonly
INT: 5124Readonly
INT_Readonly
INT_Readonly
INT_Readonly
INVALID_Readonly
INVALID_Readonly
INVALID_Readonly
INVALID_Readonly
INVERT: 5386Readonly
KEEP: 7680Readonly
LEQUAL: 515Readonly
LESS: 513Readonly
LINEAR: 9729Readonly
LINEAR_Readonly
LINEAR_Readonly
LINES: 1Readonly
LINE_Readonly
LINE_Readonly
LINE_Readonly
LINK_Readonly
LOW_Readonly
LOW_Readonly
LUMINANCE: 6409Readonly
LUMINANCE_Readonly
MAX_Readonly
MAX_Readonly
MAX_Readonly
MAX_Readonly
MAX_Readonly
MAX_Readonly
MAX_Readonly
MAX_Readonly
MAX_Readonly
MAX_Readonly
MAX_Readonly
MEDIUM_Readonly
MEDIUM_Readonly
MIRRORED_Readonly
NEAREST: 9728Readonly
NEAREST_Readonly
NEAREST_Readonly
NEVER: 512Readonly
NICEST: 4354Readonly
NONE: 0Readonly
NOTEQUAL: 517Readonly
NO_Readonly
ONE: 1Readonly
ONE_Readonly
ONE_Readonly
ONE_Readonly
ONE_Readonly
ONE_Readonly
ONE_Readonly
OUT_Readonly
PACK_Readonly
POINTS: 0Readonly
POLYGON_Readonly
POLYGON_Readonly
POLYGON_Readonly
RED_Readonly
RENDERBUFFER: 36161Readonly
RENDERBUFFER_Readonly
RENDERBUFFER_Readonly
RENDERBUFFER_Readonly
RENDERBUFFER_Readonly
RENDERBUFFER_Readonly
RENDERBUFFER_Readonly
RENDERBUFFER_Readonly
RENDERBUFFER_Readonly
RENDERBUFFER_Readonly
RENDERBUFFER_Readonly
RENDERER: 7937Readonly
REPEAT: 10497Readonly
REPLACE: 7681Readonly
RGB: 6407Readonly
RGB565: 36194Readonly
RGB5_Readonly
RGBA: 6408Readonly
RGBA4: 32854Readonly
SAMPLER_Readonly
SAMPLER_Readonly
SAMPLES: 32937Readonly
SAMPLE_Readonly
SAMPLE_Readonly
SAMPLE_Readonly
SAMPLE_Readonly
SAMPLE_Readonly
SCISSOR_Readonly
SCISSOR_Readonly
SHADER_Readonly
SHADING_Readonly
SHORT: 5122Readonly
SRC_Readonly
SRC_Readonly
SRC_Readonly
STATIC_Readonly
STENCIL_Readonly
STENCIL_Readonly
STENCIL_Readonly
STENCIL_Readonly
STENCIL_Readonly
STENCIL_Readonly
STENCIL_Readonly
STENCIL_Readonly
STENCIL_Readonly
STENCIL_Readonly
STENCIL_Readonly
STENCIL_Readonly
STENCIL_Readonly
STENCIL_Readonly
STENCIL_Readonly
STENCIL_Readonly
STENCIL_Readonly
STENCIL_Readonly
STENCIL_Readonly
STENCIL_Readonly
STREAM_Readonly
SUBPIXEL_Readonly
TEXTURE: 5890Readonly
TEXTURE0: 33984Readonly
TEXTURE1: 33985Readonly
TEXTURE10: 33994Readonly
TEXTURE11: 33995Readonly
TEXTURE12: 33996Readonly
TEXTURE13: 33997Readonly
TEXTURE14: 33998Readonly
TEXTURE15: 33999Readonly
TEXTURE16: 34000Readonly
TEXTURE17: 34001Readonly
TEXTURE18: 34002Readonly
TEXTURE19: 34003Readonly
TEXTURE2: 33986Readonly
TEXTURE20: 34004Readonly
TEXTURE21: 34005Readonly
TEXTURE22: 34006Readonly
TEXTURE23: 34007Readonly
TEXTURE24: 34008Readonly
TEXTURE25: 34009Readonly
TEXTURE26: 34010Readonly
TEXTURE27: 34011Readonly
TEXTURE28: 34012Readonly
TEXTURE29: 34013Readonly
TEXTURE3: 33987Readonly
TEXTURE30: 34014Readonly
TEXTURE31: 34015Readonly
TEXTURE4: 33988Readonly
TEXTURE5: 33989Readonly
TEXTURE6: 33990Readonly
TEXTURE7: 33991Readonly
TEXTURE8: 33992Readonly
TEXTURE9: 33993Readonly
TEXTURE_Readonly
TEXTURE_Readonly
TEXTURE_Readonly
TEXTURE_Readonly
TEXTURE_Readonly
TEXTURE_Readonly
TEXTURE_Readonly
TEXTURE_Readonly
TEXTURE_Readonly
TEXTURE_Readonly
TEXTURE_Readonly
TEXTURE_Readonly
TEXTURE_Readonly
TEXTURE_Readonly
TRIANGLES: 4Readonly
TRIANGLE_Readonly
TRIANGLE_Readonly
UNPACK_Readonly
UNPACK_Readonly
UNPACK_Readonly
UNPACK_Readonly
UNSIGNED_Readonly
UNSIGNED_Readonly
UNSIGNED_Readonly
UNSIGNED_Readonly
UNSIGNED_Readonly
UNSIGNED_Readonly
VALIDATE_Readonly
VENDOR: 7936Readonly
VERSION: 7938Readonly
VERTEX_Readonly
VERTEX_Readonly
VERTEX_Readonly
VERTEX_Readonly
VERTEX_Readonly
VERTEX_Readonly
VERTEX_Readonly
VERTEX_Readonly
VIEWPORT: 2978Readonly
ZERO: 0Generated using TypeDoc
This interface describes all the DOM dependent calls that Pixi makes throughout its codebase. Implementations of this interface can be used to make sure Pixi will work in any environment, such as browser, Web Workers, and Node.js.
Memberof
PIXI