pub struct ImageViewProperties {
pub flags: ImageViewCreateFlags,
pub view_type: ImageViewType,
pub component_mapping: ComponentMapping,
pub format: Format,
pub subresource_range: ImageSubresourceRange,
}Expand description
WARNING default() values for format, view_type are nothing!
Fields§
§flags: ImageViewCreateFlags§view_type: ImageViewType§component_mapping: ComponentMapping§format: Format§subresource_range: ImageSubresourceRangeImplementations§
Source§impl ImageViewProperties
impl ImageViewProperties
pub fn from_image_properties_default(image_properties: &ImageProperties) -> Self
pub fn write_create_info_builder<'a>( &'a self, builder: ImageViewCreateInfoBuilder<'a>, image_handle: Image, ) -> ImageViewCreateInfoBuilder<'_>
pub fn create_info_builder( &self, image_handle: Image, ) -> ImageViewCreateInfoBuilder<'_>
pub fn from_create_info_builder( create_info: &ImageViewCreateInfoBuilder<'_>, ) -> Self
Trait Implementations§
Source§impl Clone for ImageViewProperties
impl Clone for ImageViewProperties
Source§fn clone(&self) -> ImageViewProperties
fn clone(&self) -> ImageViewProperties
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 ImageViewProperties
impl Debug for ImageViewProperties
Source§impl Default for ImageViewProperties
impl Default for ImageViewProperties
impl Copy for ImageViewProperties
Auto Trait Implementations§
impl Freeze for ImageViewProperties
impl RefUnwindSafe for ImageViewProperties
impl Send for ImageViewProperties
impl Sync for ImageViewProperties
impl Unpin for ImageViewProperties
impl UnwindSafe for ImageViewProperties
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