Class XRCpuImageAsyncConversionStatusExtensions
Extension methods for the XRCpuImage.AsyncConversionStatus enum.
Inherited Members
Namespace: UnityEngine.XR.ARSubsystems
Assembly: Unity.XR.ARSubsystems.dll
Syntax
public static class XRCpuImageAsyncConversionStatusExtensions
Methods
IsDone(AsyncConversionStatus)
Whether the request has completed. It might have completed with an error or be an invalid or disposed request. See IsError(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 |
---|---|
bool |
|
IsError(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 |
---|---|
bool |
|