Struct bgfx_rs::static_lib::BlitArgs
source · [−]pub struct BlitArgs {
pub src_mip: u8,
pub src_x: u16,
pub src_y: u16,
pub src_z: u16,
pub width: u16,
pub height: u16,
pub depth: u16,
}
Fields
src_mip: u8
Source texture mip level.
src_x: u16
Source texture X position.
src_y: u16
Source texture Y position.
src_z: u16
If texture is 2D this argument should be 0. If source texture is cube this argument represents source texture cube face. For 3D texture this argument represents source texture Z position.
width: u16
Width of region.
height: u16
Height of region.
depth: u16
If texture is 3D this argument represents depth of region, otherwise it’s unused.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for BlitArgs
impl Send for BlitArgs
impl Sync for BlitArgs
impl Unpin for BlitArgs
impl UnwindSafe for BlitArgs
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more