pub struct AtlasUpdate {
pub x: u32,
pub y: u32,
pub w: u32,
pub h: u32,
}Expand description
图集脏矩形:本帧需要上传到 GPU 的区域。
Fields§
§x: u32脏区左上角 X(像素)。
y: u32脏区左上角 Y。
w: u32脏区宽度。
h: u32脏区高度。
Trait Implementations§
Source§impl Clone for AtlasUpdate
impl Clone for AtlasUpdate
impl Copy for AtlasUpdate
Source§impl Debug for AtlasUpdate
impl Debug for AtlasUpdate
impl Eq for AtlasUpdate
Source§impl PartialEq for AtlasUpdate
impl PartialEq for AtlasUpdate
impl StructuralPartialEq for AtlasUpdate
Auto Trait Implementations§
impl Forget for AtlasUpdate
impl Freeze for AtlasUpdate
impl Move for AtlasUpdate
impl RefUnwindSafe for AtlasUpdate
impl Send for AtlasUpdate
impl Sync for AtlasUpdate
impl Unpin for AtlasUpdate
impl UnsafeUnpin for AtlasUpdate
impl UnwindSafe for AtlasUpdate
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