#[repr(C)]pub struct FrameOptionsWgpu {
pub clear_history: bool,
pub frame_direction: i32,
}Expand description
Options for each wgpu shader frame.
Fields§
§clear_history: boolWhether or not to clear the history buffers.
frame_direction: i32The direction of rendering. -1 indicates that the frames are played in reverse order.
Trait Implementations§
source§impl Clone for FrameOptionsWgpu
impl Clone for FrameOptionsWgpu
source§fn clone(&self) -> FrameOptionsWgpu
fn clone(&self) -> FrameOptionsWgpu
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for FrameOptionsWgpu
impl Debug for FrameOptionsWgpu
source§impl Default for FrameOptionsWgpu
impl Default for FrameOptionsWgpu
source§fn default() -> FrameOptionsWgpu
fn default() -> FrameOptionsWgpu
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for FrameOptionsWgpu
impl Send for FrameOptionsWgpu
impl Sync for FrameOptionsWgpu
impl Unpin for FrameOptionsWgpu
impl UnwindSafe for FrameOptionsWgpu
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
§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<R, P> ReadPrimitive<R> for P
impl<R, P> ReadPrimitive<R> for P
source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_little_endian().