feat(model): use resource ID for texture

This commit is contained in:
Nova
2023-01-06 09:05:30 -05:00
parent 1ae7e4afaa
commit 5350adef98
2 changed files with 15 additions and 4 deletions

View File

@@ -2,6 +2,7 @@ use color_eyre::eyre::eyre;
use serde::{de::Visitor, Deserialize};
use std::{ffi::OsStr, path::PathBuf};
#[derive(Debug)]
pub enum ResourceID {
File(PathBuf),
Namespaced { namespace: String, path: PathBuf },