Structure

MTLCounterSampleBufferError

Errors returned by Metal for counter sampling errors.

Declaration

struct MTLCounterSampleBufferError

Topics

Error Identification

var errorCode: Int

The error code that can result from a counter sampling request.

var errorUserInfo: [String : Any]

The user information dictionary.

var localizedDescription: String

A string containing the localized description of the error.

Errors

static var outOfMemory: MTLCounterSampleBufferError.Code

The counter sampler ran out of memory.

enum MTLCounterSampleBufferError.Code

Constants for error codes returned by Metal for counter sampling errors.

static var errorDomain: String

The error domain used by Metal when returning counter sampling errors.

Equality

static func != (MTLCounterSampleBufferError, MTLCounterSampleBufferError) -> Bool

Returns a Boolean value indicating whether two counter sampling errors are not equal.

See Also

Error Handling

enum MTLCounterSampleBufferError.Code

Constants for error codes returned by Metal for counter sampling errors.

let MTLCounterErrorDomain: String

The error domain for counter errors.

var MTLCounterErrorValue: UInt64

A value in a counter sample indicating that this counter does not contain valid information.