#[repr(C, packed(1))]pub struct MapIndirectArguments {
pub region_origin_x: u32,
pub region_origin_y: u32,
pub region_origin_z: u32,
pub region_size_width: u32,
pub region_size_height: u32,
pub region_size_depth: u32,
pub mip_map_level: u32,
pub slice_id: u32,
}Expand description
Arguments for indirect texture mapping operations.
C++ equivalent: MTL::MapIndirectArguments
Fields§
§region_origin_x: u32X origin of the region.
region_origin_y: u32Y origin of the region.
region_origin_z: u32Z origin of the region.
region_size_width: u32Width of the region.
region_size_height: u32Height of the region.
region_size_depth: u32Depth of the region.
mip_map_level: u32Mipmap level.
slice_id: u32Slice ID.
Trait Implementations§
Source§impl Clone for MapIndirectArguments
impl Clone for MapIndirectArguments
Source§fn clone(&self) -> MapIndirectArguments
fn clone(&self) -> MapIndirectArguments
Returns a duplicate 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 MapIndirectArguments
impl Debug for MapIndirectArguments
Source§impl Default for MapIndirectArguments
impl Default for MapIndirectArguments
Source§fn default() -> MapIndirectArguments
fn default() -> MapIndirectArguments
Returns the “default value” for a type. Read more
impl Copy for MapIndirectArguments
Auto Trait Implementations§
impl Freeze for MapIndirectArguments
impl RefUnwindSafe for MapIndirectArguments
impl Send for MapIndirectArguments
impl Sync for MapIndirectArguments
impl Unpin for MapIndirectArguments
impl UnwindSafe for MapIndirectArguments
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