Playground
Docs
Typedoc
Typedoc API Docs
Examples
Docs
Basic CodePen
Romania map
NPM
GitHub
Preparing search index...
Class Svg2GPU
Index
Constructors
constructor
Properties
ready
Methods
compile
update
render
resize
destroy
get
Scene
get
Stats
Constructors
constructor
new
Svg2GPU
(
rootElementId
:
string
,
options
:
Svg2GPUOptions
)
:
Svg2GPU
Parameters
rootElementId
:
string
options
:
Svg2GPUOptions
Returns
Svg2GPU
Properties
Readonly
ready
ready
:
Promise
<
void
>
Methods
Static
compile
compile
(
svgString
:
string
,
options
?:
Svg2GPUCompileOptions
)
:
GpuScene
Parameters
svgString
:
string
options
:
Svg2GPUCompileOptions
= {}
Returns
GpuScene
update
update
(
svgString
:
string
)
:
Promise
<
void
>
Parameters
svgString
:
string
Returns
Promise
<
void
>
render
render
()
:
void
Returns
void
resize
resize
()
:
void
Returns
void
destroy
destroy
()
:
void
Returns
void
get
Scene
getScene
()
:
GpuScene
|
null
Returns
GpuScene
|
null
get
Stats
getStats
()
:
GpuSceneStats
|
null
Returns
GpuSceneStats
|
null
On This Page
Constructors
constructor
Properties
ready
Methods
compile
update
render
resize
destroy
get
Scene
get
Stats
Examples
Docs
Basic CodePen
Romania map
NPM
GitHub
Typedoc API Docs
Loading...