Version: 2020.2
언어: 한국어
public void RequestRegion (Rect r, int mipMap, int numMips);

파라미터

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

설명

Make a rectangle in UV space resident for a given stack.

The system will do it’s best to make this rectangle resident at the requested resolution as fast as possible but due to time and memory constraints this data may take a while to become resident or even never become resident. This function should be called regularly (preferably every frame) to indicate the continued interest in this data. When this function is no longer called the requested area may be evicted from memory or only be available at a lower resolution.

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