Comments (7)
It would be also good edition to the website to generate Rust bindings and one can directly use it
mod glad {
include!("./glad.rs");
}
from glad.
The idea of glad was always to provide exactly the feature set you need and not more, so this clashes a bit with the idea of having a static crate which contains everything.
An idea could be to hide everything behind feature flags or cfgs and the user selects the features from the crate in their Cargo.toml
, kind of like web-sys
is doing.
from glad.
An idea could be to hide everything behind feature flags or cfgs and the user selects the features from the crate in their Cargo.toml, kind of like web-sys is doing.
Yes, it is doable that way but it will need making the generator feature aware
from glad.
The current idea is, glad generates a crate and you can just include that in your local workspace.
Btw you can use the website to generate the crate and you don't need Python installed locally.
from glad.
Yeah, thanks for this, its pretty cool. Can it be automated using curl by hitting specific endpoint?
from glad.
Ideally you don't do that, it's just a tiny server and I don't wanna give any guarantees on uptime and stable API, also you may end up getting caught by cloudflare.
The recommended workflow is to download, add it to your git repo and update whenever you want more features, glad generates all files 'stable' which should give you very nice diffs whenever you regenerate with a new feature set.
from glad.
Thanks, fair enough.
from glad.
Related Issues (20)
- Surface related vk calls fail with an SDL-created Vulkan Surface (Vulkan 1.3)
- Provide cmake-package HOT 8
- [question] What heppened with the CMakeLists.txt file in the repository root? HOT 3
- glad_egl_find_core querying EGL_VERSION ahead of eglInitialize HOT 2
- <KHR/khrplatform.h> not found on OpenBSD, alpinelinux and others? HOT 14
- warning: 'GLAD_GLES2_USE_SYSTEM_EGL' is not defined, evaluates to 0 [-Wundef]
- Fail to use GL_NV_geometry_shader_passthrough bug. HOT 4
- GL/GLFW Example Displays GLAD Version "0.1" HOT 6
- Vulkan tests fail on 32bit x86 systems HOT 3
- GCC -fanalyzer report error when compiling glad HOT 15
- How to know why exactly GLAD failed.(ERROR DESCRIPTION) HOT 1
- Provide a way to automatically obtain the code without the need to manually download it from a web page. HOT 1
- Incrroect encoding when python read file HOT 2
- Vulkan missing enum VK_DRIVER_ID_MESA_AGXV HOT 5
- egl.h not generated by the web generator
- Can you help a python newbie? HOT 7
- Compile error when using OpenGL debug header HOT 2
- Vulkan + SDL first steps HOT 3
- nim glGetShaderInfoLog/glGetProgramInfoLog type error HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from glad.