#[repr(transparent)]pub struct MTLCommandBufferError(pub NSUInteger);MTLCommandBuffer only.Expand description
Error codes that can be found in MTLCommandBuffer.error
An internal error that doesn’t fit into the other categories. The actual low level error code is encoded in the local description.
Execution of this command buffer took too long, execution of this command was interrupted and aborted.
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.
Access to this device has been revoked because this client has been responsible for too many timeouts or hangs.
This process does not have access to use this device.
Insufficient memory was available to execute this command buffer.
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.
One or more internal resources limits reached that prevent using memoryless render pass attachments. See error string for more detail.
The device was physically removed before the command could finish execution
Execution of the command buffer was stopped due to Stack Overflow Exception. [MTLComputePipelineDescriptor maxCallStackDepth] setting needs to be checked.
See also Apple’s documentation
Tuple Fields§
§0: NSUIntegerImplementations§
Source§impl MTLCommandBufferError
impl MTLCommandBufferError
pub const None: Self
pub const Internal: Self
pub const Timeout: Self
pub const PageFault: Self
pub const Blacklisted: Self
pub const AccessRevoked: Self
pub const NotPermitted: Self
pub const OutOfMemory: Self
pub const InvalidResource: Self
pub const Memoryless: Self
pub const DeviceRemoved: Self
pub const StackOverflow: Self
Trait Implementations§
Source§impl Clone for MTLCommandBufferError
impl Clone for MTLCommandBufferError
Source§fn clone(&self) -> MTLCommandBufferError
fn clone(&self) -> MTLCommandBufferError
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more