gpu: make RenderPipeline an enum with methods
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
8148b59907
commit
64d973faf7
3 changed files with 7 additions and 3 deletions
5
gpu/src/render_pipeline.zig
Normal file
5
gpu/src/render_pipeline.zig
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
pub const RenderPipeline = enum(usize) {
|
||||
_,
|
||||
|
||||
pub const none: RenderPipeline = @intToEnum(RenderPipeline, 0);
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue