Search
Preparing search index...
The search index is not available
magic-pixels
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
magic-pixels
Renderer
Class Renderer
Hierarchy
Renderer
Index
Constructors
constructor
Properties
canvas
gl
pixel
Ratio
Methods
dispose
render
set
Pixel
Ratio
set
Size
Constructors
constructor
new
Renderer
(
canvas
:
HTMLCanvasElement
)
:
Renderer
Parameters
canvas:
HTMLCanvasElement
Returns
Renderer
Properties
canvas
canvas
:
HTMLCanvasElement
gl
gl
:
WebGLRenderingContext
pixel
Ratio
pixel
Ratio
:
number
= 1
Methods
dispose
dispose
(
)
:
void
Returns
void
render
render
(
scene
:
Mesh
[]
)
:
Renderer
Parameters
scene:
Mesh
[]
Returns
Renderer
set
Pixel
Ratio
set
Pixel
Ratio
(
pixelRatio
:
number
)
:
Renderer
Parameters
pixelRatio:
number
Returns
Renderer
set
Size
set
Size
(
width
:
number
, height
:
number
)
:
Renderer
Parameters
width:
number
height:
number
Returns
Renderer
Exports
Mat2
Mat3
Mat4
Renderer
constructor
canvas
gl
pixel
Ratio
dispose
render
set
Pixel
Ratio
set
Size
Generated using
TypeDoc