mirror of
https://github.com/photonstorm/phaser
synced 2024-12-19 09:34:02 +00:00
1 line
1.6 KiB
JSON
1 line
1.6 KiB
JSON
|
{"class":{"name":"PIXI.autoDetectRenderer","extends":"","static":true,"constructor":false,"parameters":[{"name":"width=800","type":["number"],"help":"the width of the renderers view","optional":false,"default":null},{"name":"height=600","type":["number"],"help":"the height of the renderers view","optional":false,"default":null},{"name":"[options]","type":["object"],"help":"The optional renderer parameters","optional":false,"default":null},{"name":"[options.view]","type":["HTMLCanvasElement"],"help":"the canvas to use as a view, optional","optional":false,"default":null},{"name":"[options.transparent=false]","type":["boolean"],"help":"If the render view is transparent, default false","optional":false,"default":null},{"name":"[options.antialias=false]","type":["boolean"],"help":"sets antialias (only applicable in chrome at the moment)","optional":false,"default":null},{"name":"[options.preserveDrawingBuffer=false]","type":["boolean"],"help":"enables drawing buffer preservation, enable this if you need to call toDataUrl on the webgl context","optional":false,"default":null},{"name":"[options.resolution=1]","type":["number"],"help":"the resolution of the renderer retina would be 2","optional":false,"default":null}],"help":"This helper function will automatically detect which renderer you should be using.\\nWebGL is the preferred renderer as it is a lot faster. If webGL is not supported by\\nthe browser then this function will return a canvas renderer\\n"},"consts":[],"methods":{"public":[],"protected":[],"private":[],"static":[]},"properties":{"public":[],"protected":[],"private":[]}}
|