first round of spritebatch improvements

This commit is contained in:
2024-09-14 15:14:44 +10:00
parent 93d7b4e08a
commit 1f5c59fe77
4 changed files with 187 additions and 128 deletions

View File

@ -8,6 +8,7 @@ public struct Sprite {
public static let none: Self = Self(rawValue: 0)
public static let x: Self = Self(rawValue: 1 << 0)
public static let y: Self = Self(rawValue: 1 << 1)
public static let diag: Self = Self(rawValue: 1 << 2)
}
var texture: RendererTexture2D