Version: 2022.1
言語: 日本語

Texture.streamingTexturePendingLoadCount

マニュアルに切り替える
public static ulong streamingTexturePendingLoadCount ;

説明

Number of streaming Textures with outstanding mipmaps to be loaded.

When adding a new camera it can take a few frames to detect which new Textures need to be loaded. Therefore this value can't be relied upon immediately. If any objects move or the camera moves then this value will change so it's not guaranteed to drop to zero. When implementing camera cuts it is recommended you have a minimum time to allow mipmap levels to be calculated and maximum time to wait before doing the cut. This property can be used with a value between the min and max time in order to cut earlier if the mipmaps are loaded in time.

The minimum time is dependent on the number of renderers in the Scene and the number that are processed each frame. A minimum frame delay can be calculated as (Texture.streamingRendererCount + (QualitySettings.streamingMipmapsRenderersPerFrame-1)) / QualitySettings.streamingMipmapsRenderersPerFrame. The maximum time should be an acceptable delay to a user. E.g. 0.5 seconds (or 30 frames at 60Hz).

See Also: Texture.streamingRendererCount, QualitySettings.streamingMipmapsRenderersPerFrame, Texture.streamingTextureLoadingCount

Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961