crystal-api 0.0.1

Crystal API is a unified GPU API's wrapper
Documentation
crystal-api-0.0.1 has been yanked.

Crystal API

Crystal API is a sub-high level graphics wrapper for graphics API. Currently in WIP stage, but usable for now.

Features:

  • Vulkan API support
  • Synchronized in-frame and out-of-frame compute operations
  • Direct buffer access (no staging in buffer operations)
  • Multithreaded access to resource
  • Unified app architecture

Long-term goals

  • Adding non-present Crystal API entry (for compute operations only)
  • Adding Metal API support
  • Adding DirectX support

Short-term goals

  • Adding raytracing support

Installing

There is no cargo crate for this repo for now, so you need to clone it:

git clone https://github.com/purpflow1/crystal-api.git

Running

First of all, cd to the cloned directory:

cd crystal-api/

To run debug scene from included example use:

cargo run --example main

!!! Khronos validation layers are required to run debug builds.

To build release rlib use:

cargo build --release