pub struct SessionExternalTextureDraw {
pub texture_key: u64,
pub dest_rect: [f32; 4],
pub opacity: f32,
pub scene_op_boundary: usize,
}Expand description
A same-device producer texture placed within the latest session frame. Keys identify host-registered textures, never arbitrary document resources.
Fields§
§texture_key: u64§dest_rect: [f32; 4]§opacity: f32§scene_op_boundary: usizeInsert immediately before this operation index in the returned frame.
Trait Implementations§
Source§impl Clone for SessionExternalTextureDraw
impl Clone for SessionExternalTextureDraw
Source§impl Debug for SessionExternalTextureDraw
impl Debug for SessionExternalTextureDraw
impl StructuralPartialEq for SessionExternalTextureDraw
Auto Trait Implementations§
impl Forget for SessionExternalTextureDraw
impl Freeze for SessionExternalTextureDraw
impl RefUnwindSafe for SessionExternalTextureDraw
impl Send for SessionExternalTextureDraw
impl Sync for SessionExternalTextureDraw
impl Unpin for SessionExternalTextureDraw
impl UnsafeUnpin for SessionExternalTextureDraw
impl UnwindSafe for SessionExternalTextureDraw
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