La carga asíncrona de la textura proporciona la subida asíncrona de la textura del tiempo segmentado en el hilo de la renderización con control apretado sobre memoria y timelicing. No hay asignaciones excepto las que el controlador tiene que hacer. Para leer los datos y cargar los datos de textura se vuelve a utilizar un ringbuffer cuyo tamaño se puede controlar es re-utilizado.
Use asyncUploadBufferSize to set the buffer size for asynchronous texture uploads. The size is in megabytes. Minimum value is 2 and maximum is 512. Although the buffer will resize automatically to fit the largest texture currently loading, it is recommended to set the value approximately to the size of biggest texture used in the Scene to avoid re-sizing of the buffer which can incur performance cost.
See Also: Asynchronous Texture Upload, Quality Settings.
using UnityEngine;
public class StartupExampleScript : MonoBehaviour { void Start() { // Set Ring Buffer Size to 16 MB. QualitySettings.asyncUploadBufferSize = 16; } }
See Also: Quality Settings.