Async

class Async

A texture whose mipmap levels asyncCreate leaves to transcode and upload.

Properties

Link copied to clipboard

The texture, created synchronously by asyncCreate.

Functions

Link copied to clipboard

Transcodes all miplevels into a staging area; safe to call from a background thread.

Link copied to clipboard

Uploads the miplevels transcoded so far; safe while doTranscoding still runs in another thread. Call it from the foreground thread (it calls Texture.setImage).