GPURenderPipeline
public final class GPURenderPipeline implements AutoCloseable
A GPU pipeline object responsible for the vertex and fragment stages.
Summary
Public methods |
|
|---|---|
external void |
close() |
boolean |
|
final external @NonNull GPUBindGroupLayout |
@FastNativeGets the bind group layout for a specific index in the pipeline's layout. |
final long |
|
int |
hashCode() |
final external void |
@FastNativeSets a debug label for the render pipeline. |
Public methods
getBindGroupLayout
Added in 1.0.0-alpha01
@FastNative
public final external @NonNull GPUBindGroupLayout getBindGroupLayout(int groupIndex)
Gets the bind group layout for a specific index in the pipeline's layout.
| Parameters | |
|---|---|
int groupIndex |
The index of the bind group to get the layout for. |
| Returns | |
|---|---|
@NonNull GPUBindGroupLayout |
The bind group layout. |
setLabel
Added in 1.0.0-alpha01
@FastNative
public final external void setLabel(@NonNull String label)
Sets a debug label for the render pipeline.