GithubHelp home page GithubHelp logo

ryan1729 / live-code-sdl2-opengl-2_1-template Goto Github PK

View Code? Open in Web Editor NEW
0.0 3.0 0.0 281 KB

This is a template crate to make it easy to start a new project using SDL2 and OpenGL 2.1, with live code reloading.

License: MIT License

Rust 100.00%

live-code-sdl2-opengl-2_1-template's Introduction

Live Code SDL2 OpenGL 2.1 Template

This is a template crate to make it easy to start a new project using SDL2 and OpenGL 2.1, with live code reloading.

For a simpler example program which support live reloading see here.

Similarly to the way live-code-bear-lib-terminal-template turned out, the plan is to use this template in projects, then backport generally useful additions to the Platform struct, expanding that API based on actuall usage, rather than blind guessing.

Compiling release mode

Comment out the line containing crate-type = ["dylib"] in the Cargo.toml in the state_manipulation folder. It would be nice if this step was eliminated, but AFAIK the only way to do that would be to build both the dylib and the rlib every time. Given how relatively rare release builds are, that seems like a waste of compile time.

Then run cargo build --release

live-code-sdl2-opengl-2_1-template's People

Contributors

ryan1729 avatar

Watchers

James Cloos avatar  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.