Coder Social home page Coder Social logo

favilla's Introduction

Favilla: A set of Vulkan utilities

Documentation Crates.io

Overview

favilla provides some utilities for writing Vulkan code using ash.

Goals

The main goal of favilla is to provide commonly required functionality for Vulkan while not getting in the way, giving the user full control and the option to use as much or as little of favilla's functionality as they want.

As an example, many structs in favilla offer construction methods that make certain assumptions, which can help reduce boilerplate code. There is also the option to directly construction these structs (through pub fields), so it is possible to use the utility methods offered by these types, even if the assumptions made by the construction methods don't hold.

favilla tries to make getting started easy and targets the most common use cases in a relatively easy-to-use way.
It does not try to be an all-encompassing abstraction of Vulkan. Sometimes, there is no way to work around the assumptions made by favilla; in such cases, your application should use ash directly to synchronize resources according to your needs.
For example, when uploading data from a staging buffer to an image favilla assumes that your images will be used by a fragment shader, not by a vertex shader, and sets the stages and masks in the memory barriers used for synchronization accordingly.
The source code of favilla should be helpful for making the necessary adjustments in your application directly.

Licence

Licensed under

  • MIT licence
  • Apache Licence 2.0

Contributions

Unless explicitly stated otherwise, all contributions are assumed to be licensed under the same licences as favilla (see above).

favilla's People

Contributors

stygianlightning avatar

Stargazers

Connor Fitzgerald avatar Violet Leonard avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.