Enum vulkano::device::DeviceCreationError
source · [−]pub enum DeviceCreationError {
InitializationFailed,
TooManyObjects,
DeviceLost,
FeatureNotPresent,
ExtensionNotPresent,
TooManyQueuesForFamily,
PriorityOutOfRange,
OutOfHostMemory,
OutOfDeviceMemory,
ExtensionRestrictionNotMet(ExtensionRestrictionError),
FeatureRestrictionNotMet(FeatureRestrictionError),
}
Expand description
Error that can be returned when creating a device.
Variants
InitializationFailed
Failed to create the device for an implementation-specific reason.
TooManyObjects
You have reached the limit to the number of devices that can be created from the same physical device.
DeviceLost
Failed to connect to the device.
FeatureNotPresent
Some of the requested features are unsupported by the physical device.
ExtensionNotPresent
Some of the requested device extensions are not supported by the physical device.
TooManyQueuesForFamily
Tried to create too many queues for a given family.
PriorityOutOfRange
The priority of one of the queues is out of the [0.0; 1.0] range.
OutOfHostMemory
There is no memory available on the host (ie. the CPU, RAM, etc.).
OutOfDeviceMemory
There is no memory available on the device (ie. video memory).
ExtensionRestrictionNotMet(ExtensionRestrictionError)
A restriction for an extension was not met.
FeatureRestrictionNotMet(FeatureRestrictionError)
A restriction for a feature was not met.
Trait Implementations
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for DeviceCreationError
impl Send for DeviceCreationError
impl Sync for DeviceCreationError
impl Unpin for DeviceCreationError
impl UnwindSafe for DeviceCreationError
Blanket Implementations
Mutably borrows from an owned value. Read more
Builds a pointer to this type from a raw pointer.
Returns true if the size is suitable to store a type like this.
Returns the size of an individual element.