pub struct PostContext {
pub frame_index: u64,
pub resolution: Vec2,
pub color_format: TextureFormat,
}Expand description
Per-frame post-processing context.
Fields§
§frame_index: u64Monotonic frame index.
resolution: Vec2Target resolution in pixels.
color_format: TextureFormatOutput color format.
Trait Implementations§
Source§impl Clone for PostContext
impl Clone for PostContext
Source§fn clone(&self) -> PostContext
fn clone(&self) -> PostContext
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PostContext
Source§impl Debug for PostContext
impl Debug for PostContext
Source§impl PartialEq for PostContext
impl PartialEq for PostContext
Source§fn eq(&self, other: &PostContext) -> bool
fn eq(&self, other: &PostContext) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PostContext
Auto Trait Implementations§
impl Freeze for PostContext
impl RefUnwindSafe for PostContext
impl Send for PostContext
impl Sync for PostContext
impl Unpin for PostContext
impl UnsafeUnpin for PostContext
impl UnwindSafe for PostContext
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