gravitron 0.1.2

A GameEngine based on an ECS and Vulkan
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use thiserror::Error;

#[derive(Error, Debug)]
pub(crate) enum QueueFamilyMissingError {
  #[error("No graphics queue family found")]
  Graphics,
  #[error("No compute queue family found")]
  Compute,
  #[error("No transfer queue family found")]
  Transfer,
}

#[derive(Error, Debug)]
pub(crate) enum RendererInitError {
  #[error("No surface formats found")]
  FormatMissing,
}