added underdeveloped but working image support (no freeing or samplers)

This commit is contained in:
2025-08-22 23:07:31 -04:00
parent bde929b05a
commit 7dbdcbba42
26 changed files with 1256 additions and 155 deletions

View File

@@ -7,12 +7,12 @@
pub struct Id(u64);
#[derive(Default)]
pub struct IDTracker {
pub struct IdTracker {
free: Vec<Id>,
cur: u64,
}
impl IDTracker {
impl IdTracker {
#[allow(clippy::should_implement_trait)]
pub fn next(&mut self) -> Id {
if let Some(id) = self.free.pop() {