Version: 2021.3
언어: 한국어

Procedural<T0>

class in UnityEngine.Rendering.VirtualTexturing

매뉴얼로 전환

설명

Procedural virtual texturing stack.

This class represents a virtual texture stack for procedural evaluation.

정적 변수

AllMipsSpecify all mipmaps starting from the 'mipMap' argument, for use with the Invalidate and MakeResident functions.
borderSizeSize of the border around each tile.

생성자

Procedural.TextureStackBase_1Create a new ProceduralTextureStack.

Public 함수

BindGloballyTry to bind the texture stack globally for all shaders.
BindToMaterialTry to bind this texture stack to a Material so it can be used for sampling the VT.
BindToMaterialPropertyBlockTry to bind this texture stack to a MaterialPropertyBlock so it can be used for sampling the VT.
DisposeDisposes this object.
EvictRegionEvict 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.
InvalidateRegionInvalidate the data in the specified rectangle causing it to be procedurally re-generated. Any existing data will continue to be used while the new data is being re-generated. Use this method to cause re-generation of data in interactive applications like painting.
IsValidCheck if a texture stack is valid.
PopRequestsGet the active requests for this stack that were not previously popped from the internal request queue.
RequestRegionMake a rectangle in UV space resident for a given stack.
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961