Version: 2021.1
言語: 日本語
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.