wip: begin refactor of model loading system

This commit is contained in:
alphafetus committed 2026-09-17 18:11:20 -04:00
1 parent a315cbc543
commit 406b0f9174
17 files changed
+248 -307

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
use vulkano::buffer::BufferContents;
/// Mirrors the `MaterialPushConstants` block in `triangle_frag.glsl`. Pushed once per submesh
/// draw call, since each submesh may use a different material.
#[derive(BufferContents, Debug, Clone, Copy)]
#[repr(C)]
pub struct MaterialPushConstants {
pub base_color: [f32; 4],
}