pub enum RenderResourceKind {
Texture,
Buffer,
TileLayer,
GlyphAtlas,
StagingSlot,
}Expand description
Unified backend-agnostic resource classification shared by CPU reference and GPU direct-draw backends.
Variants§
Texture
Color or alpha texture image resource.
Buffer
Vertex, index, or instanced quad GPU buffer.
TileLayer
Persistent cached scroll tile texture layer.
GlyphAtlas
Packed glyph coverage texture atlas.
StagingSlot
Reusable per-frame upload staging buffer slot.
Trait Implementations§
Source§impl Clone for RenderResourceKind
impl Clone for RenderResourceKind
impl Copy for RenderResourceKind
Source§impl Debug for RenderResourceKind
impl Debug for RenderResourceKind
Source§impl Default for RenderResourceKind
impl Default for RenderResourceKind
impl Eq for RenderResourceKind
Source§impl Hash for RenderResourceKind
impl Hash for RenderResourceKind
Source§impl Ord for RenderResourceKind
impl Ord for RenderResourceKind
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for RenderResourceKind
impl PartialEq for RenderResourceKind
Source§impl PartialOrd for RenderResourceKind
impl PartialOrd for RenderResourceKind
impl StructuralPartialEq for RenderResourceKind
Auto Trait Implementations§
impl Forget for RenderResourceKind
impl Freeze for RenderResourceKind
impl Move for RenderResourceKind
impl RefUnwindSafe for RenderResourceKind
impl Send for RenderResourceKind
impl Sync for RenderResourceKind
impl Unpin for RenderResourceKind
impl UnsafeUnpin for RenderResourceKind
impl UnwindSafe for RenderResourceKind
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more