|
@@ -1,7 +1,7 @@
|
|
<!DOCTYPE html>
|
|
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<html lang="en">
|
|
<head>
|
|
<head>
|
|
- <meta charset="utf-8" />
|
|
|
|
|
|
+ <meta charset="utf-8" />
|
|
<base href="../../" />
|
|
<base href="../../" />
|
|
<script src="list.js"></script>
|
|
<script src="list.js"></script>
|
|
<script src="page.js"></script>
|
|
<script src="page.js"></script>
|
|
@@ -23,13 +23,15 @@
|
|
|
|
|
|
<div>
|
|
<div>
|
|
canvas — A [page:Canvas] where the renderer draws its output.<br />
|
|
canvas — A [page:Canvas] where the renderer draws its output.<br />
|
|
- precision — shader precision. Can be *"highp"*, *"mediump"* or *"lowp"*.<br />
|
|
|
|
|
|
+ context — The [page:RenderingContext] context to use.<br />
|
|
|
|
+ precision — Shader precision. Can be *"highp"*, *"mediump"* or *"lowp"*. Defaults to *"highp"* if supported by the device.<br />
|
|
alpha — [page:Boolean], default is *false*.<br />
|
|
alpha — [page:Boolean], default is *false*.<br />
|
|
premultipliedAlpha — [page:Boolean], default is *true*.<br />
|
|
premultipliedAlpha — [page:Boolean], default is *true*.<br />
|
|
antialias — [page:Boolean], default is *false*.<br />
|
|
antialias — [page:Boolean], default is *false*.<br />
|
|
stencil — [page:Boolean], default is *true*.<br />
|
|
stencil — [page:Boolean], default is *true*.<br />
|
|
preserveDrawingBuffer — [page:Boolean], default is *false*.<br />
|
|
preserveDrawingBuffer — [page:Boolean], default is *false*.<br />
|
|
- maxLights — [page:Integer], default is *4*.<br />
|
|
|
|
|
|
+ depth — [page:Boolean], default is *true*.<br />
|
|
|
|
+ logarithmicDepthBuffer — [page:Boolean], default is *false*.<br />
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<h2>Properties</h2>
|
|
<h2>Properties</h2>
|
|
@@ -70,10 +72,6 @@
|
|
<div>Note: Sorting is used to attempt to properly render objects that have some degree of transparency. By definition, sorting objects may not work in all cases. Depending on the needs of application, it may be neccessary to turn off sorting and use other methods to deal with transparency rendering e.g. manually determining the object rendering order.</div>
|
|
<div>Note: Sorting is used to attempt to properly render objects that have some degree of transparency. By definition, sorting objects may not work in all cases. Depending on the needs of application, it may be neccessary to turn off sorting and use other methods to deal with transparency rendering e.g. manually determining the object rendering order.</div>
|
|
|
|
|
|
|
|
|
|
- <h3>[property:Boolean autoUpdateObjects]</h3>
|
|
|
|
-
|
|
|
|
- <div>Defines whether the renderer should auto update objects. Default is true.</div>
|
|
|
|
-
|
|
|
|
<h3>[property:Boolean gammaInput]</h3>
|
|
<h3>[property:Boolean gammaInput]</h3>
|
|
|
|
|
|
<div>Default is false. If set, then it expects that all textures and colors are premultiplied gamma.</div>
|
|
<div>Default is false. If set, then it expects that all textures and colors are premultiplied gamma.</div>
|