GPURenderPipeline


class GPURenderPipeline : AutoCloseable


A GPU pipeline object responsible for the vertex and fragment stages.

Summary

Public functions

open external Unit
open operator Boolean
equals(other: Any?)
external GPUBindGroupLayout

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

open Int
external Unit

Sets a debug label for the render pipeline.

Public properties

Long

Public functions

close

Added in 1.0.0-alpha01
open external fun close(): Unit

equals

open operator fun equals(other: Any?): Boolean

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.

hashCode

open fun hashCode(): Int

setLabel

Added in 1.0.0-alpha01
@FastNative
external fun setLabel(label: String): Unit

Sets a debug label for the render pipeline.

Parameters
label: String

The label to assign to the render pipeline.

Public properties

handle

Added in 1.0.0-alpha01
val handleLong