CPUTextureStackRequestParameters

struct in UnityEngine.Rendering.VirtualTexturing

Cambiar al Manual

Descripción

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

Variables

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.

Funciones Públicas

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