Search
Preparing search index...
The search index is not available
tinoe
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
tinoe
<internal>
default
Class default
TinoeWebGLCanvas 负责提供画布能力的webGL实现
export
Hierarchy
<internal>
.
default
default
Index
Constructors
constructor
Properties
dpr
instance
Accessors
height
width
Methods
create
destroy
resize
Constructors
constructor
new default
(
props
:
ITinoeCanvasProps
|
ITinoeCanvasInstance
)
:
<internal>
.
default
Parameters
props:
ITinoeCanvasProps
|
ITinoeCanvasInstance
Returns
<internal>
.
default
Properties
dpr
dpr
:
number
instance
instance
:
HTMLCanvasElement
Accessors
height
get
height
(
)
:
number
Returns
number
width
get
width
(
)
:
number
Returns
number
Methods
create
create
(
canvas
:
HTMLCanvasElement
|
ITinoeCanvasProps
)
:
HTMLCanvasElement
创建canvas
memberof
TinoeWebGLCanvas
Parameters
canvas:
HTMLCanvasElement
|
ITinoeCanvasProps
Returns
HTMLCanvasElement
destroy
destroy
(
)
:
void
销毁
memberof
TinoeWebGLCanvas
Returns
void
resize
resize
(
width
?:
number
, height
?:
number
, pixelRatio
?:
number
)
:
void
调整画布宽高
memberof
TinoeWebGLCanvas
Parameters
Optional
width:
number
Optional
height:
number
Optional
pixelRatio:
number
Returns
void
Exports
<internal>
Web
Assembly
default
constructor
dpr
instance
height
width
create
destroy
resize
Generated using
TypeDoc
TinoeWebGLCanvas 负责提供画布能力的webGL实现