trying to eat the spaghetti (make it less)
This commit is contained in:
parent
3dd1a0caee
commit
4ad7d2ebd0
42 changed files with 189 additions and 668 deletions
7
crates/moonhare_graphics/Cargo.toml
Normal file
7
crates/moonhare_graphics/Cargo.toml
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
[package]
|
||||
name = "moonhare_graphics"
|
||||
edition = "2024"
|
||||
version.workspace = true
|
||||
authors.workspace = true
|
||||
|
||||
[dependencies]
|
||||
1
crates/moonhare_graphics/README.md
Normal file
1
crates/moonhare_graphics/README.md
Normal file
|
|
@ -0,0 +1 @@
|
|||
# MoonhareGraphics
|
||||
0
crates/moonhare_graphics/src/gpu_buffer.rs
Normal file
0
crates/moonhare_graphics/src/gpu_buffer.rs
Normal file
0
crates/moonhare_graphics/src/graphics_server.rs
Normal file
0
crates/moonhare_graphics/src/graphics_server.rs
Normal file
4
crates/moonhare_graphics/src/lib.rs
Normal file
4
crates/moonhare_graphics/src/lib.rs
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
/// Crate for providing an abstraction layer over different graphics APIs
|
||||
|
||||
pub mod graphics_server;
|
||||
pub mod shader;
|
||||
4
crates/moonhare_graphics/src/shader.rs
Normal file
4
crates/moonhare_graphics/src/shader.rs
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
pub enum ShaderType {
|
||||
Vertex,
|
||||
Fragment,
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue