GPUTextureView


public final class GPUTextureView implements AutoCloseable

A view into a texture, defining a specific sub-resource or reinterpretation of the texture's data.

Summary

Public methods

close

Added in 1.0.0-alpha06
public external void close()

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.

equals

public boolean equals(Object other)

getHandle

Added in 1.0.0-alpha06
public final long getHandle()

hashCode

public int hashCode()

setLabel

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

Sets a human-readable label for debugging.