mach/examples/glyphs/main.zig
Stephen Gutekanst 16a895240d gfx: improve Sprite module pipeline management
* No longer abuse event arguments for pipeline information.
* Store pipeline information as entities/components.

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-04-16 10:10:37 -07:00

19 lines
481 B
Zig

// TODO(important): review all code in this file in-depth
// Experimental ECS app example. Not yet ready for actual use.
const mach = @import("mach");
const Game = @import("Game.zig");
const Text = @import("Text.zig");
// The list of modules to be used in our application. Our game itself is implemented in our own
// module called Game.
pub const modules = .{
mach.Engine,
mach.gfx.Sprite,
mach.gfx.SpritePipeline,
Text,
Game,
};
pub const App = mach.App;