All Projects → SwiftGFX → Swiftbgfx

SwiftGFX / Swiftbgfx

Licence: other
Swift bindings to bgfx – a cross-platform, graphics API agnostic, "Bring Your Own Engine/Framework" style rendering library

Programming Languages

swift
15916 projects

Projects that are alternatives of or similar to Swiftbgfx

Watcher
watcher is a Go package for watching for files or directory changes without using filesystem events.
Stars: ✭ 1,004 (+1661.4%)
Mutual labels:  cross-platform
Redasm
The OpenSource Disassembler
Stars: ✭ 1,042 (+1728.07%)
Mutual labels:  cross-platform
Swspotify
Cross-platform library to get the currently playing song and artist from Spotify w/o using the API or the internet. Very fast.
Stars: ✭ 54 (-5.26%)
Mutual labels:  cross-platform
Coreutils
Cross-platform Rust rewrite of the GNU coreutils
Stars: ✭ 9,603 (+16747.37%)
Mutual labels:  cross-platform
Dnsforwarder
Just a DNS utility.
Stars: ✭ 1,029 (+1705.26%)
Mutual labels:  cross-platform
Shadowsocks Qt5
A cross-platform shadowsocks GUI client
Stars: ✭ 7,893 (+13747.37%)
Mutual labels:  cross-platform
Codenameone
Cross-platform framework for building truly native mobile apps with Java or Kotlin. Write Once Run Anywhere support for iOS, Android, Desktop & Web.
Stars: ✭ 992 (+1640.35%)
Mutual labels:  cross-platform
Chime
🎵 Python sound notifications made easy
Stars: ✭ 56 (-1.75%)
Mutual labels:  cross-platform
Museeks
🎵 A simple, clean and cross-platform music player
Stars: ✭ 1,030 (+1707.02%)
Mutual labels:  cross-platform
Tus Resumable Upload Protocol
Open Protocol for Resumable File Uploads
Stars: ✭ 1,070 (+1777.19%)
Mutual labels:  cross-platform
Keychain
A cross-platform wrapper for the OS credential storage
Stars: ✭ 43 (-24.56%)
Mutual labels:  cross-platform
Crossterm
Cross platform terminal library rust
Stars: ✭ 1,023 (+1694.74%)
Mutual labels:  cross-platform
Plog
Portable, simple and extensible C++ logging library
Stars: ✭ 1,061 (+1761.4%)
Mutual labels:  cross-platform
Reactnativecodereuseexample
Shows how to organize your code to reuse it as much as possible between Web, iOS and Android
Stars: ✭ 41 (-28.07%)
Mutual labels:  cross-platform
Criterion
A cross-platform C and C++ unit testing framework for the 21st century
Stars: ✭ 1,073 (+1782.46%)
Mutual labels:  cross-platform
Aurelia
Aurelia 2, a standards-based, front-end framework designed for high-performing, ambitious applications.
Stars: ✭ 995 (+1645.61%)
Mutual labels:  cross-platform
Capacitor Plugins
Official plugins for Capacitor ⚡️
Stars: ✭ 49 (-14.04%)
Mutual labels:  cross-platform
Mio
Cross-platform C++11 header-only library for memory mapped file IO
Stars: ✭ 1,081 (+1796.49%)
Mutual labels:  cross-platform
Ueviewer
Viewer and exporter for Unreal Engine 1-4 assets (UE Viewer).
Stars: ✭ 1,083 (+1800%)
Mutual labels:  cross-platform
Audio player flutter
🎧 Apple Music / Tidal Audio Player for Flutter
Stars: ✭ 52 (-8.77%)
Mutual labels:  cross-platform

SwiftBGFX

Join the chat at https://gitter.im/stuartcarnie/SwiftBGFX

Swift bindings to bgfx, a cross-platform, graphics API agnostic, "Bring Your Own Engine/Framework" style rendering library.

Status

This framework is currently in alpha and it should be noted that the public API is still subject to change, particularly as I move further away from the C bindings towards idiomatic Swift.

The examples are in a barely working state, to exercise the bindings, however these will be improved. I would

Swift Package Manager

I also plan to use the Swift Package Manager and file bugs if there are any issues. Recently, support landed for compiling C.

Fetching

$ git clone --recursive https://github.com/stuartcarnie/SwiftBGFX.git

Building

OS X

Build bgfx library

$ cd SwiftBGFX/3rdparty/bgfx+
$ make -j 8 osx

build Math package

$ cd SwiftBGFX/3rdparty/Math
$ swift build

Open workspace and build / run example

Examples

  • 00-helloworld
  • 01-cubes
  • 05-instancing

Note:

Before running the examples, edit the scheme and configure the BGFX_RUNTIME_PATH environment variable to the full path of 3rdparty/bgfx/examples/runtime, to ensure the assets can be found. I'll fix this in a future update.

License (BSD 2-clause)

Copyright 2016 Stuart Carnie. All rights reserved.

https://github.com/stuartcarnie/SwiftBGFX

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

  2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY COPYRIGHT HOLDER ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].