diff --git a/README.md b/README.md index 7713219..9cb07b2 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,4 @@ -

- SDF-2D logo - SDF-2D library -

+# ![SDF-2D logo](media/logo-colored.svg) SDF-2D library A graphics library to enable the rendering of 2D signed distance fields (SDF-s) on web. @@ -151,6 +148,6 @@ We'll be using the files and directory structure created in the [minimal example The result of the above instructions can also be found [in this repository](https://github.com/schmelczerandras/sdf-2d-more-complex-example) and the finished website is [available here](https://schmelczerandras.github.io/sdf-2d-more-complex-example/dist/index.html). -## Real life example +## Real life example The source code for the [demo page](https://sdf2d.schmelczer.dev) of this library is available [here, on GitHub](https://github.com/schmelczerandras/sdf-2d-demo). diff --git a/custom.d.ts b/custom.d.ts index fa0c7d4..f1f7948 100644 --- a/custom.d.ts +++ b/custom.d.ts @@ -1,3 +1,4 @@ +/** @internal */ declare module '*.glsl' { const content: string; export default content; diff --git a/docs-source/README.md b/docs-source/README.md new file mode 100644 index 0000000..99254de --- /dev/null +++ b/docs-source/README.md @@ -0,0 +1,49 @@ +# ![SDF-2D logo](../docs/media/logo-colored.svg) Documentation + +Background and more in depth information about the rendring techniques can be found in [this technical report](media/sdf-2d.pdf). + +## Links + +- [Repository](https://github.com/schmelczerandras/sdf-2d) +- [Demo](https://sdf2d.schmelczer.dev/) +- [Minimal example](https://github.com/schmelczerandras/sdf-2d-minimal-example) +- [More complex example](https://github.com/schmelczerandras/sdf-2d-minimal-example) + +## Important to know + +### Coordinates + +Anywhere, where positions need to specified, the `y` values grow upwards, so are the `x` values. That means, when specifying the view area, the origin is at the bottom left corner of the display. + +### Tile-based rendering + +For optimising the evaluation of the distance field, the display is divided up into a grid of tiles. The shader for each tile is compiled to support a fix maximum number of objects on it. When using the built-in drawables, it is possible that after a certain number of on-screen objects, new ones won't be visible. + +Mitigating this issue is quite easy. Instead of the following code: + +```js +this.renderer = await compile(canvas, [Circle.descriptor, CircleLight.descriptor]); +``` + +Modify it to something similar: + +```js +this.renderer = await compile(canvas, [ + { + ...Circle.descriptor, + shaderCombinationSteps: [0, 1, 2, 24, 64], + }, + { + ...CircleLight.descriptor, + shaderCombinationSteps: [0, 1, 2, 4], + }, +]); +``` + +The usage of too large numbers is not advised for compatibility and performance reasons alike. + +> Steps are very useful for tile-based rendering, because it is possible for one tile (at a given moment) to be empty or contain just a few objects, while others have a large cluster of objects. The compiled shaders only take into account the necesseary number of objects on each tiles. + +## Usage + +To start using cutting-edge 2D graphics, first you have get a renderer instance. This is possible by calling the [compile function](globals.html#compile). diff --git a/docs/assets/css/main.css b/docs/assets/css/main.css new file mode 100644 index 0000000..3c0dcab --- /dev/null +++ b/docs/assets/css/main.css @@ -0,0 +1 @@ +/*! normalize.css v1.1.3 | MIT License | git.io/normalize */article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}audio,canvas,video{display:inline-block;*display:inline;*zoom:1}audio:not([controls]){display:none;height:0}[hidden]{display:none}html{font-size:100%;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;font-family:sans-serif}button,input,select,textarea{font-family:sans-serif}body{margin:0}a:focus{outline:thin dotted}a:active,a:hover{outline:0}h1{font-size:2em;margin:.67em 0}h2{font-size:1.5em;margin:.83em 0}h3{font-size:1.17em;margin:1em 0}h4,.tsd-index-panel h3{font-size:1em;margin:1.33em 0}h5{font-size:.83em;margin:1.67em 0}h6{font-size:.67em;margin:2.33em 0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}blockquote{margin:1em 40px}dfn{font-style:italic}hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0}mark{background:#ff0;color:#000}p,pre{margin:1em 0}code,kbd,pre,samp{font-family:monospace,serif;_font-family:"courier new",monospace;font-size:1em}pre{white-space:pre;white-space:pre-wrap;word-wrap:break-word}q{quotes:none}q:before,q:after{content:"";content:none}small{font-size:80%}sub{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline;top:-0.5em}sub{bottom:-0.25em}dl,menu,ol,ul{margin:1em 0}dd{margin:0 0 0 40px}menu,ol,ul{padding:0 0 0 40px}nav ul,nav ol{list-style:none;list-style-image:none}img{border:0;-ms-interpolation-mode:bicubic}svg:not(:root){overflow:hidden}figure,form{margin:0}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0;white-space:normal;*margin-left:-7px}button,input,select,textarea{font-size:100%;margin:0;vertical-align:baseline;*vertical-align:middle}button,input{line-height:normal}button,select{text-transform:none}button,html input[type=button]{-webkit-appearance:button;cursor:pointer;*overflow:visible}input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer;*overflow:visible}button[disabled],html input[disabled]{cursor:default}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0;*height:13px;*width:13px}input[type=search]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}textarea{overflow:auto;vertical-align:top}table{border-collapse:collapse;border-spacing:0}.hljs{display:inline-block;padding:.5em;background:#fff;color:#000}.hljs-comment,.hljs-annotation,.hljs-template_comment,.diff .hljs-header,.hljs-chunk,.apache .hljs-cbracket{color:green}.hljs-keyword,.hljs-id,.hljs-built_in,.css .smalltalk .hljs-class,.hljs-winutils,.bash .hljs-variable,.tex .hljs-command,.hljs-request,.hljs-status,.nginx .hljs-title{color:blue}.xml .hljs-tag{color:blue}.xml .hljs-tag .hljs-value{color:blue}.hljs-string,.hljs-title,.hljs-parent,.hljs-tag .hljs-value,.hljs-rules .hljs-value{color:#a31515}.ruby .hljs-symbol{color:#a31515}.ruby .hljs-symbol .hljs-string{color:#a31515}.hljs-template_tag,.django .hljs-variable,.hljs-addition,.hljs-flow,.hljs-stream,.apache .hljs-tag,.hljs-date,.tex .hljs-formula,.coffeescript .hljs-attribute{color:#a31515}.ruby .hljs-string,.hljs-decorator,.hljs-filter .hljs-argument,.hljs-localvars,.hljs-array,.hljs-attr_selector,.hljs-pseudo,.hljs-pi,.hljs-doctype,.hljs-deletion,.hljs-envvar,.hljs-shebang,.hljs-preprocessor,.hljs-pragma,.userType,.apache .hljs-sqbracket,.nginx .hljs-built_in,.tex .hljs-special,.hljs-prompt{color:#2b91af}.hljs-phpdoc,.hljs-javadoc,.hljs-xmlDocTag{color:gray}.vhdl .hljs-typename{font-weight:bold}.vhdl .hljs-string{color:#666}.vhdl .hljs-literal{color:#a31515}.vhdl .hljs-attribute{color:#00b0e8}.xml .hljs-attribute{color:red}ul.tsd-descriptions>li>:first-child,.tsd-panel>:first-child,.col>:first-child,.col-11>:first-child,.col-10>:first-child,.col-9>:first-child,.col-8>:first-child,.col-7>:first-child,.col-6>:first-child,.col-5>:first-child,.col-4>:first-child,.col-3>:first-child,.col-2>:first-child,.col-1>:first-child,ul.tsd-descriptions>li>:first-child>:first-child,.tsd-panel>:first-child>:first-child,.col>:first-child>:first-child,.col-11>:first-child>:first-child,.col-10>:first-child>:first-child,.col-9>:first-child>:first-child,.col-8>:first-child>:first-child,.col-7>:first-child>:first-child,.col-6>:first-child>:first-child,.col-5>:first-child>:first-child,.col-4>:first-child>:first-child,.col-3>:first-child>:first-child,.col-2>:first-child>:first-child,.col-1>:first-child>:first-child,ul.tsd-descriptions>li>:first-child>:first-child>:first-child,.tsd-panel>:first-child>:first-child>:first-child,.col>:first-child>:first-child>:first-child,.col-11>:first-child>:first-child>:first-child,.col-10>:first-child>:first-child>:first-child,.col-9>:first-child>:first-child>:first-child,.col-8>:first-child>:first-child>:first-child,.col-7>:first-child>:first-child>:first-child,.col-6>:first-child>:first-child>:first-child,.col-5>:first-child>:first-child>:first-child,.col-4>:first-child>:first-child>:first-child,.col-3>:first-child>:first-child>:first-child,.col-2>:first-child>:first-child>:first-child,.col-1>:first-child>:first-child>:first-child{margin-top:0}ul.tsd-descriptions>li>:last-child,.tsd-panel>:last-child,.col>:last-child,.col-11>:last-child,.col-10>:last-child,.col-9>:last-child,.col-8>:last-child,.col-7>:last-child,.col-6>:last-child,.col-5>:last-child,.col-4>:last-child,.col-3>:last-child,.col-2>:last-child,.col-1>:last-child,ul.tsd-descriptions>li>:last-child>:last-child,.tsd-panel>:last-child>:last-child,.col>:last-child>:last-child,.col-11>:last-child>:last-child,.col-10>:last-child>:last-child,.col-9>:last-child>:last-child,.col-8>:last-child>:last-child,.col-7>:last-child>:last-child,.col-6>:last-child>:last-child,.col-5>:last-child>:last-child,.col-4>:last-child>:last-child,.col-3>:last-child>:last-child,.col-2>:last-child>:last-child,.col-1>:last-child>:last-child,ul.tsd-descriptions>li>:last-child>:last-child>:last-child,.tsd-panel>:last-child>:last-child>:last-child,.col>:last-child>:last-child>:last-child,.col-11>:last-child>:last-child>:last-child,.col-10>:last-child>:last-child>:last-child,.col-9>:last-child>:last-child>:last-child,.col-8>:last-child>:last-child>:last-child,.col-7>:last-child>:last-child>:last-child,.col-6>:last-child>:last-child>:last-child,.col-5>:last-child>:last-child>:last-child,.col-4>:last-child>:last-child>:last-child,.col-3>:last-child>:last-child>:last-child,.col-2>:last-child>:last-child>:last-child,.col-1>:last-child>:last-child>:last-child{margin-bottom:0}.container{max-width:1200px;margin:0 auto;padding:0 40px}@media(max-width: 640px){.container{padding:0 20px}}.container-main{padding-bottom:200px}.row{display:flex;position:relative;margin:0 -10px}.row:after{visibility:hidden;display:block;content:"";clear:both;height:0}.col,.col-11,.col-10,.col-9,.col-8,.col-7,.col-6,.col-5,.col-4,.col-3,.col-2,.col-1{box-sizing:border-box;float:left;padding:0 10px}.col-1{width:8.3333333333%}.offset-1{margin-left:8.3333333333%}.col-2{width:16.6666666667%}.offset-2{margin-left:16.6666666667%}.col-3{width:25%}.offset-3{margin-left:25%}.col-4{width:33.3333333333%}.offset-4{margin-left:33.3333333333%}.col-5{width:41.6666666667%}.offset-5{margin-left:41.6666666667%}.col-6{width:50%}.offset-6{margin-left:50%}.col-7{width:58.3333333333%}.offset-7{margin-left:58.3333333333%}.col-8{width:66.6666666667%}.offset-8{margin-left:66.6666666667%}.col-9{width:75%}.offset-9{margin-left:75%}.col-10{width:83.3333333333%}.offset-10{margin-left:83.3333333333%}.col-11{width:91.6666666667%}.offset-11{margin-left:91.6666666667%}.tsd-kind-icon{display:block;position:relative;padding-left:20px;text-indent:-20px}.tsd-kind-icon:before{content:"";display:inline-block;vertical-align:middle;width:17px;height:17px;margin:0 3px 2px 0;background-image:url(../images/icons.png)}@media(-webkit-min-device-pixel-ratio: 1.5),(min-resolution: 144dpi){.tsd-kind-icon:before{background-image:url(../images/icons@2x.png);background-size:238px 204px}}.tsd-signature.tsd-kind-icon:before{background-position:0 -153px}.tsd-kind-object-literal>.tsd-kind-icon:before{background-position:0px -17px}.tsd-kind-object-literal.tsd-is-protected>.tsd-kind-icon:before{background-position:-17px -17px}.tsd-kind-object-literal.tsd-is-private>.tsd-kind-icon:before{background-position:-34px -17px}.tsd-kind-class>.tsd-kind-icon:before{background-position:0px -34px}.tsd-kind-class.tsd-is-protected>.tsd-kind-icon:before{background-position:-17px -34px}.tsd-kind-class.tsd-is-private>.tsd-kind-icon:before{background-position:-34px -34px}.tsd-kind-class.tsd-has-type-parameter>.tsd-kind-icon:before{background-position:0px -51px}.tsd-kind-class.tsd-has-type-parameter.tsd-is-protected>.tsd-kind-icon:before{background-position:-17px -51px}.tsd-kind-class.tsd-has-type-parameter.tsd-is-private>.tsd-kind-icon:before{background-position:-34px -51px}.tsd-kind-interface>.tsd-kind-icon:before{background-position:0px -68px}.tsd-kind-interface.tsd-is-protected>.tsd-kind-icon:before{background-position:-17px -68px}.tsd-kind-interface.tsd-is-private>.tsd-kind-icon:before{background-position:-34px -68px}.tsd-kind-interface.tsd-has-type-parameter>.tsd-kind-icon:before{background-position:0px -85px}.tsd-kind-interface.tsd-has-type-parameter.tsd-is-protected>.tsd-kind-icon:before{background-position:-17px -85px}.tsd-kind-interface.tsd-has-type-parameter.tsd-is-private>.tsd-kind-icon:before{background-position:-34px -85px}.tsd-kind-namespace>.tsd-kind-icon:before{background-position:0px -102px}.tsd-kind-namespace.tsd-is-protected>.tsd-kind-icon:before{background-position:-17px -102px}.tsd-kind-namespace.tsd-is-private>.tsd-kind-icon:before{background-position:-34px -102px}.tsd-kind-module>.tsd-kind-icon:before{background-position:0px -102px}.tsd-kind-module.tsd-is-protected>.tsd-kind-icon:before{background-position:-17px -102px}.tsd-kind-module.tsd-is-private>.tsd-kind-icon:before{background-position:-34px -102px}.tsd-kind-enum>.tsd-kind-icon:before{background-position:0px -119px}.tsd-kind-enum.tsd-is-protected>.tsd-kind-icon:before{background-position:-17px -119px}.tsd-kind-enum.tsd-is-private>.tsd-kind-icon:before{background-position:-34px -119px}.tsd-kind-enum-member>.tsd-kind-icon:before{background-position:0px -136px}.tsd-kind-enum-member.tsd-is-protected>.tsd-kind-icon:before{background-position:-17px -136px}.tsd-kind-enum-member.tsd-is-private>.tsd-kind-icon:before{background-position:-34px -136px}.tsd-kind-signature>.tsd-kind-icon:before{background-position:0px -153px}.tsd-kind-signature.tsd-is-protected>.tsd-kind-icon:before{background-position:-17px -153px}.tsd-kind-signature.tsd-is-private>.tsd-kind-icon:before{background-position:-34px -153px}.tsd-kind-type-alias>.tsd-kind-icon:before{background-position:0px -170px}.tsd-kind-type-alias.tsd-is-protected>.tsd-kind-icon:before{background-position:-17px -170px}.tsd-kind-type-alias.tsd-is-private>.tsd-kind-icon:before{background-position:-34px -170px}.tsd-kind-type-alias.tsd-has-type-parameter>.tsd-kind-icon:before{background-position:0px -187px}.tsd-kind-type-alias.tsd-has-type-parameter.tsd-is-protected>.tsd-kind-icon:before{background-position:-17px -187px}.tsd-kind-type-alias.tsd-has-type-parameter.tsd-is-private>.tsd-kind-icon:before{background-position:-34px -187px}.tsd-kind-variable>.tsd-kind-icon:before{background-position:-136px -0px}.tsd-kind-variable.tsd-is-protected>.tsd-kind-icon:before{background-position:-153px -0px}.tsd-kind-variable.tsd-is-private>.tsd-kind-icon:before{background-position:-119px -0px}.tsd-kind-variable.tsd-parent-kind-class>.tsd-kind-icon:before{background-position:-51px -0px}.tsd-kind-variable.tsd-parent-kind-class.tsd-is-inherited>.tsd-kind-icon:before{background-position:-68px -0px}.tsd-kind-variable.tsd-parent-kind-class.tsd-is-protected>.tsd-kind-icon:before{background-position:-85px -0px}.tsd-kind-variable.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited>.tsd-kind-icon:before{background-position:-102px -0px}.tsd-kind-variable.tsd-parent-kind-class.tsd-is-private>.tsd-kind-icon:before{background-position:-119px -0px}.tsd-kind-variable.tsd-parent-kind-enum>.tsd-kind-icon:before{background-position:-170px -0px}.tsd-kind-variable.tsd-parent-kind-enum.tsd-is-protected>.tsd-kind-icon:before{background-position:-187px -0px}.tsd-kind-variable.tsd-parent-kind-enum.tsd-is-private>.tsd-kind-icon:before{background-position:-119px -0px}.tsd-kind-variable.tsd-parent-kind-interface>.tsd-kind-icon:before{background-position:-204px -0px}.tsd-kind-variable.tsd-parent-kind-interface.tsd-is-inherited>.tsd-kind-icon:before{background-position:-221px -0px}.tsd-kind-property>.tsd-kind-icon:before{background-position:-136px -0px}.tsd-kind-property.tsd-is-protected>.tsd-kind-icon:before{background-position:-153px -0px}.tsd-kind-property.tsd-is-private>.tsd-kind-icon:before{background-position:-119px -0px}.tsd-kind-property.tsd-parent-kind-class>.tsd-kind-icon:before{background-position:-51px -0px}.tsd-kind-property.tsd-parent-kind-class.tsd-is-inherited>.tsd-kind-icon:before{background-position:-68px -0px}.tsd-kind-property.tsd-parent-kind-class.tsd-is-protected>.tsd-kind-icon:before{background-position:-85px -0px}.tsd-kind-property.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited>.tsd-kind-icon:before{background-position:-102px -0px}.tsd-kind-property.tsd-parent-kind-class.tsd-is-private>.tsd-kind-icon:before{background-position:-119px -0px}.tsd-kind-property.tsd-parent-kind-enum>.tsd-kind-icon:before{background-position:-170px -0px}.tsd-kind-property.tsd-parent-kind-enum.tsd-is-protected>.tsd-kind-icon:before{background-position:-187px -0px}.tsd-kind-property.tsd-parent-kind-enum.tsd-is-private>.tsd-kind-icon:before{background-position:-119px -0px}.tsd-kind-property.tsd-parent-kind-interface>.tsd-kind-icon:before{background-position:-204px -0px}.tsd-kind-property.tsd-parent-kind-interface.tsd-is-inherited>.tsd-kind-icon:before{background-position:-221px -0px}.tsd-kind-get-signature>.tsd-kind-icon:before{background-position:-136px -17px}.tsd-kind-get-signature.tsd-is-protected>.tsd-kind-icon:before{background-position:-153px -17px}.tsd-kind-get-signature.tsd-is-private>.tsd-kind-icon:before{background-position:-119px -17px}.tsd-kind-get-signature.tsd-parent-kind-class>.tsd-kind-icon:before{background-position:-51px -17px}.tsd-kind-get-signature.tsd-parent-kind-class.tsd-is-inherited>.tsd-kind-icon:before{background-position:-68px -17px}.tsd-kind-get-signature.tsd-parent-kind-class.tsd-is-protected>.tsd-kind-icon:before{background-position:-85px -17px}.tsd-kind-get-signature.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited>.tsd-kind-icon:before{background-position:-102px -17px}.tsd-kind-get-signature.tsd-parent-kind-class.tsd-is-private>.tsd-kind-icon:before{background-position:-119px -17px}.tsd-kind-get-signature.tsd-parent-kind-enum>.tsd-kind-icon:before{background-position:-170px -17px}.tsd-kind-get-signature.tsd-parent-kind-enum.tsd-is-protected>.tsd-kind-icon:before{background-position:-187px -17px}.tsd-kind-get-signature.tsd-parent-kind-enum.tsd-is-private>.tsd-kind-icon:before{background-position:-119px -17px}.tsd-kind-get-signature.tsd-parent-kind-interface>.tsd-kind-icon:before{background-position:-204px -17px}.tsd-kind-get-signature.tsd-parent-kind-interface.tsd-is-inherited>.tsd-kind-icon:before{background-position:-221px -17px}.tsd-kind-set-signature>.tsd-kind-icon:before{background-position:-136px -34px}.tsd-kind-set-signature.tsd-is-protected>.tsd-kind-icon:before{background-position:-153px -34px}.tsd-kind-set-signature.tsd-is-private>.tsd-kind-icon:before{background-position:-119px -34px}.tsd-kind-set-signature.tsd-parent-kind-class>.tsd-kind-icon:before{background-position:-51px -34px}.tsd-kind-set-signature.tsd-parent-kind-class.tsd-is-inherited>.tsd-kind-icon:before{background-position:-68px -34px}.tsd-kind-set-signature.tsd-parent-kind-class.tsd-is-protected>.tsd-kind-icon:before{background-position:-85px -34px}.tsd-kind-set-signature.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited>.tsd-kind-icon:before{background-position:-102px -34px}.tsd-kind-set-signature.tsd-parent-kind-class.tsd-is-private>.tsd-kind-icon:before{background-position:-119px -34px}.tsd-kind-set-signature.tsd-parent-kind-enum>.tsd-kind-icon:before{background-position:-170px -34px}.tsd-kind-set-signature.tsd-parent-kind-enum.tsd-is-protected>.tsd-kind-icon:before{background-position:-187px -34px}.tsd-kind-set-signature.tsd-parent-kind-enum.tsd-is-private>.tsd-kind-icon:before{background-position:-119px -34px}.tsd-kind-set-signature.tsd-parent-kind-interface>.tsd-kind-icon:before{background-position:-204px -34px}.tsd-kind-set-signature.tsd-parent-kind-interface.tsd-is-inherited>.tsd-kind-icon:before{background-position:-221px -34px}.tsd-kind-accessor>.tsd-kind-icon:before{background-position:-136px -51px}.tsd-kind-accessor.tsd-is-protected>.tsd-kind-icon:before{background-position:-153px -51px}.tsd-kind-accessor.tsd-is-private>.tsd-kind-icon:before{background-position:-119px -51px}.tsd-kind-accessor.tsd-parent-kind-class>.tsd-kind-icon:before{background-position:-51px -51px}.tsd-kind-accessor.tsd-parent-kind-class.tsd-is-inherited>.tsd-kind-icon:before{background-position:-68px -51px}.tsd-kind-accessor.tsd-parent-kind-class.tsd-is-protected>.tsd-kind-icon:before{background-position:-85px -51px}.tsd-kind-accessor.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited>.tsd-kind-icon:before{background-position:-102px -51px}.tsd-kind-accessor.tsd-parent-kind-class.tsd-is-private>.tsd-kind-icon:before{background-position:-119px -51px}.tsd-kind-accessor.tsd-parent-kind-enum>.tsd-kind-icon:before{background-position:-170px -51px}.tsd-kind-accessor.tsd-parent-kind-enum.tsd-is-protected>.tsd-kind-icon:before{background-position:-187px -51px}.tsd-kind-accessor.tsd-parent-kind-enum.tsd-is-private>.tsd-kind-icon:before{background-position:-119px -51px}.tsd-kind-accessor.tsd-parent-kind-interface>.tsd-kind-icon:before{background-position:-204px -51px}.tsd-kind-accessor.tsd-parent-kind-interface.tsd-is-inherited>.tsd-kind-icon:before{background-position:-221px -51px}.tsd-kind-function>.tsd-kind-icon:before{background-position:-136px -68px}.tsd-kind-function.tsd-is-protected>.tsd-kind-icon:before{background-position:-153px -68px}.tsd-kind-function.tsd-is-private>.tsd-kind-icon:before{background-position:-119px -68px}.tsd-kind-function.tsd-parent-kind-class>.tsd-kind-icon:before{background-position:-51px -68px}.tsd-kind-function.tsd-parent-kind-class.tsd-is-inherited>.tsd-kind-icon:before{background-position:-68px -68px}.tsd-kind-function.tsd-parent-kind-class.tsd-is-protected>.tsd-kind-icon:before{background-position:-85px -68px}.tsd-kind-function.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited>.tsd-kind-icon:before{background-position:-102px -68px}.tsd-kind-function.tsd-parent-kind-class.tsd-is-private>.tsd-kind-icon:before{background-position:-119px -68px}.tsd-kind-function.tsd-parent-kind-enum>.tsd-kind-icon:before{background-position:-170px -68px}.tsd-kind-function.tsd-parent-kind-enum.tsd-is-protected>.tsd-kind-icon:before{background-position:-187px -68px}.tsd-kind-function.tsd-parent-kind-enum.tsd-is-private>.tsd-kind-icon:before{background-position:-119px -68px}.tsd-kind-function.tsd-parent-kind-interface>.tsd-kind-icon:before{background-position:-204px -68px}.tsd-kind-function.tsd-parent-kind-interface.tsd-is-inherited>.tsd-kind-icon:before{background-position:-221px -68px}.tsd-kind-method>.tsd-kind-icon:before{background-position:-136px -68px}.tsd-kind-method.tsd-is-protected>.tsd-kind-icon:before{background-position:-153px -68px}.tsd-kind-method.tsd-is-private>.tsd-kind-icon:before{background-position:-119px -68px}.tsd-kind-method.tsd-parent-kind-class>.tsd-kind-icon:before{background-position:-51px -68px}.tsd-kind-method.tsd-parent-kind-class.tsd-is-inherited>.tsd-kind-icon:before{background-position:-68px -68px}.tsd-kind-method.tsd-parent-kind-class.tsd-is-protected>.tsd-kind-icon:before{background-position:-85px -68px}.tsd-kind-method.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited>.tsd-kind-icon:before{background-position:-102px -68px}.tsd-kind-method.tsd-parent-kind-class.tsd-is-private>.tsd-kind-icon:before{background-position:-119px -68px}.tsd-kind-method.tsd-parent-kind-enum>.tsd-kind-icon:before{background-position:-170px -68px}.tsd-kind-method.tsd-parent-kind-enum.tsd-is-protected>.tsd-kind-icon:before{background-position:-187px -68px}.tsd-kind-method.tsd-parent-kind-enum.tsd-is-private>.tsd-kind-icon:before{background-position:-119px -68px}.tsd-kind-method.tsd-parent-kind-interface>.tsd-kind-icon:before{background-position:-204px -68px}.tsd-kind-method.tsd-parent-kind-interface.tsd-is-inherited>.tsd-kind-icon:before{background-position:-221px -68px}.tsd-kind-call-signature>.tsd-kind-icon:before{background-position:-136px -68px}.tsd-kind-call-signature.tsd-is-protected>.tsd-kind-icon:before{background-position:-153px -68px}.tsd-kind-call-signature.tsd-is-private>.tsd-kind-icon:before{background-position:-119px -68px}.tsd-kind-call-signature.tsd-parent-kind-class>.tsd-kind-icon:before{background-position:-51px -68px}.tsd-kind-call-signature.tsd-parent-kind-class.tsd-is-inherited>.tsd-kind-icon:before{background-position:-68px -68px}.tsd-kind-call-signature.tsd-parent-kind-class.tsd-is-protected>.tsd-kind-icon:before{background-position:-85px -68px}.tsd-kind-call-signature.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited>.tsd-kind-icon:before{background-position:-102px -68px}.tsd-kind-call-signature.tsd-parent-kind-class.tsd-is-private>.tsd-kind-icon:before{background-position:-119px -68px}.tsd-kind-call-signature.tsd-parent-kind-enum>.tsd-kind-icon:before{background-position:-170px -68px}.tsd-kind-call-signature.tsd-parent-kind-enum.tsd-is-protected>.tsd-kind-icon:before{background-position:-187px -68px}.tsd-kind-call-signature.tsd-parent-kind-enum.tsd-is-private>.tsd-kind-icon:before{background-position:-119px -68px}.tsd-kind-call-signature.tsd-parent-kind-interface>.tsd-kind-icon:before{background-position:-204px -68px}.tsd-kind-call-signature.tsd-parent-kind-interface.tsd-is-inherited>.tsd-kind-icon:before{background-position:-221px -68px}.tsd-kind-function.tsd-has-type-parameter>.tsd-kind-icon:before{background-position:-136px -85px}.tsd-kind-function.tsd-has-type-parameter.tsd-is-protected>.tsd-kind-icon:before{background-position:-153px -85px}.tsd-kind-function.tsd-has-type-parameter.tsd-is-private>.tsd-kind-icon:before{background-position:-119px -85px}.tsd-kind-function.tsd-has-type-parameter.tsd-parent-kind-class>.tsd-kind-icon:before{background-position:-51px -85px}.tsd-kind-function.tsd-has-type-parameter.tsd-parent-kind-class.tsd-is-inherited>.tsd-kind-icon:before{background-position:-68px -85px}.tsd-kind-function.tsd-has-type-parameter.tsd-parent-kind-class.tsd-is-protected>.tsd-kind-icon:before{background-position:-85px -85px}.tsd-kind-function.tsd-has-type-parameter.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited>.tsd-kind-icon:before{background-position:-102px -85px}.tsd-kind-function.tsd-has-type-parameter.tsd-parent-kind-class.tsd-is-private>.tsd-kind-icon:before{background-position:-119px -85px}.tsd-kind-function.tsd-has-type-parameter.tsd-parent-kind-enum>.tsd-kind-icon:before{background-position:-170px -85px}.tsd-kind-function.tsd-has-type-parameter.tsd-parent-kind-enum.tsd-is-protected>.tsd-kind-icon:before{background-position:-187px -85px}.tsd-kind-function.tsd-has-type-parameter.tsd-parent-kind-enum.tsd-is-private>.tsd-kind-icon:before{background-position:-119px -85px}.tsd-kind-function.tsd-has-type-parameter.tsd-parent-kind-interface>.tsd-kind-icon:before{background-position:-204px -85px}.tsd-kind-function.tsd-has-type-parameter.tsd-parent-kind-interface.tsd-is-inherited>.tsd-kind-icon:before{background-position:-221px -85px}.tsd-kind-method.tsd-has-type-parameter>.tsd-kind-icon:before{background-position:-136px -85px}.tsd-kind-method.tsd-has-type-parameter.tsd-is-protected>.tsd-kind-icon:before{background-position:-153px -85px}.tsd-kind-method.tsd-has-type-parameter.tsd-is-private>.tsd-kind-icon:before{background-position:-119px -85px}.tsd-kind-method.tsd-has-type-parameter.tsd-parent-kind-class>.tsd-kind-icon:before{background-position:-51px -85px}.tsd-kind-method.tsd-has-type-parameter.tsd-parent-kind-class.tsd-is-inherited>.tsd-kind-icon:before{background-position:-68px -85px}.tsd-kind-method.tsd-has-type-parameter.tsd-parent-kind-class.tsd-is-protected>.tsd-kind-icon:before{background-position:-85px -85px}.tsd-kind-method.tsd-has-type-parameter.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited>.tsd-kind-icon:before{background-position:-102px -85px}.tsd-kind-method.tsd-has-type-parameter.tsd-parent-kind-class.tsd-is-private>.tsd-kind-icon:before{background-position:-119px -85px}.tsd-kind-method.tsd-has-type-parameter.tsd-parent-kind-enum>.tsd-kind-icon:before{background-position:-170px -85px}.tsd-kind-method.tsd-has-type-parameter.tsd-parent-kind-enum.tsd-is-protected>.tsd-kind-icon:before{background-position:-187px -85px}.tsd-kind-method.tsd-has-type-parameter.tsd-parent-kind-enum.tsd-is-private>.tsd-kind-icon:before{background-position:-119px -85px}.tsd-kind-method.tsd-has-type-parameter.tsd-parent-kind-interface>.tsd-kind-icon:before{background-position:-204px -85px}.tsd-kind-method.tsd-has-type-parameter.tsd-parent-kind-interface.tsd-is-inherited>.tsd-kind-icon:before{background-position:-221px -85px}.tsd-kind-constructor>.tsd-kind-icon:before{background-position:-136px -102px}.tsd-kind-constructor.tsd-is-protected>.tsd-kind-icon:before{background-position:-153px -102px}.tsd-kind-constructor.tsd-is-private>.tsd-kind-icon:before{background-position:-119px -102px}.tsd-kind-constructor.tsd-parent-kind-class>.tsd-kind-icon:before{background-position:-51px -102px}.tsd-kind-constructor.tsd-parent-kind-class.tsd-is-inherited>.tsd-kind-icon:before{background-position:-68px -102px}.tsd-kind-constructor.tsd-parent-kind-class.tsd-is-protected>.tsd-kind-icon:before{background-position:-85px -102px}.tsd-kind-constructor.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited>.tsd-kind-icon:before{background-position:-102px -102px}.tsd-kind-constructor.tsd-parent-kind-class.tsd-is-private>.tsd-kind-icon:before{background-position:-119px -102px}.tsd-kind-constructor.tsd-parent-kind-enum>.tsd-kind-icon:before{background-position:-170px -102px}.tsd-kind-constructor.tsd-parent-kind-enum.tsd-is-protected>.tsd-kind-icon:before{background-position:-187px -102px}.tsd-kind-constructor.tsd-parent-kind-enum.tsd-is-private>.tsd-kind-icon:before{background-position:-119px -102px}.tsd-kind-constructor.tsd-parent-kind-interface>.tsd-kind-icon:before{background-position:-204px -102px}.tsd-kind-constructor.tsd-parent-kind-interface.tsd-is-inherited>.tsd-kind-icon:before{background-position:-221px -102px}.tsd-kind-constructor-signature>.tsd-kind-icon:before{background-position:-136px -102px}.tsd-kind-constructor-signature.tsd-is-protected>.tsd-kind-icon:before{background-position:-153px -102px}.tsd-kind-constructor-signature.tsd-is-private>.tsd-kind-icon:before{background-position:-119px -102px}.tsd-kind-constructor-signature.tsd-parent-kind-class>.tsd-kind-icon:before{background-position:-51px -102px}.tsd-kind-constructor-signature.tsd-parent-kind-class.tsd-is-inherited>.tsd-kind-icon:before{background-position:-68px -102px}.tsd-kind-constructor-signature.tsd-parent-kind-class.tsd-is-protected>.tsd-kind-icon:before{background-position:-85px -102px}.tsd-kind-constructor-signature.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited>.tsd-kind-icon:before{background-position:-102px -102px}.tsd-kind-constructor-signature.tsd-parent-kind-class.tsd-is-private>.tsd-kind-icon:before{background-position:-119px -102px}.tsd-kind-constructor-signature.tsd-parent-kind-enum>.tsd-kind-icon:before{background-position:-170px -102px}.tsd-kind-constructor-signature.tsd-parent-kind-enum.tsd-is-protected>.tsd-kind-icon:before{background-position:-187px -102px}.tsd-kind-constructor-signature.tsd-parent-kind-enum.tsd-is-private>.tsd-kind-icon:before{background-position:-119px -102px}.tsd-kind-constructor-signature.tsd-parent-kind-interface>.tsd-kind-icon:before{background-position:-204px -102px}.tsd-kind-constructor-signature.tsd-parent-kind-interface.tsd-is-inherited>.tsd-kind-icon:before{background-position:-221px -102px}.tsd-kind-index-signature>.tsd-kind-icon:before{background-position:-136px -119px}.tsd-kind-index-signature.tsd-is-protected>.tsd-kind-icon:before{background-position:-153px -119px}.tsd-kind-index-signature.tsd-is-private>.tsd-kind-icon:before{background-position:-119px -119px}.tsd-kind-index-signature.tsd-parent-kind-class>.tsd-kind-icon:before{background-position:-51px -119px}.tsd-kind-index-signature.tsd-parent-kind-class.tsd-is-inherited>.tsd-kind-icon:before{background-position:-68px -119px}.tsd-kind-index-signature.tsd-parent-kind-class.tsd-is-protected>.tsd-kind-icon:before{background-position:-85px -119px}.tsd-kind-index-signature.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited>.tsd-kind-icon:before{background-position:-102px -119px}.tsd-kind-index-signature.tsd-parent-kind-class.tsd-is-private>.tsd-kind-icon:before{background-position:-119px -119px}.tsd-kind-index-signature.tsd-parent-kind-enum>.tsd-kind-icon:before{background-position:-170px -119px}.tsd-kind-index-signature.tsd-parent-kind-enum.tsd-is-protected>.tsd-kind-icon:before{background-position:-187px -119px}.tsd-kind-index-signature.tsd-parent-kind-enum.tsd-is-private>.tsd-kind-icon:before{background-position:-119px -119px}.tsd-kind-index-signature.tsd-parent-kind-interface>.tsd-kind-icon:before{background-position:-204px -119px}.tsd-kind-index-signature.tsd-parent-kind-interface.tsd-is-inherited>.tsd-kind-icon:before{background-position:-221px -119px}.tsd-kind-event>.tsd-kind-icon:before{background-position:-136px -136px}.tsd-kind-event.tsd-is-protected>.tsd-kind-icon:before{background-position:-153px -136px}.tsd-kind-event.tsd-is-private>.tsd-kind-icon:before{background-position:-119px -136px}.tsd-kind-event.tsd-parent-kind-class>.tsd-kind-icon:before{background-position:-51px -136px}.tsd-kind-event.tsd-parent-kind-class.tsd-is-inherited>.tsd-kind-icon:before{background-position:-68px -136px}.tsd-kind-event.tsd-parent-kind-class.tsd-is-protected>.tsd-kind-icon:before{background-position:-85px -136px}.tsd-kind-event.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited>.tsd-kind-icon:before{background-position:-102px -136px}.tsd-kind-event.tsd-parent-kind-class.tsd-is-private>.tsd-kind-icon:before{background-position:-119px -136px}.tsd-kind-event.tsd-parent-kind-enum>.tsd-kind-icon:before{background-position:-170px -136px}.tsd-kind-event.tsd-parent-kind-enum.tsd-is-protected>.tsd-kind-icon:before{background-position:-187px -136px}.tsd-kind-event.tsd-parent-kind-enum.tsd-is-private>.tsd-kind-icon:before{background-position:-119px -136px}.tsd-kind-event.tsd-parent-kind-interface>.tsd-kind-icon:before{background-position:-204px -136px}.tsd-kind-event.tsd-parent-kind-interface.tsd-is-inherited>.tsd-kind-icon:before{background-position:-221px -136px}.tsd-is-static>.tsd-kind-icon:before{background-position:-136px -153px}.tsd-is-static.tsd-is-protected>.tsd-kind-icon:before{background-position:-153px -153px}.tsd-is-static.tsd-is-private>.tsd-kind-icon:before{background-position:-119px -153px}.tsd-is-static.tsd-parent-kind-class>.tsd-kind-icon:before{background-position:-51px -153px}.tsd-is-static.tsd-parent-kind-class.tsd-is-inherited>.tsd-kind-icon:before{background-position:-68px -153px}.tsd-is-static.tsd-parent-kind-class.tsd-is-protected>.tsd-kind-icon:before{background-position:-85px -153px}.tsd-is-static.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited>.tsd-kind-icon:before{background-position:-102px -153px}.tsd-is-static.tsd-parent-kind-class.tsd-is-private>.tsd-kind-icon:before{background-position:-119px -153px}.tsd-is-static.tsd-parent-kind-enum>.tsd-kind-icon:before{background-position:-170px -153px}.tsd-is-static.tsd-parent-kind-enum.tsd-is-protected>.tsd-kind-icon:before{background-position:-187px -153px}.tsd-is-static.tsd-parent-kind-enum.tsd-is-private>.tsd-kind-icon:before{background-position:-119px -153px}.tsd-is-static.tsd-parent-kind-interface>.tsd-kind-icon:before{background-position:-204px -153px}.tsd-is-static.tsd-parent-kind-interface.tsd-is-inherited>.tsd-kind-icon:before{background-position:-221px -153px}.tsd-is-static.tsd-kind-function>.tsd-kind-icon:before{background-position:-136px -170px}.tsd-is-static.tsd-kind-function.tsd-is-protected>.tsd-kind-icon:before{background-position:-153px -170px}.tsd-is-static.tsd-kind-function.tsd-is-private>.tsd-kind-icon:before{background-position:-119px -170px}.tsd-is-static.tsd-kind-function.tsd-parent-kind-class>.tsd-kind-icon:before{background-position:-51px -170px}.tsd-is-static.tsd-kind-function.tsd-parent-kind-class.tsd-is-inherited>.tsd-kind-icon:before{background-position:-68px -170px}.tsd-is-static.tsd-kind-function.tsd-parent-kind-class.tsd-is-protected>.tsd-kind-icon:before{background-position:-85px -170px}.tsd-is-static.tsd-kind-function.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited>.tsd-kind-icon:before{background-position:-102px -170px}.tsd-is-static.tsd-kind-function.tsd-parent-kind-class.tsd-is-private>.tsd-kind-icon:before{background-position:-119px -170px}.tsd-is-static.tsd-kind-function.tsd-parent-kind-enum>.tsd-kind-icon:before{background-position:-170px -170px}.tsd-is-static.tsd-kind-function.tsd-parent-kind-enum.tsd-is-protected>.tsd-kind-icon:before{background-position:-187px -170px}.tsd-is-static.tsd-kind-function.tsd-parent-kind-enum.tsd-is-private>.tsd-kind-icon:before{background-position:-119px -170px}.tsd-is-static.tsd-kind-function.tsd-parent-kind-interface>.tsd-kind-icon:before{background-position:-204px -170px}.tsd-is-static.tsd-kind-function.tsd-parent-kind-interface.tsd-is-inherited>.tsd-kind-icon:before{background-position:-221px -170px}.tsd-is-static.tsd-kind-method>.tsd-kind-icon:before{background-position:-136px -170px}.tsd-is-static.tsd-kind-method.tsd-is-protected>.tsd-kind-icon:before{background-position:-153px -170px}.tsd-is-static.tsd-kind-method.tsd-is-private>.tsd-kind-icon:before{background-position:-119px -170px}.tsd-is-static.tsd-kind-method.tsd-parent-kind-class>.tsd-kind-icon:before{background-position:-51px -170px}.tsd-is-static.tsd-kind-method.tsd-parent-kind-class.tsd-is-inherited>.tsd-kind-icon:before{background-position:-68px -170px}.tsd-is-static.tsd-kind-method.tsd-parent-kind-class.tsd-is-protected>.tsd-kind-icon:before{background-position:-85px -170px}.tsd-is-static.tsd-kind-method.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited>.tsd-kind-icon:before{background-position:-102px -170px}.tsd-is-static.tsd-kind-method.tsd-parent-kind-class.tsd-is-private>.tsd-kind-icon:before{background-position:-119px -170px}.tsd-is-static.tsd-kind-method.tsd-parent-kind-enum>.tsd-kind-icon:before{background-position:-170px -170px}.tsd-is-static.tsd-kind-method.tsd-parent-kind-enum.tsd-is-protected>.tsd-kind-icon:before{background-position:-187px -170px}.tsd-is-static.tsd-kind-method.tsd-parent-kind-enum.tsd-is-private>.tsd-kind-icon:before{background-position:-119px -170px}.tsd-is-static.tsd-kind-method.tsd-parent-kind-interface>.tsd-kind-icon:before{background-position:-204px -170px}.tsd-is-static.tsd-kind-method.tsd-parent-kind-interface.tsd-is-inherited>.tsd-kind-icon:before{background-position:-221px -170px}.tsd-is-static.tsd-kind-call-signature>.tsd-kind-icon:before{background-position:-136px -170px}.tsd-is-static.tsd-kind-call-signature.tsd-is-protected>.tsd-kind-icon:before{background-position:-153px -170px}.tsd-is-static.tsd-kind-call-signature.tsd-is-private>.tsd-kind-icon:before{background-position:-119px -170px}.tsd-is-static.tsd-kind-call-signature.tsd-parent-kind-class>.tsd-kind-icon:before{background-position:-51px -170px}.tsd-is-static.tsd-kind-call-signature.tsd-parent-kind-class.tsd-is-inherited>.tsd-kind-icon:before{background-position:-68px -170px}.tsd-is-static.tsd-kind-call-signature.tsd-parent-kind-class.tsd-is-protected>.tsd-kind-icon:before{background-position:-85px -170px}.tsd-is-static.tsd-kind-call-signature.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited>.tsd-kind-icon:before{background-position:-102px -170px}.tsd-is-static.tsd-kind-call-signature.tsd-parent-kind-class.tsd-is-private>.tsd-kind-icon:before{background-position:-119px -170px}.tsd-is-static.tsd-kind-call-signature.tsd-parent-kind-enum>.tsd-kind-icon:before{background-position:-170px -170px}.tsd-is-static.tsd-kind-call-signature.tsd-parent-kind-enum.tsd-is-protected>.tsd-kind-icon:before{background-position:-187px -170px}.tsd-is-static.tsd-kind-call-signature.tsd-parent-kind-enum.tsd-is-private>.tsd-kind-icon:before{background-position:-119px -170px}.tsd-is-static.tsd-kind-call-signature.tsd-parent-kind-interface>.tsd-kind-icon:before{background-position:-204px -170px}.tsd-is-static.tsd-kind-call-signature.tsd-parent-kind-interface.tsd-is-inherited>.tsd-kind-icon:before{background-position:-221px -170px}.tsd-is-static.tsd-kind-event>.tsd-kind-icon:before{background-position:-136px -187px}.tsd-is-static.tsd-kind-event.tsd-is-protected>.tsd-kind-icon:before{background-position:-153px -187px}.tsd-is-static.tsd-kind-event.tsd-is-private>.tsd-kind-icon:before{background-position:-119px -187px}.tsd-is-static.tsd-kind-event.tsd-parent-kind-class>.tsd-kind-icon:before{background-position:-51px -187px}.tsd-is-static.tsd-kind-event.tsd-parent-kind-class.tsd-is-inherited>.tsd-kind-icon:before{background-position:-68px -187px}.tsd-is-static.tsd-kind-event.tsd-parent-kind-class.tsd-is-protected>.tsd-kind-icon:before{background-position:-85px -187px}.tsd-is-static.tsd-kind-event.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited>.tsd-kind-icon:before{background-position:-102px -187px}.tsd-is-static.tsd-kind-event.tsd-parent-kind-class.tsd-is-private>.tsd-kind-icon:before{background-position:-119px -187px}.tsd-is-static.tsd-kind-event.tsd-parent-kind-enum>.tsd-kind-icon:before{background-position:-170px -187px}.tsd-is-static.tsd-kind-event.tsd-parent-kind-enum.tsd-is-protected>.tsd-kind-icon:before{background-position:-187px -187px}.tsd-is-static.tsd-kind-event.tsd-parent-kind-enum.tsd-is-private>.tsd-kind-icon:before{background-position:-119px -187px}.tsd-is-static.tsd-kind-event.tsd-parent-kind-interface>.tsd-kind-icon:before{background-position:-204px -187px}.tsd-is-static.tsd-kind-event.tsd-parent-kind-interface.tsd-is-inherited>.tsd-kind-icon:before{background-position:-221px -187px}@keyframes fade-in{from{opacity:0}to{opacity:1}}@keyframes fade-out{from{opacity:1;visibility:visible}to{opacity:0}}@keyframes fade-in-delayed{0%{opacity:0}33%{opacity:0}100%{opacity:1}}@keyframes fade-out-delayed{0%{opacity:1;visibility:visible}66%{opacity:0}100%{opacity:0}}@keyframes shift-to-left{from{transform:translate(0, 0)}to{transform:translate(-25%, 0)}}@keyframes unshift-to-left{from{transform:translate(-25%, 0)}to{transform:translate(0, 0)}}@keyframes pop-in-from-right{from{transform:translate(100%, 0)}to{transform:translate(0, 0)}}@keyframes pop-out-to-right{from{transform:translate(0, 0);visibility:visible}to{transform:translate(100%, 0)}}body{background:#fdfdfd;font-family:"Segoe UI",sans-serif;font-size:16px;color:#222}a{color:#4da6ff;text-decoration:none}a:hover{text-decoration:underline}code,pre{font-family:Menlo,Monaco,Consolas,"Courier New",monospace;padding:.2em;margin:0;font-size:14px;background-color:rgba(0,0,0,.04)}pre{padding:10px}pre code{padding:0;font-size:100%;background-color:transparent}.tsd-typography{line-height:1.333em}.tsd-typography ul{list-style:square;padding:0 0 0 20px;margin:0}.tsd-typography h4,.tsd-typography .tsd-index-panel h3,.tsd-index-panel .tsd-typography h3,.tsd-typography h5,.tsd-typography h6{font-size:1em;margin:0}.tsd-typography h5,.tsd-typography h6{font-weight:normal}.tsd-typography p,.tsd-typography ul,.tsd-typography ol{margin:1em 0}@media(min-width: 901px)and (max-width: 1024px){html.default .col-content{width:72%}html.default .col-menu{width:28%}html.default .tsd-navigation{padding-left:10px}}@media(max-width: 900px){html.default .col-content{float:none;width:100%}html.default .col-menu{position:fixed !important;overflow:auto;-webkit-overflow-scrolling:touch;z-index:1024;top:0 !important;bottom:0 !important;left:auto !important;right:0 !important;width:100%;padding:20px 20px 0 0;max-width:450px;visibility:hidden;background-color:#fff;transform:translate(100%, 0)}html.default .col-menu>*:last-child{padding-bottom:20px}html.default .overlay{content:"";display:block;position:fixed;z-index:1023;top:0;left:0;right:0;bottom:0;background-color:rgba(0,0,0,.75);visibility:hidden}html.default.to-has-menu .overlay{animation:fade-in .4s}html.default.to-has-menu header,html.default.to-has-menu footer,html.default.to-has-menu .col-content{animation:shift-to-left .4s}html.default.to-has-menu .col-menu{animation:pop-in-from-right .4s}html.default.from-has-menu .overlay{animation:fade-out .4s}html.default.from-has-menu header,html.default.from-has-menu footer,html.default.from-has-menu .col-content{animation:unshift-to-left .4s}html.default.from-has-menu .col-menu{animation:pop-out-to-right .4s}html.default.has-menu body{overflow:hidden}html.default.has-menu .overlay{visibility:visible}html.default.has-menu header,html.default.has-menu footer,html.default.has-menu .col-content{transform:translate(-25%, 0)}html.default.has-menu .col-menu{visibility:visible;transform:translate(0, 0)}}.tsd-page-title{padding:70px 0 20px 0;margin:0 0 40px 0;background:#fff;box-shadow:0 0 5px rgba(0,0,0,.35)}.tsd-page-title h1{margin:0}.tsd-breadcrumb{margin:0;padding:0;color:#707070}.tsd-breadcrumb a{color:#707070;text-decoration:none}.tsd-breadcrumb a:hover{text-decoration:underline}.tsd-breadcrumb li{display:inline}.tsd-breadcrumb li:after{content:" / "}html.minimal .container{margin:0}html.minimal .container-main{padding-top:50px;padding-bottom:0}html.minimal .content-wrap{padding-left:300px}html.minimal .tsd-navigation{position:fixed !important;overflow:auto;-webkit-overflow-scrolling:touch;box-sizing:border-box;z-index:1;left:0;top:40px;bottom:0;width:300px;padding:20px;margin:0}html.minimal .tsd-member .tsd-member{margin-left:0}html.minimal .tsd-page-toolbar{position:fixed;z-index:2}html.minimal #tsd-filter .tsd-filter-group{right:0;transform:none}html.minimal footer{background-color:transparent}html.minimal footer .container{padding:0}html.minimal .tsd-generator{padding:0}@media(max-width: 900px){html.minimal .tsd-navigation{display:none}html.minimal .content-wrap{padding-left:0}}dl.tsd-comment-tags{overflow:hidden}dl.tsd-comment-tags dt{float:left;padding:1px 5px;margin:0 10px 0 0;border-radius:4px;border:1px solid #707070;color:#707070;font-size:.8em;font-weight:normal}dl.tsd-comment-tags dd{margin:0 0 10px 0}dl.tsd-comment-tags dd:before,dl.tsd-comment-tags dd:after{display:table;content:" "}dl.tsd-comment-tags dd pre,dl.tsd-comment-tags dd:after{clear:both}dl.tsd-comment-tags p{margin:0}.tsd-panel.tsd-comment .lead{font-size:1.1em;line-height:1.333em;margin-bottom:2em}.tsd-panel.tsd-comment .lead:last-child{margin-bottom:0}.toggle-protected .tsd-is-private{display:none}.toggle-public .tsd-is-private,.toggle-public .tsd-is-protected,.toggle-public .tsd-is-private-protected{display:none}.toggle-inherited .tsd-is-inherited{display:none}.toggle-only-exported .tsd-is-not-exported{display:none}.toggle-externals .tsd-is-external{display:none}#tsd-filter{position:relative;display:inline-block;height:40px;vertical-align:bottom}.no-filter #tsd-filter{display:none}#tsd-filter .tsd-filter-group{display:inline-block;height:40px;vertical-align:bottom;white-space:nowrap}#tsd-filter input{display:none}@media(max-width: 900px){#tsd-filter .tsd-filter-group{display:block;position:absolute;top:40px;right:20px;height:auto;background-color:#fff;visibility:hidden;transform:translate(50%, 0);box-shadow:0 0 4px rgba(0,0,0,.25)}.has-options #tsd-filter .tsd-filter-group{visibility:visible}.to-has-options #tsd-filter .tsd-filter-group{animation:fade-in .2s}.from-has-options #tsd-filter .tsd-filter-group{animation:fade-out .2s}#tsd-filter label,#tsd-filter .tsd-select{display:block;padding-right:20px}}footer{border-top:1px solid #eee;background-color:#fff}footer.with-border-bottom{border-bottom:1px solid #eee}footer .tsd-legend-group{font-size:0}footer .tsd-legend{display:inline-block;width:25%;padding:0;font-size:16px;list-style:none;line-height:1.333em;vertical-align:top}@media(max-width: 900px){footer .tsd-legend{width:50%}}.tsd-hierarchy{list-style:square;padding:0 0 0 20px;margin:0}.tsd-hierarchy .target{font-weight:bold}.tsd-index-panel .tsd-index-content{margin-bottom:-30px !important}.tsd-index-panel .tsd-index-section{margin-bottom:30px !important}.tsd-index-panel h3{margin:0 -20px 10px -20px;padding:0 20px 10px 20px;border-bottom:1px solid #eee}.tsd-index-panel ul.tsd-index-list{-webkit-column-count:3;-moz-column-count:3;-ms-column-count:3;-o-column-count:3;column-count:3;-webkit-column-gap:20px;-moz-column-gap:20px;-ms-column-gap:20px;-o-column-gap:20px;column-gap:20px;padding:0;list-style:none;line-height:1.333em}@media(max-width: 900px){.tsd-index-panel ul.tsd-index-list{-webkit-column-count:1;-moz-column-count:1;-ms-column-count:1;-o-column-count:1;column-count:1}}@media(min-width: 901px)and (max-width: 1024px){.tsd-index-panel ul.tsd-index-list{-webkit-column-count:2;-moz-column-count:2;-ms-column-count:2;-o-column-count:2;column-count:2}}.tsd-index-panel ul.tsd-index-list li{-webkit-page-break-inside:avoid;-moz-page-break-inside:avoid;-ms-page-break-inside:avoid;-o-page-break-inside:avoid;page-break-inside:avoid}.tsd-index-panel a,.tsd-index-panel .tsd-parent-kind-module a{color:#9600ff}.tsd-index-panel .tsd-parent-kind-interface a{color:#647f1b}.tsd-index-panel .tsd-parent-kind-enum a{color:#937210}.tsd-index-panel .tsd-parent-kind-class a{color:#0672de}.tsd-index-panel .tsd-kind-module a{color:#9600ff}.tsd-index-panel .tsd-kind-interface a{color:#647f1b}.tsd-index-panel .tsd-kind-enum a{color:#937210}.tsd-index-panel .tsd-kind-class a{color:#0672de}.tsd-index-panel .tsd-is-private a{color:#707070}.tsd-flag{display:inline-block;padding:1px 5px;border-radius:4px;color:#fff;background-color:#707070;text-indent:0;font-size:14px;font-weight:normal}.tsd-anchor{position:absolute;top:-100px}.tsd-member{position:relative}.tsd-member .tsd-anchor+h3{margin-top:0;margin-bottom:0;border-bottom:none}.tsd-navigation{margin:0 0 0 40px}.tsd-navigation a{display:block;padding-top:2px;padding-bottom:2px;border-left:2px solid transparent;color:#222;text-decoration:none;transition:border-left-color .1s}.tsd-navigation a:hover{text-decoration:underline}.tsd-navigation ul{margin:0;padding:0;list-style:none}.tsd-navigation li{padding:0}.tsd-navigation.primary{padding-bottom:40px}.tsd-navigation.primary a{display:block;padding-top:6px;padding-bottom:6px}.tsd-navigation.primary ul li a{padding-left:5px}.tsd-navigation.primary ul li li a{padding-left:25px}.tsd-navigation.primary ul li li li a{padding-left:45px}.tsd-navigation.primary ul li li li li a{padding-left:65px}.tsd-navigation.primary ul li li li li li a{padding-left:85px}.tsd-navigation.primary ul li li li li li li a{padding-left:105px}.tsd-navigation.primary>ul{border-bottom:1px solid #eee}.tsd-navigation.primary li{border-top:1px solid #eee}.tsd-navigation.primary li.current>a{font-weight:bold}.tsd-navigation.primary li.label span{display:block;padding:20px 0 6px 5px;color:#707070}.tsd-navigation.primary li.globals+li>span,.tsd-navigation.primary li.globals+li>a{padding-top:20px}.tsd-navigation.secondary{max-height:calc(100vh - 1rem - 40px);overflow:auto;position:-webkit-sticky;position:sticky;top:calc(.5rem + 40px);transition:.3s}.tsd-navigation.secondary.tsd-navigation--toolbar-hide{max-height:calc(100vh - 1rem);top:.5rem}.tsd-navigation.secondary ul{transition:opacity .2s}.tsd-navigation.secondary ul li a{padding-left:25px}.tsd-navigation.secondary ul li li a{padding-left:45px}.tsd-navigation.secondary ul li li li a{padding-left:65px}.tsd-navigation.secondary ul li li li li a{padding-left:85px}.tsd-navigation.secondary ul li li li li li a{padding-left:105px}.tsd-navigation.secondary ul li li li li li li a{padding-left:125px}.tsd-navigation.secondary ul.current a{border-left-color:#eee}.tsd-navigation.secondary li.focus>a,.tsd-navigation.secondary ul.current li.focus>a{border-left-color:#000}.tsd-navigation.secondary li.current{margin-top:20px;margin-bottom:20px;border-left-color:#eee}.tsd-navigation.secondary li.current>a{font-weight:bold}@media(min-width: 901px){.menu-sticky-wrap{position:static}}.tsd-panel{margin:20px 0;padding:20px;background-color:#fff;box-shadow:0 0 4px rgba(0,0,0,.25)}.tsd-panel:empty{display:none}.tsd-panel>h1,.tsd-panel>h2,.tsd-panel>h3{margin:1.5em -20px 10px -20px;padding:0 20px 10px 20px;border-bottom:1px solid #eee}.tsd-panel>h1.tsd-before-signature,.tsd-panel>h2.tsd-before-signature,.tsd-panel>h3.tsd-before-signature{margin-bottom:0;border-bottom:0}.tsd-panel table{display:block;width:100%;overflow:auto;margin-top:10px;word-break:normal;word-break:keep-all}.tsd-panel table th{font-weight:bold}.tsd-panel table th,.tsd-panel table td{padding:6px 13px;border:1px solid #ddd}.tsd-panel table tr{background-color:#fff;border-top:1px solid #ccc}.tsd-panel table tr:nth-child(2n){background-color:#f8f8f8}.tsd-panel-group{margin:60px 0}.tsd-panel-group>h1,.tsd-panel-group>h2,.tsd-panel-group>h3{padding-left:20px;padding-right:20px}#tsd-search{transition:background-color .2s}#tsd-search .title{position:relative;z-index:2}#tsd-search .field{position:absolute;left:0;top:0;right:40px;height:40px}#tsd-search .field input{box-sizing:border-box;position:relative;top:-50px;z-index:1;width:100%;padding:0 10px;opacity:0;outline:0;border:0;background:transparent;color:#222}#tsd-search .field label{position:absolute;overflow:hidden;right:-40px}#tsd-search .field input,#tsd-search .title{transition:opacity .2s}#tsd-search .results{position:absolute;visibility:hidden;top:40px;width:100%;margin:0;padding:0;list-style:none;box-shadow:0 0 4px rgba(0,0,0,.25)}#tsd-search .results li{padding:0 10px;background-color:#fdfdfd}#tsd-search .results li:nth-child(even){background-color:#fff}#tsd-search .results li.state{display:none}#tsd-search .results li.current,#tsd-search .results li:hover{background-color:#eee}#tsd-search .results a{display:block}#tsd-search .results a:before{top:10px}#tsd-search .results span.parent{color:#707070;font-weight:normal}#tsd-search.has-focus{background-color:#eee}#tsd-search.has-focus .field input{top:0;opacity:1}#tsd-search.has-focus .title{z-index:0;opacity:0}#tsd-search.has-focus .results{visibility:visible}#tsd-search.loading .results li.state.loading{display:block}#tsd-search.failure .results li.state.failure{display:block}.tsd-signature{margin:0 0 1em 0;padding:10px;border:1px solid #eee;font-family:Menlo,Monaco,Consolas,"Courier New",monospace;font-size:14px;overflow-x:auto}.tsd-signature.tsd-kind-icon{padding-left:30px}.tsd-signature.tsd-kind-icon:before{top:10px;left:10px}.tsd-panel>.tsd-signature{margin-left:-20px;margin-right:-20px;border-width:1px 0}.tsd-panel>.tsd-signature.tsd-kind-icon{padding-left:40px}.tsd-panel>.tsd-signature.tsd-kind-icon:before{left:20px}.tsd-signature-symbol{color:#707070;font-weight:normal}.tsd-signature-type{font-style:italic;font-weight:normal}.tsd-signatures{padding:0;margin:0 0 1em 0;border:1px solid #eee}.tsd-signatures .tsd-signature{margin:0;border-width:1px 0 0 0;transition:background-color .1s}.tsd-signatures .tsd-signature:first-child{border-top-width:0}.tsd-signatures .tsd-signature.current{background-color:#eee}.tsd-signatures.active>.tsd-signature{cursor:pointer}.tsd-panel>.tsd-signatures{margin-left:-20px;margin-right:-20px;border-width:1px 0}.tsd-panel>.tsd-signatures .tsd-signature.tsd-kind-icon{padding-left:40px}.tsd-panel>.tsd-signatures .tsd-signature.tsd-kind-icon:before{left:20px}.tsd-panel>a.anchor+.tsd-signatures{border-top-width:0;margin-top:-20px}ul.tsd-descriptions{position:relative;overflow:hidden;padding:0;list-style:none}ul.tsd-descriptions.active>.tsd-description{display:none}ul.tsd-descriptions.active>.tsd-description.current{display:block}ul.tsd-descriptions.active>.tsd-description.fade-in{animation:fade-in-delayed .3s}ul.tsd-descriptions.active>.tsd-description.fade-out{animation:fade-out-delayed .3s;position:absolute;display:block;top:0;left:0;right:0;opacity:0;visibility:hidden}ul.tsd-descriptions h4,ul.tsd-descriptions .tsd-index-panel h3,.tsd-index-panel ul.tsd-descriptions h3{font-size:16px;margin:1em 0 .5em 0}ul.tsd-parameters,ul.tsd-type-parameters{list-style:square;margin:0;padding-left:20px}ul.tsd-parameters>li.tsd-parameter-signature,ul.tsd-type-parameters>li.tsd-parameter-signature{list-style:none;margin-left:-20px}ul.tsd-parameters h5,ul.tsd-type-parameters h5{font-size:16px;margin:1em 0 .5em 0}ul.tsd-parameters .tsd-comment,ul.tsd-type-parameters .tsd-comment{margin-top:-0.5em}.tsd-sources{font-size:14px;color:#707070;margin:0 0 1em 0}.tsd-sources a{color:#707070;text-decoration:underline}.tsd-sources ul,.tsd-sources p{margin:0 !important}.tsd-sources ul{list-style:none;padding:0}.tsd-page-toolbar{position:fixed;z-index:1;top:0;left:0;width:100%;height:40px;color:#333;background:#fff;border-bottom:1px solid #eee;transition:transform .3s linear}.tsd-page-toolbar a{color:#333;text-decoration:none}.tsd-page-toolbar a.title{font-weight:bold}.tsd-page-toolbar a.title:hover{text-decoration:underline}.tsd-page-toolbar .table-wrap{display:table;width:100%;height:40px}.tsd-page-toolbar .table-cell{display:table-cell;position:relative;white-space:nowrap;line-height:40px}.tsd-page-toolbar .table-cell:first-child{width:100%}.tsd-page-toolbar--hide{transform:translateY(-100%)}.tsd-select .tsd-select-list li:before,.tsd-select .tsd-select-label:before,.tsd-widget:before{content:"";display:inline-block;width:40px;height:40px;margin:0 -8px 0 0;background-image:url(../images/widgets.png);background-repeat:no-repeat;text-indent:-1024px;vertical-align:bottom}@media(-webkit-min-device-pixel-ratio: 1.5),(min-resolution: 144dpi){.tsd-select .tsd-select-list li:before,.tsd-select .tsd-select-label:before,.tsd-widget:before{background-image:url(../images/widgets@2x.png);background-size:320px 40px}}.tsd-widget{display:inline-block;overflow:hidden;opacity:.6;height:40px;transition:opacity .1s,background-color .2s;vertical-align:bottom;cursor:pointer}.tsd-widget:hover{opacity:.8}.tsd-widget.active{opacity:1;background-color:#eee}.tsd-widget.no-caption{width:40px}.tsd-widget.no-caption:before{margin:0}.tsd-widget.search:before{background-position:0 0}.tsd-widget.menu:before{background-position:-40px 0}.tsd-widget.options:before{background-position:-80px 0}.tsd-widget.options,.tsd-widget.menu{display:none}@media(max-width: 900px){.tsd-widget.options,.tsd-widget.menu{display:inline-block}}input[type=checkbox]+.tsd-widget:before{background-position:-120px 0}input[type=checkbox]:checked+.tsd-widget:before{background-position:-160px 0}.tsd-select{position:relative;display:inline-block;height:40px;transition:opacity .1s,background-color .2s;vertical-align:bottom;cursor:pointer}.tsd-select .tsd-select-label{opacity:.6;transition:opacity .2s}.tsd-select .tsd-select-label:before{background-position:-240px 0}.tsd-select.active .tsd-select-label{opacity:.8}.tsd-select.active .tsd-select-list{visibility:visible;opacity:1;transition-delay:0s}.tsd-select .tsd-select-list{position:absolute;visibility:hidden;top:40px;left:0;margin:0;padding:0;opacity:0;list-style:none;box-shadow:0 0 4px rgba(0,0,0,.25);transition:visibility 0s .2s,opacity .2s}.tsd-select .tsd-select-list li{padding:0 20px 0 0;background-color:#fdfdfd}.tsd-select .tsd-select-list li:before{background-position:40px 0}.tsd-select .tsd-select-list li:nth-child(even){background-color:#fff}.tsd-select .tsd-select-list li:hover{background-color:#eee}.tsd-select .tsd-select-list li.selected:before{background-position:-200px 0}@media(max-width: 900px){.tsd-select .tsd-select-list{top:0;left:auto;right:100%;margin-right:-5px}.tsd-select .tsd-select-label:before{background-position:-280px 0}}img{max-width:100%} diff --git a/docs/assets/images/icons.png b/docs/assets/images/icons.png new file mode 100644 index 0000000..3836d5f Binary files /dev/null and b/docs/assets/images/icons.png differ diff --git a/docs/assets/images/icons@2x.png b/docs/assets/images/icons@2x.png new file mode 100644 index 0000000..5a209e2 Binary files /dev/null and b/docs/assets/images/icons@2x.png differ diff --git a/docs/assets/images/widgets.png b/docs/assets/images/widgets.png new file mode 100644 index 0000000..c738053 Binary files /dev/null and b/docs/assets/images/widgets.png differ diff --git a/docs/assets/images/widgets@2x.png b/docs/assets/images/widgets@2x.png new file mode 100644 index 0000000..4bbbd57 Binary files /dev/null and b/docs/assets/images/widgets@2x.png differ diff --git a/docs/assets/js/main.js b/docs/assets/js/main.js new file mode 100644 index 0000000..c2190a9 --- /dev/null +++ b/docs/assets/js/main.js @@ -0,0 +1,51 @@ +!function(e){var t={};function r(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)r.d(n,i,function(t){return e[t]}.bind(null,i));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=2)}([function(e,t,r){var n,i; +/** + * lunr - http://lunrjs.com - A bit like Solr, but much smaller and not as bright - 2.3.9 + * Copyright (C) 2020 Oliver Nightingale + * @license MIT + */!function(){var s,o,a,u,l,c,h,d,f,p,y,m,v,g,x,w,L,E,b,S,k,Q,O,P,T,_,C=function(e){var t=new C.Builder;return t.pipeline.add(C.trimmer,C.stopWordFilter,C.stemmer),t.searchPipeline.add(C.stemmer),e.call(t,t),t.build()};C.version="2.3.9" +/*! + * lunr.utils + * Copyright (C) 2020 Oliver Nightingale + */,C.utils={},C.utils.warn=(s=this,function(e){s.console&&console.warn&&console.warn(e)}),C.utils.asString=function(e){return null==e?"":e.toString()},C.utils.clone=function(e){if(null==e)return e;for(var t=Object.create(null),r=Object.keys(e),n=0;n0){var u=C.utils.clone(t)||{};u.position=[o,a],u.index=i.length,i.push(new C.Token(r.slice(o,s),u))}o=s+1}}return i},C.tokenizer.separator=/[\s\-]+/ +/*! + * lunr.Pipeline + * Copyright (C) 2020 Oliver Nightingale + */,C.Pipeline=function(){this._stack=[]},C.Pipeline.registeredFunctions=Object.create(null),C.Pipeline.registerFunction=function(e,t){t in this.registeredFunctions&&C.utils.warn("Overwriting existing registered function: "+t),e.label=t,C.Pipeline.registeredFunctions[e.label]=e},C.Pipeline.warnIfFunctionNotRegistered=function(e){e.label&&e.label in this.registeredFunctions||C.utils.warn("Function is not registered with pipeline. This may cause problems when serialising the index.\n",e)},C.Pipeline.load=function(e){var t=new C.Pipeline;return e.forEach((function(e){var r=C.Pipeline.registeredFunctions[e];if(!r)throw new Error("Cannot load unregistered function: "+e);t.add(r)})),t},C.Pipeline.prototype.add=function(){var e=Array.prototype.slice.call(arguments);e.forEach((function(e){C.Pipeline.warnIfFunctionNotRegistered(e),this._stack.push(e)}),this)},C.Pipeline.prototype.after=function(e,t){C.Pipeline.warnIfFunctionNotRegistered(t);var r=this._stack.indexOf(e);if(-1==r)throw new Error("Cannot find existingFn");r+=1,this._stack.splice(r,0,t)},C.Pipeline.prototype.before=function(e,t){C.Pipeline.warnIfFunctionNotRegistered(t);var r=this._stack.indexOf(e);if(-1==r)throw new Error("Cannot find existingFn");this._stack.splice(r,0,t)},C.Pipeline.prototype.remove=function(e){var t=this._stack.indexOf(e);-1!=t&&this._stack.splice(t,1)},C.Pipeline.prototype.run=function(e){for(var t=this._stack.length,r=0;r1&&(se&&(r=i),s!=e);)n=r-t,i=t+Math.floor(n/2),s=this.elements[2*i];return s==e||s>e?2*i:sa?l+=2:o==a&&(t+=r[u+1]*n[l+1],u+=2,l+=2);return t},C.Vector.prototype.similarity=function(e){return this.dot(e)/this.magnitude()||0},C.Vector.prototype.toArray=function(){for(var e=new Array(this.elements.length/2),t=1,r=0;t0){var s,o=i.str.charAt(0);o in i.node.edges?s=i.node.edges[o]:(s=new C.TokenSet,i.node.edges[o]=s),1==i.str.length&&(s.final=!0),n.push({node:s,editsRemaining:i.editsRemaining,str:i.str.slice(1)})}if(0!=i.editsRemaining){if("*"in i.node.edges)var a=i.node.edges["*"];else{a=new C.TokenSet;i.node.edges["*"]=a}if(0==i.str.length&&(a.final=!0),n.push({node:a,editsRemaining:i.editsRemaining-1,str:i.str}),i.str.length>1&&n.push({node:i.node,editsRemaining:i.editsRemaining-1,str:i.str.slice(1)}),1==i.str.length&&(i.node.final=!0),i.str.length>=1){if("*"in i.node.edges)var u=i.node.edges["*"];else{u=new C.TokenSet;i.node.edges["*"]=u}1==i.str.length&&(u.final=!0),n.push({node:u,editsRemaining:i.editsRemaining-1,str:i.str.slice(1)})}if(i.str.length>1){var l,c=i.str.charAt(0),h=i.str.charAt(1);h in i.node.edges?l=i.node.edges[h]:(l=new C.TokenSet,i.node.edges[h]=l),1==i.str.length&&(l.final=!0),n.push({node:l,editsRemaining:i.editsRemaining-1,str:c+i.str.slice(2)})}}}return r},C.TokenSet.fromString=function(e){for(var t=new C.TokenSet,r=t,n=0,i=e.length;n=e;t--){var r=this.uncheckedNodes[t],n=r.child.toString();n in this.minimizedNodes?r.parent.edges[r.char]=this.minimizedNodes[n]:(r.child._str=n,this.minimizedNodes[n]=r.child),this.uncheckedNodes.pop()}} +/*! + * lunr.Index + * Copyright (C) 2020 Oliver Nightingale + */,C.Index=function(e){this.invertedIndex=e.invertedIndex,this.fieldVectors=e.fieldVectors,this.tokenSet=e.tokenSet,this.fields=e.fields,this.pipeline=e.pipeline},C.Index.prototype.search=function(e){return this.query((function(t){new C.QueryParser(e,t).parse()}))},C.Index.prototype.query=function(e){for(var t=new C.Query(this.fields),r=Object.create(null),n=Object.create(null),i=Object.create(null),s=Object.create(null),o=Object.create(null),a=0;a1?1:e},C.Builder.prototype.k1=function(e){this._k1=e},C.Builder.prototype.add=function(e,t){var r=e[this._ref],n=Object.keys(this._fields);this._documents[r]=t||{},this.documentCount+=1;for(var i=0;i=this.length)return C.QueryLexer.EOS;var e=this.str.charAt(this.pos);return this.pos+=1,e},C.QueryLexer.prototype.width=function(){return this.pos-this.start},C.QueryLexer.prototype.ignore=function(){this.start==this.pos&&(this.pos+=1),this.start=this.pos},C.QueryLexer.prototype.backup=function(){this.pos-=1},C.QueryLexer.prototype.acceptDigitRun=function(){var e,t;do{t=(e=this.next()).charCodeAt(0)}while(t>47&&t<58);e!=C.QueryLexer.EOS&&this.backup()},C.QueryLexer.prototype.more=function(){return this.pos1&&(e.backup(),e.emit(C.QueryLexer.TERM)),e.ignore(),e.more())return C.QueryLexer.lexText},C.QueryLexer.lexEditDistance=function(e){return e.ignore(),e.acceptDigitRun(),e.emit(C.QueryLexer.EDIT_DISTANCE),C.QueryLexer.lexText},C.QueryLexer.lexBoost=function(e){return e.ignore(),e.acceptDigitRun(),e.emit(C.QueryLexer.BOOST),C.QueryLexer.lexText},C.QueryLexer.lexEOS=function(e){e.width()>0&&e.emit(C.QueryLexer.TERM)},C.QueryLexer.termSeparator=C.tokenizer.separator,C.QueryLexer.lexText=function(e){for(;;){var t=e.next();if(t==C.QueryLexer.EOS)return C.QueryLexer.lexEOS;if(92!=t.charCodeAt(0)){if(":"==t)return C.QueryLexer.lexField;if("~"==t)return e.backup(),e.width()>0&&e.emit(C.QueryLexer.TERM),C.QueryLexer.lexEditDistance;if("^"==t)return e.backup(),e.width()>0&&e.emit(C.QueryLexer.TERM),C.QueryLexer.lexBoost;if("+"==t&&1===e.width())return e.emit(C.QueryLexer.PRESENCE),C.QueryLexer.lexText;if("-"==t&&1===e.width())return e.emit(C.QueryLexer.PRESENCE),C.QueryLexer.lexText;if(t.match(C.QueryLexer.termSeparator))return C.QueryLexer.lexTerm}else e.escapeCharacter()}},C.QueryParser=function(e,t){this.lexer=new C.QueryLexer(e),this.query=t,this.currentClause={},this.lexemeIdx=0},C.QueryParser.prototype.parse=function(){this.lexer.run(),this.lexemes=this.lexer.lexemes;for(var e=C.QueryParser.parseClause;e;)e=e(this);return this.query},C.QueryParser.prototype.peekLexeme=function(){return this.lexemes[this.lexemeIdx]},C.QueryParser.prototype.consumeLexeme=function(){var e=this.peekLexeme();return this.lexemeIdx+=1,e},C.QueryParser.prototype.nextClause=function(){var e=this.currentClause;this.query.clause(e),this.currentClause={}},C.QueryParser.parseClause=function(e){var t=e.peekLexeme();if(null!=t)switch(t.type){case C.QueryLexer.PRESENCE:return C.QueryParser.parsePresence;case C.QueryLexer.FIELD:return C.QueryParser.parseField;case C.QueryLexer.TERM:return C.QueryParser.parseTerm;default:var r="expected either a field or a term, found "+t.type;throw t.str.length>=1&&(r+=" with value '"+t.str+"'"),new C.QueryParseError(r,t.start,t.end)}},C.QueryParser.parsePresence=function(e){var t=e.consumeLexeme();if(null!=t){switch(t.str){case"-":e.currentClause.presence=C.Query.presence.PROHIBITED;break;case"+":e.currentClause.presence=C.Query.presence.REQUIRED;break;default:var r="unrecognised presence operator'"+t.str+"'";throw new C.QueryParseError(r,t.start,t.end)}var n=e.peekLexeme();if(null==n){r="expecting term or field, found nothing";throw new C.QueryParseError(r,t.start,t.end)}switch(n.type){case C.QueryLexer.FIELD:return C.QueryParser.parseField;case C.QueryLexer.TERM:return C.QueryParser.parseTerm;default:r="expecting term or field, found '"+n.type+"'";throw new C.QueryParseError(r,n.start,n.end)}}},C.QueryParser.parseField=function(e){var t=e.consumeLexeme();if(null!=t){if(-1==e.query.allFields.indexOf(t.str)){var r=e.query.allFields.map((function(e){return"'"+e+"'"})).join(", "),n="unrecognised field '"+t.str+"', possible fields: "+r;throw new C.QueryParseError(n,t.start,t.end)}e.currentClause.fields=[t.str];var i=e.peekLexeme();if(null==i){n="expecting term, found nothing";throw new C.QueryParseError(n,t.start,t.end)}switch(i.type){case C.QueryLexer.TERM:return C.QueryParser.parseTerm;default:n="expecting term, found '"+i.type+"'";throw new C.QueryParseError(n,i.start,i.end)}}},C.QueryParser.parseTerm=function(e){var t=e.consumeLexeme();if(null!=t){e.currentClause.term=t.str.toLowerCase(),-1!=t.str.indexOf("*")&&(e.currentClause.usePipeline=!1);var r=e.peekLexeme();if(null!=r)switch(r.type){case C.QueryLexer.TERM:return e.nextClause(),C.QueryParser.parseTerm;case C.QueryLexer.FIELD:return e.nextClause(),C.QueryParser.parseField;case C.QueryLexer.EDIT_DISTANCE:return C.QueryParser.parseEditDistance;case C.QueryLexer.BOOST:return C.QueryParser.parseBoost;case C.QueryLexer.PRESENCE:return e.nextClause(),C.QueryParser.parsePresence;default:var n="Unexpected lexeme type '"+r.type+"'";throw new C.QueryParseError(n,r.start,r.end)}else e.nextClause()}},C.QueryParser.parseEditDistance=function(e){var t=e.consumeLexeme();if(null!=t){var r=parseInt(t.str,10);if(isNaN(r)){var n="edit distance must be numeric";throw new C.QueryParseError(n,t.start,t.end)}e.currentClause.editDistance=r;var i=e.peekLexeme();if(null!=i)switch(i.type){case C.QueryLexer.TERM:return e.nextClause(),C.QueryParser.parseTerm;case C.QueryLexer.FIELD:return e.nextClause(),C.QueryParser.parseField;case C.QueryLexer.EDIT_DISTANCE:return C.QueryParser.parseEditDistance;case C.QueryLexer.BOOST:return C.QueryParser.parseBoost;case C.QueryLexer.PRESENCE:return e.nextClause(),C.QueryParser.parsePresence;default:n="Unexpected lexeme type '"+i.type+"'";throw new C.QueryParseError(n,i.start,i.end)}else e.nextClause()}},C.QueryParser.parseBoost=function(e){var t=e.consumeLexeme();if(null!=t){var r=parseInt(t.str,10);if(isNaN(r)){var n="boost must be numeric";throw new C.QueryParseError(n,t.start,t.end)}e.currentClause.boost=r;var i=e.peekLexeme();if(null!=i)switch(i.type){case C.QueryLexer.TERM:return e.nextClause(),C.QueryParser.parseTerm;case C.QueryLexer.FIELD:return e.nextClause(),C.QueryParser.parseField;case C.QueryLexer.EDIT_DISTANCE:return C.QueryParser.parseEditDistance;case C.QueryLexer.BOOST:return C.QueryParser.parseBoost;case C.QueryLexer.PRESENCE:return e.nextClause(),C.QueryParser.parsePresence;default:n="Unexpected lexeme type '"+i.type+"'";throw new C.QueryParseError(n,i.start,i.end)}else e.nextClause()}},void 0===(i="function"==typeof(n=function(){return C})?n.call(t,r,t,e):n)||(e.exports=i)}()},function(e,t,r){},function(e,t,r){"use strict";r.r(t);var n=[];function i(e,t){n.push({selector:t,constructor:e})}var s,o,a=function(){function e(){this.createComponents(document.body)}return e.prototype.createComponents=function(e){n.forEach((function(t){e.querySelectorAll(t.selector).forEach((function(e){e.dataset.hasInstance||(new t.constructor({el:e}),e.dataset.hasInstance=String(!0))}))}))},e}(),u=function(e){this.el=e.el},l=r(0),c=(s=function(e,t){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}s(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});!function(e){e[e.Idle=0]="Idle",e[e.Loading=1]="Loading",e[e.Ready=2]="Ready",e[e.Failure=3]="Failure"}(o||(o={}));var h=function(e){function t(t){var r=e.call(this,t)||this;r.query="",r.loadingState=o.Idle,r.hasFocus=!1,r.preventPress=!1,r.data=null,r.index=null,r.resultClicked=!1;var n=document.querySelector("#tsd-search-field"),i=document.querySelector(".results");if(!n||!i)throw new Error("The input field or the result list wrapper are not found");return r.field=n,r.results=i,r.base=r.el.dataset.base+"/",r.bindEvents(),r}return c(t,e),t.prototype.loadIndex=function(){var e=this;if(this.loadingState==o.Idle&&!this.data){setTimeout((function(){e.loadingState==o.Idle&&e.setLoadingState(o.Loading)}),500);var t=this.el.dataset.index;t?fetch(t).then((function(e){if(!e.ok)throw new Error("The search index is missing");return e.json()})).then((function(t){e.data=t,e.index=l.Index.load(t.index),e.setLoadingState(o.Ready)})).catch((function(t){console.error(t),e.setLoadingState(o.Failure)})):this.setLoadingState(o.Failure)}},t.prototype.updateResults=function(){if(this.loadingState==o.Ready&&(this.results.textContent="",this.query&&this.index&&this.data)){var e=this.index.search("*"+this.query+"*");0===e.length&&(e=this.index.search("*"+this.query+"~1*"));for(var t=0,r=Math.min(10,e.length);t"+e+""})),s=n.parent||"";(s=s.replace(new RegExp(this.query,"i"),(function(e){return""+e+""})))&&(i=''+s+"."+i);var a=document.createElement("li");a.classList.value=n.classes,a.innerHTML='\n '+i+"\n ",this.results.appendChild(a)}}},t.prototype.setLoadingState=function(e){this.loadingState!=e&&(this.el.classList.remove(o[this.loadingState].toLowerCase()),this.loadingState=e,this.el.classList.add(o[this.loadingState].toLowerCase()),this.updateResults())},t.prototype.setHasFocus=function(e){this.hasFocus!=e&&(this.hasFocus=e,this.el.classList.toggle("has-focus"),e?(this.setQuery(""),this.field.value=""):this.field.value=this.query)},t.prototype.setQuery=function(e){this.query=e.trim(),this.updateResults()},t.prototype.setCurrentResult=function(e){var t=this.results.querySelector(".current");if(t){var r=1==e?t.nextElementSibling:t.previousElementSibling;r&&(t.classList.remove("current"),r.classList.add("current"))}else(t=this.results.querySelector(1==e?"li:first-child":"li:last-child"))&&t.classList.add("current")},t.prototype.gotoCurrentResult=function(){var e=this.results.querySelector(".current");if(e||(e=this.results.querySelector("li:first-child")),e){var t=e.querySelector("a");t&&(window.location.href=t.href),this.field.blur()}},t.prototype.bindEvents=function(){var e=this;this.results.addEventListener("mousedown",(function(){e.resultClicked=!0})),this.results.addEventListener("mouseup",(function(){e.resultClicked=!1,e.setHasFocus(!1)})),this.field.addEventListener("focusin",(function(){e.setHasFocus(!0),e.loadIndex()})),this.field.addEventListener("focusout",(function(){e.resultClicked?e.resultClicked=!1:setTimeout((function(){return e.setHasFocus(!1)}),100)})),this.field.addEventListener("input",(function(){e.setQuery(e.field.value)})),this.field.addEventListener("keydown",(function(t){13==t.keyCode||27==t.keyCode||38==t.keyCode||40==t.keyCode?(e.preventPress=!0,t.preventDefault(),13==t.keyCode?e.gotoCurrentResult():27==t.keyCode?e.field.blur():38==t.keyCode?e.setCurrentResult(-1):40==t.keyCode&&e.setCurrentResult(1)):e.preventPress=!1})),this.field.addEventListener("keypress",(function(t){e.preventPress&&t.preventDefault()})),document.body.addEventListener("keydown",(function(t){t.altKey||t.ctrlKey||t.metaKey||!e.hasFocus&&t.keyCode>47&&t.keyCode<112&&e.field.focus()}))},t}(u),d=function(){function e(){this.listeners={}}return e.prototype.addEventListener=function(e,t){e in this.listeners||(this.listeners[e]=[]),this.listeners[e].push(t)},e.prototype.removeEventListener=function(e,t){if(e in this.listeners)for(var r=this.listeners[e],n=0,i=r.length;n=this.scrollTop||0===this.scrollTop,e!==this.showToolbar&&(this.toolbar.classList.toggle("tsd-page-toolbar--hide"),this.secondaryNav.classList.toggle("tsd-navigation--toolbar-hide")),this.lastY=this.scrollTop},t.instance=new t,t}(d),m=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),v=function(e){function t(t){var r=e.call(this,t)||this;return r.anchors=[],r.index=-1,y.instance.addEventListener("resize",(function(){return r.onResize()})),y.instance.addEventListener("scroll",(function(e){return r.onScroll(e)})),r.createAnchors(),r}return m(t,e),t.prototype.createAnchors=function(){var e=this,t=window.location.href;-1!=t.indexOf("#")&&(t=t.substr(0,t.indexOf("#"))),this.el.querySelectorAll("a").forEach((function(r){var n=r.href;if(-1!=n.indexOf("#")&&n.substr(0,t.length)==t){var i=n.substr(n.indexOf("#")+1),s=document.querySelector("a.tsd-anchor[name="+i+"]"),o=r.parentNode;s&&o&&e.anchors.push({link:o,anchor:s,position:0})}})),this.onResize()},t.prototype.onResize=function(){for(var e,t=0,r=this.anchors.length;t-1&&r[i].position>t;)i-=1;for(;i-1&&this.anchors[this.index].link.classList.remove("focus"),this.index=i,this.index>-1&&this.anchors[this.index].link.classList.add("focus"))},t}(u),g=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),x=function(){function e(e,t){this.signature=e,this.description=t}return e.prototype.addClass=function(e){return this.signature.classList.add(e),this.description.classList.add(e),this},e.prototype.removeClass=function(e){return this.signature.classList.remove(e),this.description.classList.remove(e),this},e}(),w=function(e){function t(t){var r=e.call(this,t)||this;return r.groups=[],r.index=-1,r.createGroups(),r.container&&(r.el.classList.add("active"),Array.from(r.el.children).forEach((function(e){e.addEventListener("touchstart",(function(e){return r.onClick(e)})),e.addEventListener("click",(function(e){return r.onClick(e)}))})),r.container.classList.add("active"),r.setIndex(0)),r}return g(t,e),t.prototype.setIndex=function(e){if(e<0&&(e=0),e>this.groups.length-1&&(e=this.groups.length-1),this.index!=e){var t=this.groups[e];if(this.index>-1){var r=this.groups[this.index];r.removeClass("current").addClass("fade-out"),t.addClass("current"),t.addClass("fade-in"),y.instance.triggerResize(),setTimeout((function(){r.removeClass("fade-out"),t.removeClass("fade-in")}),300)}else t.addClass("current"),y.instance.triggerResize();this.index=e}},t.prototype.createGroups=function(){var e=this.el.children;if(!(e.length<2)){this.container=this.el.nextElementSibling;var t=this.container.children;this.groups=[];for(var r=0;r10}})),document.addEventListener(b,(function(){Q=!1})),document.addEventListener("click",(function(e){k&&(e.preventDefault(),e.stopImmediatePropagation(),k=!1)}));var T=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),_=function(e){function t(t){var r=e.call(this,t)||this;return r.className=r.el.dataset.toggle||"",r.el.addEventListener(b,(function(e){return r.onPointerUp(e)})),r.el.addEventListener("click",(function(e){return e.preventDefault()})),document.addEventListener(L,(function(e){return r.onDocumentPointerDown(e)})),document.addEventListener(b,(function(e){return r.onDocumentPointerUp(e)})),r}return T(t,e),t.prototype.setActive=function(e){if(this.active!=e){this.active=e,document.documentElement.classList.toggle("has-"+this.className,e),this.el.classList.toggle("active",e);var t=(this.active?"to-has-":"from-has-")+this.className;document.documentElement.classList.add(t),setTimeout((function(){return document.documentElement.classList.remove(t)}),500)}},t.prototype.onPointerUp=function(e){O||(this.setActive(!0),e.preventDefault())},t.prototype.onDocumentPointerDown=function(e){if(this.active){if(e.target.closest(".col-menu, .tsd-filter-group"))return;this.setActive(!1)}},t.prototype.onDocumentPointerUp=function(e){var t=this;if(!O&&this.active&&e.target.closest(".col-menu")){var r=e.target.closest("a");if(r){var n=window.location.href;-1!=n.indexOf("#")&&(n=n.substr(0,n.indexOf("#"))),r.href.substr(0,n.length)==n&&setTimeout((function(){return t.setActive(!1)}),250)}}},t}(u),C=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),R=function(){function e(e,t){this.key=e,this.value=t,this.defaultValue=t,this.initialize(),window.localStorage[this.key]&&this.setValue(this.fromLocalStorage(window.localStorage[this.key]))}return e.prototype.initialize=function(){},e.prototype.setValue=function(e){if(this.value!=e){var t=this.value;this.value=e,window.localStorage[this.key]=this.toLocalStorage(e),this.handleValueChange(t,e)}},e}(),I=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return C(t,e),t.prototype.initialize=function(){var e=this,t=document.querySelector("#tsd-filter-"+this.key);t&&(this.checkbox=t,this.checkbox.addEventListener("change",(function(){e.setValue(e.checkbox.checked)})))},t.prototype.handleValueChange=function(e,t){this.checkbox&&(this.checkbox.checked=this.value,document.documentElement.classList.toggle("toggle-"+this.key,this.value!=this.defaultValue))},t.prototype.fromLocalStorage=function(e){return"true"==e},t.prototype.toLocalStorage=function(e){return e?"true":"false"},t}(R),j=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return C(t,e),t.prototype.initialize=function(){var e=this;document.documentElement.classList.add("toggle-"+this.key+this.value);var t=document.querySelector("#tsd-filter-"+this.key);if(t){this.select=t;var r=function(){e.select.classList.add("active")};this.select.addEventListener(L,r),this.select.addEventListener("mouseover",r),this.select.addEventListener("mouseleave",(function(){e.select.classList.remove("active")})),this.select.querySelectorAll("li").forEach((function(r){r.addEventListener(b,(function(r){t.classList.remove("active"),e.setValue(r.target.dataset.value||"")}))})),document.addEventListener(L,(function(t){e.select.contains(t.target)||e.select.classList.remove("active")}))}},t.prototype.handleValueChange=function(e,t){this.select.querySelectorAll("li.selected").forEach((function(e){e.classList.remove("selected")}));var r=this.select.querySelector('li[data-value="'+t+'"]'),n=this.select.querySelector(".tsd-select-label");r&&n&&(r.classList.add("selected"),n.textContent=r.textContent),document.documentElement.classList.remove("toggle-"+e),document.documentElement.classList.add("toggle-"+t)},t.prototype.fromLocalStorage=function(e){return e},t.prototype.toLocalStorage=function(e){return e},t}(R),F=function(e){function t(t){var r=e.call(this,t)||this;return r.optionVisibility=new j("visibility","private"),r.optionInherited=new I("inherited",!0),r.optionExternals=new I("externals",!0),r.optionOnlyExported=new I("only-exported",!1),r}return C(t,e),t.isSupported=function(){try{return void 0!==window.localStorage}catch(e){return!1}},t}(u);r(1);i(h,"#tsd-search"),i(v,".menu-highlight"),i(w,".tsd-signatures"),i(_,"a[data-toggle]"),F.isSupported()?i(F,"#tsd-filter"):document.documentElement.classList.add("no-filter");var N=new a;Object.defineProperty(window,"app",{value:N})}]); \ No newline at end of file diff --git a/docs/assets/js/search.json b/docs/assets/js/search.json new file mode 100644 index 0000000..a9c1d89 --- /dev/null +++ b/docs/assets/js/search.json @@ -0,0 +1 @@ +{"kinds":{"2":"Namespace","4":"Enumeration","16":"Enumeration member","32":"Variable","64":"Function","128":"Class","256":"Interface","512":"Constructor","1024":"Property","2048":"Method","65536":"Type literal","262144":"Accessor","2097152":"Object literal","4194304":"Type alias"},"rows":[{"id":0,"kind":128,"name":"Drawable","url":"classes/drawable.html","classes":"tsd-kind-class"},{"id":1,"kind":1024,"name":"descriptor","url":"classes/drawable.html#descriptor","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-static","parent":"Drawable"},{"id":2,"kind":2048,"name":"minDistance","url":"classes/drawable.html#mindistance","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Drawable"},{"id":3,"kind":2048,"name":"getObjectToSerialize","url":"classes/drawable.html#getobjecttoserialize","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-protected","parent":"Drawable"},{"id":4,"kind":2048,"name":"serializeToUniforms","url":"classes/drawable.html#serializetouniforms","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Drawable"},{"id":5,"kind":256,"name":"DrawableDescriptor","url":"interfaces/drawabledescriptor.html","classes":"tsd-kind-interface"},{"id":6,"kind":1024,"name":"propertyUniformMapping","url":"interfaces/drawabledescriptor.html#propertyuniformmapping","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"DrawableDescriptor"},{"id":7,"kind":65536,"name":"__type","url":"interfaces/drawabledescriptor.html#propertyuniformmapping.__type","classes":"tsd-kind-type-literal tsd-parent-kind-property","parent":"DrawableDescriptor.propertyUniformMapping"},{"id":8,"kind":1024,"name":"uniformCountMacroName","url":"interfaces/drawabledescriptor.html#uniformcountmacroname","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"DrawableDescriptor"},{"id":9,"kind":1024,"name":"sdf","url":"interfaces/drawabledescriptor.html#sdf","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"DrawableDescriptor"},{"id":10,"kind":1024,"name":"shaderCombinationSteps","url":"interfaces/drawabledescriptor.html#shadercombinationsteps","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"DrawableDescriptor"},{"id":11,"kind":1024,"name":"empty","url":"interfaces/drawabledescriptor.html#empty","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"DrawableDescriptor"},{"id":12,"kind":64,"name":"last","url":"globals.html#last","classes":"tsd-kind-function tsd-has-type-parameter"},{"id":13,"kind":64,"name":"msToString","url":"globals.html#mstostring","classes":"tsd-kind-function"},{"id":14,"kind":128,"name":"Insights","url":"classes/insights.html","classes":"tsd-kind-class"},{"id":15,"kind":2048,"name":"setValue","url":"classes/insights.html#setvalue","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-static","parent":"Insights"},{"id":16,"kind":2048,"name":"measure","url":"classes/insights.html#measure","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-static","parent":"Insights"},{"id":17,"kind":2048,"name":"measureFunction","url":"classes/insights.html#measurefunction","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-static","parent":"Insights"},{"id":18,"kind":262144,"name":"values","url":"classes/insights.html#values","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-static","parent":"Insights"},{"id":19,"kind":256,"name":"RuntimeSettings","url":"interfaces/runtimesettings.html","classes":"tsd-kind-interface"},{"id":20,"kind":1024,"name":"enableHighDpiRendering","url":"interfaces/runtimesettings.html#enablehighdpirendering","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"RuntimeSettings"},{"id":21,"kind":1024,"name":"tileMultiplier","url":"interfaces/runtimesettings.html#tilemultiplier","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"RuntimeSettings"},{"id":22,"kind":1024,"name":"isWorldInverted","url":"interfaces/runtimesettings.html#isworldinverted","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"RuntimeSettings"},{"id":23,"kind":1024,"name":"lightCutoffDistance","url":"interfaces/runtimesettings.html#lightcutoffdistance","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"RuntimeSettings"},{"id":24,"kind":1024,"name":"backgroundColor","url":"interfaces/runtimesettings.html#backgroundcolor","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"RuntimeSettings"},{"id":25,"kind":1024,"name":"colorPalette","url":"interfaces/runtimesettings.html#colorpalette","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"RuntimeSettings"},{"id":26,"kind":1024,"name":"ambientLight","url":"interfaces/runtimesettings.html#ambientlight","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"RuntimeSettings"},{"id":27,"kind":256,"name":"StartupSettings","url":"interfaces/startupsettings.html","classes":"tsd-kind-interface"},{"id":28,"kind":1024,"name":"shadowTraceCount","url":"interfaces/startupsettings.html#shadowtracecount","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"StartupSettings"},{"id":29,"kind":1024,"name":"paletteSize","url":"interfaces/startupsettings.html#palettesize","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"StartupSettings"},{"id":30,"kind":1024,"name":"ignoreWebGL2","url":"interfaces/startupsettings.html#ignorewebgl2","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"StartupSettings"},{"id":31,"kind":256,"name":"Renderer","url":"interfaces/renderer.html","classes":"tsd-kind-interface"},{"id":32,"kind":1024,"name":"canvasSize","url":"interfaces/renderer.html#canvassize","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Renderer"},{"id":33,"kind":1024,"name":"viewAreaSize","url":"interfaces/renderer.html#viewareasize","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Renderer"},{"id":34,"kind":1024,"name":"insights","url":"interfaces/renderer.html#insights","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Renderer"},{"id":35,"kind":2048,"name":"setViewArea","url":"interfaces/renderer.html#setviewarea","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"Renderer"},{"id":36,"kind":2048,"name":"setRuntimeSettings","url":"interfaces/renderer.html#setruntimesettings","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"Renderer"},{"id":37,"kind":2048,"name":"addDrawable","url":"interfaces/renderer.html#adddrawable","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"Renderer"},{"id":38,"kind":2048,"name":"autoscaleQuality","url":"interfaces/renderer.html#autoscalequality","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"Renderer"},{"id":39,"kind":2048,"name":"renderDrawables","url":"interfaces/renderer.html#renderdrawables","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"Renderer"},{"id":40,"kind":2048,"name":"destroy","url":"interfaces/renderer.html#destroy","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"Renderer"},{"id":41,"kind":4194304,"name":"UniversalRenderingContext","url":"globals.html#universalrenderingcontext","classes":"tsd-kind-type-alias"},{"id":42,"kind":64,"name":"getUniversalRenderingContext","url":"globals.html#getuniversalrenderingcontext","classes":"tsd-kind-function"},{"id":43,"kind":128,"name":"FrameBuffer","url":"classes/framebuffer.html","classes":"tsd-kind-class"},{"id":44,"kind":1024,"name":"renderScale","url":"classes/framebuffer.html#renderscale","classes":"tsd-kind-property tsd-parent-kind-class","parent":"FrameBuffer"},{"id":45,"kind":1024,"name":"enableHighDpiRendering","url":"classes/framebuffer.html#enablehighdpirendering","classes":"tsd-kind-property tsd-parent-kind-class","parent":"FrameBuffer"},{"id":46,"kind":1024,"name":"size","url":"classes/framebuffer.html#size","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-protected","parent":"FrameBuffer"},{"id":47,"kind":1024,"name":"frameBuffer","url":"classes/framebuffer.html#framebuffer-1","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-protected","parent":"FrameBuffer"},{"id":48,"kind":512,"name":"constructor","url":"classes/framebuffer.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"FrameBuffer"},{"id":49,"kind":1024,"name":"gl","url":"classes/framebuffer.html#gl","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-protected","parent":"FrameBuffer"},{"id":50,"kind":2048,"name":"bindAndClear","url":"classes/framebuffer.html#bindandclear","classes":"tsd-kind-method tsd-parent-kind-class","parent":"FrameBuffer"},{"id":51,"kind":2048,"name":"destroy","url":"classes/framebuffer.html#destroy","classes":"tsd-kind-method tsd-parent-kind-class","parent":"FrameBuffer"},{"id":52,"kind":2048,"name":"setSize","url":"classes/framebuffer.html#setsize","classes":"tsd-kind-method tsd-parent-kind-class","parent":"FrameBuffer"},{"id":53,"kind":2048,"name":"getSize","url":"classes/framebuffer.html#getsize","classes":"tsd-kind-method tsd-parent-kind-class","parent":"FrameBuffer"},{"id":54,"kind":128,"name":"DefaultFrameBuffer","url":"classes/defaultframebuffer.html","classes":"tsd-kind-class"},{"id":55,"kind":512,"name":"constructor","url":"classes/defaultframebuffer.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite","parent":"DefaultFrameBuffer"},{"id":56,"kind":2048,"name":"setSize","url":"classes/defaultframebuffer.html#setsize","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"DefaultFrameBuffer"},{"id":57,"kind":1024,"name":"renderScale","url":"classes/defaultframebuffer.html#renderscale","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"DefaultFrameBuffer"},{"id":58,"kind":1024,"name":"enableHighDpiRendering","url":"classes/defaultframebuffer.html#enablehighdpirendering","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"DefaultFrameBuffer"},{"id":59,"kind":1024,"name":"size","url":"classes/defaultframebuffer.html#size","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"DefaultFrameBuffer"},{"id":60,"kind":1024,"name":"frameBuffer","url":"classes/defaultframebuffer.html#framebuffer","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"DefaultFrameBuffer"},{"id":61,"kind":1024,"name":"gl","url":"classes/defaultframebuffer.html#gl","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"DefaultFrameBuffer"},{"id":62,"kind":2048,"name":"bindAndClear","url":"classes/defaultframebuffer.html#bindandclear","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"DefaultFrameBuffer"},{"id":63,"kind":2048,"name":"destroy","url":"classes/defaultframebuffer.html#destroy","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"DefaultFrameBuffer"},{"id":64,"kind":2048,"name":"getSize","url":"classes/defaultframebuffer.html#getsize","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"DefaultFrameBuffer"},{"id":65,"kind":64,"name":"tryEnableExtension","url":"globals.html#tryenableextension","classes":"tsd-kind-function"},{"id":66,"kind":64,"name":"enableExtension","url":"globals.html#enableextension","classes":"tsd-kind-function"},{"id":67,"kind":128,"name":"IntermediateFrameBuffer","url":"classes/intermediateframebuffer.html","classes":"tsd-kind-class"},{"id":68,"kind":512,"name":"constructor","url":"classes/intermediateframebuffer.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite","parent":"IntermediateFrameBuffer"},{"id":69,"kind":2048,"name":"destroy","url":"classes/intermediateframebuffer.html#destroy","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"IntermediateFrameBuffer"},{"id":70,"kind":262144,"name":"colorTexture","url":"classes/intermediateframebuffer.html#colortexture","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"IntermediateFrameBuffer"},{"id":71,"kind":2048,"name":"setSize","url":"classes/intermediateframebuffer.html#setsize","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"IntermediateFrameBuffer"},{"id":72,"kind":1024,"name":"renderScale","url":"classes/intermediateframebuffer.html#renderscale","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"IntermediateFrameBuffer"},{"id":73,"kind":1024,"name":"enableHighDpiRendering","url":"classes/intermediateframebuffer.html#enablehighdpirendering","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"IntermediateFrameBuffer"},{"id":74,"kind":1024,"name":"size","url":"classes/intermediateframebuffer.html#size","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"IntermediateFrameBuffer"},{"id":75,"kind":1024,"name":"frameBuffer","url":"classes/intermediateframebuffer.html#framebuffer","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"IntermediateFrameBuffer"},{"id":76,"kind":1024,"name":"gl","url":"classes/intermediateframebuffer.html#gl","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"IntermediateFrameBuffer"},{"id":77,"kind":2048,"name":"bindAndClear","url":"classes/intermediateframebuffer.html#bindandclear","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"IntermediateFrameBuffer"},{"id":78,"kind":2048,"name":"getSize","url":"classes/intermediateframebuffer.html#getsize","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"IntermediateFrameBuffer"},{"id":79,"kind":4,"name":"StopwatchState","url":"enums/stopwatchstate.html","classes":"tsd-kind-enum"},{"id":80,"kind":16,"name":"ready","url":"enums/stopwatchstate.html#ready","classes":"tsd-kind-enum-member tsd-parent-kind-enum","parent":"StopwatchState"},{"id":81,"kind":16,"name":"running","url":"enums/stopwatchstate.html#running","classes":"tsd-kind-enum-member tsd-parent-kind-enum","parent":"StopwatchState"},{"id":82,"kind":16,"name":"waitingForResults","url":"enums/stopwatchstate.html#waitingforresults","classes":"tsd-kind-enum-member tsd-parent-kind-enum","parent":"StopwatchState"},{"id":83,"kind":128,"name":"WebGlStopwatch","url":"classes/webglstopwatch.html","classes":"tsd-kind-class"},{"id":84,"kind":512,"name":"constructor","url":"classes/webglstopwatch.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"WebGlStopwatch"},{"id":85,"kind":2048,"name":"start","url":"classes/webglstopwatch.html#start","classes":"tsd-kind-method tsd-parent-kind-class","parent":"WebGlStopwatch"},{"id":86,"kind":2048,"name":"stop","url":"classes/webglstopwatch.html#stop","classes":"tsd-kind-method tsd-parent-kind-class","parent":"WebGlStopwatch"},{"id":87,"kind":2048,"name":"tryGetResults","url":"classes/webglstopwatch.html#trygetresults","classes":"tsd-kind-method tsd-parent-kind-class","parent":"WebGlStopwatch"},{"id":88,"kind":262144,"name":"isReady","url":"classes/webglstopwatch.html#isready","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"WebGlStopwatch"},{"id":89,"kind":262144,"name":"isRunning","url":"classes/webglstopwatch.html#isrunning","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"WebGlStopwatch"},{"id":90,"kind":262144,"name":"resultsInMilliSeconds","url":"classes/webglstopwatch.html#resultsinmilliseconds","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"WebGlStopwatch"},{"id":91,"kind":128,"name":"PaletteTexture","url":"classes/palettetexture.html","classes":"tsd-kind-class"},{"id":92,"kind":512,"name":"constructor","url":"classes/palettetexture.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"PaletteTexture"},{"id":93,"kind":262144,"name":"colorTexture","url":"classes/palettetexture.html#colortexture","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"PaletteTexture"},{"id":94,"kind":2048,"name":"setPalette","url":"classes/palettetexture.html#setpalette","classes":"tsd-kind-method tsd-parent-kind-class","parent":"PaletteTexture"},{"id":95,"kind":2048,"name":"setImage","url":"classes/palettetexture.html#setimage","classes":"tsd-kind-method tsd-parent-kind-class","parent":"PaletteTexture"},{"id":96,"kind":2048,"name":"destroy","url":"classes/palettetexture.html#destroy","classes":"tsd-kind-method tsd-parent-kind-class","parent":"PaletteTexture"},{"id":97,"kind":64,"name":"wait","url":"globals.html#wait","classes":"tsd-kind-function"},{"id":98,"kind":128,"name":"ParallelCompiler","url":"classes/parallelcompiler.html","classes":"tsd-kind-class"},{"id":99,"kind":512,"name":"constructor","url":"classes/parallelcompiler.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"ParallelCompiler"},{"id":100,"kind":2048,"name":"createProgram","url":"classes/parallelcompiler.html#createprogram","classes":"tsd-kind-method tsd-parent-kind-class","parent":"ParallelCompiler"},{"id":101,"kind":2048,"name":"compilePrograms","url":"classes/parallelcompiler.html#compileprograms","classes":"tsd-kind-method tsd-parent-kind-class","parent":"ParallelCompiler"},{"id":102,"kind":4194304,"name":"CompilingProgram","url":"globals.html#compilingprogram","classes":"tsd-kind-type-alias"},{"id":103,"kind":65536,"name":"__type","url":"globals.html#compilingprogram.__type","classes":"tsd-kind-type-literal tsd-parent-kind-type-alias","parent":"CompilingProgram"},{"id":104,"kind":32,"name":"program","url":"globals.html#compilingprogram.__type.program","classes":"tsd-kind-variable tsd-parent-kind-type-literal","parent":"CompilingProgram.__type"},{"id":105,"kind":32,"name":"resolvePromise","url":"globals.html#compilingprogram.__type.resolvepromise","classes":"tsd-kind-variable tsd-parent-kind-type-literal","parent":"CompilingProgram.__type"},{"id":106,"kind":32,"name":"vertexShader","url":"globals.html#compilingprogram.__type.vertexshader","classes":"tsd-kind-variable tsd-parent-kind-type-literal","parent":"CompilingProgram.__type"},{"id":107,"kind":32,"name":"fragmentShader","url":"globals.html#compilingprogram.__type.fragmentshader","classes":"tsd-kind-variable tsd-parent-kind-type-literal","parent":"CompilingProgram.__type"},{"id":108,"kind":4194304,"name":"ShaderWithSource","url":"globals.html#shaderwithsource","classes":"tsd-kind-type-alias"},{"id":109,"kind":64,"name":"clamp","url":"globals.html#clamp","classes":"tsd-kind-function"},{"id":110,"kind":64,"name":"clamp01","url":"globals.html#clamp01","classes":"tsd-kind-function"},{"id":111,"kind":64,"name":"exponentialDecay","url":"globals.html#exponentialdecay","classes":"tsd-kind-function"},{"id":112,"kind":64,"name":"mix","url":"globals.html#mix","classes":"tsd-kind-function"},{"id":113,"kind":128,"name":"FpsAutoscaler","url":"classes/fpsautoscaler.html","classes":"tsd-kind-class"},{"id":114,"kind":512,"name":"constructor","url":"classes/fpsautoscaler.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"FpsAutoscaler"},{"id":115,"kind":2048,"name":"increase","url":"classes/fpsautoscaler.html#increase","classes":"tsd-kind-method tsd-parent-kind-class","parent":"FpsAutoscaler"},{"id":116,"kind":2048,"name":"decrease","url":"classes/fpsautoscaler.html#decrease","classes":"tsd-kind-method tsd-parent-kind-class","parent":"FpsAutoscaler"},{"id":117,"kind":2048,"name":"autoscale","url":"classes/fpsautoscaler.html#autoscale","classes":"tsd-kind-method tsd-parent-kind-class","parent":"FpsAutoscaler"},{"id":118,"kind":2097152,"name":"settings","url":"globals.html#settings","classes":"tsd-kind-object-literal"},{"id":119,"kind":32,"name":"targetDeltaTimeInMilliseconds","url":"globals.html#settings.targetdeltatimeinmilliseconds","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"settings"},{"id":120,"kind":32,"name":"deltaTimeErrorInMilliseconds","url":"globals.html#settings.deltatimeerrorinmilliseconds","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"settings"},{"id":121,"kind":32,"name":"deltaTimeResponsiveness","url":"globals.html#settings.deltatimeresponsiveness","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"settings"},{"id":122,"kind":32,"name":"adjusmentRateInMilliseconds","url":"globals.html#settings.adjusmentrateinmilliseconds","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"settings"},{"id":123,"kind":32,"name":"targets","url":"globals.html#settings.targets","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"settings"},{"id":124,"kind":32,"name":"qualityStepIncrease","url":"globals.html#settings.qualitystepincrease","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"settings"},{"id":125,"kind":32,"name":"qualityStepDecrese","url":"globals.html#settings.qualitystepdecrese","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"settings"},{"id":126,"kind":64,"name":"getCombinations","url":"globals.html#getcombinations","classes":"tsd-kind-function"},{"id":127,"kind":32,"name":"loaderMat3","url":"globals.html#loadermat3","classes":"tsd-kind-variable"},{"id":128,"kind":64,"name":"loadUniform","url":"globals.html#loaduniform","classes":"tsd-kind-function"},{"id":129,"kind":256,"name":"IProgram","url":"interfaces/iprogram.html","classes":"tsd-kind-interface"},{"id":130,"kind":2048,"name":"setDrawingRectangleUV","url":"interfaces/iprogram.html#setdrawingrectangleuv","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"IProgram"},{"id":131,"kind":2048,"name":"draw","url":"interfaces/iprogram.html#draw","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"IProgram"},{"id":132,"kind":2048,"name":"destroy","url":"interfaces/iprogram.html#destroy","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"IProgram"},{"id":133,"kind":128,"name":"Program","url":"classes/program.html","classes":"tsd-kind-class"},{"id":134,"kind":1024,"name":"program","url":"classes/program.html#program-1","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-protected","parent":"Program"},{"id":135,"kind":512,"name":"constructor","url":"classes/program.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"Program"},{"id":136,"kind":1024,"name":"gl","url":"classes/program.html#gl","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-protected","parent":"Program"},{"id":137,"kind":2048,"name":"initialize","url":"classes/program.html#initialize","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Program"},{"id":138,"kind":2048,"name":"setDrawingRectangleUV","url":"classes/program.html#setdrawingrectangleuv","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Program"},{"id":139,"kind":2048,"name":"setUniforms","url":"classes/program.html#setuniforms","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Program"},{"id":140,"kind":2048,"name":"destroy","url":"classes/program.html#destroy","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Program"},{"id":141,"kind":2048,"name":"draw","url":"classes/program.html#draw","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Program"},{"id":142,"kind":2048,"name":"bind","url":"classes/program.html#bind","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-protected","parent":"Program"},{"id":143,"kind":128,"name":"FragmentShaderOnlyProgram","url":"classes/fragmentshaderonlyprogram.html","classes":"tsd-kind-class"},{"id":144,"kind":512,"name":"constructor","url":"classes/fragmentshaderonlyprogram.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite","parent":"FragmentShaderOnlyProgram"},{"id":145,"kind":2048,"name":"initialize","url":"classes/fragmentshaderonlyprogram.html#initialize","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"FragmentShaderOnlyProgram"},{"id":146,"kind":2048,"name":"bind","url":"classes/fragmentshaderonlyprogram.html#bind","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"FragmentShaderOnlyProgram"},{"id":147,"kind":2048,"name":"draw","url":"classes/fragmentshaderonlyprogram.html#draw","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"FragmentShaderOnlyProgram"},{"id":148,"kind":2048,"name":"destroy","url":"classes/fragmentshaderonlyprogram.html#destroy","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"FragmentShaderOnlyProgram"},{"id":149,"kind":1024,"name":"program","url":"classes/fragmentshaderonlyprogram.html#program","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"FragmentShaderOnlyProgram"},{"id":150,"kind":1024,"name":"gl","url":"classes/fragmentshaderonlyprogram.html#gl","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"FragmentShaderOnlyProgram"},{"id":151,"kind":2048,"name":"setDrawingRectangleUV","url":"classes/fragmentshaderonlyprogram.html#setdrawingrectangleuv","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"FragmentShaderOnlyProgram"},{"id":152,"kind":2048,"name":"setUniforms","url":"classes/fragmentshaderonlyprogram.html#setuniforms","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"FragmentShaderOnlyProgram"},{"id":153,"kind":128,"name":"UniformArrayAutoScalingProgram","url":"classes/uniformarrayautoscalingprogram.html","classes":"tsd-kind-class"},{"id":154,"kind":512,"name":"constructor","url":"classes/uniformarrayautoscalingprogram.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"UniformArrayAutoScalingProgram"},{"id":155,"kind":2048,"name":"initialize","url":"classes/uniformarrayautoscalingprogram.html#initialize","classes":"tsd-kind-method tsd-parent-kind-class","parent":"UniformArrayAutoScalingProgram"},{"id":156,"kind":2048,"name":"setDrawingRectangleUV","url":"classes/uniformarrayautoscalingprogram.html#setdrawingrectangleuv","classes":"tsd-kind-method tsd-parent-kind-class","parent":"UniformArrayAutoScalingProgram"},{"id":157,"kind":2048,"name":"draw","url":"classes/uniformarrayautoscalingprogram.html#draw","classes":"tsd-kind-method tsd-parent-kind-class","parent":"UniformArrayAutoScalingProgram"},{"id":158,"kind":2048,"name":"destroy","url":"classes/uniformarrayautoscalingprogram.html#destroy","classes":"tsd-kind-method tsd-parent-kind-class","parent":"UniformArrayAutoScalingProgram"},{"id":159,"kind":128,"name":"RenderPass","url":"classes/renderpass.html","classes":"tsd-kind-class"},{"id":160,"kind":1024,"name":"program","url":"classes/renderpass.html#program","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-protected","parent":"RenderPass"},{"id":161,"kind":512,"name":"constructor","url":"classes/renderpass.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"RenderPass"},{"id":162,"kind":1024,"name":"frame","url":"classes/renderpass.html#frame","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-protected","parent":"RenderPass"},{"id":163,"kind":2048,"name":"initialize","url":"classes/renderpass.html#initialize","classes":"tsd-kind-method tsd-parent-kind-class","parent":"RenderPass"},{"id":164,"kind":2048,"name":"render","url":"classes/renderpass.html#render","classes":"tsd-kind-method tsd-parent-kind-class","parent":"RenderPass"},{"id":165,"kind":2048,"name":"destroy","url":"classes/renderpass.html#destroy","classes":"tsd-kind-method tsd-parent-kind-class","parent":"RenderPass"},{"id":166,"kind":128,"name":"DistanceRenderPass","url":"classes/distancerenderpass.html","classes":"tsd-kind-class"},{"id":167,"kind":1024,"name":"tileMultiplier","url":"classes/distancerenderpass.html#tilemultiplier","classes":"tsd-kind-property tsd-parent-kind-class","parent":"DistanceRenderPass"},{"id":168,"kind":1024,"name":"isWorldInverted","url":"classes/distancerenderpass.html#isworldinverted","classes":"tsd-kind-property tsd-parent-kind-class","parent":"DistanceRenderPass"},{"id":169,"kind":2048,"name":"addDrawable","url":"classes/distancerenderpass.html#adddrawable","classes":"tsd-kind-method tsd-parent-kind-class","parent":"DistanceRenderPass"},{"id":170,"kind":2048,"name":"render","url":"classes/distancerenderpass.html#render","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"DistanceRenderPass"},{"id":171,"kind":1024,"name":"program","url":"classes/distancerenderpass.html#program","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"DistanceRenderPass"},{"id":172,"kind":512,"name":"constructor","url":"classes/distancerenderpass.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited","parent":"DistanceRenderPass"},{"id":173,"kind":1024,"name":"frame","url":"classes/distancerenderpass.html#frame","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"DistanceRenderPass"},{"id":174,"kind":2048,"name":"initialize","url":"classes/distancerenderpass.html#initialize","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"DistanceRenderPass"},{"id":175,"kind":2048,"name":"destroy","url":"classes/distancerenderpass.html#destroy","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"DistanceRenderPass"},{"id":176,"kind":128,"name":"LightsRenderPass","url":"classes/lightsrenderpass.html","classes":"tsd-kind-class"},{"id":177,"kind":1024,"name":"lightCutoffDistance","url":"classes/lightsrenderpass.html#lightcutoffdistance","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LightsRenderPass"},{"id":178,"kind":2048,"name":"addDrawable","url":"classes/lightsrenderpass.html#adddrawable","classes":"tsd-kind-method tsd-parent-kind-class","parent":"LightsRenderPass"},{"id":179,"kind":2048,"name":"render","url":"classes/lightsrenderpass.html#render","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"LightsRenderPass"},{"id":180,"kind":1024,"name":"program","url":"classes/lightsrenderpass.html#program","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LightsRenderPass"},{"id":181,"kind":512,"name":"constructor","url":"classes/lightsrenderpass.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited","parent":"LightsRenderPass"},{"id":182,"kind":1024,"name":"frame","url":"classes/lightsrenderpass.html#frame","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LightsRenderPass"},{"id":183,"kind":2048,"name":"initialize","url":"classes/lightsrenderpass.html#initialize","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LightsRenderPass"},{"id":184,"kind":2048,"name":"destroy","url":"classes/lightsrenderpass.html#destroy","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LightsRenderPass"},{"id":185,"kind":2097152,"name":"defaultStartupSettings","url":"globals.html#defaultstartupsettings","classes":"tsd-kind-object-literal"},{"id":186,"kind":32,"name":"shadowTraceCount","url":"globals.html#defaultstartupsettings.shadowtracecount","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"defaultStartupSettings"},{"id":187,"kind":32,"name":"paletteSize","url":"globals.html#defaultstartupsettings.palettesize","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"defaultStartupSettings"},{"id":188,"kind":32,"name":"ignoreWebGL2","url":"globals.html#defaultstartupsettings.ignorewebgl2","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"defaultStartupSettings"},{"id":189,"kind":128,"name":"UniformsProvider","url":"classes/uniformsprovider.html","classes":"tsd-kind-class"},{"id":190,"kind":1024,"name":"ambientLight","url":"classes/uniformsprovider.html#ambientlight","classes":"tsd-kind-property tsd-parent-kind-class","parent":"UniformsProvider"},{"id":191,"kind":1024,"name":"_backgroundColor","url":"classes/uniformsprovider.html#_backgroundcolor","classes":"tsd-kind-property tsd-parent-kind-class","parent":"UniformsProvider"},{"id":192,"kind":512,"name":"constructor","url":"classes/uniformsprovider.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"UniformsProvider"},{"id":193,"kind":2048,"name":"getUniforms","url":"classes/uniformsprovider.html#getuniforms","classes":"tsd-kind-method tsd-parent-kind-class","parent":"UniformsProvider"},{"id":194,"kind":262144,"name":"backgroundColor","url":"classes/uniformsprovider.html#backgroundcolor","classes":"tsd-kind-set-signature tsd-parent-kind-class","parent":"UniformsProvider"},{"id":195,"kind":2048,"name":"getViewArea","url":"classes/uniformsprovider.html#getviewarea","classes":"tsd-kind-method tsd-parent-kind-class","parent":"UniformsProvider"},{"id":196,"kind":2048,"name":"setViewArea","url":"classes/uniformsprovider.html#setviewarea","classes":"tsd-kind-method tsd-parent-kind-class","parent":"UniformsProvider"},{"id":197,"kind":2048,"name":"screenToWorldPosition","url":"classes/uniformsprovider.html#screentoworldposition","classes":"tsd-kind-method tsd-parent-kind-class","parent":"UniformsProvider"},{"id":198,"kind":128,"name":"RendererImplementation","url":"classes/rendererimplementation.html","classes":"tsd-kind-class"},{"id":199,"kind":2048,"name":"setRuntimeSettings","url":"classes/rendererimplementation.html#setruntimesettings","classes":"tsd-kind-method tsd-parent-kind-class","parent":"RendererImplementation"},{"id":200,"kind":512,"name":"constructor","url":"classes/rendererimplementation.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"RendererImplementation"},{"id":201,"kind":2048,"name":"initialize","url":"classes/rendererimplementation.html#initialize","classes":"tsd-kind-method tsd-parent-kind-class","parent":"RendererImplementation"},{"id":202,"kind":262144,"name":"insights","url":"classes/rendererimplementation.html#insights","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"RendererImplementation"},{"id":203,"kind":2048,"name":"addDrawable","url":"classes/rendererimplementation.html#adddrawable","classes":"tsd-kind-method tsd-parent-kind-class","parent":"RendererImplementation"},{"id":204,"kind":2048,"name":"autoscaleQuality","url":"classes/rendererimplementation.html#autoscalequality","classes":"tsd-kind-method tsd-parent-kind-class","parent":"RendererImplementation"},{"id":205,"kind":2048,"name":"renderDrawables","url":"classes/rendererimplementation.html#renderdrawables","classes":"tsd-kind-method tsd-parent-kind-class","parent":"RendererImplementation"},{"id":206,"kind":2048,"name":"setViewArea","url":"classes/rendererimplementation.html#setviewarea","classes":"tsd-kind-method tsd-parent-kind-class","parent":"RendererImplementation"},{"id":207,"kind":262144,"name":"viewAreaSize","url":"classes/rendererimplementation.html#viewareasize","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"RendererImplementation"},{"id":208,"kind":262144,"name":"canvasSize","url":"classes/rendererimplementation.html#canvassize","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"RendererImplementation"},{"id":209,"kind":2048,"name":"destroy","url":"classes/rendererimplementation.html#destroy","classes":"tsd-kind-method tsd-parent-kind-class","parent":"RendererImplementation"},{"id":210,"kind":128,"name":"ContextAwareRenderer","url":"classes/contextawarerenderer.html","classes":"tsd-kind-class"},{"id":211,"kind":512,"name":"constructor","url":"classes/contextawarerenderer.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"ContextAwareRenderer"},{"id":212,"kind":262144,"name":"initializedPromise","url":"classes/contextawarerenderer.html#initializedpromise","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"ContextAwareRenderer"},{"id":213,"kind":262144,"name":"canvasSize","url":"classes/contextawarerenderer.html#canvassize","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"ContextAwareRenderer"},{"id":214,"kind":262144,"name":"viewAreaSize","url":"classes/contextawarerenderer.html#viewareasize","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"ContextAwareRenderer"},{"id":215,"kind":262144,"name":"insights","url":"classes/contextawarerenderer.html#insights","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"ContextAwareRenderer"},{"id":216,"kind":2048,"name":"setViewArea","url":"classes/contextawarerenderer.html#setviewarea","classes":"tsd-kind-method tsd-parent-kind-class","parent":"ContextAwareRenderer"},{"id":217,"kind":2048,"name":"setRuntimeSettings","url":"classes/contextawarerenderer.html#setruntimesettings","classes":"tsd-kind-method tsd-parent-kind-class","parent":"ContextAwareRenderer"},{"id":218,"kind":2048,"name":"addDrawable","url":"classes/contextawarerenderer.html#adddrawable","classes":"tsd-kind-method tsd-parent-kind-class","parent":"ContextAwareRenderer"},{"id":219,"kind":2048,"name":"autoscaleQuality","url":"classes/contextawarerenderer.html#autoscalequality","classes":"tsd-kind-method tsd-parent-kind-class","parent":"ContextAwareRenderer"},{"id":220,"kind":2048,"name":"renderDrawables","url":"classes/contextawarerenderer.html#renderdrawables","classes":"tsd-kind-method tsd-parent-kind-class","parent":"ContextAwareRenderer"},{"id":221,"kind":2048,"name":"destroy","url":"classes/contextawarerenderer.html#destroy","classes":"tsd-kind-method tsd-parent-kind-class","parent":"ContextAwareRenderer"},{"id":222,"kind":2,"name":"__global","url":"modules/__global.html","classes":"tsd-kind-namespace"},{"id":223,"kind":256,"name":"Array","url":"interfaces/__global.array.html","classes":"tsd-kind-interface tsd-parent-kind-namespace tsd-has-type-parameter","parent":"__global"},{"id":224,"kind":1024,"name":"x","url":"interfaces/__global.array.html#x","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"__global.Array"},{"id":225,"kind":1024,"name":"y","url":"interfaces/__global.array.html#y","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"__global.Array"},{"id":226,"kind":256,"name":"Float32Array","url":"interfaces/__global.float32array.html","classes":"tsd-kind-interface tsd-parent-kind-namespace","parent":"__global"},{"id":227,"kind":1024,"name":"x","url":"interfaces/__global.float32array.html#x","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"__global.Float32Array"},{"id":228,"kind":1024,"name":"y","url":"interfaces/__global.float32array.html#y","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"__global.Float32Array"},{"id":229,"kind":64,"name":"setIndexAlias","url":"globals.html#setindexalias","classes":"tsd-kind-function"},{"id":230,"kind":64,"name":"applyArrayPlugins","url":"globals.html#applyarrayplugins","classes":"tsd-kind-function"},{"id":231,"kind":128,"name":"Flashlight","url":"classes/flashlight.html","classes":"tsd-kind-class"},{"id":232,"kind":2097152,"name":"descriptor","url":"classes/flashlight.html#descriptor","classes":"tsd-kind-object-literal tsd-parent-kind-class tsd-is-overwrite tsd-is-static","parent":"Flashlight"},{"id":233,"kind":2097152,"name":"propertyUniformMapping","url":"classes/flashlight.html#descriptor.propertyuniformmapping","classes":"tsd-kind-object-literal tsd-parent-kind-object-literal","parent":"Flashlight.descriptor"},{"id":234,"kind":32,"name":"center","url":"classes/flashlight.html#descriptor.propertyuniformmapping.center-1","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"Flashlight.descriptor.propertyUniformMapping"},{"id":235,"kind":32,"name":"color","url":"classes/flashlight.html#descriptor.propertyuniformmapping.color-1","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"Flashlight.descriptor.propertyUniformMapping"},{"id":236,"kind":32,"name":"intensity","url":"classes/flashlight.html#descriptor.propertyuniformmapping.intensity-1","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"Flashlight.descriptor.propertyUniformMapping"},{"id":237,"kind":32,"name":"direction","url":"classes/flashlight.html#descriptor.propertyuniformmapping.direction-1","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"Flashlight.descriptor.propertyUniformMapping"},{"id":238,"kind":32,"name":"uniformCountMacroName","url":"classes/flashlight.html#descriptor.uniformcountmacroname","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"Flashlight.descriptor"},{"id":239,"kind":32,"name":"shaderCombinationSteps","url":"classes/flashlight.html#descriptor.shadercombinationsteps","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"Flashlight.descriptor"},{"id":240,"kind":32,"name":"empty","url":"classes/flashlight.html#descriptor.empty","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"Flashlight.descriptor"},{"id":241,"kind":512,"name":"constructor","url":"classes/flashlight.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite","parent":"Flashlight"},{"id":242,"kind":1024,"name":"direction","url":"classes/flashlight.html#direction","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Flashlight"},{"id":243,"kind":2048,"name":"getObjectToSerialize","url":"classes/flashlight.html#getobjecttoserialize","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-protected","parent":"Flashlight"},{"id":244,"kind":1024,"name":"lightnessRatio","url":"classes/flashlight.html#lightnessratio","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"Flashlight"},{"id":245,"kind":1024,"name":"center","url":"classes/flashlight.html#center","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Flashlight"},{"id":246,"kind":1024,"name":"color","url":"classes/flashlight.html#color","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Flashlight"},{"id":247,"kind":1024,"name":"intensity","url":"classes/flashlight.html#intensity","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Flashlight"},{"id":248,"kind":2048,"name":"setLightnessRatio","url":"classes/flashlight.html#setlightnessratio","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"Flashlight"},{"id":249,"kind":2048,"name":"minDistance","url":"classes/flashlight.html#mindistance","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"Flashlight"},{"id":250,"kind":2048,"name":"serializeToUniforms","url":"classes/flashlight.html#serializetouniforms","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"Flashlight"},{"id":251,"kind":128,"name":"Circle","url":"classes/circle.html","classes":"tsd-kind-class"},{"id":252,"kind":2097152,"name":"descriptor","url":"classes/circle.html#descriptor","classes":"tsd-kind-object-literal tsd-parent-kind-class tsd-is-overwrite tsd-is-static","parent":"Circle"},{"id":253,"kind":2097152,"name":"sdf","url":"classes/circle.html#descriptor.sdf","classes":"tsd-kind-object-literal tsd-parent-kind-object-literal","parent":"Circle.descriptor"},{"id":254,"kind":32,"name":"shader","url":"classes/circle.html#descriptor.sdf.shader","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"Circle.descriptor.sdf"},{"id":255,"kind":32,"name":"distanceFunctionName","url":"classes/circle.html#descriptor.sdf.distancefunctionname","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"Circle.descriptor.sdf"},{"id":256,"kind":2097152,"name":"propertyUniformMapping","url":"classes/circle.html#descriptor.propertyuniformmapping","classes":"tsd-kind-object-literal tsd-parent-kind-object-literal","parent":"Circle.descriptor"},{"id":257,"kind":32,"name":"center","url":"classes/circle.html#descriptor.propertyuniformmapping.center-1","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"Circle.descriptor.propertyUniformMapping"},{"id":258,"kind":32,"name":"radius","url":"classes/circle.html#descriptor.propertyuniformmapping.radius-1","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"Circle.descriptor.propertyUniformMapping"},{"id":259,"kind":32,"name":"uniformCountMacroName","url":"classes/circle.html#descriptor.uniformcountmacroname","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"Circle.descriptor"},{"id":260,"kind":32,"name":"shaderCombinationSteps","url":"classes/circle.html#descriptor.shadercombinationsteps","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"Circle.descriptor"},{"id":261,"kind":32,"name":"empty","url":"classes/circle.html#descriptor.empty","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"Circle.descriptor"},{"id":262,"kind":512,"name":"constructor","url":"classes/circle.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"Circle"},{"id":263,"kind":1024,"name":"center","url":"classes/circle.html#center","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Circle"},{"id":264,"kind":1024,"name":"radius","url":"classes/circle.html#radius","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Circle"},{"id":265,"kind":2048,"name":"minDistance","url":"classes/circle.html#mindistance","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"Circle"},{"id":266,"kind":2048,"name":"getObjectToSerialize","url":"classes/circle.html#getobjecttoserialize","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-protected","parent":"Circle"},{"id":267,"kind":2048,"name":"serializeToUniforms","url":"classes/circle.html#serializetouniforms","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"Circle"},{"id":268,"kind":128,"name":"InvertedTunnel","url":"classes/invertedtunnel.html","classes":"tsd-kind-class"},{"id":269,"kind":2097152,"name":"descriptor","url":"classes/invertedtunnel.html#descriptor","classes":"tsd-kind-object-literal tsd-parent-kind-class tsd-is-overwrite tsd-is-static","parent":"InvertedTunnel"},{"id":270,"kind":2097152,"name":"sdf","url":"classes/invertedtunnel.html#descriptor.sdf","classes":"tsd-kind-object-literal tsd-parent-kind-object-literal","parent":"InvertedTunnel.descriptor"},{"id":271,"kind":32,"name":"shader","url":"classes/invertedtunnel.html#descriptor.sdf.shader","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"InvertedTunnel.descriptor.sdf"},{"id":272,"kind":32,"name":"isInverted","url":"classes/invertedtunnel.html#descriptor.sdf.isinverted","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"InvertedTunnel.descriptor.sdf"},{"id":273,"kind":32,"name":"distanceFunctionName","url":"classes/invertedtunnel.html#descriptor.sdf.distancefunctionname","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"InvertedTunnel.descriptor.sdf"},{"id":274,"kind":2097152,"name":"propertyUniformMapping","url":"classes/invertedtunnel.html#descriptor.propertyuniformmapping","classes":"tsd-kind-object-literal tsd-parent-kind-object-literal","parent":"InvertedTunnel.descriptor"},{"id":275,"kind":32,"name":"from","url":"classes/invertedtunnel.html#descriptor.propertyuniformmapping.from-1","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"InvertedTunnel.descriptor.propertyUniformMapping"},{"id":276,"kind":32,"name":"toFromDelta","url":"classes/invertedtunnel.html#descriptor.propertyuniformmapping.tofromdelta","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"InvertedTunnel.descriptor.propertyUniformMapping"},{"id":277,"kind":32,"name":"fromRadius","url":"classes/invertedtunnel.html#descriptor.propertyuniformmapping.fromradius-1","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"InvertedTunnel.descriptor.propertyUniformMapping"},{"id":278,"kind":32,"name":"toRadius","url":"classes/invertedtunnel.html#descriptor.propertyuniformmapping.toradius-1","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"InvertedTunnel.descriptor.propertyUniformMapping"},{"id":279,"kind":32,"name":"uniformCountMacroName","url":"classes/invertedtunnel.html#descriptor.uniformcountmacroname","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"InvertedTunnel.descriptor"},{"id":280,"kind":32,"name":"shaderCombinationSteps","url":"classes/invertedtunnel.html#descriptor.shadercombinationsteps","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"InvertedTunnel.descriptor"},{"id":281,"kind":32,"name":"empty","url":"classes/invertedtunnel.html#descriptor.empty","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"InvertedTunnel.descriptor"},{"id":282,"kind":512,"name":"constructor","url":"classes/invertedtunnel.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"InvertedTunnel"},{"id":283,"kind":1024,"name":"from","url":"classes/invertedtunnel.html#from","classes":"tsd-kind-property tsd-parent-kind-class","parent":"InvertedTunnel"},{"id":284,"kind":1024,"name":"to","url":"classes/invertedtunnel.html#to","classes":"tsd-kind-property tsd-parent-kind-class","parent":"InvertedTunnel"},{"id":285,"kind":1024,"name":"fromRadius","url":"classes/invertedtunnel.html#fromradius","classes":"tsd-kind-property tsd-parent-kind-class","parent":"InvertedTunnel"},{"id":286,"kind":1024,"name":"toRadius","url":"classes/invertedtunnel.html#toradius","classes":"tsd-kind-property tsd-parent-kind-class","parent":"InvertedTunnel"},{"id":287,"kind":2048,"name":"minDistance","url":"classes/invertedtunnel.html#mindistance","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"InvertedTunnel"},{"id":288,"kind":2048,"name":"getObjectToSerialize","url":"classes/invertedtunnel.html#getobjecttoserialize","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-protected","parent":"InvertedTunnel"},{"id":289,"kind":2048,"name":"serializeToUniforms","url":"classes/invertedtunnel.html#serializetouniforms","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"InvertedTunnel"},{"id":290,"kind":128,"name":"Tunnel","url":"classes/tunnel.html","classes":"tsd-kind-class"},{"id":291,"kind":2097152,"name":"descriptor","url":"classes/tunnel.html#descriptor","classes":"tsd-kind-object-literal tsd-parent-kind-class tsd-is-overwrite tsd-is-static","parent":"Tunnel"},{"id":292,"kind":2097152,"name":"sdf","url":"classes/tunnel.html#descriptor.sdf","classes":"tsd-kind-object-literal tsd-parent-kind-object-literal","parent":"Tunnel.descriptor"},{"id":293,"kind":32,"name":"shader","url":"classes/tunnel.html#descriptor.sdf.shader","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"Tunnel.descriptor.sdf"},{"id":294,"kind":32,"name":"distanceFunctionName","url":"classes/tunnel.html#descriptor.sdf.distancefunctionname","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"Tunnel.descriptor.sdf"},{"id":295,"kind":2097152,"name":"propertyUniformMapping","url":"classes/tunnel.html#descriptor.propertyuniformmapping","classes":"tsd-kind-object-literal tsd-parent-kind-object-literal","parent":"Tunnel.descriptor"},{"id":296,"kind":32,"name":"from","url":"classes/tunnel.html#descriptor.propertyuniformmapping.from-1","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"Tunnel.descriptor.propertyUniformMapping"},{"id":297,"kind":32,"name":"toFromDelta","url":"classes/tunnel.html#descriptor.propertyuniformmapping.tofromdelta","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"Tunnel.descriptor.propertyUniformMapping"},{"id":298,"kind":32,"name":"fromRadius","url":"classes/tunnel.html#descriptor.propertyuniformmapping.fromradius-1","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"Tunnel.descriptor.propertyUniformMapping"},{"id":299,"kind":32,"name":"toRadius","url":"classes/tunnel.html#descriptor.propertyuniformmapping.toradius-1","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"Tunnel.descriptor.propertyUniformMapping"},{"id":300,"kind":32,"name":"uniformCountMacroName","url":"classes/tunnel.html#descriptor.uniformcountmacroname","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"Tunnel.descriptor"},{"id":301,"kind":32,"name":"shaderCombinationSteps","url":"classes/tunnel.html#descriptor.shadercombinationsteps","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"Tunnel.descriptor"},{"id":302,"kind":32,"name":"empty","url":"classes/tunnel.html#descriptor.empty","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"Tunnel.descriptor"},{"id":303,"kind":512,"name":"constructor","url":"classes/tunnel.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"Tunnel"},{"id":304,"kind":1024,"name":"from","url":"classes/tunnel.html#from","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Tunnel"},{"id":305,"kind":1024,"name":"to","url":"classes/tunnel.html#to","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Tunnel"},{"id":306,"kind":1024,"name":"fromRadius","url":"classes/tunnel.html#fromradius","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Tunnel"},{"id":307,"kind":1024,"name":"toRadius","url":"classes/tunnel.html#toradius","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Tunnel"},{"id":308,"kind":2048,"name":"minDistance","url":"classes/tunnel.html#mindistance","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"Tunnel"},{"id":309,"kind":2048,"name":"getObjectToSerialize","url":"classes/tunnel.html#getobjecttoserialize","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-protected","parent":"Tunnel"},{"id":310,"kind":2048,"name":"serializeToUniforms","url":"classes/tunnel.html#serializetouniforms","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"Tunnel"},{"id":311,"kind":64,"name":"compile","url":"globals.html#compile","classes":"tsd-kind-function"},{"id":312,"kind":128,"name":"LightDrawable","url":"classes/lightdrawable.html","classes":"tsd-kind-class"},{"id":313,"kind":1024,"name":"lightnessRatio","url":"classes/lightdrawable.html#lightnessratio","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-protected","parent":"LightDrawable"},{"id":314,"kind":512,"name":"constructor","url":"classes/lightdrawable.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"LightDrawable"},{"id":315,"kind":1024,"name":"center","url":"classes/lightdrawable.html#center","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LightDrawable"},{"id":316,"kind":1024,"name":"color","url":"classes/lightdrawable.html#color","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LightDrawable"},{"id":317,"kind":1024,"name":"intensity","url":"classes/lightdrawable.html#intensity","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LightDrawable"},{"id":318,"kind":2048,"name":"setLightnessRatio","url":"classes/lightdrawable.html#setlightnessratio","classes":"tsd-kind-method tsd-parent-kind-class","parent":"LightDrawable"},{"id":319,"kind":2048,"name":"minDistance","url":"classes/lightdrawable.html#mindistance","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"LightDrawable"},{"id":320,"kind":2048,"name":"getObjectToSerialize","url":"classes/lightdrawable.html#getobjecttoserialize","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-protected","parent":"LightDrawable"},{"id":321,"kind":1024,"name":"descriptor","url":"classes/lightdrawable.html#descriptor","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-static","parent":"LightDrawable"},{"id":322,"kind":2048,"name":"serializeToUniforms","url":"classes/lightdrawable.html#serializetouniforms","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LightDrawable"},{"id":323,"kind":128,"name":"CircleLight","url":"classes/circlelight.html","classes":"tsd-kind-class"},{"id":324,"kind":2097152,"name":"descriptor","url":"classes/circlelight.html#descriptor","classes":"tsd-kind-object-literal tsd-parent-kind-class tsd-is-overwrite tsd-is-static","parent":"CircleLight"},{"id":325,"kind":2097152,"name":"propertyUniformMapping","url":"classes/circlelight.html#descriptor.propertyuniformmapping","classes":"tsd-kind-object-literal tsd-parent-kind-object-literal","parent":"CircleLight.descriptor"},{"id":326,"kind":32,"name":"center","url":"classes/circlelight.html#descriptor.propertyuniformmapping.center-1","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"CircleLight.descriptor.propertyUniformMapping"},{"id":327,"kind":32,"name":"color","url":"classes/circlelight.html#descriptor.propertyuniformmapping.color-1","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"CircleLight.descriptor.propertyUniformMapping"},{"id":328,"kind":32,"name":"intensity","url":"classes/circlelight.html#descriptor.propertyuniformmapping.intensity-1","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"CircleLight.descriptor.propertyUniformMapping"},{"id":329,"kind":32,"name":"uniformCountMacroName","url":"classes/circlelight.html#descriptor.uniformcountmacroname","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"CircleLight.descriptor"},{"id":330,"kind":32,"name":"shaderCombinationSteps","url":"classes/circlelight.html#descriptor.shadercombinationsteps","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"CircleLight.descriptor"},{"id":331,"kind":32,"name":"empty","url":"classes/circlelight.html#descriptor.empty","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"CircleLight.descriptor"},{"id":332,"kind":512,"name":"constructor","url":"classes/circlelight.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite","parent":"CircleLight"},{"id":333,"kind":1024,"name":"lightnessRatio","url":"classes/circlelight.html#lightnessratio","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"CircleLight"},{"id":334,"kind":1024,"name":"center","url":"classes/circlelight.html#center","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"CircleLight"},{"id":335,"kind":1024,"name":"color","url":"classes/circlelight.html#color","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"CircleLight"},{"id":336,"kind":1024,"name":"intensity","url":"classes/circlelight.html#intensity","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"CircleLight"},{"id":337,"kind":2048,"name":"setLightnessRatio","url":"classes/circlelight.html#setlightnessratio","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"CircleLight"},{"id":338,"kind":2048,"name":"minDistance","url":"classes/circlelight.html#mindistance","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"CircleLight"},{"id":339,"kind":2048,"name":"getObjectToSerialize","url":"classes/circlelight.html#getobjecttoserialize","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited tsd-is-protected","parent":"CircleLight"},{"id":340,"kind":2048,"name":"serializeToUniforms","url":"classes/circlelight.html#serializetouniforms","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"CircleLight"},{"id":341,"kind":32,"name":"isEnabled","url":"globals.html#isenabled","classes":"tsd-kind-variable"},{"id":342,"kind":64,"name":"enableContextLostSimulator","url":"globals.html#enablecontextlostsimulator","classes":"tsd-kind-function"}],"index":{"version":"2.3.9","fields":["name","parent"],"fieldVectors":[["name/0",[0,41.359]],["parent/0",[]],["name/1",[1,38.257]],["parent/1",[0,3.842]],["name/2",[2,38.257]],["parent/2",[0,3.842]],["name/3",[3,38.257]],["parent/3",[0,3.842]],["name/4",[4,38.257]],["parent/4",[0,3.842]],["name/5",[5,39.688]],["parent/5",[]],["name/6",[6,39.688]],["parent/6",[5,3.687]],["name/7",[7,49.244]],["parent/7",[8,5.049]],["name/8",[9,39.688]],["parent/8",[5,3.687]],["name/9",[10,43.366]],["parent/9",[5,3.687]],["name/10",[11,39.688]],["parent/10",[5,3.687]],["name/11",[12,39.688]],["parent/11",[5,3.687]],["name/12",[13,54.352]],["parent/12",[]],["name/13",[14,54.352]],["parent/13",[]],["name/14",[15,37.006]],["parent/14",[]],["name/15",[16,54.352]],["parent/15",[15,3.438]],["name/16",[17,54.352]],["parent/16",[15,3.438]],["name/17",[18,54.352]],["parent/17",[15,3.438]],["name/18",[19,54.352]],["parent/18",[15,3.438]],["name/19",[20,37.006]],["parent/19",[]],["name/20",[21,43.366]],["parent/20",[20,3.438]],["name/21",[22,49.244]],["parent/21",[20,3.438]],["name/22",[23,49.244]],["parent/22",[20,3.438]],["name/23",[24,49.244]],["parent/23",[20,3.438]],["name/24",[25,49.244]],["parent/24",[20,3.438]],["name/25",[26,54.352]],["parent/25",[20,3.438]],["name/26",[27,49.244]],["parent/26",[20,3.438]],["name/27",[28,43.366]],["parent/27",[]],["name/28",[29,49.244]],["parent/28",[28,4.029]],["name/29",[30,49.244]],["parent/29",[28,4.029]],["name/30",[31,49.244]],["parent/30",[28,4.029]],["name/31",[32,34.893]],["parent/31",[]],["name/32",[33,45.879]],["parent/32",[32,3.241]],["name/33",[34,45.879]],["parent/33",[32,3.241]],["name/34",[15,37.006]],["parent/34",[32,3.241]],["name/35",[35,43.366]],["parent/35",[32,3.241]],["name/36",[36,45.879]],["parent/36",[32,3.241]],["name/37",[37,41.359]],["parent/37",[32,3.241]],["name/38",[38,45.879]],["parent/38",[32,3.241]],["name/39",[39,45.879]],["parent/39",[32,3.241]],["name/40",[40,31.665]],["parent/40",[32,3.241]],["name/41",[41,54.352]],["parent/41",[]],["name/42",[42,54.352]],["parent/42",[]],["name/43",[43,31.665]],["parent/43",[]],["name/44",[44,45.879]],["parent/44",[43,2.942]],["name/45",[21,43.366]],["parent/45",[43,2.942]],["name/46",[45,45.879]],["parent/46",[43,2.942]],["name/47",[43,31.665]],["parent/47",[43,2.942]],["name/48",[46,27.271]],["parent/48",[43,2.942]],["name/49",[47,41.359]],["parent/49",[43,2.942]],["name/50",[48,45.879]],["parent/50",[43,2.942]],["name/51",[40,31.665]],["parent/51",[43,2.942]],["name/52",[49,45.879]],["parent/52",[43,2.942]],["name/53",[50,45.879]],["parent/53",[43,2.942]],["name/54",[51,33.983]],["parent/54",[]],["name/55",[46,27.271]],["parent/55",[51,3.157]],["name/56",[49,45.879]],["parent/56",[51,3.157]],["name/57",[44,45.879]],["parent/57",[51,3.157]],["name/58",[21,43.366]],["parent/58",[51,3.157]],["name/59",[45,45.879]],["parent/59",[51,3.157]],["name/60",[43,31.665]],["parent/60",[51,3.157]],["name/61",[47,41.359]],["parent/61",[51,3.157]],["name/62",[48,45.879]],["parent/62",[51,3.157]],["name/63",[40,31.665]],["parent/63",[51,3.157]],["name/64",[50,45.879]],["parent/64",[51,3.157]],["name/65",[52,54.352]],["parent/65",[]],["name/66",[53,54.352]],["parent/66",[]],["name/67",[54,33.149]],["parent/67",[]],["name/68",[46,27.271]],["parent/68",[54,3.08]],["name/69",[40,31.665]],["parent/69",[54,3.08]],["name/70",[55,49.244]],["parent/70",[54,3.08]],["name/71",[49,45.879]],["parent/71",[54,3.08]],["name/72",[44,45.879]],["parent/72",[54,3.08]],["name/73",[21,43.366]],["parent/73",[54,3.08]],["name/74",[45,45.879]],["parent/74",[54,3.08]],["name/75",[43,31.665]],["parent/75",[54,3.08]],["name/76",[47,41.359]],["parent/76",[54,3.08]],["name/77",[48,45.879]],["parent/77",[54,3.08]],["name/78",[50,45.879]],["parent/78",[54,3.08]],["name/79",[56,43.366]],["parent/79",[]],["name/80",[57,54.352]],["parent/80",[56,4.029]],["name/81",[58,54.352]],["parent/81",[56,4.029]],["name/82",[59,54.352]],["parent/82",[56,4.029]],["name/83",[60,37.006]],["parent/83",[]],["name/84",[46,27.271]],["parent/84",[60,3.438]],["name/85",[61,54.352]],["parent/85",[60,3.438]],["name/86",[62,54.352]],["parent/86",[60,3.438]],["name/87",[63,54.352]],["parent/87",[60,3.438]],["name/88",[64,54.352]],["parent/88",[60,3.438]],["name/89",[65,54.352]],["parent/89",[60,3.438]],["name/90",[66,54.352]],["parent/90",[60,3.438]],["name/91",[67,39.688]],["parent/91",[]],["name/92",[46,27.271]],["parent/92",[67,3.687]],["name/93",[55,49.244]],["parent/93",[67,3.687]],["name/94",[68,54.352]],["parent/94",[67,3.687]],["name/95",[69,54.352]],["parent/95",[67,3.687]],["name/96",[40,31.665]],["parent/96",[67,3.687]],["name/97",[70,54.352]],["parent/97",[]],["name/98",[71,43.366]],["parent/98",[]],["name/99",[46,27.271]],["parent/99",[71,4.029]],["name/100",[72,54.352]],["parent/100",[71,4.029]],["name/101",[73,54.352]],["parent/101",[71,4.029]],["name/102",[74,49.244]],["parent/102",[]],["name/103",[7,49.244]],["parent/103",[74,4.575]],["name/104",[75,30.373]],["parent/104",[76,4.029]],["name/105",[77,54.352]],["parent/105",[76,4.029]],["name/106",[78,54.352]],["parent/106",[76,4.029]],["name/107",[79,54.352]],["parent/107",[76,4.029]],["name/108",[80,54.352]],["parent/108",[]],["name/109",[81,54.352]],["parent/109",[]],["name/110",[82,54.352]],["parent/110",[]],["name/111",[83,54.352]],["parent/111",[]],["name/112",[84,54.352]],["parent/112",[]],["name/113",[85,41.359]],["parent/113",[]],["name/114",[46,27.271]],["parent/114",[85,3.842]],["name/115",[86,54.352]],["parent/115",[85,3.842]],["name/116",[87,54.352]],["parent/116",[85,3.842]],["name/117",[88,54.352]],["parent/117",[85,3.842]],["name/118",[89,37.006]],["parent/118",[]],["name/119",[90,54.352]],["parent/119",[89,3.438]],["name/120",[91,54.352]],["parent/120",[89,3.438]],["name/121",[92,54.352]],["parent/121",[89,3.438]],["name/122",[93,54.352]],["parent/122",[89,3.438]],["name/123",[94,54.352]],["parent/123",[89,3.438]],["name/124",[95,54.352]],["parent/124",[89,3.438]],["name/125",[96,54.352]],["parent/125",[89,3.438]],["name/126",[97,54.352]],["parent/126",[]],["name/127",[98,54.352]],["parent/127",[]],["name/128",[99,54.352]],["parent/128",[]],["name/129",[100,43.366]],["parent/129",[]],["name/130",[101,43.366]],["parent/130",[100,4.029]],["name/131",[102,43.366]],["parent/131",[100,4.029]],["name/132",[40,31.665]],["parent/132",[100,4.029]],["name/133",[75,30.373]],["parent/133",[]],["name/134",[75,30.373]],["parent/134",[75,2.822]],["name/135",[46,27.271]],["parent/135",[75,2.822]],["name/136",[47,41.359]],["parent/136",[75,2.822]],["name/137",[103,38.257]],["parent/137",[75,2.822]],["name/138",[101,43.366]],["parent/138",[75,2.822]],["name/139",[104,49.244]],["parent/139",[75,2.822]],["name/140",[40,31.665]],["parent/140",[75,2.822]],["name/141",[102,43.366]],["parent/141",[75,2.822]],["name/142",[105,49.244]],["parent/142",[75,2.822]],["name/143",[106,34.893]],["parent/143",[]],["name/144",[46,27.271]],["parent/144",[106,3.241]],["name/145",[103,38.257]],["parent/145",[106,3.241]],["name/146",[105,49.244]],["parent/146",[106,3.241]],["name/147",[102,43.366]],["parent/147",[106,3.241]],["name/148",[40,31.665]],["parent/148",[106,3.241]],["name/149",[75,30.373]],["parent/149",[106,3.241]],["name/150",[47,41.359]],["parent/150",[106,3.241]],["name/151",[101,43.366]],["parent/151",[106,3.241]],["name/152",[104,49.244]],["parent/152",[106,3.241]],["name/153",[107,39.688]],["parent/153",[]],["name/154",[46,27.271]],["parent/154",[107,3.687]],["name/155",[103,38.257]],["parent/155",[107,3.687]],["name/156",[101,43.366]],["parent/156",[107,3.687]],["name/157",[102,43.366]],["parent/157",[107,3.687]],["name/158",[40,31.665]],["parent/158",[107,3.687]],["name/159",[108,38.257]],["parent/159",[]],["name/160",[75,30.373]],["parent/160",[108,3.554]],["name/161",[46,27.271]],["parent/161",[108,3.554]],["name/162",[109,45.879]],["parent/162",[108,3.554]],["name/163",[103,38.257]],["parent/163",[108,3.554]],["name/164",[110,45.879]],["parent/164",[108,3.554]],["name/165",[40,31.665]],["parent/165",[108,3.554]],["name/166",[111,34.893]],["parent/166",[]],["name/167",[22,49.244]],["parent/167",[111,3.241]],["name/168",[23,49.244]],["parent/168",[111,3.241]],["name/169",[37,41.359]],["parent/169",[111,3.241]],["name/170",[110,45.879]],["parent/170",[111,3.241]],["name/171",[75,30.373]],["parent/171",[111,3.241]],["name/172",[46,27.271]],["parent/172",[111,3.241]],["name/173",[109,45.879]],["parent/173",[111,3.241]],["name/174",[103,38.257]],["parent/174",[111,3.241]],["name/175",[40,31.665]],["parent/175",[111,3.241]],["name/176",[112,35.893]],["parent/176",[]],["name/177",[24,49.244]],["parent/177",[112,3.334]],["name/178",[37,41.359]],["parent/178",[112,3.334]],["name/179",[110,45.879]],["parent/179",[112,3.334]],["name/180",[75,30.373]],["parent/180",[112,3.334]],["name/181",[46,27.271]],["parent/181",[112,3.334]],["name/182",[109,45.879]],["parent/182",[112,3.334]],["name/183",[103,38.257]],["parent/183",[112,3.334]],["name/184",[40,31.665]],["parent/184",[112,3.334]],["name/185",[113,43.366]],["parent/185",[]],["name/186",[29,49.244]],["parent/186",[113,4.029]],["name/187",[30,49.244]],["parent/187",[113,4.029]],["name/188",[31,49.244]],["parent/188",[113,4.029]],["name/189",[114,35.893]],["parent/189",[]],["name/190",[27,49.244]],["parent/190",[114,3.334]],["name/191",[115,54.352]],["parent/191",[114,3.334]],["name/192",[46,27.271]],["parent/192",[114,3.334]],["name/193",[116,54.352]],["parent/193",[114,3.334]],["name/194",[25,49.244]],["parent/194",[114,3.334]],["name/195",[117,54.352]],["parent/195",[114,3.334]],["name/196",[35,43.366]],["parent/196",[114,3.334]],["name/197",[118,54.352]],["parent/197",[114,3.334]],["name/198",[119,33.149]],["parent/198",[]],["name/199",[36,45.879]],["parent/199",[119,3.08]],["name/200",[46,27.271]],["parent/200",[119,3.08]],["name/201",[103,38.257]],["parent/201",[119,3.08]],["name/202",[15,37.006]],["parent/202",[119,3.08]],["name/203",[37,41.359]],["parent/203",[119,3.08]],["name/204",[38,45.879]],["parent/204",[119,3.08]],["name/205",[39,45.879]],["parent/205",[119,3.08]],["name/206",[35,43.366]],["parent/206",[119,3.08]],["name/207",[34,45.879]],["parent/207",[119,3.08]],["name/208",[33,45.879]],["parent/208",[119,3.08]],["name/209",[40,31.665]],["parent/209",[119,3.08]],["name/210",[120,33.149]],["parent/210",[]],["name/211",[46,27.271]],["parent/211",[120,3.08]],["name/212",[121,54.352]],["parent/212",[120,3.08]],["name/213",[33,45.879]],["parent/213",[120,3.08]],["name/214",[34,45.879]],["parent/214",[120,3.08]],["name/215",[15,37.006]],["parent/215",[120,3.08]],["name/216",[35,43.366]],["parent/216",[120,3.08]],["name/217",[36,45.879]],["parent/217",[120,3.08]],["name/218",[37,41.359]],["parent/218",[120,3.08]],["name/219",[38,45.879]],["parent/219",[120,3.08]],["name/220",[39,45.879]],["parent/220",[120,3.08]],["name/221",[40,31.665]],["parent/221",[120,3.08]],["name/222",[122,45.879]],["parent/222",[]],["name/223",[123,54.352]],["parent/223",[122,4.262]],["name/224",[124,49.244]],["parent/224",[125,4.575]],["name/225",[126,49.244]],["parent/225",[125,4.575]],["name/226",[127,54.352]],["parent/226",[122,4.262]],["name/227",[124,49.244]],["parent/227",[128,4.575]],["name/228",[126,49.244]],["parent/228",[128,4.575]],["name/229",[129,54.352]],["parent/229",[]],["name/230",[130,54.352]],["parent/230",[]],["name/231",[131,33.149]],["parent/231",[]],["name/232",[1,38.257]],["parent/232",[131,3.08]],["name/233",[6,39.688]],["parent/233",[132,4.029]],["name/234",[133,38.257]],["parent/234",[134,4.029]],["name/235",[135,41.359]],["parent/235",[134,4.029]],["name/236",[136,41.359]],["parent/236",[134,4.029]],["name/237",[137,49.244]],["parent/237",[134,4.029]],["name/238",[9,39.688]],["parent/238",[132,4.029]],["name/239",[11,39.688]],["parent/239",[132,4.029]],["name/240",[12,39.688]],["parent/240",[132,4.029]],["name/241",[46,27.271]],["parent/241",[131,3.08]],["name/242",[137,49.244]],["parent/242",[131,3.08]],["name/243",[3,38.257]],["parent/243",[131,3.08]],["name/244",[138,45.879]],["parent/244",[131,3.08]],["name/245",[133,38.257]],["parent/245",[131,3.08]],["name/246",[135,41.359]],["parent/246",[131,3.08]],["name/247",[136,41.359]],["parent/247",[131,3.08]],["name/248",[139,45.879]],["parent/248",[131,3.08]],["name/249",[2,38.257]],["parent/249",[131,3.08]],["name/250",[4,38.257]],["parent/250",[131,3.08]],["name/251",[140,37.006]],["parent/251",[]],["name/252",[1,38.257]],["parent/252",[140,3.438]],["name/253",[10,43.366]],["parent/253",[141,3.842]],["name/254",[142,45.879]],["parent/254",[143,4.575]],["name/255",[144,45.879]],["parent/255",[143,4.575]],["name/256",[6,39.688]],["parent/256",[141,3.842]],["name/257",[133,38.257]],["parent/257",[145,4.575]],["name/258",[146,49.244]],["parent/258",[145,4.575]],["name/259",[9,39.688]],["parent/259",[141,3.842]],["name/260",[11,39.688]],["parent/260",[141,3.842]],["name/261",[12,39.688]],["parent/261",[141,3.842]],["name/262",[46,27.271]],["parent/262",[140,3.438]],["name/263",[133,38.257]],["parent/263",[140,3.438]],["name/264",[146,49.244]],["parent/264",[140,3.438]],["name/265",[2,38.257]],["parent/265",[140,3.438]],["name/266",[3,38.257]],["parent/266",[140,3.438]],["name/267",[4,38.257]],["parent/267",[140,3.438]],["name/268",[147,34.893]],["parent/268",[]],["name/269",[1,38.257]],["parent/269",[147,3.241]],["name/270",[10,43.366]],["parent/270",[148,3.842]],["name/271",[142,45.879]],["parent/271",[149,4.262]],["name/272",[150,54.352]],["parent/272",[149,4.262]],["name/273",[144,45.879]],["parent/273",[149,4.262]],["name/274",[6,39.688]],["parent/274",[148,3.842]],["name/275",[151,43.366]],["parent/275",[152,4.029]],["name/276",[153,49.244]],["parent/276",[152,4.029]],["name/277",[154,43.366]],["parent/277",[152,4.029]],["name/278",[155,43.366]],["parent/278",[152,4.029]],["name/279",[9,39.688]],["parent/279",[148,3.842]],["name/280",[11,39.688]],["parent/280",[148,3.842]],["name/281",[12,39.688]],["parent/281",[148,3.842]],["name/282",[46,27.271]],["parent/282",[147,3.241]],["name/283",[151,43.366]],["parent/283",[147,3.241]],["name/284",[156,49.244]],["parent/284",[147,3.241]],["name/285",[154,43.366]],["parent/285",[147,3.241]],["name/286",[155,43.366]],["parent/286",[147,3.241]],["name/287",[2,38.257]],["parent/287",[147,3.241]],["name/288",[3,38.257]],["parent/288",[147,3.241]],["name/289",[4,38.257]],["parent/289",[147,3.241]],["name/290",[157,34.893]],["parent/290",[]],["name/291",[1,38.257]],["parent/291",[157,3.241]],["name/292",[10,43.366]],["parent/292",[158,3.842]],["name/293",[142,45.879]],["parent/293",[159,4.575]],["name/294",[144,45.879]],["parent/294",[159,4.575]],["name/295",[6,39.688]],["parent/295",[158,3.842]],["name/296",[151,43.366]],["parent/296",[160,4.029]],["name/297",[153,49.244]],["parent/297",[160,4.029]],["name/298",[154,43.366]],["parent/298",[160,4.029]],["name/299",[155,43.366]],["parent/299",[160,4.029]],["name/300",[9,39.688]],["parent/300",[158,3.842]],["name/301",[11,39.688]],["parent/301",[158,3.842]],["name/302",[12,39.688]],["parent/302",[158,3.842]],["name/303",[46,27.271]],["parent/303",[157,3.241]],["name/304",[151,43.366]],["parent/304",[157,3.241]],["name/305",[156,49.244]],["parent/305",[157,3.241]],["name/306",[154,43.366]],["parent/306",[157,3.241]],["name/307",[155,43.366]],["parent/307",[157,3.241]],["name/308",[2,38.257]],["parent/308",[157,3.241]],["name/309",[3,38.257]],["parent/309",[157,3.241]],["name/310",[4,38.257]],["parent/310",[157,3.241]],["name/311",[161,54.352]],["parent/311",[]],["name/312",[162,33.983]],["parent/312",[]],["name/313",[138,45.879]],["parent/313",[162,3.157]],["name/314",[46,27.271]],["parent/314",[162,3.157]],["name/315",[133,38.257]],["parent/315",[162,3.157]],["name/316",[135,41.359]],["parent/316",[162,3.157]],["name/317",[136,41.359]],["parent/317",[162,3.157]],["name/318",[139,45.879]],["parent/318",[162,3.157]],["name/319",[2,38.257]],["parent/319",[162,3.157]],["name/320",[3,38.257]],["parent/320",[162,3.157]],["name/321",[1,38.257]],["parent/321",[162,3.157]],["name/322",[4,38.257]],["parent/322",[162,3.157]],["name/323",[163,33.983]],["parent/323",[]],["name/324",[1,38.257]],["parent/324",[163,3.157]],["name/325",[6,39.688]],["parent/325",[164,4.029]],["name/326",[133,38.257]],["parent/326",[165,4.262]],["name/327",[135,41.359]],["parent/327",[165,4.262]],["name/328",[136,41.359]],["parent/328",[165,4.262]],["name/329",[9,39.688]],["parent/329",[164,4.029]],["name/330",[11,39.688]],["parent/330",[164,4.029]],["name/331",[12,39.688]],["parent/331",[164,4.029]],["name/332",[46,27.271]],["parent/332",[163,3.157]],["name/333",[138,45.879]],["parent/333",[163,3.157]],["name/334",[133,38.257]],["parent/334",[163,3.157]],["name/335",[135,41.359]],["parent/335",[163,3.157]],["name/336",[136,41.359]],["parent/336",[163,3.157]],["name/337",[139,45.879]],["parent/337",[163,3.157]],["name/338",[2,38.257]],["parent/338",[163,3.157]],["name/339",[3,38.257]],["parent/339",[163,3.157]],["name/340",[4,38.257]],["parent/340",[163,3.157]],["name/341",[166,54.352]],["parent/341",[]],["name/342",[167,54.352]],["parent/342",[]]],"invertedIndex":[["__global",{"_index":122,"name":{"222":{}},"parent":{"223":{},"226":{}}}],["__global.array",{"_index":125,"name":{},"parent":{"224":{},"225":{}}}],["__global.float32array",{"_index":128,"name":{},"parent":{"227":{},"228":{}}}],["__type",{"_index":7,"name":{"7":{},"103":{}},"parent":{}}],["_backgroundcolor",{"_index":115,"name":{"191":{}},"parent":{}}],["adddrawable",{"_index":37,"name":{"37":{},"169":{},"178":{},"203":{},"218":{}},"parent":{}}],["adjusmentrateinmilliseconds",{"_index":93,"name":{"122":{}},"parent":{}}],["ambientlight",{"_index":27,"name":{"26":{},"190":{}},"parent":{}}],["applyarrayplugins",{"_index":130,"name":{"230":{}},"parent":{}}],["array",{"_index":123,"name":{"223":{}},"parent":{}}],["autoscale",{"_index":88,"name":{"117":{}},"parent":{}}],["autoscalequality",{"_index":38,"name":{"38":{},"204":{},"219":{}},"parent":{}}],["backgroundcolor",{"_index":25,"name":{"24":{},"194":{}},"parent":{}}],["bind",{"_index":105,"name":{"142":{},"146":{}},"parent":{}}],["bindandclear",{"_index":48,"name":{"50":{},"62":{},"77":{}},"parent":{}}],["canvassize",{"_index":33,"name":{"32":{},"208":{},"213":{}},"parent":{}}],["center",{"_index":133,"name":{"234":{},"245":{},"257":{},"263":{},"315":{},"326":{},"334":{}},"parent":{}}],["circle",{"_index":140,"name":{"251":{}},"parent":{"252":{},"262":{},"263":{},"264":{},"265":{},"266":{},"267":{}}}],["circle.descriptor",{"_index":141,"name":{},"parent":{"253":{},"256":{},"259":{},"260":{},"261":{}}}],["circle.descriptor.propertyuniformmapping",{"_index":145,"name":{},"parent":{"257":{},"258":{}}}],["circle.descriptor.sdf",{"_index":143,"name":{},"parent":{"254":{},"255":{}}}],["circlelight",{"_index":163,"name":{"323":{}},"parent":{"324":{},"332":{},"333":{},"334":{},"335":{},"336":{},"337":{},"338":{},"339":{},"340":{}}}],["circlelight.descriptor",{"_index":164,"name":{},"parent":{"325":{},"329":{},"330":{},"331":{}}}],["circlelight.descriptor.propertyuniformmapping",{"_index":165,"name":{},"parent":{"326":{},"327":{},"328":{}}}],["clamp",{"_index":81,"name":{"109":{}},"parent":{}}],["clamp01",{"_index":82,"name":{"110":{}},"parent":{}}],["color",{"_index":135,"name":{"235":{},"246":{},"316":{},"327":{},"335":{}},"parent":{}}],["colorpalette",{"_index":26,"name":{"25":{}},"parent":{}}],["colortexture",{"_index":55,"name":{"70":{},"93":{}},"parent":{}}],["compile",{"_index":161,"name":{"311":{}},"parent":{}}],["compileprograms",{"_index":73,"name":{"101":{}},"parent":{}}],["compilingprogram",{"_index":74,"name":{"102":{}},"parent":{"103":{}}}],["compilingprogram.__type",{"_index":76,"name":{},"parent":{"104":{},"105":{},"106":{},"107":{}}}],["constructor",{"_index":46,"name":{"48":{},"55":{},"68":{},"84":{},"92":{},"99":{},"114":{},"135":{},"144":{},"154":{},"161":{},"172":{},"181":{},"192":{},"200":{},"211":{},"241":{},"262":{},"282":{},"303":{},"314":{},"332":{}},"parent":{}}],["contextawarerenderer",{"_index":120,"name":{"210":{}},"parent":{"211":{},"212":{},"213":{},"214":{},"215":{},"216":{},"217":{},"218":{},"219":{},"220":{},"221":{}}}],["createprogram",{"_index":72,"name":{"100":{}},"parent":{}}],["decrease",{"_index":87,"name":{"116":{}},"parent":{}}],["defaultframebuffer",{"_index":51,"name":{"54":{}},"parent":{"55":{},"56":{},"57":{},"58":{},"59":{},"60":{},"61":{},"62":{},"63":{},"64":{}}}],["defaultstartupsettings",{"_index":113,"name":{"185":{}},"parent":{"186":{},"187":{},"188":{}}}],["deltatimeerrorinmilliseconds",{"_index":91,"name":{"120":{}},"parent":{}}],["deltatimeresponsiveness",{"_index":92,"name":{"121":{}},"parent":{}}],["descriptor",{"_index":1,"name":{"1":{},"232":{},"252":{},"269":{},"291":{},"321":{},"324":{}},"parent":{}}],["destroy",{"_index":40,"name":{"40":{},"51":{},"63":{},"69":{},"96":{},"132":{},"140":{},"148":{},"158":{},"165":{},"175":{},"184":{},"209":{},"221":{}},"parent":{}}],["direction",{"_index":137,"name":{"237":{},"242":{}},"parent":{}}],["distancefunctionname",{"_index":144,"name":{"255":{},"273":{},"294":{}},"parent":{}}],["distancerenderpass",{"_index":111,"name":{"166":{}},"parent":{"167":{},"168":{},"169":{},"170":{},"171":{},"172":{},"173":{},"174":{},"175":{}}}],["draw",{"_index":102,"name":{"131":{},"141":{},"147":{},"157":{}},"parent":{}}],["drawable",{"_index":0,"name":{"0":{}},"parent":{"1":{},"2":{},"3":{},"4":{}}}],["drawabledescriptor",{"_index":5,"name":{"5":{}},"parent":{"6":{},"8":{},"9":{},"10":{},"11":{}}}],["drawabledescriptor.propertyuniformmapping",{"_index":8,"name":{},"parent":{"7":{}}}],["empty",{"_index":12,"name":{"11":{},"240":{},"261":{},"281":{},"302":{},"331":{}},"parent":{}}],["enablecontextlostsimulator",{"_index":167,"name":{"342":{}},"parent":{}}],["enableextension",{"_index":53,"name":{"66":{}},"parent":{}}],["enablehighdpirendering",{"_index":21,"name":{"20":{},"45":{},"58":{},"73":{}},"parent":{}}],["exponentialdecay",{"_index":83,"name":{"111":{}},"parent":{}}],["flashlight",{"_index":131,"name":{"231":{}},"parent":{"232":{},"241":{},"242":{},"243":{},"244":{},"245":{},"246":{},"247":{},"248":{},"249":{},"250":{}}}],["flashlight.descriptor",{"_index":132,"name":{},"parent":{"233":{},"238":{},"239":{},"240":{}}}],["flashlight.descriptor.propertyuniformmapping",{"_index":134,"name":{},"parent":{"234":{},"235":{},"236":{},"237":{}}}],["float32array",{"_index":127,"name":{"226":{}},"parent":{}}],["fpsautoscaler",{"_index":85,"name":{"113":{}},"parent":{"114":{},"115":{},"116":{},"117":{}}}],["fragmentshader",{"_index":79,"name":{"107":{}},"parent":{}}],["fragmentshaderonlyprogram",{"_index":106,"name":{"143":{}},"parent":{"144":{},"145":{},"146":{},"147":{},"148":{},"149":{},"150":{},"151":{},"152":{}}}],["frame",{"_index":109,"name":{"162":{},"173":{},"182":{}},"parent":{}}],["framebuffer",{"_index":43,"name":{"43":{},"47":{},"60":{},"75":{}},"parent":{"44":{},"45":{},"46":{},"47":{},"48":{},"49":{},"50":{},"51":{},"52":{},"53":{}}}],["from",{"_index":151,"name":{"275":{},"283":{},"296":{},"304":{}},"parent":{}}],["fromradius",{"_index":154,"name":{"277":{},"285":{},"298":{},"306":{}},"parent":{}}],["getcombinations",{"_index":97,"name":{"126":{}},"parent":{}}],["getobjecttoserialize",{"_index":3,"name":{"3":{},"243":{},"266":{},"288":{},"309":{},"320":{},"339":{}},"parent":{}}],["getsize",{"_index":50,"name":{"53":{},"64":{},"78":{}},"parent":{}}],["getuniforms",{"_index":116,"name":{"193":{}},"parent":{}}],["getuniversalrenderingcontext",{"_index":42,"name":{"42":{}},"parent":{}}],["getviewarea",{"_index":117,"name":{"195":{}},"parent":{}}],["gl",{"_index":47,"name":{"49":{},"61":{},"76":{},"136":{},"150":{}},"parent":{}}],["ignorewebgl2",{"_index":31,"name":{"30":{},"188":{}},"parent":{}}],["increase",{"_index":86,"name":{"115":{}},"parent":{}}],["initialize",{"_index":103,"name":{"137":{},"145":{},"155":{},"163":{},"174":{},"183":{},"201":{}},"parent":{}}],["initializedpromise",{"_index":121,"name":{"212":{}},"parent":{}}],["insights",{"_index":15,"name":{"14":{},"34":{},"202":{},"215":{}},"parent":{"15":{},"16":{},"17":{},"18":{}}}],["intensity",{"_index":136,"name":{"236":{},"247":{},"317":{},"328":{},"336":{}},"parent":{}}],["intermediateframebuffer",{"_index":54,"name":{"67":{}},"parent":{"68":{},"69":{},"70":{},"71":{},"72":{},"73":{},"74":{},"75":{},"76":{},"77":{},"78":{}}}],["invertedtunnel",{"_index":147,"name":{"268":{}},"parent":{"269":{},"282":{},"283":{},"284":{},"285":{},"286":{},"287":{},"288":{},"289":{}}}],["invertedtunnel.descriptor",{"_index":148,"name":{},"parent":{"270":{},"274":{},"279":{},"280":{},"281":{}}}],["invertedtunnel.descriptor.propertyuniformmapping",{"_index":152,"name":{},"parent":{"275":{},"276":{},"277":{},"278":{}}}],["invertedtunnel.descriptor.sdf",{"_index":149,"name":{},"parent":{"271":{},"272":{},"273":{}}}],["iprogram",{"_index":100,"name":{"129":{}},"parent":{"130":{},"131":{},"132":{}}}],["isenabled",{"_index":166,"name":{"341":{}},"parent":{}}],["isinverted",{"_index":150,"name":{"272":{}},"parent":{}}],["isready",{"_index":64,"name":{"88":{}},"parent":{}}],["isrunning",{"_index":65,"name":{"89":{}},"parent":{}}],["isworldinverted",{"_index":23,"name":{"22":{},"168":{}},"parent":{}}],["last",{"_index":13,"name":{"12":{}},"parent":{}}],["lightcutoffdistance",{"_index":24,"name":{"23":{},"177":{}},"parent":{}}],["lightdrawable",{"_index":162,"name":{"312":{}},"parent":{"313":{},"314":{},"315":{},"316":{},"317":{},"318":{},"319":{},"320":{},"321":{},"322":{}}}],["lightnessratio",{"_index":138,"name":{"244":{},"313":{},"333":{}},"parent":{}}],["lightsrenderpass",{"_index":112,"name":{"176":{}},"parent":{"177":{},"178":{},"179":{},"180":{},"181":{},"182":{},"183":{},"184":{}}}],["loadermat3",{"_index":98,"name":{"127":{}},"parent":{}}],["loaduniform",{"_index":99,"name":{"128":{}},"parent":{}}],["measure",{"_index":17,"name":{"16":{}},"parent":{}}],["measurefunction",{"_index":18,"name":{"17":{}},"parent":{}}],["mindistance",{"_index":2,"name":{"2":{},"249":{},"265":{},"287":{},"308":{},"319":{},"338":{}},"parent":{}}],["mix",{"_index":84,"name":{"112":{}},"parent":{}}],["mstostring",{"_index":14,"name":{"13":{}},"parent":{}}],["palettesize",{"_index":30,"name":{"29":{},"187":{}},"parent":{}}],["palettetexture",{"_index":67,"name":{"91":{}},"parent":{"92":{},"93":{},"94":{},"95":{},"96":{}}}],["parallelcompiler",{"_index":71,"name":{"98":{}},"parent":{"99":{},"100":{},"101":{}}}],["program",{"_index":75,"name":{"104":{},"133":{},"134":{},"149":{},"160":{},"171":{},"180":{}},"parent":{"134":{},"135":{},"136":{},"137":{},"138":{},"139":{},"140":{},"141":{},"142":{}}}],["propertyuniformmapping",{"_index":6,"name":{"6":{},"233":{},"256":{},"274":{},"295":{},"325":{}},"parent":{}}],["qualitystepdecrese",{"_index":96,"name":{"125":{}},"parent":{}}],["qualitystepincrease",{"_index":95,"name":{"124":{}},"parent":{}}],["radius",{"_index":146,"name":{"258":{},"264":{}},"parent":{}}],["ready",{"_index":57,"name":{"80":{}},"parent":{}}],["render",{"_index":110,"name":{"164":{},"170":{},"179":{}},"parent":{}}],["renderdrawables",{"_index":39,"name":{"39":{},"205":{},"220":{}},"parent":{}}],["renderer",{"_index":32,"name":{"31":{}},"parent":{"32":{},"33":{},"34":{},"35":{},"36":{},"37":{},"38":{},"39":{},"40":{}}}],["rendererimplementation",{"_index":119,"name":{"198":{}},"parent":{"199":{},"200":{},"201":{},"202":{},"203":{},"204":{},"205":{},"206":{},"207":{},"208":{},"209":{}}}],["renderpass",{"_index":108,"name":{"159":{}},"parent":{"160":{},"161":{},"162":{},"163":{},"164":{},"165":{}}}],["renderscale",{"_index":44,"name":{"44":{},"57":{},"72":{}},"parent":{}}],["resolvepromise",{"_index":77,"name":{"105":{}},"parent":{}}],["resultsinmilliseconds",{"_index":66,"name":{"90":{}},"parent":{}}],["running",{"_index":58,"name":{"81":{}},"parent":{}}],["runtimesettings",{"_index":20,"name":{"19":{}},"parent":{"20":{},"21":{},"22":{},"23":{},"24":{},"25":{},"26":{}}}],["screentoworldposition",{"_index":118,"name":{"197":{}},"parent":{}}],["sdf",{"_index":10,"name":{"9":{},"253":{},"270":{},"292":{}},"parent":{}}],["serializetouniforms",{"_index":4,"name":{"4":{},"250":{},"267":{},"289":{},"310":{},"322":{},"340":{}},"parent":{}}],["setdrawingrectangleuv",{"_index":101,"name":{"130":{},"138":{},"151":{},"156":{}},"parent":{}}],["setimage",{"_index":69,"name":{"95":{}},"parent":{}}],["setindexalias",{"_index":129,"name":{"229":{}},"parent":{}}],["setlightnessratio",{"_index":139,"name":{"248":{},"318":{},"337":{}},"parent":{}}],["setpalette",{"_index":68,"name":{"94":{}},"parent":{}}],["setruntimesettings",{"_index":36,"name":{"36":{},"199":{},"217":{}},"parent":{}}],["setsize",{"_index":49,"name":{"52":{},"56":{},"71":{}},"parent":{}}],["settings",{"_index":89,"name":{"118":{}},"parent":{"119":{},"120":{},"121":{},"122":{},"123":{},"124":{},"125":{}}}],["setuniforms",{"_index":104,"name":{"139":{},"152":{}},"parent":{}}],["setvalue",{"_index":16,"name":{"15":{}},"parent":{}}],["setviewarea",{"_index":35,"name":{"35":{},"196":{},"206":{},"216":{}},"parent":{}}],["shader",{"_index":142,"name":{"254":{},"271":{},"293":{}},"parent":{}}],["shadercombinationsteps",{"_index":11,"name":{"10":{},"239":{},"260":{},"280":{},"301":{},"330":{}},"parent":{}}],["shaderwithsource",{"_index":80,"name":{"108":{}},"parent":{}}],["shadowtracecount",{"_index":29,"name":{"28":{},"186":{}},"parent":{}}],["size",{"_index":45,"name":{"46":{},"59":{},"74":{}},"parent":{}}],["start",{"_index":61,"name":{"85":{}},"parent":{}}],["startupsettings",{"_index":28,"name":{"27":{}},"parent":{"28":{},"29":{},"30":{}}}],["stop",{"_index":62,"name":{"86":{}},"parent":{}}],["stopwatchstate",{"_index":56,"name":{"79":{}},"parent":{"80":{},"81":{},"82":{}}}],["targetdeltatimeinmilliseconds",{"_index":90,"name":{"119":{}},"parent":{}}],["targets",{"_index":94,"name":{"123":{}},"parent":{}}],["tilemultiplier",{"_index":22,"name":{"21":{},"167":{}},"parent":{}}],["to",{"_index":156,"name":{"284":{},"305":{}},"parent":{}}],["tofromdelta",{"_index":153,"name":{"276":{},"297":{}},"parent":{}}],["toradius",{"_index":155,"name":{"278":{},"286":{},"299":{},"307":{}},"parent":{}}],["tryenableextension",{"_index":52,"name":{"65":{}},"parent":{}}],["trygetresults",{"_index":63,"name":{"87":{}},"parent":{}}],["tunnel",{"_index":157,"name":{"290":{}},"parent":{"291":{},"303":{},"304":{},"305":{},"306":{},"307":{},"308":{},"309":{},"310":{}}}],["tunnel.descriptor",{"_index":158,"name":{},"parent":{"292":{},"295":{},"300":{},"301":{},"302":{}}}],["tunnel.descriptor.propertyuniformmapping",{"_index":160,"name":{},"parent":{"296":{},"297":{},"298":{},"299":{}}}],["tunnel.descriptor.sdf",{"_index":159,"name":{},"parent":{"293":{},"294":{}}}],["uniformarrayautoscalingprogram",{"_index":107,"name":{"153":{}},"parent":{"154":{},"155":{},"156":{},"157":{},"158":{}}}],["uniformcountmacroname",{"_index":9,"name":{"8":{},"238":{},"259":{},"279":{},"300":{},"329":{}},"parent":{}}],["uniformsprovider",{"_index":114,"name":{"189":{}},"parent":{"190":{},"191":{},"192":{},"193":{},"194":{},"195":{},"196":{},"197":{}}}],["universalrenderingcontext",{"_index":41,"name":{"41":{}},"parent":{}}],["values",{"_index":19,"name":{"18":{}},"parent":{}}],["vertexshader",{"_index":78,"name":{"106":{}},"parent":{}}],["viewareasize",{"_index":34,"name":{"33":{},"207":{},"214":{}},"parent":{}}],["wait",{"_index":70,"name":{"97":{}},"parent":{}}],["waitingforresults",{"_index":59,"name":{"82":{}},"parent":{}}],["webglstopwatch",{"_index":60,"name":{"83":{}},"parent":{"84":{},"85":{},"86":{},"87":{},"88":{},"89":{},"90":{}}}],["x",{"_index":124,"name":{"224":{},"227":{}},"parent":{}}],["y",{"_index":126,"name":{"225":{},"228":{}},"parent":{}}]],"pipeline":[]}} \ No newline at end of file diff --git a/docs/classes/circle.html b/docs/classes/circle.html new file mode 100644 index 0000000..cdaafc3 --- /dev/null +++ b/docs/classes/circle.html @@ -0,0 +1,430 @@ + + + + + + Circle | SDF-2D - v0.3.1 + + + + + +
+
+
+
+ +
+
+ Options +
+
+ All +
    +
  • Public
  • +
  • Public/Protected
  • +
  • All
  • +
+
+ + +
+
+ Menu +
+
+
+
+
+
+ +

Class Circle

+
+
+
+
+
+
+
+

Hierarchy

+ +
+
+

Index

+
+
+
+

Constructors

+ +
+
+

Properties

+ +
+
+

Methods

+ +
+
+

Object literals

+ +
+
+
+
+
+

Constructors

+
+ +

constructor

+
    +
  • new Circle(center: vec2, radius: number): Circle
  • +
+ +
+
+
+

Properties

+
+ +

center

+
center: vec2
+ +
+
+ +

radius

+
radius: number
+ +
+
+
+

Methods

+
+ +

Protected getObjectToSerialize

+
    +
  • getObjectToSerialize(transform2d: mat2d, transform1d: number): any
  • +
+ +
+
+ +

minDistance

+
    +
  • minDistance(target: vec2): number
  • +
+ +
+
+ +

serializeToUniforms

+
    +
  • serializeToUniforms(uniforms: any, transform2d: mat2d, transform1d: number): void
  • +
+ +
+
+
+

Object literals

+
+ +

Static descriptor

+
descriptor: object
+ +
+ +

empty

+
empty: Circle = new Circle(vec2.fromValues(0, 0), 0)
+ +
+
+ +

shaderCombinationSteps

+
shaderCombinationSteps: number[] = [0, 1, 2, 3, 8, 16]
+ +
+
+ +

uniformCountMacroName

+
uniformCountMacroName: string = "CIRCLE_COUNT"
+ +
+
+ +

propertyUniformMapping

+
propertyUniformMapping: object
+ +
+ +

center

+
center: string = "circleCenters"
+ +
+
+ +

radius

+
radius: string = "circleRadii"
+ +
+
+
+ +

sdf

+
sdf: object
+ +
+ +

distanceFunctionName

+
distanceFunctionName: string = "circleMinDistance"
+ +
+
+ +

shader

+
shader: string = `uniform vec2 circleCenters[CIRCLE_COUNT];uniform float circleRadii[CIRCLE_COUNT];float circleMinDistance(vec2 target, out float colorIndex) {colorIndex = 2.0;float minDistance = 1000.0;for (int i = 0; i < CIRCLE_COUNT; i++) {float dist = distance(circleCenters[i], target) - circleRadii[i];minDistance = min(minDistance, dist);}return minDistance;}`
+ +
+
+
+
+
+ +
+
+
+
+

Legend

+
+
    +
  • Constructor
  • +
  • Property
  • +
  • Method
  • +
+
    +
  • Inherited constructor
  • +
  • Inherited property
  • +
  • Inherited method
  • +
+
    +
  • Property
  • +
  • Method
  • +
+
    +
  • Protected property
  • +
  • Protected method
  • +
+
    +
  • Static property
  • +
  • Static method
  • +
+
+
+
+
+ + + \ No newline at end of file diff --git a/docs/classes/circlelight.html b/docs/classes/circlelight.html new file mode 100644 index 0000000..6ab7465 --- /dev/null +++ b/docs/classes/circlelight.html @@ -0,0 +1,476 @@ + + + + + + CircleLight | SDF-2D - v0.3.1 + + + + + +
+
+
+
+ +
+
+ Options +
+
+ All +
    +
  • Public
  • +
  • Public/Protected
  • +
  • All
  • +
+
+ + +
+
+ Menu +
+
+
+
+
+
+ +

Class CircleLight

+
+
+
+
+
+
+
+

Hierarchy

+ +
+
+

Index

+
+
+
+

Constructors

+ +
+
+

Properties

+ +
+
+

Methods

+ +
+
+

Object literals

+ +
+
+
+
+
+

Constructors

+
+ +

constructor

+
    +
  • new CircleLight(center: vec2, color: vec3, intensity: number): CircleLight
  • +
+ +
+
+
+

Properties

+
+ +

center

+
center: vec2
+ +
+
+ +

color

+
color: vec3
+ +
+
+ +

intensity

+
intensity: number
+ +
+
+ +

Protected lightnessRatio

+
lightnessRatio: number = 1
+ +
+
+
+

Methods

+
+ +

Protected getObjectToSerialize

+
    +
  • getObjectToSerialize(transform2d: mat2d, transform1d: number): any
  • +
+ +
+
+ +

minDistance

+
    +
  • minDistance(target: vec2): number
  • +
+ +
+
+ +

serializeToUniforms

+
    +
  • serializeToUniforms(uniforms: any, transform2d: mat2d, transform1d: number): void
  • +
+ +
+
+ +

setLightnessRatio

+
    +
  • setLightnessRatio(ratio: number): void
  • +
+ +
+
+
+

Object literals

+
+ +

Static Readonly descriptor

+
descriptor: object
+ +
+ +

empty

+
empty: CircleLight = new CircleLight(vec2.fromValues(0, 0), vec3.fromValues(0, 0, 0), 0)
+ +
+
+ +

shaderCombinationSteps

+
shaderCombinationSteps: number[] = [0, 1, 2, 4, 8, 16]
+ +
+
+ +

uniformCountMacroName

+
uniformCountMacroName: string = "CIRCLE_LIGHT_COUNT"
+ +
+
+ +

propertyUniformMapping

+
propertyUniformMapping: object
+ +
+ +

center

+
center: string = "circleLightCenters"
+ +
+
+ +

color

+
color: string = "circleLightColors"
+ +
+
+ +

intensity

+
intensity: string = "circleLightIntensities"
+ +
+
+
+
+
+ +
+
+
+
+

Legend

+
+
    +
  • Constructor
  • +
  • Property
  • +
  • Method
  • +
+
    +
  • Inherited constructor
  • +
  • Inherited property
  • +
  • Inherited method
  • +
+
    +
  • Property
  • +
  • Method
  • +
+
    +
  • Protected property
  • +
  • Protected method
  • +
+
    +
  • Static property
  • +
  • Static method
  • +
+
+
+
+
+ + + \ No newline at end of file diff --git a/docs/classes/contextawarerenderer.html b/docs/classes/contextawarerenderer.html new file mode 100644 index 0000000..571448c --- /dev/null +++ b/docs/classes/contextawarerenderer.html @@ -0,0 +1,442 @@ + + + + + + ContextAwareRenderer | SDF-2D - v0.3.1 + + + + + +
+
+
+
+ +
+
+ Options +
+
+ All +
    +
  • Public
  • +
  • Public/Protected
  • +
  • All
  • +
+
+ + +
+
+ Menu +
+
+
+
+
+
+ +

Class ContextAwareRenderer

+
+
+
+
+
+
+
+

Hierarchy

+
    +
  • + ContextAwareRenderer +
  • +
+
+
+

Implements

+ +
+
+

Index

+
+
+
+

Constructors

+ +
+
+

Accessors

+ +
+
+

Methods

+ +
+
+
+
+
+

Constructors

+
+ +

constructor

+ + +
+
+
+

Accessors

+
+ +

canvasSize

+
    +
  • get canvasSize(): vec2
  • +
+ +
+
+ +

initializedPromise

+
    +
  • get initializedPromise(): Promise<void>
  • +
+ +
+
+ +

insights

+
    +
  • get insights(): any
  • +
+ +
+
+ +

viewAreaSize

+
    +
  • get viewAreaSize(): vec2
  • +
+ +
+
+
+

Methods

+
+ +

addDrawable

+
    +
  • addDrawable(drawable: Drawable): void
  • +
+ +
+
+ +

autoscaleQuality

+
    +
  • autoscaleQuality(deltaTime: number): void
  • +
+ +
+
+ +

destroy

+
    +
  • destroy(): void
  • +
+ +
+
+ +

renderDrawables

+
    +
  • renderDrawables(): void
  • +
+ +
+
+ +

setRuntimeSettings

+ + +
+
+ +

setViewArea

+
    +
  • setViewArea(topLeft: vec2, size: vec2): void
  • +
+ +
+
+
+ +
+
+
+
+

Legend

+
+
    +
  • Constructor
  • +
  • Property
  • +
  • Method
  • +
+
    +
  • Inherited constructor
  • +
  • Inherited property
  • +
  • Inherited method
  • +
+
    +
  • Property
  • +
  • Method
  • +
+
    +
  • Protected property
  • +
  • Protected method
  • +
+
    +
  • Static property
  • +
  • Static method
  • +
+
+
+
+
+ + + \ No newline at end of file diff --git a/docs/classes/defaultframebuffer.html b/docs/classes/defaultframebuffer.html new file mode 100644 index 0000000..6df76a1 --- /dev/null +++ b/docs/classes/defaultframebuffer.html @@ -0,0 +1,363 @@ + + + + + + DefaultFrameBuffer | SDF-2D - v0.3.1 + + + + + +
+
+
+
+ +
+
+ Options +
+
+ All +
    +
  • Public
  • +
  • Public/Protected
  • +
  • All
  • +
+
+ + +
+
+ Menu +
+
+
+
+
+
+ +

Class DefaultFrameBuffer

+
+
+
+
+
+
+
+

Hierarchy

+ +
+
+

Index

+
+
+
+

Constructors

+ +
+
+

Properties

+ +
+
+

Methods

+ +
+
+
+
+
+

Constructors

+
+ +

constructor

+ + +
+
+
+

Properties

+
+ +

enableHighDpiRendering

+
enableHighDpiRendering: boolean = false
+ +
+
+ +

Protected frameBuffer

+
frameBuffer: WebGLFramebuffer | null = null
+ +
+
+ +

Protected Readonly gl

+ + +
+
+ +

renderScale

+
renderScale: number = 1
+ +
+
+ +

Protected size

+
size: vec2 = vec2.create()
+ +
+
+
+

Methods

+
+ +

bindAndClear

+
    +
  • bindAndClear(inputTextures: Array<WebGLTexture>): void
  • +
+ +
+
+ +

destroy

+
    +
  • destroy(): void
  • +
+ +
+
+ +

getSize

+
    +
  • getSize(): vec2
  • +
+ +
+
+ +

setSize

+
    +
  • setSize(): boolean
  • +
+ +
+
+
+ +
+
+
+
+

Legend

+
+
    +
  • Constructor
  • +
  • Property
  • +
  • Method
  • +
+
    +
  • Inherited constructor
  • +
  • Inherited property
  • +
  • Inherited method
  • +
+
    +
  • Property
  • +
  • Method
  • +
+
    +
  • Protected property
  • +
  • Protected method
  • +
+
    +
  • Static property
  • +
  • Static method
  • +
+
+
+
+
+ + + \ No newline at end of file diff --git a/docs/classes/distancerenderpass.html b/docs/classes/distancerenderpass.html new file mode 100644 index 0000000..2f54594 --- /dev/null +++ b/docs/classes/distancerenderpass.html @@ -0,0 +1,377 @@ + + + + + + DistanceRenderPass | SDF-2D - v0.3.1 + + + + + +
+
+
+
+ +
+
+ Options +
+
+ All +
    +
  • Public
  • +
  • Public/Protected
  • +
  • All
  • +
+
+ + +
+
+ Menu +
+
+
+
+
+
+ +

Class DistanceRenderPass

+
+
+
+
+
+
+
+

Hierarchy

+ +
+
+

Index

+
+
+
+

Constructors

+ +
+
+

Properties

+ +
+
+

Methods

+ +
+
+
+
+
+

Constructors

+
+ +

constructor

+ + +
+
+
+

Properties

+
+ +

Protected frame

+ + +
+
+ +

isWorldInverted

+
isWorldInverted: boolean = false
+ +
+
+ +

Protected program

+ + +
+
+ +

tileMultiplier

+
tileMultiplier: number = 8
+ +
+
+
+

Methods

+
+ +

addDrawable

+
    +
  • addDrawable(drawable: Drawable): void
  • +
+ +
+
+ +

destroy

+
    +
  • destroy(): void
  • +
+ +
+
+ +

initialize

+ + +
+
+ +

render

+
    +
  • render(commonUniforms: any, ...inputTextures: Array<WebGLTexture>): void
  • +
+ +
+
+
+ +
+
+
+
+

Legend

+
+
    +
  • Constructor
  • +
  • Property
  • +
  • Method
  • +
+
    +
  • Inherited constructor
  • +
  • Inherited property
  • +
  • Inherited method
  • +
+
    +
  • Property
  • +
  • Method
  • +
+
    +
  • Protected property
  • +
  • Protected method
  • +
+
    +
  • Static property
  • +
  • Static method
  • +
+
+
+
+
+ + + \ No newline at end of file diff --git a/docs/classes/drawable.html b/docs/classes/drawable.html new file mode 100644 index 0000000..1519a41 --- /dev/null +++ b/docs/classes/drawable.html @@ -0,0 +1,271 @@ + + + + + + Drawable | SDF-2D - v0.3.1 + + + + + +
+
+
+
+ +
+
+ Options +
+
+ All +
    +
  • Public
  • +
  • Public/Protected
  • +
  • All
  • +
+
+ + +
+
+ Menu +
+
+
+
+
+
+ +

Class Drawable

+
+
+
+
+
+
+
+

Hierarchy

+ +
+
+

Index

+
+
+
+

Properties

+ +
+
+

Methods

+ +
+
+
+
+
+

Properties

+
+ +

Static Readonly descriptor

+
descriptor: DrawableDescriptor
+ +
+
+
+

Methods

+
+ +

Protected Abstract getObjectToSerialize

+
    +
  • getObjectToSerialize(transform2d: mat2d, transform1d: number): any
  • +
+
    +
  • + +

    Parameters

    +
      +
    • +
      transform2d: mat2d
      +
    • +
    • +
      transform1d: number
      +
    • +
    +

    Returns any

    +
  • +
+
+
+ +

Abstract minDistance

+
    +
  • minDistance(target: vec2): number
  • +
+ +
+
+ +

serializeToUniforms

+
    +
  • serializeToUniforms(uniforms: any, transform2d: mat2d, transform1d: number): void
  • +
+
    +
  • + +

    Parameters

    +
      +
    • +
      uniforms: any
      +
    • +
    • +
      transform2d: mat2d
      +
    • +
    • +
      transform1d: number
      +
    • +
    +

    Returns void

    +
  • +
+
+
+
+ +
+
+
+
+

Legend

+
+
    +
  • Constructor
  • +
  • Property
  • +
  • Method
  • +
+
    +
  • Inherited constructor
  • +
  • Inherited property
  • +
  • Inherited method
  • +
+
    +
  • Property
  • +
  • Method
  • +
+
    +
  • Protected property
  • +
  • Protected method
  • +
+
    +
  • Static property
  • +
  • Static method
  • +
+
+
+
+
+ + + \ No newline at end of file diff --git a/docs/classes/flashlight.html b/docs/classes/flashlight.html new file mode 100644 index 0000000..078192b --- /dev/null +++ b/docs/classes/flashlight.html @@ -0,0 +1,502 @@ + + + + + + Flashlight | SDF-2D - v0.3.1 + + + + + +
+
+
+
+ +
+
+ Options +
+
+ All +
    +
  • Public
  • +
  • Public/Protected
  • +
  • All
  • +
+
+ + +
+
+ Menu +
+
+
+
+
+
+ +

Class Flashlight

+
+
+
+
+
+
+
+

Hierarchy

+ +
+
+

Index

+
+
+
+

Constructors

+ +
+
+

Properties

+ +
+
+

Methods

+ +
+
+

Object literals

+ +
+
+
+
+
+

Constructors

+
+ +

constructor

+
    +
  • new Flashlight(center: vec2, color: vec3, intensity: number, direction: vec2): Flashlight
  • +
+ +
+
+
+

Properties

+
+ +

center

+
center: vec2
+ +
+
+ +

color

+
color: vec3
+ +
+
+ +

direction

+
direction: vec2
+ +
+
+ +

intensity

+
intensity: number
+ +
+
+ +

Protected lightnessRatio

+
lightnessRatio: number = 1
+ +
+
+
+

Methods

+
+ +

Protected getObjectToSerialize

+
    +
  • getObjectToSerialize(transform2d: mat2d, transform1d: number): any
  • +
+ +
+
+ +

minDistance

+
    +
  • minDistance(target: vec2): number
  • +
+ +
+
+ +

serializeToUniforms

+
    +
  • serializeToUniforms(uniforms: any, transform2d: mat2d, transform1d: number): void
  • +
+ +
+
+ +

setLightnessRatio

+
    +
  • setLightnessRatio(ratio: number): void
  • +
+ +
+
+
+

Object literals

+
+ +

Static Readonly descriptor

+
descriptor: object
+ +
+ +

empty

+
empty: Flashlight = new Flashlight(vec2.fromValues(0, 0),vec3.fromValues(0, 0, 0),0,vec2.fromValues(0, 0))
+ +
+
+ +

shaderCombinationSteps

+
shaderCombinationSteps: number[] = [0, 1, 2, 4]
+ +
+
+ +

uniformCountMacroName

+
uniformCountMacroName: string = "FLASHLIGHT_COUNT"
+ +
+
+ +

propertyUniformMapping

+
propertyUniformMapping: object
+ +
+ +

center

+
center: string = "flashlightCenters"
+ +
+
+ +

color

+
color: string = "flashlightColors"
+ +
+
+ +

direction

+
direction: string = "flashlightDirections"
+ +
+
+ +

intensity

+
intensity: string = "flashlightIntensities"
+ +
+
+
+
+
+ +
+
+
+
+

Legend

+
+
    +
  • Constructor
  • +
  • Property
  • +
  • Method
  • +
+
    +
  • Inherited constructor
  • +
  • Inherited property
  • +
  • Inherited method
  • +
+
    +
  • Property
  • +
  • Method
  • +
+
    +
  • Protected property
  • +
  • Protected method
  • +
+
    +
  • Static property
  • +
  • Static method
  • +
+
+
+
+
+ + + \ No newline at end of file diff --git a/docs/classes/fpsautoscaler.html b/docs/classes/fpsautoscaler.html new file mode 100644 index 0000000..5f357d4 --- /dev/null +++ b/docs/classes/fpsautoscaler.html @@ -0,0 +1,272 @@ + + + + + + FpsAutoscaler | SDF-2D - v0.3.1 + + + + + +
+
+
+
+ +
+
+ Options +
+
+ All +
    +
  • Public
  • +
  • Public/Protected
  • +
  • All
  • +
+
+ + +
+
+ Menu +
+
+
+
+
+
+ +

Class FpsAutoscaler

+
+
+
+
+
+
+
+

Hierarchy

+
    +
  • + FpsAutoscaler +
  • +
+
+
+

Index

+
+
+
+

Constructors

+ +
+
+

Methods

+ +
+
+
+
+
+

Constructors

+
+ +

constructor

+ +
    +
  • + +

    Parameters

    +
      +
    • +
      setters: {}
      +
        +
      • +
        [key: string]: (value: number | boolean) => void
        +
          +
        • +
            +
          • (value: number | boolean): void
          • +
          +
            +
          • +

            Parameters

            +
              +
            • +
              value: number | boolean
              +
            • +
            +

            Returns void

            +
          • +
          +
        • +
        +
      • +
      +
    • +
    +

    Returns FpsAutoscaler

    +
  • +
+
+
+
+

Methods

+
+ +

autoscale

+
    +
  • autoscale(lastDeltaTime: DOMHighResTimeStamp): void
  • +
+ +
+
+ +

decrease

+
    +
  • decrease(): void
  • +
+ +
+
+ +

increase

+
    +
  • increase(): void
  • +
+ +
+
+
+ +
+
+
+
+

Legend

+
+
    +
  • Constructor
  • +
  • Property
  • +
  • Method
  • +
+
    +
  • Inherited constructor
  • +
  • Inherited property
  • +
  • Inherited method
  • +
+
    +
  • Property
  • +
  • Method
  • +
+
    +
  • Protected property
  • +
  • Protected method
  • +
+
    +
  • Static property
  • +
  • Static method
  • +
+
+
+
+
+ + + \ No newline at end of file diff --git a/docs/classes/fragmentshaderonlyprogram.html b/docs/classes/fragmentshaderonlyprogram.html new file mode 100644 index 0000000..9955d78 --- /dev/null +++ b/docs/classes/fragmentshaderonlyprogram.html @@ -0,0 +1,412 @@ + + + + + + FragmentShaderOnlyProgram | SDF-2D - v0.3.1 + + + + + +
+
+
+
+ +
+
+ Options +
+
+ All +
    +
  • Public
  • +
  • Public/Protected
  • +
  • All
  • +
+
+ + +
+
+ Menu +
+
+
+
+
+
+ +

Class FragmentShaderOnlyProgram

+
+
+
+
+
+
+
+

Hierarchy

+
    +
  • + Program +
      +
    • + FragmentShaderOnlyProgram +
    • +
    +
  • +
+
+
+

Implements

+ +
+
+

Index

+
+
+
+

Constructors

+ +
+
+

Properties

+ +
+
+

Methods

+ +
+
+
+
+
+

Constructors

+
+ +

constructor

+ + +
+
+
+

Properties

+
+ +

Protected Readonly gl

+ + +
+
+ +

Protected Optional program

+
program: WebGLProgram
+ +
+
+
+

Methods

+
+ +

bind

+
    +
  • bind(): void
  • +
+ +
+
+ +

destroy

+
    +
  • destroy(): void
  • +
+ +
+
+ +

draw

+
    +
  • draw(uniforms: {}): void
  • +
+ +
+
+ +

initialize

+
    +
  • initialize(sources: [string, string], substitutions: {}, compiler: ParallelCompiler): Promise<void>
  • +
+ +
+
+ +

setDrawingRectangleUV

+
    +
  • setDrawingRectangleUV(bottomLeft: vec2, size: vec2): void
  • +
+ +
+
+ +

setUniforms

+
    +
  • setUniforms(values: {}): void
  • +
+ +
+
+
+ +
+
+
+
+

Legend

+
+
    +
  • Constructor
  • +
  • Property
  • +
  • Method
  • +
+
    +
  • Inherited constructor
  • +
  • Inherited property
  • +
  • Inherited method
  • +
+
    +
  • Property
  • +
  • Method
  • +
+
    +
  • Protected property
  • +
  • Protected method
  • +
+
    +
  • Static property
  • +
  • Static method
  • +
+
+
+
+
+ + + \ No newline at end of file diff --git a/docs/classes/framebuffer.html b/docs/classes/framebuffer.html new file mode 100644 index 0000000..9bdaa06 --- /dev/null +++ b/docs/classes/framebuffer.html @@ -0,0 +1,356 @@ + + + + + + FrameBuffer | SDF-2D - v0.3.1 + + + + + +
+
+
+
+ +
+
+ Options +
+
+ All +
    +
  • Public
  • +
  • Public/Protected
  • +
  • All
  • +
+
+ + +
+
+ Menu +
+
+
+
+
+
+ +

Class FrameBuffer

+
+
+
+
+
+
+
+

Hierarchy

+ +
+
+

Index

+
+
+
+

Constructors

+ +
+
+

Properties

+ +
+
+

Methods

+ +
+
+
+
+
+

Constructors

+
+ +

constructor

+ + +
+
+
+

Properties

+
+ +

enableHighDpiRendering

+
enableHighDpiRendering: boolean = false
+ +
+
+ +

Protected frameBuffer

+
frameBuffer: WebGLFramebuffer | null = null
+ +
+
+ +

Protected Readonly gl

+ + +
+
+ +

renderScale

+
renderScale: number = 1
+ +
+
+ +

Protected size

+
size: vec2 = vec2.create()
+ +
+
+
+

Methods

+
+ +

bindAndClear

+
    +
  • bindAndClear(inputTextures: Array<WebGLTexture>): void
  • +
+ +
+
+ +

destroy

+
    +
  • destroy(): void
  • +
+ +
+
+ +

getSize

+
    +
  • getSize(): vec2
  • +
+ +
+
+ +

setSize

+
    +
  • setSize(): boolean
  • +
+ +
+
+
+ +
+
+
+
+

Legend

+
+
    +
  • Constructor
  • +
  • Property
  • +
  • Method
  • +
+
    +
  • Inherited constructor
  • +
  • Inherited property
  • +
  • Inherited method
  • +
+
    +
  • Property
  • +
  • Method
  • +
+
    +
  • Protected property
  • +
  • Protected method
  • +
+
    +
  • Static property
  • +
  • Static method
  • +
+
+
+
+
+ + + \ No newline at end of file diff --git a/docs/classes/insights.html b/docs/classes/insights.html new file mode 100644 index 0000000..7dfe954 --- /dev/null +++ b/docs/classes/insights.html @@ -0,0 +1,273 @@ + + + + + + Insights | SDF-2D - v0.3.1 + + + + + +
+
+
+
+ +
+
+ Options +
+
+ All +
    +
  • Public
  • +
  • Public/Protected
  • +
  • All
  • +
+
+ + +
+
+ Menu +
+
+
+
+
+
+ +

Class Insights

+
+
+
+
+
+
+
+

Hierarchy

+
    +
  • + Insights +
  • +
+
+
+

Index

+
+
+
+

Accessors

+ +
+
+

Methods

+ +
+
+
+
+
+

Accessors

+
+ +

Static values

+
    +
  • get values(): any
  • +
+ +
+
+
+

Methods

+
+ +

Static measure

+
    +
  • measure(key: string | Array<string>): (Anonymous function)
  • +
+ +
+
+ +

Static measureFunction

+
    +
  • measureFunction(key: string | Array<string>, targetFunction: () => any): any
  • +
+
    +
  • + +

    Parameters

    +
      +
    • +
      key: string | Array<string>
      +
    • +
    • +
      targetFunction: () => any
      +
        +
      • +
          +
        • (): any
        • +
        +
          +
        • +

          Returns any

          +
        • +
        +
      • +
      +
    • +
    +

    Returns any

    +
  • +
+
+
+ +

Static setValue

+
    +
  • setValue(key: string | Array<string>, value: any): void
  • +
+ +
+
+
+ +
+
+
+
+

Legend

+
+
    +
  • Constructor
  • +
  • Property
  • +
  • Method
  • +
+
    +
  • Inherited constructor
  • +
  • Inherited property
  • +
  • Inherited method
  • +
+
    +
  • Property
  • +
  • Method
  • +
+
    +
  • Protected property
  • +
  • Protected method
  • +
+
    +
  • Static property
  • +
  • Static method
  • +
+
+
+
+
+ + + \ No newline at end of file diff --git a/docs/classes/intermediateframebuffer.html b/docs/classes/intermediateframebuffer.html new file mode 100644 index 0000000..b8b7ed9 --- /dev/null +++ b/docs/classes/intermediateframebuffer.html @@ -0,0 +1,392 @@ + + + + + + IntermediateFrameBuffer | SDF-2D - v0.3.1 + + + + + +
+
+
+
+ +
+
+ Options +
+
+ All +
    +
  • Public
  • +
  • Public/Protected
  • +
  • All
  • +
+
+ + +
+
+ Menu +
+
+
+
+
+
+ +

Class IntermediateFrameBuffer

+
+
+
+
+
+
+
+

Hierarchy

+
    +
  • + FrameBuffer +
      +
    • + IntermediateFrameBuffer +
    • +
    +
  • +
+
+
+

Index

+
+
+
+

Constructors

+ +
+
+

Properties

+ +
+
+

Accessors

+ +
+
+

Methods

+ +
+
+
+
+
+

Constructors

+
+ +

constructor

+ + +
+
+
+

Properties

+
+ +

enableHighDpiRendering

+
enableHighDpiRendering: boolean = false
+ +
+
+ +

Protected frameBuffer

+
frameBuffer: WebGLFramebuffer | null = null
+ +
+
+ +

Protected Readonly gl

+ + +
+
+ +

renderScale

+
renderScale: number = 1
+ +
+
+ +

Protected size

+
size: vec2 = vec2.create()
+ +
+
+
+

Accessors

+
+ +

colorTexture

+
    +
  • get colorTexture(): WebGLTexture
  • +
+ +
+
+
+

Methods

+
+ +

bindAndClear

+
    +
  • bindAndClear(inputTextures: Array<WebGLTexture>): void
  • +
+ +
+
+ +

destroy

+
    +
  • destroy(): void
  • +
+ +
+
+ +

getSize

+
    +
  • getSize(): vec2
  • +
+ +
+
+ +

setSize

+
    +
  • setSize(): boolean
  • +
+ +
+
+
+ +
+
+
+
+

Legend

+
+
    +
  • Constructor
  • +
  • Property
  • +
  • Method
  • +
+
    +
  • Inherited constructor
  • +
  • Inherited property
  • +
  • Inherited method
  • +
+
    +
  • Property
  • +
  • Method
  • +
+
    +
  • Protected property
  • +
  • Protected method
  • +
+
    +
  • Static property
  • +
  • Static method
  • +
+
+
+
+
+ + + \ No newline at end of file diff --git a/docs/classes/invertedtunnel.html b/docs/classes/invertedtunnel.html new file mode 100644 index 0000000..354651b --- /dev/null +++ b/docs/classes/invertedtunnel.html @@ -0,0 +1,494 @@ + + + + + + InvertedTunnel | SDF-2D - v0.3.1 + + + + + +
+
+
+
+ +
+
+ Options +
+
+ All +
    +
  • Public
  • +
  • Public/Protected
  • +
  • All
  • +
+
+ + +
+
+ Menu +
+
+
+
+
+
+ +

Class InvertedTunnel

+
+
+
+
+
+
+
+

Hierarchy

+
    +
  • + Drawable +
      +
    • + InvertedTunnel +
    • +
    +
  • +
+
+
+

Index

+
+
+
+

Constructors

+ +
+
+

Properties

+ +
+
+

Methods

+ +
+
+

Object literals

+ +
+
+
+
+
+

Constructors

+
+ +

constructor

+
    +
  • new InvertedTunnel(from: vec2, to: vec2, fromRadius: number, toRadius: number): InvertedTunnel
  • +
+ +
+
+
+

Properties

+
+ +

Readonly from

+
from: vec2
+ +
+
+ +

Readonly fromRadius

+
fromRadius: number
+ +
+
+ +

Readonly to

+
to: vec2
+ +
+
+ +

Readonly toRadius

+
toRadius: number
+ +
+
+
+

Methods

+
+ +

Protected getObjectToSerialize

+
    +
  • getObjectToSerialize(transform2d: mat2d, transform1d: number): any
  • +
+ +
+
+ +

minDistance

+
    +
  • minDistance(target: vec2): number
  • +
+ +
+
+ +

serializeToUniforms

+
    +
  • serializeToUniforms(uniforms: any, transform2d: mat2d, transform1d: number): void
  • +
+ +
+
+
+

Object literals

+
+ +

Static descriptor

+
descriptor: object
+ +
+ +

empty

+
empty: InvertedTunnel = new InvertedTunnel(vec2.fromValues(0, 0), vec2.fromValues(0, 0), 0, 0)
+ +
+
+ +

shaderCombinationSteps

+
shaderCombinationSteps: number[] = [0, 1, 4, 16, 32]
+ +
+
+ +

uniformCountMacroName

+
uniformCountMacroName: string = "INVERTED_TUNNEL_COUNT"
+ +
+
+ +

propertyUniformMapping

+
propertyUniformMapping: object
+ +
+ +

from

+
from: string = "froms"
+ +
+
+ +

fromRadius

+
fromRadius: string = "fromRadii"
+ +
+
+ +

toFromDelta

+
toFromDelta: string = "toFromDeltas"
+ +
+
+ +

toRadius

+
toRadius: string = "toRadii"
+ +
+
+
+ +

sdf

+
sdf: object
+ +
+ +

distanceFunctionName

+
distanceFunctionName: string = "invertedTunnelMinDistance"
+ +
+
+ +

isInverted

+
isInverted: true = true
+ +
+
+ +

shader

+
shader: string = `uniform vec2 froms[INVERTED_TUNNEL_COUNT];uniform vec2 toFromDeltas[INVERTED_TUNNEL_COUNT];uniform float fromRadii[INVERTED_TUNNEL_COUNT];uniform float toRadii[INVERTED_TUNNEL_COUNT];float invertedTunnelMinDistance(vec2 target, out float colorIndex) {colorIndex = 3.0;float minDistance = 1000.0;for (int i = 0; i < INVERTED_TUNNEL_COUNT; i++) {vec2 targetFromDelta = target - froms[i];float h = clamp(dot(targetFromDelta, toFromDeltas[i])/ dot(toFromDeltas[i], toFromDeltas[i]),0.0, 1.0);float currentDistance = -mix(fromRadii[i], toRadii[i], h) + distance(targetFromDelta, toFromDeltas[i] * h);minDistance = min(minDistance, currentDistance);}return -minDistance;}`
+ +
+
+
+
+
+ +
+
+
+
+

Legend

+
+
    +
  • Constructor
  • +
  • Property
  • +
  • Method
  • +
+
    +
  • Inherited constructor
  • +
  • Inherited property
  • +
  • Inherited method
  • +
+
    +
  • Property
  • +
  • Method
  • +
+
    +
  • Protected property
  • +
  • Protected method
  • +
+
    +
  • Static property
  • +
  • Static method
  • +
+
+
+
+
+ + + \ No newline at end of file diff --git a/docs/classes/lightdrawable.html b/docs/classes/lightdrawable.html new file mode 100644 index 0000000..93cb72e --- /dev/null +++ b/docs/classes/lightdrawable.html @@ -0,0 +1,398 @@ + + + + + + LightDrawable | SDF-2D - v0.3.1 + + + + + +
+
+
+
+ +
+
+ Options +
+
+ All +
    +
  • Public
  • +
  • Public/Protected
  • +
  • All
  • +
+
+ + +
+
+ Menu +
+
+
+
+
+
+ +

Class LightDrawable

+
+
+
+
+
+
+
+

Hierarchy

+ +
+
+

Index

+
+
+
+

Constructors

+ +
+
+

Properties

+ +
+
+

Methods

+ +
+
+
+
+
+

Constructors

+
+ +

constructor

+
    +
  • new LightDrawable(center: vec2, color: vec3, intensity: number): LightDrawable
  • +
+ +
+
+
+

Properties

+
+ +

center

+
center: vec2
+ +
+
+ +

color

+
color: vec3
+ +
+
+ +

intensity

+
intensity: number
+ +
+
+ +

Protected lightnessRatio

+
lightnessRatio: number = 1
+ +
+
+ +

Static Readonly descriptor

+
descriptor: DrawableDescriptor
+ +
+
+
+

Methods

+
+ +

Protected getObjectToSerialize

+
    +
  • getObjectToSerialize(transform2d: mat2d, transform1d: number): any
  • +
+ +
+
+ +

minDistance

+
    +
  • minDistance(target: vec2): number
  • +
+ +
+
+ +

serializeToUniforms

+
    +
  • serializeToUniforms(uniforms: any, transform2d: mat2d, transform1d: number): void
  • +
+ +
+
+ +

setLightnessRatio

+
    +
  • setLightnessRatio(ratio: number): void
  • +
+ +
+
+
+ +
+
+
+
+

Legend

+
+
    +
  • Constructor
  • +
  • Property
  • +
  • Method
  • +
+
    +
  • Inherited constructor
  • +
  • Inherited property
  • +
  • Inherited method
  • +
+
    +
  • Property
  • +
  • Method
  • +
+
    +
  • Protected property
  • +
  • Protected method
  • +
+
    +
  • Static property
  • +
  • Static method
  • +
+
+
+
+
+ + + \ No newline at end of file diff --git a/docs/classes/lightsrenderpass.html b/docs/classes/lightsrenderpass.html new file mode 100644 index 0000000..ef8225d --- /dev/null +++ b/docs/classes/lightsrenderpass.html @@ -0,0 +1,363 @@ + + + + + + LightsRenderPass | SDF-2D - v0.3.1 + + + + + +
+
+
+
+ +
+
+ Options +
+
+ All +
    +
  • Public
  • +
  • Public/Protected
  • +
  • All
  • +
+
+ + +
+
+ Menu +
+
+
+
+
+
+ +

Class LightsRenderPass

+
+
+
+
+
+
+
+

Hierarchy

+ +
+
+

Index

+
+
+
+

Constructors

+ +
+
+

Properties

+ +
+
+

Methods

+ +
+
+
+
+
+

Constructors

+
+ +

constructor

+ + +
+
+
+

Properties

+
+ +

Protected frame

+ + +
+
+ +

lightCutoffDistance

+
lightCutoffDistance: number = 400
+ +
+
+ +

Protected program

+ + +
+
+
+

Methods

+
+ +

addDrawable

+ + +
+
+ +

destroy

+
    +
  • destroy(): void
  • +
+ +
+
+ +

initialize

+ + +
+
+ +

render

+
    +
  • render(commonUniforms: any, ...inputTextures: Array<WebGLTexture>): void
  • +
+ +
+
+
+ +
+
+
+
+

Legend

+
+
    +
  • Constructor
  • +
  • Property
  • +
  • Method
  • +
+
    +
  • Inherited constructor
  • +
  • Inherited property
  • +
  • Inherited method
  • +
+
    +
  • Property
  • +
  • Method
  • +
+
    +
  • Protected property
  • +
  • Protected method
  • +
+
    +
  • Static property
  • +
  • Static method
  • +
+
+
+
+
+ + + \ No newline at end of file diff --git a/docs/classes/palettetexture.html b/docs/classes/palettetexture.html new file mode 100644 index 0000000..83bad7d --- /dev/null +++ b/docs/classes/palettetexture.html @@ -0,0 +1,287 @@ + + + + + + PaletteTexture | SDF-2D - v0.3.1 + + + + + +
+
+
+
+ +
+
+ Options +
+
+ All +
    +
  • Public
  • +
  • Public/Protected
  • +
  • All
  • +
+
+ + +
+
+ Menu +
+
+
+
+
+
+ +

Class PaletteTexture

+
+
+
+
+
+
+
+

Hierarchy

+
    +
  • + PaletteTexture +
  • +
+
+
+

Index

+
+
+
+

Constructors

+ +
+
+

Accessors

+ +
+
+

Methods

+ +
+
+
+
+
+

Constructors

+
+ +

constructor

+ + +
+
+
+

Accessors

+
+ +

colorTexture

+
    +
  • get colorTexture(): WebGLTexture
  • +
+ +
+
+
+

Methods

+
+ +

destroy

+
    +
  • destroy(): void
  • +
+ +
+
+ +

setImage

+
    +
  • setImage(image: TexImageSource): void
  • +
+ +
+
+ +

setPalette

+
    +
  • setPalette(colors: Array<vec3 | vec4>): void
  • +
+ +
+
+
+ +
+
+
+
+

Legend

+
+
    +
  • Constructor
  • +
  • Property
  • +
  • Method
  • +
+
    +
  • Inherited constructor
  • +
  • Inherited property
  • +
  • Inherited method
  • +
+
    +
  • Property
  • +
  • Method
  • +
+
    +
  • Protected property
  • +
  • Protected method
  • +
+
    +
  • Static property
  • +
  • Static method
  • +
+
+
+
+
+ + + \ No newline at end of file diff --git a/docs/classes/parallelcompiler.html b/docs/classes/parallelcompiler.html new file mode 100644 index 0000000..39f8eee --- /dev/null +++ b/docs/classes/parallelcompiler.html @@ -0,0 +1,239 @@ + + + + + + ParallelCompiler | SDF-2D - v0.3.1 + + + + + +
+
+
+
+ +
+
+ Options +
+
+ All +
    +
  • Public
  • +
  • Public/Protected
  • +
  • All
  • +
+
+ + +
+
+ Menu +
+
+
+
+
+
+ +

Class ParallelCompiler

+
+
+
+
+
+
+
+

Hierarchy

+
    +
  • + ParallelCompiler +
  • +
+
+
+

Index

+
+
+
+

Constructors

+ +
+
+

Methods

+ +
+
+
+
+
+

Constructors

+
+ +

constructor

+ + +
+
+
+

Methods

+
+ +

compilePrograms

+
    +
  • compilePrograms(): Promise<void>
  • +
+ +
+
+ +

createProgram

+
    +
  • createProgram(vertexShaderSource: string, fragmentShaderSource: string, substitutions: {}): Promise<WebGLProgram>
  • +
+
    +
  • + +

    Parameters

    +
      +
    • +
      vertexShaderSource: string
      +
    • +
    • +
      fragmentShaderSource: string
      +
    • +
    • +
      substitutions: {}
      +
        +
      • +
        [name: string]: string
        +
      • +
      +
    • +
    +

    Returns Promise<WebGLProgram>

    +
  • +
+
+
+
+ +
+
+
+
+

Legend

+
+
    +
  • Constructor
  • +
  • Property
  • +
  • Method
  • +
+
    +
  • Inherited constructor
  • +
  • Inherited property
  • +
  • Inherited method
  • +
+
    +
  • Property
  • +
  • Method
  • +
+
    +
  • Protected property
  • +
  • Protected method
  • +
+
    +
  • Static property
  • +
  • Static method
  • +
+
+
+
+
+ + + \ No newline at end of file diff --git a/docs/classes/program.html b/docs/classes/program.html new file mode 100644 index 0000000..b2fb184 --- /dev/null +++ b/docs/classes/program.html @@ -0,0 +1,403 @@ + + + + + + Program | SDF-2D - v0.3.1 + + + + + +
+
+
+
+ +
+
+ Options +
+
+ All +
    +
  • Public
  • +
  • Public/Protected
  • +
  • All
  • +
+
+ + +
+
+ Menu +
+
+
+
+
+
+ +

Class Program

+
+
+
+
+
+
+
+

Hierarchy

+ +
+
+

Implements

+ +
+
+

Index

+
+
+
+

Constructors

+ +
+
+

Properties

+ +
+
+

Methods

+ +
+
+
+
+
+

Constructors

+
+ +

constructor

+ + +
+
+
+

Properties

+
+ +

Protected Readonly gl

+ + +
+
+ +

Protected Optional program

+
program: WebGLProgram
+ +
+
+
+

Methods

+
+ +

Protected bind

+
    +
  • bind(): void
  • +
+ +
+
+ +

destroy

+
    +
  • destroy(): void
  • +
+ +
+
+ +

draw

+
    +
  • draw(values: {}): void
  • +
+ +
+
+ +

initialize

+
    +
  • initialize(__namedParameters: [string, string], substitutions: {}, compiler: ParallelCompiler): Promise<void>
  • +
+ +
+
+ +

setDrawingRectangleUV

+
    +
  • setDrawingRectangleUV(bottomLeft: vec2, size: vec2): void
  • +
+ +
+
+ +

setUniforms

+
    +
  • setUniforms(values: {}): void
  • +
+ +
+
+
+ +
+
+
+
+

Legend

+
+
    +
  • Constructor
  • +
  • Property
  • +
  • Method
  • +
+
    +
  • Inherited constructor
  • +
  • Inherited property
  • +
  • Inherited method
  • +
+
    +
  • Property
  • +
  • Method
  • +
+
    +
  • Protected property
  • +
  • Protected method
  • +
+
    +
  • Static property
  • +
  • Static method
  • +
+
+
+
+
+ + + \ No newline at end of file diff --git a/docs/classes/rendererimplementation.html b/docs/classes/rendererimplementation.html new file mode 100644 index 0000000..e3471fd --- /dev/null +++ b/docs/classes/rendererimplementation.html @@ -0,0 +1,449 @@ + + + + + + RendererImplementation | SDF-2D - v0.3.1 + + + + + +
+
+
+
+ +
+
+ Options +
+
+ All +
    +
  • Public
  • +
  • Public/Protected
  • +
  • All
  • +
+
+ + +
+
+ Menu +
+
+
+
+
+
+ +

Class RendererImplementation

+
+
+
+
+
+
+
+

Hierarchy

+
    +
  • + RendererImplementation +
  • +
+
+
+

Implements

+ +
+
+

Index

+
+
+
+

Constructors

+ +
+
+

Accessors

+ +
+
+

Methods

+ +
+
+
+
+
+

Constructors

+
+ +

constructor

+ + +
+
+
+

Accessors

+
+ +

canvasSize

+
    +
  • get canvasSize(): vec2
  • +
+ +
+
+ +

insights

+
    +
  • get insights(): any
  • +
+ +
+
+ +

viewAreaSize

+
    +
  • get viewAreaSize(): vec2
  • +
+ +
+
+
+

Methods

+
+ +

addDrawable

+
    +
  • addDrawable(drawable: Drawable): void
  • +
+ +
+
+ +

autoscaleQuality

+
    +
  • autoscaleQuality(deltaTime: DOMHighResTimeStamp): void
  • +
+ +
+
+ +

destroy

+
    +
  • destroy(): void
  • +
+ +
+
+ +

initialize

+
    +
  • initialize(settingsOverrides: Partial<StartupSettings>): Promise<void>
  • +
+ +
+
+ +

renderDrawables

+
    +
  • renderDrawables(): void
  • +
+ +
+
+ +

setRuntimeSettings

+ + +
+
+ +

setViewArea

+
    +
  • setViewArea(topLeft: vec2, size: vec2): void
  • +
+ +
+
+
+ +
+
+
+
+

Legend

+
+
    +
  • Constructor
  • +
  • Property
  • +
  • Method
  • +
+
    +
  • Inherited constructor
  • +
  • Inherited property
  • +
  • Inherited method
  • +
+
    +
  • Property
  • +
  • Method
  • +
+
    +
  • Protected property
  • +
  • Protected method
  • +
+
    +
  • Static property
  • +
  • Static method
  • +
+
+
+
+
+ + + \ No newline at end of file diff --git a/docs/classes/renderpass.html b/docs/classes/renderpass.html new file mode 100644 index 0000000..8badc74 --- /dev/null +++ b/docs/classes/renderpass.html @@ -0,0 +1,319 @@ + + + + + + RenderPass | SDF-2D - v0.3.1 + + + + + +
+
+
+
+ +
+
+ Options +
+
+ All +
    +
  • Public
  • +
  • Public/Protected
  • +
  • All
  • +
+
+ + +
+
+ Menu +
+
+
+
+
+
+ +

Class RenderPass

+
+
+
+
+
+
+
+

Hierarchy

+ +
+
+

Index

+
+
+
+

Constructors

+ +
+
+

Properties

+ +
+
+

Methods

+ +
+
+
+
+
+

Constructors

+
+ +

constructor

+ + +
+
+
+

Properties

+
+ +

Protected frame

+ + +
+
+ +

Protected program

+ + +
+
+
+

Methods

+
+ +

destroy

+
    +
  • destroy(): void
  • +
+ +
+
+ +

initialize

+ + +
+
+ +

Abstract render

+
    +
  • render(commonUniforms: any, inputTexture?: WebGLTexture): void
  • +
+ +
+
+
+ +
+
+
+
+

Legend

+
+
    +
  • Constructor
  • +
  • Property
  • +
  • Method
  • +
+
    +
  • Inherited constructor
  • +
  • Inherited property
  • +
  • Inherited method
  • +
+
    +
  • Property
  • +
  • Method
  • +
+
    +
  • Protected property
  • +
  • Protected method
  • +
+
    +
  • Static property
  • +
  • Static method
  • +
+
+
+
+
+ + + \ No newline at end of file diff --git a/docs/classes/tunnel.html b/docs/classes/tunnel.html new file mode 100644 index 0000000..91ee4cb --- /dev/null +++ b/docs/classes/tunnel.html @@ -0,0 +1,484 @@ + + + + + + Tunnel | SDF-2D - v0.3.1 + + + + + +
+
+
+
+ +
+
+ Options +
+
+ All +
    +
  • Public
  • +
  • Public/Protected
  • +
  • All
  • +
+
+ + +
+
+ Menu +
+
+
+
+
+
+ +

Class Tunnel

+
+
+
+
+
+
+
+

Hierarchy

+ +
+
+

Index

+
+
+
+

Constructors

+ +
+
+

Properties

+ +
+
+

Methods

+ +
+
+

Object literals

+ +
+
+
+
+
+

Constructors

+
+ +

constructor

+
    +
  • new Tunnel(from: vec2, to: vec2, fromRadius: number, toRadius: number): Tunnel
  • +
+ +
+
+
+

Properties

+
+ +

Readonly from

+
from: vec2
+ +
+
+ +

Readonly fromRadius

+
fromRadius: number
+ +
+
+ +

Readonly to

+
to: vec2
+ +
+
+ +

Readonly toRadius

+
toRadius: number
+ +
+
+
+

Methods

+
+ +

Protected getObjectToSerialize

+
    +
  • getObjectToSerialize(transform2d: mat2d, transform1d: number): any
  • +
+ +
+
+ +

minDistance

+
    +
  • minDistance(target: vec2): number
  • +
+ +
+
+ +

serializeToUniforms

+
    +
  • serializeToUniforms(uniforms: any, transform2d: mat2d, transform1d: number): void
  • +
+ +
+
+
+

Object literals

+
+ +

Static descriptor

+
descriptor: object
+ +
+ +

empty

+
empty: Tunnel = new Tunnel(vec2.fromValues(-100000, -100000),vec2.fromValues(-100000, -100000),0,0)
+ +
+
+ +

shaderCombinationSteps

+
shaderCombinationSteps: number[] = [0, 1, 4, 16, 32]
+ +
+
+ +

uniformCountMacroName

+
uniformCountMacroName: string = "TUNNEL_COUNT"
+ +
+
+ +

propertyUniformMapping

+
propertyUniformMapping: object
+ +
+ +

from

+
from: string = "froms"
+ +
+
+ +

fromRadius

+
fromRadius: string = "fromRadii"
+ +
+
+ +

toFromDelta

+
toFromDelta: string = "toFromDeltas"
+ +
+
+ +

toRadius

+
toRadius: string = "toRadii"
+ +
+
+
+ +

sdf

+
sdf: object
+ +
+ +

distanceFunctionName

+
distanceFunctionName: string = "tunnelMinDistance"
+ +
+
+ +

shader

+
shader: string = `uniform vec2 froms[TUNNEL_COUNT];uniform vec2 toFromDeltas[TUNNEL_COUNT];uniform float fromRadii[TUNNEL_COUNT];uniform float toRadii[TUNNEL_COUNT];float tunnelMinDistance(vec2 target, out float colorIndex) {colorIndex = 1.0;float minDistance = 1000.0;for (int i = 0; i < TUNNEL_COUNT; i++) {vec2 targetFromDelta = target - froms[i];float h = clamp(dot(targetFromDelta, toFromDeltas[i])/ dot(toFromDeltas[i], toFromDeltas[i]),0.0, 1.0);float currentDistance = -mix(fromRadii[i], toRadii[i], h) + distance(targetFromDelta, toFromDeltas[i] * h);minDistance = min(minDistance, currentDistance);}return minDistance;}`
+ +
+
+
+
+
+ +
+
+
+
+

Legend

+
+
    +
  • Constructor
  • +
  • Property
  • +
  • Method
  • +
+
    +
  • Inherited constructor
  • +
  • Inherited property
  • +
  • Inherited method
  • +
+
    +
  • Property
  • +
  • Method
  • +
+
    +
  • Protected property
  • +
  • Protected method
  • +
+
    +
  • Static property
  • +
  • Static method
  • +
+
+
+
+
+ + + \ No newline at end of file diff --git a/docs/classes/uniformarrayautoscalingprogram.html b/docs/classes/uniformarrayautoscalingprogram.html new file mode 100644 index 0000000..f9fb49a --- /dev/null +++ b/docs/classes/uniformarrayautoscalingprogram.html @@ -0,0 +1,312 @@ + + + + + + UniformArrayAutoScalingProgram | SDF-2D - v0.3.1 + + + + + +
+
+
+
+ +
+
+ Options +
+
+ All +
    +
  • Public
  • +
  • Public/Protected
  • +
  • All
  • +
+
+ + +
+
+ Menu +
+
+
+
+
+
+ +

Class UniformArrayAutoScalingProgram

+
+
+
+
+
+
+
+

Hierarchy

+
    +
  • + UniformArrayAutoScalingProgram +
  • +
+
+
+

Implements

+ +
+
+

Index

+
+
+
+

Constructors

+ +
+
+

Methods

+ +
+
+
+
+
+

Constructors

+
+ +

constructor

+ + +
+
+
+

Methods

+
+ +

destroy

+
    +
  • destroy(): void
  • +
+ +
+
+ +

draw

+
    +
  • draw(uniforms: {}): void
  • +
+ +
+
+ +

initialize

+ + +
+
+ +

setDrawingRectangleUV

+
    +
  • setDrawingRectangleUV(bottomLeft: vec2, size: vec2): void
  • +
+ +
+
+
+ +
+
+
+
+

Legend

+
+
    +
  • Constructor
  • +
  • Property
  • +
  • Method
  • +
+
    +
  • Inherited constructor
  • +
  • Inherited property
  • +
  • Inherited method
  • +
+
    +
  • Property
  • +
  • Method
  • +
+
    +
  • Protected property
  • +
  • Protected method
  • +
+
    +
  • Static property
  • +
  • Static method
  • +
+
+
+
+
+ + + \ No newline at end of file diff --git a/docs/classes/uniformsprovider.html b/docs/classes/uniformsprovider.html new file mode 100644 index 0000000..87d8056 --- /dev/null +++ b/docs/classes/uniformsprovider.html @@ -0,0 +1,356 @@ + + + + + + UniformsProvider | SDF-2D - v0.3.1 + + + + + +
+
+
+
+ +
+
+ Options +
+
+ All +
    +
  • Public
  • +
  • Public/Protected
  • +
  • All
  • +
+
+ + +
+
+ Menu +
+
+
+
+
+
+ +

Class UniformsProvider

+
+
+
+
+
+
+
+

Hierarchy

+
    +
  • + UniformsProvider +
  • +
+
+
+

Index

+
+
+
+

Constructors

+ +
+
+

Properties

+ +
+
+

Accessors

+ +
+
+

Methods

+ +
+
+
+
+
+

Constructors

+
+ +

constructor

+ + +
+
+
+

Properties

+
+ +

_backgroundColor

+
_backgroundColor: vec4 = vec4.fromValues(1, 1, 1, 1)
+ +
+
+ +

ambientLight

+
ambientLight: vec3 = vec3.fromValues(0.25, 0.15, 0.25)
+ +
+
+
+

Accessors

+
+ +

backgroundColor

+
    +
  • set backgroundColor(value: vec3 | vec4): void
  • +
+ +
+
+
+

Methods

+
+ +

getUniforms

+
    +
  • getUniforms(uniforms: any): any
  • +
+ +
+
+ +

getViewArea

+
    +
  • getViewArea(): vec2
  • +
+ +
+
+ +

screenToWorldPosition

+
    +
  • screenToWorldPosition(screenPosition: vec2): vec2
  • +
+ +
+
+ +

setViewArea

+
    +
  • setViewArea(topLeft: vec2, size: vec2): void
  • +
+ +
+
+
+ +
+
+
+
+

Legend

+
+
    +
  • Constructor
  • +
  • Property
  • +
  • Method
  • +
+
    +
  • Inherited constructor
  • +
  • Inherited property
  • +
  • Inherited method
  • +
+
    +
  • Property
  • +
  • Method
  • +
+
    +
  • Protected property
  • +
  • Protected method
  • +
+
    +
  • Static property
  • +
  • Static method
  • +
+
+
+
+
+ + + \ No newline at end of file diff --git a/docs/classes/webglstopwatch.html b/docs/classes/webglstopwatch.html new file mode 100644 index 0000000..a2d606b --- /dev/null +++ b/docs/classes/webglstopwatch.html @@ -0,0 +1,314 @@ + + + + + + WebGlStopwatch | SDF-2D - v0.3.1 + + + + + +
+
+
+
+ +
+
+ Options +
+
+ All +
    +
  • Public
  • +
  • Public/Protected
  • +
  • All
  • +
+
+ + +
+
+ Menu +
+
+
+
+
+
+ +

Class WebGlStopwatch

+
+
+
+
+
+
+
+

Hierarchy

+
    +
  • + WebGlStopwatch +
  • +
+
+
+

Index

+
+
+
+

Constructors

+ +
+
+

Accessors

+ +
+
+

Methods

+ +
+
+
+
+
+

Constructors

+
+ +

constructor

+ + +
+
+
+

Accessors

+
+ +

isReady

+
    +
  • get isReady(): boolean
  • +
+ +
+
+ +

isRunning

+
    +
  • get isRunning(): boolean
  • +
+ +
+
+ +

resultsInMilliSeconds

+
    +
  • get resultsInMilliSeconds(): number
  • +
+ +
+
+
+

Methods

+
+ +

start

+
    +
  • start(): void
  • +
+ +
+
+ +

stop

+
    +
  • stop(): void
  • +
+ +
+
+ +

tryGetResults

+
    +
  • tryGetResults(): boolean
  • +
+ +
+
+
+ +
+
+
+
+

Legend

+
+
    +
  • Constructor
  • +
  • Property
  • +
  • Method
  • +
+
    +
  • Inherited constructor
  • +
  • Inherited property
  • +
  • Inherited method
  • +
+
    +
  • Property
  • +
  • Method
  • +
+
    +
  • Protected property
  • +
  • Protected method
  • +
+
    +
  • Static property
  • +
  • Static method
  • +
+
+
+
+
+ + + \ No newline at end of file diff --git a/docs/enums/stopwatchstate.html b/docs/enums/stopwatchstate.html new file mode 100644 index 0000000..f897264 --- /dev/null +++ b/docs/enums/stopwatchstate.html @@ -0,0 +1,179 @@ + + + + + + StopwatchState | SDF-2D - v0.3.1 + + + + + +
+
+
+
+ +
+
+ Options +
+
+ All +
    +
  • Public
  • +
  • Public/Protected
  • +
  • All
  • +
+
+ + +
+
+ Menu +
+
+
+
+
+
+ +

Enumeration StopwatchState

+
+
+
+
+
+
+
+

Index

+
+
+
+

Enumeration members

+ +
+
+
+
+
+

Enumeration members

+
+ +

ready

+
ready: = "ready"
+ +
+
+ +

running

+
running: = "running"
+ +
+
+ +

waitingForResults

+
waitingForResults: = "waitingForResults"
+ +
+
+
+ +
+
+
+
+

Legend

+
+
    +
  • Constructor
  • +
  • Property
  • +
  • Method
  • +
+
    +
  • Inherited constructor
  • +
  • Inherited property
  • +
  • Inherited method
  • +
+
    +
  • Property
  • +
  • Method
  • +
+
    +
  • Protected property
  • +
  • Protected method
  • +
+
    +
  • Static property
  • +
  • Static method
  • +
+
+
+
+
+ + + \ No newline at end of file diff --git a/docs/globals.html b/docs/globals.html new file mode 100644 index 0000000..a3cc2e0 --- /dev/null +++ b/docs/globals.html @@ -0,0 +1,1021 @@ + + + + + + SDF-2D - v0.3.1 + + + + + +
+
+
+
+ +
+
+ Options +
+
+ All +
    +
  • Public
  • +
  • Public/Protected
  • +
  • All
  • +
+
+ + +
+
+ Menu +
+
+
+
+
+
+ +

SDF-2D - v0.3.1

+
+
+
+
+
+
+
+

Index

+
+ +
+
+
+

Type aliases

+
+ +

CompilingProgram

+
CompilingProgram: { fragmentShader: ShaderWithSource; program: WebGLProgram; resolvePromise: ((program: WebGLProgram) => void) | null; vertexShader: ShaderWithSource }
+ +
+

Type declaration

+
    +
  • +
    fragmentShader: ShaderWithSource
    +
  • +
  • +
    program: WebGLProgram
    +
  • +
  • +
    resolvePromise: ((program: WebGLProgram) => void) | null
    +
  • +
  • +
    vertexShader: ShaderWithSource
    +
  • +
+
+
+
+ +

ShaderWithSource

+
ShaderWithSource: WebGLShader & { source: string }
+ +
+
+ +

UniversalRenderingContext

+
UniversalRenderingContext: WebGL2RenderingContext & WebGLRenderingContext & { isWebGL2: boolean }
+ +
+
+
+

Variables

+
+ +

Let isEnabled

+
isEnabled: boolean = false
+ +
+
+ +

Const loaderMat3

+
loaderMat3: mat3 = mat3.create()
+ +
+
+
+

Other Functions

+
+ +

Const applyArrayPlugins

+
    +
  • applyArrayPlugins(): void
  • +
+ +
+
+ +

Const clamp

+
    +
  • clamp(value: number, min: number, max: number): number
  • +
+
    +
  • + +

    Parameters

    +
      +
    • +
      value: number
      +
    • +
    • +
      min: number
      +
    • +
    • +
      max: number
      +
    • +
    +

    Returns number

    +
  • +
+
+
+ +

Const clamp01

+
    +
  • clamp01(value: number): number
  • +
+
    +
  • + +

    Parameters

    +
      +
    • +
      value: number
      +
    • +
    +

    Returns number

    +
  • +
+
+
+ +

Const enableContextLostSimulator

+
    +
  • enableContextLostSimulator(canvas: HTMLCanvasElement): void
  • +
+ +
+
+ +

Const enableExtension

+ + +
+
+ +

Const exponentialDecay

+
    +
  • exponentialDecay(accumulator: number, nextValue: number, biasOfNextValue: number): number
  • +
+
    +
  • + +

    Parameters

    +
      +
    • +
      accumulator: number
      +
    • +
    • +
      nextValue: number
      +
    • +
    • +
      biasOfNextValue: number
      +
    • +
    +

    Returns number

    +
  • +
+
+
+ +

Const getCombinations

+ + +
+
+ +

Const getUniversalRenderingContext

+ + +
+
+ +

last

+
    +
  • last<T>(a: Array<T>): T | null
  • +
+
    +
  • + +

    Type parameters

    +
      +
    • +

      T

      +
    • +
    +

    Parameters

    + +

    Returns T | null

    +
  • +
+
+
+ +

Const loadUniform

+ + +
+
+ +

Const mix

+
    +
  • mix(from: number, to: number, q: number): number
  • +
+
    +
  • + +

    Parameters

    +
      +
    • +
      from: number
      +
    • +
    • +
      to: number
      +
    • +
    • +
      q: number
      +
    • +
    +

    Returns number

    +
  • +
+
+
+ +

Const msToString

+
    +
  • msToString(value: number): string
  • +
+ +
+
+ +

Const setIndexAlias

+
    +
  • setIndexAlias(name: string, index: number, type: any): void
  • +
+
    +
  • + +

    Parameters

    +
      +
    • +
      name: string
      +
    • +
    • +
      index: number
      +
    • +
    • +
      type: any
      +
    • +
    +

    Returns void

    +
  • +
+
+
+ +

Const tryEnableExtension

+ + +
+
+ +

Const wait

+
    +
  • wait(ms: number): Promise<void>
  • +
+
    +
  • + +

    Parameters

    +
      +
    • +
      ms: number
      +
    • +
    +

    Returns Promise<void>

    +
  • +
+
+
+
+

Startup Functions

+
+ +

compile

+ +
    +
  • + +
    +
    +

    Compiles a new renderer instance. There can multiple renderers on a single page.

    +
    +

    Asynchronous behaviour is required for paralell shader compiling. + Trying to draw before the returned promise resolves results in no action taken. + Settings can be set before promise resolution and they will be applied later.

    +
    +
    +

    The descriptors of every to-be-drawn objects are required before creating the renderer, + allowing the compiler to only create the shaders that will actually be used.

    +

    Example usage:

    +
     import { compile, Circle, CircleLight } from 'sdf-2d';
    +
    + const canvas = document.querySelector('canvas');
    + const renderer = await compile(canvas, [Circle.descriptor, CircleLight.descriptor]);
    +
    +

    Parameters

    +
      +
    • +
      canvas: HTMLCanvasElement
      +
      +

      The returned renderer will only be able to draw to this canvas.

      +
      +
    • +
    • +
      descriptors: Array<DrawableDescriptor>
      +
      +

      The descriptor of every single object (and light) that + ever needs to be drawn by this renderer has to be given before compiling.

      +
      +
    • +
    • +
      Default value settingsOverrides: Partial<StartupSettings> = {}
      +
      +

      Sensible defaults are provided, but these can be overriden.

      +
      +
    • +
    +

    Returns Promise<Renderer>

    +
  • +
+
+
+
+

Object literals

+
+ +

Const defaultStartupSettings

+
defaultStartupSettings: object
+ +
+ +

ignoreWebGL2

+
ignoreWebGL2: false = false
+ +
+
+ +

paletteSize

+
paletteSize: number = 256
+ +
+
+ +

shadowTraceCount

+
shadowTraceCount: number = 16
+ +
+
+
+ +

Const settings

+
settings: object
+ +
+ +

adjusmentRateInMilliseconds

+
adjusmentRateInMilliseconds: number = 1000
+ +
+
+ +

deltaTimeErrorInMilliseconds

+
deltaTimeErrorInMilliseconds: number = 3
+ +
+
+ +

deltaTimeResponsiveness

+
deltaTimeResponsiveness: number = 1 / 32
+ +
+
+ +

qualityStepDecrese

+
qualityStepDecrese: number = 0.2
+ +
+
+ +

qualityStepIncrease

+
qualityStepIncrease: number = 0.01
+ +
+
+ +

targetDeltaTimeInMilliseconds

+
targetDeltaTimeInMilliseconds: number = 20
+ +
+
+ +

targets

+
targets: { distanceRenderScale: number; finalRenderScale: number }[] = [{distanceRenderScale: 0.1,finalRenderScale: 0.2,},{distanceRenderScale: 0.1,finalRenderScale: 0.6,},{distanceRenderScale: 0.5,finalRenderScale: 1.0,},{distanceRenderScale: 1.0,finalRenderScale: 1.0,},]
+ +
+
+
+
+ +
+
+
+
+

Legend

+
+
    +
  • Constructor
  • +
  • Property
  • +
  • Method
  • +
+
    +
  • Inherited constructor
  • +
  • Inherited property
  • +
  • Inherited method
  • +
+
    +
  • Property
  • +
  • Method
  • +
+
    +
  • Protected property
  • +
  • Protected method
  • +
+
    +
  • Static property
  • +
  • Static method
  • +
+
+
+
+
+ + + \ No newline at end of file diff --git a/docs/index.html b/docs/index.html new file mode 100644 index 0000000..de3593e --- /dev/null +++ b/docs/index.html @@ -0,0 +1,319 @@ + + + + + + SDF-2D - v0.3.1 + + + + + +
+
+
+
+ +
+
+ Options +
+
+ All +
    +
  • Public
  • +
  • Public/Protected
  • +
  • All
  • +
+
+ + +
+
+ Menu +
+
+
+
+
+
+ +

SDF-2D - v0.3.1

+
+
+
+
+
+
+
+ +

SDF-2D logo Documentation

+
+

Background and more in depth information about the rendring techniques can be found in this technical report.

+ +

Links

+
+ + +

Important to know

+
+ +

Coordinates

+
+

Anywhere, where positions need to specified, the y values grow upwards, so are the x values. That means, when specifying the view area, the origin is at the bottom left corner of the display.

+ +

Tile-based rendering

+
+

For optimising the evaluation of the distance field, the display is divided up into a grid of tiles. The shader for each tile is compiled to support a fix maximum number of objects on it. When using the built-in drawables, it is possible that after a certain number of on-screen objects, new ones won't be visible.

+

Mitigating this issue is quite easy. Instead of the following code:

+
this.renderer = await compile(canvas, [Circle.descriptor, CircleLight.descriptor]);
+

Modify it to something similar:

+
this.renderer = await compile(canvas, [
+  {
+    ...Circle.descriptor,
+    shaderCombinationSteps: [0, 1, 2, 24, 64],
+  },
+  {
+    ...CircleLight.descriptor,
+    shaderCombinationSteps: [0, 1, 2, 4],
+  },
+]);
+

The usage of too large numbers is not advised for compatibility and performance reasons alike.

+
+

Steps are very useful for tile-based rendering, because it is possible for one tile (at a given moment) to be empty or contain just a few objects, while others have a large cluster of objects. The compiled shaders only take into account the necesseary number of objects on each tiles.

+
+ +

Usage

+
+

To start using cutting-edge 2D graphics, first you have get a renderer instance. This is possible by calling the compile function.

+
+
+ +
+
+
+
+

Legend

+
+
    +
  • Constructor
  • +
  • Property
  • +
  • Method
  • +
+
    +
  • Inherited constructor
  • +
  • Inherited property
  • +
  • Inherited method
  • +
+
    +
  • Property
  • +
  • Method
  • +
+
    +
  • Protected property
  • +
  • Protected method
  • +
+
    +
  • Static property
  • +
  • Static method
  • +
+
+
+
+
+ + + \ No newline at end of file diff --git a/docs/interfaces/__global.array.html b/docs/interfaces/__global.array.html new file mode 100644 index 0000000..f2c8fff --- /dev/null +++ b/docs/interfaces/__global.array.html @@ -0,0 +1,195 @@ + + + + + + Array | SDF-2D - v0.3.1 + + + + + +
+
+
+
+ +
+
+ Options +
+
+ All +
    +
  • Public
  • +
  • Public/Protected
  • +
  • All
  • +
+
+ + +
+
+ Menu +
+
+
+
+
+
+ +

Interface Array<T, T>

+
+
+
+
+
+
+
+

Type parameters

+
    +
  • +

    T

    +
  • +
  • +

    T

    +
  • +
+
+
+

Hierarchy

+
    +
  • + Array +
  • +
+
+
+

Index

+
+
+
+

Properties

+
    +
  • x
  • +
  • y
  • +
+
+
+
+
+
+

Properties

+
+ +

x

+
x: number
+ +
+
+ +

y

+
y: number
+ +
+
+
+ +
+
+
+
+

Legend

+
+
    +
  • Constructor
  • +
  • Property
  • +
  • Method
  • +
+
    +
  • Inherited constructor
  • +
  • Inherited property
  • +
  • Inherited method
  • +
+
    +
  • Property
  • +
  • Method
  • +
+
    +
  • Protected property
  • +
  • Protected method
  • +
+
    +
  • Static property
  • +
  • Static method
  • +
+
+
+
+
+ + + \ No newline at end of file diff --git a/docs/interfaces/__global.float32array.html b/docs/interfaces/__global.float32array.html new file mode 100644 index 0000000..44e9894 --- /dev/null +++ b/docs/interfaces/__global.float32array.html @@ -0,0 +1,184 @@ + + + + + + Float32Array | SDF-2D - v0.3.1 + + + + + +
+
+
+
+ +
+
+ Options +
+
+ All +
    +
  • Public
  • +
  • Public/Protected
  • +
  • All
  • +
+
+ + +
+
+ Menu +
+
+
+
+
+
+ +

Interface Float32Array

+
+
+
+
+
+
+
+

Hierarchy

+
    +
  • + Float32Array +
  • +
+
+
+

Index

+
+
+
+

Properties

+
    +
  • x
  • +
  • y
  • +
+
+
+
+
+
+

Properties

+
+ +

x

+
x: number
+ +
+
+ +

y

+
y: number
+ +
+
+
+ +
+
+
+
+

Legend

+
+
    +
  • Constructor
  • +
  • Property
  • +
  • Method
  • +
+
    +
  • Inherited constructor
  • +
  • Inherited property
  • +
  • Inherited method
  • +
+
    +
  • Property
  • +
  • Method
  • +
+
    +
  • Protected property
  • +
  • Protected method
  • +
+
    +
  • Static property
  • +
  • Static method
  • +
+
+
+
+
+ + + \ No newline at end of file diff --git a/docs/interfaces/drawabledescriptor.html b/docs/interfaces/drawabledescriptor.html new file mode 100644 index 0000000..6940b4b --- /dev/null +++ b/docs/interfaces/drawabledescriptor.html @@ -0,0 +1,223 @@ + + + + + + DrawableDescriptor | SDF-2D - v0.3.1 + + + + + +
+
+
+
+ +
+
+ Options +
+
+ All +
    +
  • Public
  • +
  • Public/Protected
  • +
  • All
  • +
+
+ + +
+
+ Menu +
+
+
+
+
+
+ +

Interface DrawableDescriptor

+
+
+
+
+
+
+
+

Hierarchy

+
    +
  • + DrawableDescriptor +
  • +
+
+
+

Index

+
+ +
+
+
+

Properties

+
+ +

Readonly empty

+
empty: Drawable
+ +
+
+ +

propertyUniformMapping

+
propertyUniformMapping: {}
+ +
+

Type declaration

+
    +
  • +
    [property: string]: string
    +
  • +
+
+
+
+ +

Optional sdf

+
sdf: undefined | { distanceFunctionName: string; isInverted?: undefined | false | true; shader: string }
+ +
+
+ +

shaderCombinationSteps

+
shaderCombinationSteps: Array<number>
+ +
+
+ +

uniformCountMacroName

+
uniformCountMacroName: string
+ +
+
+
+ +
+
+
+
+

Legend

+
+
    +
  • Constructor
  • +
  • Property
  • +
  • Method
  • +
+
    +
  • Inherited constructor
  • +
  • Inherited property
  • +
  • Inherited method
  • +
+
    +
  • Property
  • +
  • Method
  • +
+
    +
  • Protected property
  • +
  • Protected method
  • +
+
    +
  • Static property
  • +
  • Static method
  • +
+
+
+
+
+ + + \ No newline at end of file diff --git a/docs/interfaces/iprogram.html b/docs/interfaces/iprogram.html new file mode 100644 index 0000000..3fda445 --- /dev/null +++ b/docs/interfaces/iprogram.html @@ -0,0 +1,236 @@ + + + + + + IProgram | SDF-2D - v0.3.1 + + + + + +
+
+
+
+ +
+
+ Options +
+
+ All +
    +
  • Public
  • +
  • Public/Protected
  • +
  • All
  • +
+
+ + +
+
+ Menu +
+
+
+
+
+
+ +

Interface IProgram

+
+
+
+
+
+
+
+

Hierarchy

+
    +
  • + IProgram +
  • +
+
+
+

Implemented by

+ +
+
+

Index

+
+
+
+

Methods

+ +
+
+
+
+
+

Methods

+
+ +

destroy

+
    +
  • destroy(): void
  • +
+ +
+
+ +

draw

+
    +
  • draw(values: {}): void
  • +
+ +
+
+ +

setDrawingRectangleUV

+
    +
  • setDrawingRectangleUV(bottomLeft: vec2, size: vec2): void
  • +
+ +
+
+
+ +
+
+
+
+

Legend

+
+
    +
  • Constructor
  • +
  • Property
  • +
  • Method
  • +
+
    +
  • Inherited constructor
  • +
  • Inherited property
  • +
  • Inherited method
  • +
+
    +
  • Property
  • +
  • Method
  • +
+
    +
  • Protected property
  • +
  • Protected method
  • +
+
    +
  • Static property
  • +
  • Static method
  • +
+
+
+
+
+ + + \ No newline at end of file diff --git a/docs/interfaces/renderer.html b/docs/interfaces/renderer.html new file mode 100644 index 0000000..a0a6062 --- /dev/null +++ b/docs/interfaces/renderer.html @@ -0,0 +1,355 @@ + + + + + + Renderer | SDF-2D - v0.3.1 + + + + + +
+
+
+
+ +
+
+ Options +
+
+ All +
    +
  • Public
  • +
  • Public/Protected
  • +
  • All
  • +
+
+ + +
+
+ Menu +
+
+
+
+
+
+ +

Interface Renderer

+
+
+
+
+
+
+
+

Hierarchy

+
    +
  • + Renderer +
  • +
+
+
+

Implemented by

+ +
+
+

Index

+
+ +
+
+
+

Properties

+
+ +

Readonly canvasSize

+
canvasSize: vec2
+ +
+
+ +

Readonly insights

+
insights: any
+ +
+
+ +

Readonly viewAreaSize

+
viewAreaSize: vec2
+ +
+
+
+

Methods

+
+ +

addDrawable

+
    +
  • addDrawable(drawable: Drawable): void
  • +
+ +
+
+ +

autoscaleQuality

+
    +
  • autoscaleQuality(deltaTime: DOMHighResTimeStamp): void
  • +
+ +
+
+ +

destroy

+
    +
  • destroy(): void
  • +
+ +
+
+ +

renderDrawables

+
    +
  • renderDrawables(): void
  • +
+ +
+
+ +

setRuntimeSettings

+ + +
+
+ +

setViewArea

+
    +
  • setViewArea(topLeft: vec2, size: vec2): void
  • +
+ +
+
+
+ +
+
+
+
+

Legend

+
+
    +
  • Constructor
  • +
  • Property
  • +
  • Method
  • +
+
    +
  • Inherited constructor
  • +
  • Inherited property
  • +
  • Inherited method
  • +
+
    +
  • Property
  • +
  • Method
  • +
+
    +
  • Protected property
  • +
  • Protected method
  • +
+
    +
  • Static property
  • +
  • Static method
  • +
+
+
+
+
+ + + \ No newline at end of file diff --git a/docs/interfaces/runtimesettings.html b/docs/interfaces/runtimesettings.html new file mode 100644 index 0000000..826b425 --- /dev/null +++ b/docs/interfaces/runtimesettings.html @@ -0,0 +1,243 @@ + + + + + + RuntimeSettings | SDF-2D - v0.3.1 + + + + + +
+
+
+
+ +
+
+ Options +
+
+ All +
    +
  • Public
  • +
  • Public/Protected
  • +
  • All
  • +
+
+ + +
+
+ Menu +
+
+
+
+
+
+ +

Interface RuntimeSettings

+
+
+
+
+
+
+
+

Hierarchy

+
    +
  • + RuntimeSettings +
  • +
+
+
+

Index

+
+ +
+
+
+

Properties

+
+ +

ambientLight

+
ambientLight: vec3
+ +
+
+ +

backgroundColor

+
backgroundColor: vec3 | vec4
+ +
+
+ +

colorPalette

+
colorPalette: Array<vec3 | vec4>
+ +
+
+ +

enableHighDpiRendering

+
enableHighDpiRendering: boolean
+ +
+
+ +

isWorldInverted

+
isWorldInverted: boolean
+ +
+
+ +

lightCutoffDistance

+
lightCutoffDistance: number
+ +
+
+ +

tileMultiplier

+
tileMultiplier: number
+ +
+
+
+ +
+
+
+
+

Legend

+
+
    +
  • Constructor
  • +
  • Property
  • +
  • Method
  • +
+
    +
  • Inherited constructor
  • +
  • Inherited property
  • +
  • Inherited method
  • +
+
    +
  • Property
  • +
  • Method
  • +
+
    +
  • Protected property
  • +
  • Protected method
  • +
+
    +
  • Static property
  • +
  • Static method
  • +
+
+
+
+
+ + + \ No newline at end of file diff --git a/docs/interfaces/startupsettings.html b/docs/interfaces/startupsettings.html new file mode 100644 index 0000000..e56e3c2 --- /dev/null +++ b/docs/interfaces/startupsettings.html @@ -0,0 +1,187 @@ + + + + + + StartupSettings | SDF-2D - v0.3.1 + + + + + +
+
+
+
+ +
+
+ Options +
+
+ All +
    +
  • Public
  • +
  • Public/Protected
  • +
  • All
  • +
+
+ + +
+
+ Menu +
+
+
+
+
+
+ +

Interface StartupSettings

+
+
+
+
+
+
+
+

Hierarchy

+
    +
  • + StartupSettings +
  • +
+
+
+

Index

+
+
+
+

Properties

+ +
+
+
+
+
+

Properties

+
+ +

ignoreWebGL2

+
ignoreWebGL2: boolean
+ +
+
+ +

paletteSize

+
paletteSize: number
+ +
+
+ +

shadowTraceCount

+
shadowTraceCount: number
+ +
+
+
+ +
+
+
+
+

Legend

+
+
    +
  • Constructor
  • +
  • Property
  • +
  • Method
  • +
+
    +
  • Inherited constructor
  • +
  • Inherited property
  • +
  • Inherited method
  • +
+
    +
  • Property
  • +
  • Method
  • +
+
    +
  • Protected property
  • +
  • Protected method
  • +
+
    +
  • Static property
  • +
  • Static method
  • +
+
+
+
+
+ + + \ No newline at end of file diff --git a/static/logo-colored.svg b/docs/media/logo-colored.svg similarity index 77% rename from static/logo-colored.svg rename to docs/media/logo-colored.svg index ba2f830..a46b3d8 100644 --- a/static/logo-colored.svg +++ b/docs/media/logo-colored.svg @@ -1,4 +1,4 @@ - + @@ -7,24 +7,24 @@ - + - + - + - + - + @@ -37,15 +37,12 @@ - - - - + diff --git a/docs/media/logo-white.svg b/docs/media/logo-white.svg new file mode 100644 index 0000000..f6f9c79 --- /dev/null +++ b/docs/media/logo-white.svg @@ -0,0 +1,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/media/sdf-2d.pdf b/docs/media/sdf-2d.pdf new file mode 100644 index 0000000..52bd6d3 Binary files /dev/null and b/docs/media/sdf-2d.pdf differ diff --git a/docs/modules/__global.html b/docs/modules/__global.html new file mode 100644 index 0000000..f69d18e --- /dev/null +++ b/docs/modules/__global.html @@ -0,0 +1,136 @@ + + + + + + __global | SDF-2D - v0.3.1 + + + + + +
+
+
+
+ +
+
+ Options +
+
+ All +
    +
  • Public
  • +
  • Public/Protected
  • +
  • All
  • +
+
+ + +
+
+ Menu +
+
+
+
+
+
+ +

Namespace __global

+
+
+
+
+
+
+
+

Index

+
+
+
+

Interfaces

+ +
+
+
+
+
+ +
+
+
+
+

Legend

+
+
    +
  • Constructor
  • +
  • Property
  • +
  • Method
  • +
+
    +
  • Inherited constructor
  • +
  • Inherited property
  • +
  • Inherited method
  • +
+
    +
  • Property
  • +
  • Method
  • +
+
    +
  • Protected property
  • +
  • Protected method
  • +
+
    +
  • Static property
  • +
  • Static method
  • +
+
+
+
+
+ + + \ No newline at end of file diff --git a/static/logo-white.svg b/media/logo-colored.svg similarity index 65% rename from static/logo-white.svg rename to media/logo-colored.svg index 3569c14..a46b3d8 100644 --- a/static/logo-white.svg +++ b/media/logo-colored.svg @@ -1,25 +1,30 @@ - + + + + + + - + - + - + - + - + @@ -32,12 +37,12 @@ - + diff --git a/media/logo-white.svg b/media/logo-white.svg new file mode 100644 index 0000000..f6f9c79 --- /dev/null +++ b/media/logo-white.svg @@ -0,0 +1,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/media/sdf-2d.pdf b/media/sdf-2d.pdf new file mode 100644 index 0000000..52bd6d3 Binary files /dev/null and b/media/sdf-2d.pdf differ diff --git a/package.json b/package.json index 3468654..74390f5 100644 --- a/package.json +++ b/package.json @@ -25,20 +25,21 @@ }, "license": "ISC", "scripts": { - "start": "shx rm -rf lib/* && webpack --mode development -w", - "build": "shx rm -rf lib/* && webpack --mode production" + "start": "rm -rf lib/* && webpack --mode development -w", + "build": "rm -rf lib/* docs/* && typedoc && webpack --mode production" }, "main": "lib/main.js", "types": "lib/src/main.d.ts", "files": [ "lib" ], - "sideEffects": false, + "sideEffects": [ + "src/main.ts" + ], "dependencies": { "gl-matrix": "^3.3.0" }, "devDependencies": { - "@types/gl-matrix": "^2.4.5", "@typescript-eslint/eslint-plugin": "^3.10.1", "@typescript-eslint/parser": "^3.10.1", "eslint": "^7.9.0", @@ -48,11 +49,11 @@ "eslint-plugin-unused-imports": "^0.1.3", "prettier": "^2.1.2", "raw-loader": "^4.0.1", - "shx": "^0.3.2", "terser-webpack-plugin": "^2.3.8", "ts-loader": "^8.0.3", + "typedoc": "^0.19.2", "typescript": "^3.9.7", - "webpack": "^4.44.1", + "webpack": "^4.44.2", "webpack-cli": "^3.3.11" } } diff --git a/src/main.ts b/src/main.ts index 79b9489..7f63acd 100644 --- a/src/main.ts +++ b/src/main.ts @@ -1,3 +1,11 @@ +/** + * Importing this file gives arrays (`Array` and `Float32Array` instances) + * two new properties: `x` and `y`. The former refers to their 0th element, + * and the latter to their 1st. + * + * @packageDocumentation + */ + import { DrawableDescriptor } from './drawables/drawable-descriptor'; import { Insights } from './graphics/rendering/insights'; import { ContextAwareRenderer } from './graphics/rendering/renderer/context-aware-renderer'; @@ -5,15 +13,6 @@ import { Renderer } from './graphics/rendering/renderer/renderer'; import { StartupSettings } from './graphics/rendering/settings/startup-settings'; import { applyArrayPlugins } from './helper/array'; -export { Drawable } from './drawables/drawable'; -export { DrawableDescriptor } from './drawables/drawable-descriptor'; -export { CircleLight } from './drawables/lights/circle-light'; -export { Flashlight } from './drawables/lights/flashlight'; -export { Circle } from './drawables/shapes/circle'; -export { InvertedTunnel } from './drawables/shapes/inverted-tunnel'; -export { Tunnel } from './drawables/shapes/tunnel'; -export { Renderer } from './graphics/rendering/renderer/renderer'; - declare global { interface Array { x: number; @@ -28,16 +27,48 @@ declare global { applyArrayPlugins(); +/** + * Compiles a new renderer instance. There can multiple renderers on a single page. + * > Asynchronous behaviour is required for paralell shader compiling. + * > Trying to draw before the returned promise resolves results in no action taken. + * > Settings can be set before promise resolution and they will be applied later. + * + * The descriptors of every to-be-drawn objects are required before creating the renderer, + * allowing the compiler to only create the shaders that will actually be used. + * + * Example usage: + * + * ```js + * import { compile, Circle, CircleLight } from 'sdf-2d'; + * + * const canvas = document.querySelector('canvas'); + * const renderer = await compile(canvas, [Circle.descriptor, CircleLight.descriptor]); + * ``` + * + * @param canvas The returned renderer will only be able to draw to this canvas. + * @param descriptors The descriptor of every single object (and light) that + * ever needs to be drawn by this renderer has to be given before compiling. + * @param settingsOverrides Sensible defaults are provided, but these can be overriden. + * + * @category Startup + */ export async function compile( canvas: HTMLCanvasElement, descriptors: Array, settingsOverrides: Partial = {} ): Promise { - // enableContextLostSimulator(canvas); - return Insights.measureFunction('startup', async () => { const renderer = new ContextAwareRenderer(canvas, descriptors, settingsOverrides); await renderer.initializedPromise; return renderer; }); } + +export * from './drawables/drawable'; +export * from './drawables/drawable-descriptor'; +export * from './drawables/lights/circle-light'; +export * from './drawables/lights/flashlight'; +export * from './drawables/shapes/circle'; +export * from './drawables/shapes/inverted-tunnel'; +export * from './drawables/shapes/tunnel'; +export * from './graphics/rendering/renderer/renderer'; diff --git a/typedoc.json b/typedoc.json new file mode 100644 index 0000000..ee2ab50 --- /dev/null +++ b/typedoc.json @@ -0,0 +1,17 @@ +{ + "mode": "file", + "out": "docs", + "name": "SDF-2D", + "includeDeclarations": true, + "excludeExternals": true, + "excludeNotExported": true, + "excludePrivate": true, + "stripInternal": true, + "media": "media", + "includeVersion": true, + "hideGenerator": true, + "inputFiles": "src", + "ignoreCompilerErrors": true, + "listInvalidSymbolLinks": true, + "readme": "docs-source/README.md" +}