#[repr(C)]pub struct BufferImageCopy {
pub buffer_offset: DeviceSize,
pub buffer_row_length: u32,
pub buffer_image_height: u32,
pub image_subresource: ImageSubresourceLayers,
pub image_offset: Offset3D,
pub image_extent: Extent3D,
}Expand description
Native structure VkBufferImageCopy.
Fields§
§buffer_offset: DeviceSizeNative field bufferOffset.
buffer_row_length: u32Native field bufferRowLength.
buffer_image_height: u32Native field bufferImageHeight.
image_subresource: ImageSubresourceLayersNative field imageSubresource.
image_offset: Offset3DNative field imageOffset.
image_extent: Extent3DNative field imageExtent.
Implementations§
Source§impl BufferImageCopy
impl BufferImageCopy
Sourcepub fn set_buffer_offset(self, value: DeviceSize) -> Self
pub fn set_buffer_offset(self, value: DeviceSize) -> Self
Set native field bufferOffset without native effects.
Sourcepub fn set_buffer_row_length(self, value: u32) -> Self
pub fn set_buffer_row_length(self, value: u32) -> Self
Set native field bufferRowLength without native effects.
Sourcepub fn set_buffer_image_height(self, value: u32) -> Self
pub fn set_buffer_image_height(self, value: u32) -> Self
Set native field bufferImageHeight without native effects.
Sourcepub fn set_image_subresource(self, value: ImageSubresourceLayers) -> Self
pub fn set_image_subresource(self, value: ImageSubresourceLayers) -> Self
Set native field imageSubresource without native effects.
Sourcepub fn set_image_offset(self, value: Offset3D) -> Self
pub fn set_image_offset(self, value: Offset3D) -> Self
Set native field imageOffset without native effects.
Sourcepub fn set_image_extent(self, value: Extent3D) -> Self
pub fn set_image_extent(self, value: Extent3D) -> Self
Set native field imageExtent without native effects.
Trait Implementations§
Source§impl Clone for BufferImageCopy
impl Clone for BufferImageCopy
impl Copy for BufferImageCopy
Auto Trait Implementations§
impl Forget for BufferImageCopy
impl Freeze for BufferImageCopy
impl Move for BufferImageCopy
impl RefUnwindSafe for BufferImageCopy
impl Send for BufferImageCopy
impl Sync for BufferImageCopy
impl Unpin for BufferImageCopy
impl UnsafeUnpin for BufferImageCopy
impl UnwindSafe for BufferImageCopy
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