UNPKG

odin

Version:

Node.js Canvas/WebGL Javascript Game Framework

498 lines (150 loc) 7.15 kB
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>JSDoc: Class: WebGLRenderer2D</title> <script src="scripts/prettify/prettify.js"> </script> <script src="scripts/prettify/lang-css.js"> </script> <!--[if lt IE 9]> <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script> <![endif]--> <link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css"> <link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css"> </head> <body> <div id="main"> <h1 class="page-title">Class: WebGLRenderer2D</h1> <section> <header> <h2> WebGLRenderer2D </h2> </header> <article> <div class="container-overview"> <dt> <h4 class="name" id="WebGLRenderer2D"><span class="type-signature"></span>new WebGLRenderer2D<span class="signature">(Object)</span><span class="type-signature"></span></h4> </dt> <dd> <h5>Parameters:</h5> <table class="params"> <thead> <tr> <th>Name</th> <th>Type</th> <th class="last">Description</th> </tr> </thead> <tbody> <tr> <td class="name"><code>Object</code></td> <td class="type"> </td> <td class="description last">options</td> </tr> </tbody> </table> <dl class="details"> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="webgl_renderer_2d.js.html">core/rendering/webgl_renderer_2d.js</a>, <a href="webgl_renderer_2d.js.html#line79">line 79</a> </li></ul></dd> </dl> </dd> </div> <h3 class="subsection-title">Extends</h3> <ul> <li>EventEmitter</li> </ul> <h3 class="subsection-title">Methods</h3> <dl> <dt> <h4 class="name" id="render"><span class="type-signature">&lt;static> </span>render<span class="signature">(Scene, Camera)</span><span class="type-signature"></span></h4> </dt> <dd> <h5>Parameters:</h5> <table class="params"> <thead> <tr> <th>Name</th> <th>Type</th> <th class="last">Description</th> </tr> </thead> <tbody> <tr> <td class="name"><code>Scene</code></td> <td class="type"> </td> <td class="description last">scene</td> </tr> <tr> <td class="name"><code>Camera</code></td> <td class="type"> </td> <td class="description last">camera</td> </tr> </tbody> </table> <dl class="details"> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="webgl_renderer_2d.js.html">core/rendering/webgl_renderer_2d.js</a>, <a href="webgl_renderer_2d.js.html#line595">line 595</a> </li></ul></dd> </dl> </dd> <dt> <h4 class="name" id="setBlending"><span class="type-signature">&lt;static> </span>setBlending<span class="signature">(Number)</span><span class="type-signature"></span></h4> </dt> <dd> <h5>Parameters:</h5> <table class="params"> <thead> <tr> <th>Name</th> <th>Type</th> <th class="last">Description</th> </tr> </thead> <tbody> <tr> <td class="name"><code>Number</code></td> <td class="type"> </td> <td class="description last">blending</td> </tr> </tbody> </table> <dl class="details"> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="webgl_renderer_2d.js.html">core/rendering/webgl_renderer_2d.js</a>, <a href="webgl_renderer_2d.js.html#line324">line 324</a> </li></ul></dd> </dl> </dd> <dt> <h4 class="name" id="setDefaults"><span class="type-signature">&lt;static> </span>setDefaults<span class="signature">()</span><span class="type-signature"></span></h4> </dt> <dd> <dl class="details"> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="webgl_renderer_2d.js.html">core/rendering/webgl_renderer_2d.js</a>, <a href="webgl_renderer_2d.js.html#line193">line 193</a> </li></ul></dd> </dl> </dd> </dl> </article> </section> </div> <nav> <h2><a href="index.html">Index</a></h2><h3>Classes</h3><ul><li><a href="Canvas.html">Canvas</a></li><li><a href="GUIObject.html">GUIObject</a></li><li><a href="MeshFilter.html">MeshFilter</a></li><li><a href="Odin.html">Odin</a></li><li><a href="Odin.Class.html">Class</a></li><li><a href="Odin.EventEmitter.html">EventEmitter</a></li><li><a href="Odin.GameObject.html">GameObject</a></li><li><a href="Odin.Scene.html">Scene</a></li><li><a href="P2Contact.html">P2Contact</a></li><li><a href="P2Equation.html">P2Equation</a></li><li><a href="P2Friction.html">P2Friction</a></li><li><a href="P2Solver.html">P2Solver</a></li><li><a href="ParticleSystem.html">ParticleSystem</a></li><li><a href="Renderer.html">Renderer</a></li><li><a href="SpriteAnimation.html">SpriteAnimation</a></li><li><a href="WebGLRenderer.html">WebGLRenderer</a></li><li><a href="WebGLRenderer2D.html">WebGLRenderer2D</a></li></ul> </nav> <br clear="both"> <footer> Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.2</a> on Mon Feb 24 2014 16:15:48 GMT-0600 (CST) </footer> <script> prettyPrint(); </script> <script src="scripts/linenumber.js"> </script> </body> </html>