Version: 2021.2
LanguageEnglish
  • C#

CPUTextureStackRequestLayerParameters

struct in UnityEngine.Rendering.VirtualTexturing

/

Implemented in:UnityEngine.VirtualTexturingModule

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

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.