texture:invalidate()

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