Version: 2020.3

CPUTextureStackRequestLayerParameters

struct in UnityEngine.Rendering.VirtualTexturing

切换到手册

描述

Per-layer properties of a ProceduralTextureRequest.

变量

mipScanlineSizeDatasize (in bytes) of a single scanline of the tile's lower-resolution mip data for this layer, used for trilinear filtering.
requiresCachedMipIndicates that this request needs both the actual tile data as well as the corresponding data at the next lower-resolution mip.
scanlineSizeDatasize (in bytes) of a single scanline of the tile data for this layer.

公共函数

GetDataGet a reference to the tile layer data to write texture data to.
GetMipDataGet a reference to the tile layer mip date to write texture data to.