Preparing search index...
The search index is not available
mini-gpu
mini-gpu
ComputeProgram
Class ComputeProgram
Hierarchy
Program
ComputeProgram
Implements
ComputableInterface
Index
Constructors
constructor
Properties
_inputs
count
device
inputs
Keys
pipeline
shader
workgroup
Size
Accessors
inputs
Methods
get
Bind
Group
Layouts
get
Commands
get
Input
get
Wgsl
Chunk
set
Bind
Groups
set
Input
Constructors
constructor
new
Compute
Program
(
device
,
shader
,
_inputs
,
count
,
workgroupSize
)
:
ComputeProgram
Parameters
device
:
GPUDevice
shader
:
string
_inputs
:
{
[
key
:
string
]
:
ProgramInputInterface
;
}
[
key
:
string
]:
ProgramInputInterface
count
:
number
workgroupSize
:
number
Returns
ComputeProgram
Properties
Protected
_inputs
_inputs
:
{
[
key
:
string
]
:
ProgramInputInterface
;
}
Type declaration
[
key
:
string
]:
ProgramInputInterface
count
count
:
number
Private
device
device
:
GPUDevice
Protected
inputs
Keys
inputs
Keys
:
string
[]
pipeline
pipeline
:
GPUComputePipeline
shader
shader
:
string
Private
workgroup
Size
workgroup
Size
:
number
Accessors
inputs
get
inputs
(
)
:
{
[
key
:
string
]
:
ProgramInputInterface
;
}
Returns
{
[
key
:
string
]
:
ProgramInputInterface
;
}
[
key
:
string
]:
ProgramInputInterface
set
inputs
(
newInputs
)
:
void
Parameters
newInputs
:
{
[
key
:
string
]
:
ProgramInputInterface
;
}
[
key
:
string
]:
ProgramInputInterface
Returns
void
Methods
get
Bind
Group
Layouts
get
Bind
Group
Layouts
(
)
:
GPUBindGroupLayout
[]
Returns
GPUBindGroupLayout
[]
get
Commands
get
Commands
(
computePass
)
:
void
Parameters
computePass
:
GPUComputePassEncoder
Returns
void
get
Input
get
Input
(
key
)
:
ProgramInputInterface
Parameters
key
:
string
Returns
ProgramInputInterface
get
Wgsl
Chunk
get
Wgsl
Chunk
(
)
:
string
Returns
string
set
Bind
Groups
set
Bind
Groups
(
computePass
)
:
void
Parameters
computePass
:
GPUComputePassEncoder
Returns
void
set
Input
set
Input
(
key
,
input
)
:
void
Parameters
key
:
string
input
:
ProgramInputInterface
Returns
void
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
_inputs
count
device
inputs
Keys
pipeline
shader
workgroup
Size
inputs
get
Bind
Group
Layouts
get
Commands
get
Input
get
Wgsl
Chunk
set
Bind
Groups
set
Input
mini-
gpu
Buffer
Input
Camera
Clock
Compute
Program
Computer
Geometry
Orbit
Controls
Ping
Pong
Buffer
Input
Ping
Pong
Texture
Input
Render
Program
Renderer
Spherical
Structured
Float32
Array
Texture
Loader
Uniforms
Input
Computable
Interface
Program
Input
Interface
Renderable
Interface
TGeometry
Args
TOrbit
Controls
Options
TSpherical
TStructured
Float32
Array
Accepted
Types
TStructured
Float32
Array
Member
Meta
TStructured
Float32
Array
Structure
TVec3
Helpers
Generated using
TypeDoc