Preparing search index...
The search index is not available
kokomi.js
kokomi.js
GPUComputer
Class GPUComputer
An encapsuled class for
GPUComputationRenderer
Hierarchy (
view full
)
Component
GPUComputer
Index
Constructors
constructor
Properties
base
container
emitter
gpu
uj
Methods
add
Existing
create
Texture
create
Variable
emit
get
Variable
Rt
init
off
on
set
Variable
Dependencies
update
Constructors
constructor
new GPUComputer
(
base
,
config
?
)
:
GPUComputer
Parameters
base
:
Base
config
:
Partial
<
GPUComputerConfig
>
= {}
Returns
GPUComputer
Properties
base
base
:
Base
container
container
:
Scene
emitter
emitter
:
Emitter
<
any
>
gpu
gpu
:
GPUComputationRenderer
uj
uj
:
UniformInjector
Methods
add
Existing
add
Existing
(
)
:
void
Returns
void
create
Texture
create
Texture
(
)
:
DataTexture
Returns
DataTexture
create
Variable
create
Variable
(
name
,
computeShader
,
texture
,
uniforms
)
:
Variable
Parameters
name
:
string
computeShader
:
string
texture
:
DataTexture
uniforms
:
{
[
uniform
:
string
]
:
THREE.IUniform
;
}
[
uniform
:
string
]:
THREE.IUniform
Returns
Variable
emit
emit
(
type
,
event
?
)
:
void
Parameters
type
:
string
event
:
any
= {}
Returns
void
get
Variable
Rt
get
Variable
Rt
(
variable
)
:
Texture
Parameters
variable
:
Variable
Returns
Texture
init
init
(
)
:
void
Returns
void
off
off
(
type
,
handler
)
:
void
Parameters
type
:
string
handler
:
any
Returns
void
on
on
(
type
,
handler
)
:
void
Parameters
type
:
string
handler
:
any
Returns
void
set
Variable
Dependencies
set
Variable
Dependencies
(
variable
,
dependencies
)
:
void
Parameters
variable
:
Variable
dependencies
:
null
|
Variable
[]
Returns
void
update
update
(
time
)
:
void
Parameters
time
:
number
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
base
container
emitter
gpu
uj
Methods
add
Existing
create
Texture
create
Variable
emit
get
Variable
Rt
init
off
on
set
Variable
Dependencies
update
kokomi.js
Loading...
An encapsuled class for
GPUComputationRenderer