Search
Preparing search index...
The search index is not available
@0b5vr/experimental
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
@0b5vr/experimental
GPUTimer
Class GPUTimer
Hierarchy
GPUTimer
Index
Constructors
constructor
Properties
__loop
Tasks
ext
gl
queries
stack
Methods
check
measure
update
is
Supported
Constructors
constructor
new GPUTimer
(
gl
:
WebGL2RenderingContext
)
:
GPUTimer
Parameters
gl:
WebGL2RenderingContext
Returns
GPUTimer
Properties
Private
__loop
Tasks
__loop
Tasks
:
Set
<
(
)
=>
void
>
ext
ext
:
any
Readonly
gl
gl
:
WebGL2RenderingContext
queries
queries
:
Pool
<
WebGLQuery
>
stack
stack
:
Promise
<
number
>
[]
Methods
check
check
(
query
:
WebGLQuery
)
:
Promise
<
number
>
Parameters
query:
WebGLQuery
Returns
Promise
<
number
>
measure
measure
(
func
:
(
)
=>
void
)
:
Promise
<
number
>
Parameters
func:
(
)
=>
void
(
)
:
void
Returns
void
Returns
Promise
<
number
>
update
update
(
)
:
void
Returns
void
Static
is
Supported
is
Supported
(
gl
:
WebGLRenderingContext
|
WebGL2RenderingContext
)
:
boolean
Parameters
gl:
WebGLRenderingContext
|
WebGL2RenderingContext
Returns
boolean
Exports
GPUTimer
constructor
__loop
Tasks
ext
gl
queries
stack
check
measure
update
is
Supported
Generated using
TypeDoc