WIP
This commit is contained in:
parent
d889cdecde
commit
7b610f8dd8
3 changed files with 98 additions and 19 deletions
|
@ -245,7 +245,7 @@ pub struct AtlasTile {
|
|||
pub(crate) bounds: Bounds<DevicePixels>,
|
||||
}
|
||||
|
||||
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
|
||||
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash)]
|
||||
#[repr(C)]
|
||||
pub(crate) struct AtlasTextureId {
|
||||
// We use u32 instead of usize for Metal Shader Language compatibility
|
||||
|
@ -253,7 +253,7 @@ pub(crate) struct AtlasTextureId {
|
|||
pub(crate) kind: AtlasTextureKind,
|
||||
}
|
||||
|
||||
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
|
||||
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash)]
|
||||
#[repr(C)]
|
||||
pub(crate) enum AtlasTextureKind {
|
||||
Monochrome = 0,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue