Compare commits
2 commits
81335aeddf
...
93a4606c94
| Author | SHA1 | Date | |
|---|---|---|---|
| 93a4606c94 | |||
| 745b411495 |
2 changed files with 20 additions and 0 deletions
10
README.md
10
README.md
|
|
@ -108,6 +108,16 @@ test "Main" {
|
|||
**Default App Stages**
|
||||
``` zig
|
||||
pub const stage = struct {
|
||||
// --- BEGIN FRAME ---
|
||||
pub const pre_begin_frame = struct {};
|
||||
pub const begin_frame = struct {};
|
||||
pub const post_begin_frame = struct {};
|
||||
|
||||
// --- END FRAME ---
|
||||
pub const pre_end_frame = struct {};
|
||||
pub const end_frame = struct {};
|
||||
pub const post_end_frame = struct {};
|
||||
|
||||
// --- INIT ---
|
||||
pub const pre_init = struct {};
|
||||
pub const init = struct {};
|
||||
|
|
|
|||
10
src/app.zig
10
src/app.zig
|
|
@ -13,6 +13,16 @@ const Self = @This();
|
|||
/// Default app stages
|
||||
/// ----------------------------------------------------
|
||||
pub const stage = struct {
|
||||
// --- BEGIN FRAME ---
|
||||
pub const pre_begin_frame = struct {};
|
||||
pub const begin_frame = struct {};
|
||||
pub const post_begin_frame = struct {};
|
||||
|
||||
// --- END FRAME ---
|
||||
pub const pre_end_frame = struct {};
|
||||
pub const end_frame = struct {};
|
||||
pub const post_end_frame = struct {};
|
||||
|
||||
// --- INIT ---
|
||||
pub const pre_init = struct {};
|
||||
pub const init = struct {};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue