public final class MTLCommandBufferError
extends java.lang.Object
Error codes that can be found in MTLCommandBuffer.error
[@constant] MTLCommandBufferErrorInternal An internal error that doesn't fit into the other categories. The actual low level error code is encoded in the local description.
[@constant] MTLCommandBufferErrorTimeout Execution of this command buffer took too long, execution of this command was interrupted and aborted.
[@constant] MTLCommandBufferErrorPageFault Execution of this command buffer generated an unserviceable GPU page fault. This can caused by buffer read write attribute mismatch or out of boundary access.
[@constant] MTLCommandBufferErrorAccessRevoked Access to this device has been revoked because this client has been responsible for too many timeouts or hangs.
[@constant] MTLCommandBufferErrorNotPermitted This process does not have access to use this device.
[@constant] MTLCommandBufferErrorOutOfMemory Insufficient memory was available to execute this command buffer.
[@constant] MTLCommandBufferErrorInvalidResource The command buffer referenced an invalid resource. This is most commonly caused when the caller deletes a resource before executing a command buffer that refers to it.
[@constant] MTLCommandBufferErrorMemoryless One or more internal resources limits reached that prevent using memoryless render pass attachments. See error string for more detail.
[@constant] MTLCommandBufferErrorDeviceRemoved The device was physically removed before the command could finish execution
[@constant] MTLCommandBufferErrorStackOverflow Execution of the command buffer was stopped due to Stack Overflow Exception. [MTLComputePipelineDescriptor maxCallStackDepth] setting needs to be checked.
| Modifier and Type | Field and Description |
|---|---|
static long |
AccessRevoked |
static long |
Blacklisted
Deprecated.
|
static long |
Internal |
static long |
InvalidResource |
static long |
Memoryless |
static long |
None |
static long |
NotPermitted |
static long |
OutOfMemory |
static long |
PageFault |
static long |
StackOverflow |
static long |
Timeout |
public static final long None
public static final long Internal
public static final long Timeout
public static final long PageFault
public static final long Blacklisted
public static final long NotPermitted
public static final long OutOfMemory
public static final long InvalidResource
public static final long Memoryless
public static final long AccessRevoked
public static final long StackOverflow