Preparing search index...
The search index is not available
webgpu-kit
webgpu-kit
Core
RenderPipeline
Class RenderPipeline
Hierarchy
components
RenderPipeline
Index
Constructors
constructor
Properties
_device?
clear
Color?
gpu
Pipeline?
label?
on
After
Pass
on
Before
Pass
pipeline
Descriptor
Methods
build
get
Device
set
Clear
Color
set
Device
set
Label
set
On
After
Pass
set
On
Before
Pass
Constructors
constructor
new
Render
Pipeline
(
options
)
:
RenderPipeline
Parameters
options
:
RenderPipelineOptions
Returns
RenderPipeline
Properties
Optional
_device
_device
?:
GPUDevice
Optional
clear
Color
clear
Color
?:
GPUColor
= ...
Optional
gpu
Pipeline
gpu
Pipeline
?:
GPURenderPipeline
Optional
label
label
?:
string
on
After
Pass
on
After
Pass
:
PipelineCallback
= ...
on
Before
Pass
on
Before
Pass
:
PipelineCallback
= ...
pipeline
Descriptor
pipeline
Descriptor
:
RenderPipelineDescriptor
Methods
build
build
(
layout
,
buffers
)
:
Promise
<
void
>
Parameters
layout
:
GPUPipelineLayout
buffers
:
GPUVertexBufferLayout
[]
Returns
Promise
<
void
>
get
Device
get
Device
(
)
:
Promise
<
GPUDevice
>
Returns
Promise
<
GPUDevice
>
set
Clear
Color
set
Clear
Color
(
color
?
)
:
void
Parameters
Optional
color
:
GPUColor
Returns
void
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
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
_device
clear
Color
gpu
Pipeline
label
on
After
Pass
on
Before
Pass
pipeline
Descriptor
build
get
Device
set
Clear
Color
set
Device
set
Label
set
On
After
Pass
set
On
Before
Pass
webgpu-kit
Core
Shaders
Generated using
TypeDoc