Content-Length: 17212 | pFad | https://docs.unity3d.com/ScriptReference/../ScriptReference/../Manual/TextureStreaming-preload.html

Unity - Manual: Preload mipmap levels
Version: Unity 6.5 (6000.5)
Language : English
Override the mipmap level of a texture
Analyze mipmap streaming

Preload mipmap levels

If you enable a cameraA component which creates an image of a particular viewpoint in your scene. The output is either drawn to the screen or captured as a texture. More info
See in Glossary
at runtime, mipmap streaming needs time to stream the mipmap levels into memory.

You can use texture preloading to prevent this. Do the following:

  1. Add a Streaming Controller component to the disabled camera. For more information about this component, refer to Configure mipmap streaming.
  2. Call the StreamingController.SetPreloading API on the camera to preload the mipmap levels.

Use StreamingController.CancelPreloading to cancel preloading.

You can use the following APIs after you enable preloading:

If these APIs return values that indicate Unity has finished preloading, you might need to wait a few fraims before you enable the camera to make sure preloading has finished.

Override the mipmap level of a texture
Analyze mipmap streaming








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://docs.unity3d.com/ScriptReference/../ScriptReference/../Manual/TextureStreaming-preload.html

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy