GPUSampler


class GPUSampler : AutoCloseable


Defines how a texture is sampled (filtering, addressing modes, LOD, etc.) in a shader.

Summary

Public functions

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

Sets a debug label for the sampler.

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

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 sampler.

Parameters
label: String

The label to assign to the sampler.

Public properties

handle

Added in 1.0.0-alpha01
val handleLong