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
boolean
equals(Object other)
final long
int
final external void

Sets a debug label for the sampler.

Public methods

close

Added in 1.0.0-alpha01
public external void close()

equals

public boolean equals(Object other)

getHandle

Added in 1.0.0-alpha01
public final long getHandle()

hashCode

public int hashCode()

setLabel

Added in 1.0.0-alpha01
@FastNative
public final external void setLabel(@NonNull String label)

Sets a debug label for the sampler.

Parameters
@NonNull String label

The label to assign to the sampler.