#[repr(C)]pub struct FrameOptionsWgpu {
pub clear_history: bool,
pub frame_direction: i32,
pub rotation: u32,
pub total_subframes: u32,
pub current_subframe: u32,
}
Expand description
Options for each frame.
Fields§
§clear_history: bool
Whether or not to clear the history buffers.
frame_direction: i32
The direction of rendering. -1 indicates that the frames are played in reverse order.
rotation: u32
The rotation of the output. 0 = 0deg, 1 = 90deg, 2 = 180deg, 4 = 270deg.
total_subframes: u32
The total number of subframes ran. Default is 1.
current_subframe: u32
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
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()
.