This version of Unity is unsupported.

CPUTextureStackRequestLayerParameters

struct in UnityEngine.Rendering.VirtualTexturing

/

Implemented in:UnityEngine.VirtualTexturingModule

Description

Per-layer properties of a ProceduralTextureRequest.

Properties

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.

Public Methods

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.