GPUExternalTexture


class GPUExternalTexture : AutoCloseable


Summary

Public functions

open external Unit

Decrements the reference count of the object and frees resources when the count reaches zero.

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

Public properties

Long

Public functions

close

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

Decrements the reference count of the object and frees resources when the count reaches zero.

This is the standard way to manage object lifetimes and should be used in use blocks. After calling this, the object is no longer usable.

destroy

Added in 1.0.0-alpha06
@ExperimentalWebGpuApi
@FastNative
external fun destroy(): Unit

equals

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

hashCode

open fun hashCode(): Int

setLabel

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

Public properties

handle

Added in 1.0.0-alpha06
val handle: Long