texture:invalidate()

Type Function
Object TextureResourceExternal
Library graphics.*
Revision 2018.3435
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()