GPUHardwareBufferExternalTexture


@ExperimentalWebGpuApi
class GPUHardwareBufferExternalTexture : GPUHardwareBufferWrapper


Summary

Public constructors

GPUHardwareBufferExternalTexture(
    handle: Long,
    externalTexture: GPUExternalTexture
)

Public functions

open Unit

Inherited functions

From androidx.webgpu.GPUHardwareBufferWrapper
Unit

Begins access to the hardware buffer, passing any wait fences to the native layer.

GPUSyncFence?

Ends access to the hardware buffer, returning a signal fence from the native layer.

external Unit
nativeBeginAccess(handle: Long, fences: IntArray?)
external Unit
external Int

Public constructors

GPUHardwareBufferExternalTexture

Added in 1.0.0-alpha06
GPUHardwareBufferExternalTexture(
    handle: Long,
    externalTexture: GPUExternalTexture
)

Public functions

close

open fun close(): Unit

Public properties

externalTexture

Added in 1.0.0-alpha06
val externalTexture: GPUExternalTexture