Version: 2020.1

CPUTextureStackRequestParameters

struct in UnityEngine.Rendering.VirtualTexturing

切换到手册

描述

A single procedural virtual texture tile generation request, to be filled in CPU memory.

变量

heightHeight of the requested rectangle.
levelMiplevel of the requested rectangle.
numLayersNumber of layers inside the request.
widthWidth of the requested rectangle.
xX offset of the requested rectangle.
yY offset of the requested rectangle.

公共函数

CopyPixelDataToLayerUtility function to copy an array of pixels to a given layer.
GetLayerGet the request properties of one of the requested layers.
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961