Properties:
Name | Type | Description |
---|---|---|
createCanvas |
(width: number, height: number) => ICanvas |
Returns a canvas object that can be used to create a webgl context. |
getBaseUrl |
() => string |
Returns the current base URL For browser environments this is either the document.baseURI or window.location.href |
getNavigator |
() => { userAgent : string } |
Returns a partial implementation of the browsers window.navigator |
getWebGLRenderingContext |
() => typeof WebGLRenderingContext |
Returns a webgl rendering context. |
Members
Returns a canvas object that can be used to create a webgl context.
Returns the current base URL For browser environments this is either the document.baseURI or window.location.href
Returns a partial implementation of the browsers window.navigator
Returns a webgl rendering context.