all: improve module event names, gfx.Sprite/gfx.Text init
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
15d9efcf26
commit
f3f4524f1b
6 changed files with 20 additions and 26 deletions
|
|
@ -41,10 +41,10 @@ pub const components = struct {
|
|||
|
||||
pub const events = .{
|
||||
.{ .global = .deinit, .handler = deinit },
|
||||
.{ .local = .init, .handler = init },
|
||||
.{ .local = .initPipeline, .handler = initPipeline },
|
||||
.{ .global = .init, .handler = init },
|
||||
.{ .local = .init_pipeline, .handler = initPipeline },
|
||||
.{ .local = .updated, .handler = updated },
|
||||
.{ .local = .preRender, .handler = preRender },
|
||||
.{ .local = .pre_render, .handler = preRender },
|
||||
.{ .local = .render, .handler = render },
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue