Version: 2023.1

XRBlitParams

struct in UnityEngine.XR

切换到手册

描述

此结构保存单个 blit 操作的数据。

变量

destRect要作为 blit 操作目标的目标矩形区域。
foveatedRenderingInfoA pointer to a native struct containing platform-specific data for foveated rendering.
srcHdrColorGamutThe ColorGamut of the source texture if srcHdrEncoded is true.
srcHdrEncodedSpecifies whether the source texture is encoded for use with an HDR display and might require decoding during the blit process.
srcHdrMaxLuminanceThe maximum luminance in nits of the encoding used for the source texture if srcHdrEncoded is true.
srcRect要作为 blit 操作源的源矩形区域。
srcTex要作为 blit 操作源的源渲染纹理。
srcTexArraySlice描述源纹理所需的数组切片。Texture2D 将具有数组切片 1。