1
2
3
4
5
6
7
8
9
10
use vizia_id::{
    impl_generational_id, GenerationalId, GENERATIONAL_ID_GENERATION_MASK,
    GENERATIONAL_ID_INDEX_BITS, GENERATIONAL_ID_INDEX_MASK,
};

/// An ID used to reference images in the resource manager.
#[derive(Clone, Copy, PartialEq, Eq, Hash)]
pub struct ImageId(u64);

impl_generational_id!(ImageId);