Preparing search index...
The search index is not available
webgpu-kit
webgpu-kit
Core
ComputePipeline
Class ComputePipeline
Hierarchy
components
ComputePipeline
Index
Constructors
constructor
Properties
_device?
gpu
Pipeline?
label?
on
After
Pass
on
Before
Pass
pipeline
Descriptor
workgroup
Count
workgroup
Size
Methods
build
get
Device
set
Device
set
Label
set
On
After
Pass
set
On
Before
Pass
set
Workgroup
Count
set
Workgroup
Size
Constructors
constructor
new
Compute
Pipeline
(
options
)
:
ComputePipeline
Parameters
options
:
ComputePipelineOptions
Returns
ComputePipeline
Properties
Optional
_device
_device
?:
GPUDevice
Optional
gpu
Pipeline
gpu
Pipeline
?:
GPUComputePipeline
Optional
label
label
?:
string
on
After
Pass
on
After
Pass
:
PipelineCallback
= ...
on
Before
Pass
on
Before
Pass
:
PipelineCallback
= ...
pipeline
Descriptor
pipeline
Descriptor
:
ComputePipelineDescriptor
workgroup
Count
workgroup
Count
:
WorkgroupCount
workgroup
Size
workgroup
Size
:
WorkgroupSize
Methods
build
build
(
layout
)
:
Promise
<
void
>
Parameters
layout
:
GPUPipelineLayout
Returns
Promise
<
void
>
get
Device
get
Device
(
)
:
Promise
<
GPUDevice
>
Returns
Promise
<
GPUDevice
>
set
Device
set
Device
(
d
)
:
void
Parameters
d
:
GPUDevice
Returns
void
set
Label
set
Label
(
label
)
:
void
Parameters
label
:
string
Returns
void
set
On
After
Pass
set
On
After
Pass
(
f
)
:
void
Parameters
f
:
PipelineCallback
Returns
void
set
On
Before
Pass
set
On
Before
Pass
(
f
)
:
void
Parameters
f
:
PipelineCallback
Returns
void
set
Workgroup
Count
set
Workgroup
Count
(
count
)
:
void
Parameters
count
:
WorkgroupCount
Returns
void
set
Workgroup
Size
set
Workgroup
Size
(
size
)
:
void
Parameters
size
:
WorkgroupSize
Returns
void
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
_device
gpu
Pipeline
label
on
After
Pass
on
Before
Pass
pipeline
Descriptor
workgroup
Count
workgroup
Size
build
get
Device
set
Device
set
Label
set
On
After
Pass
set
On
Before
Pass
set
Workgroup
Count
set
Workgroup
Size
webgpu-kit
Core
Shaders
Generated using
TypeDoc