texture.create2D#width¶
Summary¶
texture.create2D#width is the decoded image width in pixels. It remains 0 until the asynchronous upload succeeds and is retained across destroy() calls.
Syntax¶
Returns¶
number - Decoded pixel width, or 0 before upload succeeds.