texture

abstract val texture: GpuTexture(source)

The externally owned texture from the current Minecraft GPU device, borrowed on the render thread.

Its identity, extent, and pixels must remain stable until this lease closes after capture completion. The adapter validates its format and sampling capabilities before issuing source sampling work.