CPUTextureStackRequestParameters

struct in UnityEngine.Rendering.VirtualTexturing

/

Implemented in:UnityEngine.VirtualTexturingModule

Description

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

Properties

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.

Public Methods

CopyPixelDataToLayerUtility function to copy an array of pixels to a given layer.
GetLayerGet the request properties of one of the requested layers.

Did you find this page useful? Please give it a rating: