texture:invalidate()

Type Function
Object TextureResourceExternal
Library graphics.*
Revision Release 2022.3683
See also TextureResourceExternal
TextureResource

Overview

Calling this function will update the texture from the source provided by a plugin.

Gotchas

This update will happen before the next frame is rendered, not immediately.

Syntax

texture:invalidate()