CreateComputePipelineAsyncCallback


fun interface CreateComputePipelineAsyncCallback


Summary

Public functions

Unit
onCreateComputePipelineAsync(
    status: Int,
    message: String,
    pipeline: GPUComputePipeline?
)

A callback function invoked upon the completion of asynchronous compute pipeline creation.

Public functions

onCreateComputePipelineAsync

Added in 1.0.0-alpha01
fun onCreateComputePipelineAsync(
    status: Int,
    message: String,
    pipeline: GPUComputePipeline?
): Unit

A callback function invoked upon the completion of asynchronous compute pipeline creation.

Parameters
status: Int

The status of the asynchronous compute pipeline creation.

message: String

A human-readable message providing context on the status.

pipeline: GPUComputePipeline?

The created compute pipeline object on success.