pub struct RenderPlan {
pub world: (u32, u32),
pub output: (u32, u32),
pub separate_ui: bool,
pub target_bytes: u64,
}Expand description
Checked target dimensions and steady-state color/depth allocation estimate.
Fields§
§world: (u32, u32)World target dimensions (reference-sized in IntegerFit).
output: (u32, u32)Native composition target dimensions, or world dimensions for pixel art.
separate_ui: boolWhether separate native UI and resolved output targets are required.
target_bytes: u64Conservative allocation estimate: 4-byte RGBA plus 4-byte depth per target pixel.
Trait Implementations§
Source§impl Clone for RenderPlan
impl Clone for RenderPlan
impl Copy for RenderPlan
Source§impl Debug for RenderPlan
impl Debug for RenderPlan
impl Eq for RenderPlan
Source§impl PartialEq for RenderPlan
impl PartialEq for RenderPlan
impl StructuralPartialEq for RenderPlan
Auto Trait Implementations§
impl Freeze for RenderPlan
impl RefUnwindSafe for RenderPlan
impl Send for RenderPlan
impl Sync for RenderPlan
impl Unpin for RenderPlan
impl UnsafeUnpin for RenderPlan
impl UnwindSafe for RenderPlan
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