Aller au contenu

GPUSampler

A GPUSampler encodes transformations and filtering information that can be used in a shader to interpret texture resource data.

Properties

label

abstract var label: String
A developer-provided label which is used in an implementation-defined way. It can be used by the browser, OS, or other tools to help identify the underlying internal object to the developer. Examples include displaying the label in GPUError messages, console warnings, browser developer tools, and platform debugging utilities.

Functions

close

expect abstract fun close()