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.