GPUSampler
public final class GPUSampler implements AutoCloseable
Defines how a texture is sampled (filtering, addressing modes, LOD, etc.) in a shader.
Summary
Public methods |
|
|---|---|
external void |
close() |
boolean |
|
final long |
|
int |
hashCode() |
final external void |
@FastNativeSets a debug label for the sampler. |
Public methods
setLabel
Added in 1.0.0-alpha01
@FastNative
public final external void setLabel(@NonNull String label)
Sets a debug label for the sampler.