Version: 2023.1
LanguageEnglish
  • C#

XRMirrorViewBlitDesc

struct in UnityEngine.XR

/

Implemented in:UnityEngine.XRModule

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

All information in this struct describes the desired mirror view blit operation.

And XRMirrorViewBlitDesc can contain more than one XRBlitParams (describes exactly one blit operation). The render pipeline can query each child XRBlitParams via GetBlitParameter. XRMirrorViewBlitDesc is typically consumed by a scriptable rendering pipeline.

Properties

blitParamsCountThe number of XRBlitParams entries for this XRMirrorViewBlitDesc.
nativeBlitAvailableWhen this is true, the current display subsystem supports native blit and AddGraphicsThreadMirrorViewBlit must be called to perform native blit.
nativeBlitInvalidStatesWhen this is true, display subsystem will modifiy the graphics state.

Public Methods

GetBlitParameterGets an XRBlitParams for a specific XRMirrorViewBlitDesc.