Enum gpu_descriptor::AllocationError [−][src]
pub enum AllocationError {
OutOfDeviceMemory,
OutOfHostMemory,
Fragmentation,
}Expand description
AllocationError that may occur during descriptor sets allocation.
Variants
Backend reported that device memory has been exhausted.
Deallocating device memory or other resources may increase chance
that another allocation would succeed.
Backend reported that host memory has been exhausted.
Deallocating host memory may increase chance that another allocation would succeed.
The total number of descriptors across all pools created
with flag CREATE_UPDATE_AFTER_BIND_BIT set exceeds max_update_after_bind_descriptors_in_all_pools
Or fragmentation of the underlying hardware resources occurs.
Trait Implementations
Performs the conversion.