GPUComputePipeline
class GPUComputePipeline : AutoCloseable
A GPU pipeline object responsible for the compute stage.
Summary
Public functions |
|
|---|---|
open external Unit |
close() |
open operator Boolean |
|
external GPUBindGroupLayout |
@FastNativeGets the bind group layout for a specific index in the pipeline's layout. |
open Int |
hashCode() |
external Unit |
@FastNativeSets a debug label for the compute pipeline. |
Public functions
getBindGroupLayout
Added in 1.0.0-alpha01
@FastNative
external fun getBindGroupLayout(groupIndex: Int): GPUBindGroupLayout
Gets the bind group layout for a specific index in the pipeline's layout.
| Parameters | |
|---|---|
groupIndex: Int |
The index of the bind group to get the layout for. |
| Returns | |
|---|---|
GPUBindGroupLayout |
The bind group layout. |
setLabel
Added in 1.0.0-alpha01
@FastNative
external fun setLabel(label: String): Unit
Sets a debug label for the compute pipeline.
| Parameters | |
|---|---|
label: String |
The label to assign to the compute pipeline. |