No description
Find a file
Stephen Gutekanst 7a1efdaa69 core: cleanup sysgpu feature flag logic
* `@import("mach").core.gpu` has been renamed to `@import("mach").gpu`
* `pub const SYSGPUInterface` now has a default value (i.e. you do not need to write it in your main.zig, if you were.)
* You can now check `if (comptime mach.use_sysgpu)` for any conditional code you might have that should only run with sysgpu.

This (old):

```
pub const mach_core_options = core.ComptimeOptions{
    .use_wgpu = false,
    .use_sysgpu = true,
};
```

Has been replaced by this:

```
pub const use_sysgpu = true;
```

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-04-19 20:48:33 -07:00
.github all: update Zig to version 0.12.0-dev.3180+83e578a18 2024-03-08 22:04:29 -07:00
examples {gfx,examples}: update all to new mach.Core module API 2024-04-17 11:27:48 -07:00
src core: cleanup sysgpu feature flag logic 2024-04-19 20:48:33 -07:00
.gitattributes use mach-model3d via package manager 2023-07-01 22:33:35 -07:00
.gitignore mach-core moves back into the main repository 2024-03-05 00:22:22 -07:00
.zigversion update .zigversion 2024-03-08 23:59:31 -07:00
build.zig build: fix WASM builds 2024-04-19 19:34:40 -07:00
build.zig.zon src/gpu: move github.com/hexops/mach-gpu here 2024-04-13 11:25:45 -07:00
LICENSE LICENSE: note directories with a separate LICENSE file 2021-07-05 12:46:20 -07:00
LICENSE-APACHE initialize repository 2021-07-04 10:36:34 -07:00
LICENSE-MIT initialize repository 2021-07-04 10:36:34 -07:00
README.md README: cleanup & link to new website 2023-08-13 17:14:09 -07:00

mach-opus

Zig game engine & graphics toolkit for building high-performance, truly cross-platform, robust & modular games, visualizations, and desktop/mobile GUI apps.

gen-texture-light boids textured-cube

Learn more

machengine.org

Join the community

Join the Mach community on Discord to discuss this project, ask questions, get help, etc.