GPUComputePipeline


public final class GPUComputePipeline implements AutoCloseable


A GPU pipeline object responsible for the compute stage.

Summary

Public methods

external void
boolean
equals(Object other)
final external @NonNull GPUBindGroupLayout

Gets the bind group layout for a specific index in the pipeline's layout.

final long
int
final external void

Sets a debug label for the compute pipeline.

Public methods

close

Added in 1.0.0-alpha01
public external void close()

equals

public boolean equals(Object other)

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.

getHandle

Added in 1.0.0-alpha01
public final long getHandle()

hashCode

public int hashCode()

setLabel

Added in 1.0.0-alpha01
@FastNative
public final external void setLabel(@NonNull String label)

Sets a debug label for the compute pipeline.

Parameters
@NonNull String label

The label to assign to the compute pipeline.