Class XRCpuImageAsyncConversionStatusExtensions
Extension methods for the XRCpuImage.AsyncConversionStatus enum.
Inherited Members
Namespace: UnityEngine.XR.ARSubsystems
Syntax
public static class XRCpuImageAsyncConversionStatusExtensions
Methods
IsDone(XRCpuImage.AsyncConversionStatus)
Whether the request has completed. It might have completed with an error or be an invalid or disposed request. See IsError(XRCpuImage.AsyncConversionStatus).
Declaration
public static bool IsDone(this XRCpuImage.AsyncConversionStatus status)
Parameters
Type | Name | Description |
---|---|---|
XRCpuImage.AsyncConversionStatus | status | The XRCpuImage.AsyncConversionStatus being extended. |
Returns
Type | Description |
---|---|
Boolean |
|
IsError(XRCpuImage.AsyncConversionStatus)
Whether the request status represents an error. If the request has been disposed, IsError
will be true
.
Declaration
public static bool IsError(this XRCpuImage.AsyncConversionStatus status)
Parameters
Type | Name | Description |
---|---|---|
XRCpuImage.AsyncConversionStatus | status | The XRCpuImage.AsyncConversionStatus being extended. |
Returns
Type | Description |
---|---|
Boolean |
|