Enum XrSpatialReferenceImageFormatEXT
Identifies a reference image format supported by the runtime for image tracking.
Provided by XR_EXT_spatial_image_tracking.
Namespace: UnityEngine.XR.OpenXR.NativeTypes
Assembly: Unity.XR.OpenXR.dll
Syntax
public enum XrSpatialReferenceImageFormatEXT
Remarks
A runtime that supports XR_EXT_spatial_image_tracking is required to enumerate at least
RGBA_8888 and RGB_888.
Fields
| Name | Description |
|---|---|
| RGBA_8888 | Four-channel 8-bit-per-channel red/green/blue/alpha. Always supported.
Equivalent to the OpenXR value |
| RGB_888 | Three-channel 8-bit-per-channel red/green/blue. Always supported.
Equivalent to the OpenXR value |
| YUV_420_888 | Planar YUV 4:2:0 with 8 bits per channel. May not be supported.
Equivalent to the OpenXR value |