Version: 2021.1
言語: 日本語
public void EvictRegion (Rect r, int mipMap, int numMips);

パラメーター

r The rectangle in 0-1 UV space to evict. Anything outside the [ 0...1 [ x [ 0...1 [ rectangle will be silently ignored.
mipMap The miplevel to evict. Mips are numbered from 0 (= full resolution) to n (= lowest resolution) where n is the mipmap level what is a single tile in size. Invalid mips are silently ignored.
numMips The number of miplevels starting from 'mipMap' to evict. Invalid mips are silently ignored.

説明

Evict the data in the specified rectangle causing it to be procedurally re-generated. The data will become unavailable immediately causing lower resolution fallback textures to be used in the mean time. Use this method to immediately free up memory for other VT tiles when data will not be needed in the near future.

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