1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
mod device;
mod physical_device;

/// Errors that can happen during device creation
#[derive(Debug)]
pub enum Error {
  /// Indicates, that one or more [QueueProperties](struct.QueueProperties.html) that have been requested with [add_queue](struct.Builder.html#method.add_queue) 
  /// is not supported on the physical device
  UnsuppordetQueue,
  /// Indicates, that the vulkan 'CreateDevice' command failed. The vulkan error code is the stored in the enum's interal value.
  DeviceCreateFailed(crate::Error),
}

pub use device::device::Builder;
pub use device::device::Device;
pub use device::device::QueueProperties;
pub use device::physical_device::PhysicalDevice;