#[repr(C)]pub struct ImageViewCreateInfo {
pub s_type: StructureType,
pub p_next: *const c_void,
pub flags: ImageViewCreateFlagBits,
pub image: Image,
pub view_type: ImageViewType,
pub format: Format,
pub components: ComponentMapping,
pub subresource_range: ImageSubresourceRange,
}Expand description
VkImageViewCreateInfo
Provided by VK_BASE_VERSION_1_0.
§Extended By
Fields§
§s_type: StructureTypeMust be VK_STRUCTURE_TYPE_IMAGE_VIEW_CREATE_INFO.
p_next: *const c_voidOptional, may be null.
flags: ImageViewCreateFlagBits§image: Image§view_type: ImageViewType§format: Format§components: ComponentMapping§subresource_range: ImageSubresourceRangeImplementations§
Source§impl ImageViewCreateInfo
impl ImageViewCreateInfo
Sourcepub fn builder<'a>() -> ImageViewCreateInfoBuilder<'a>
pub fn builder<'a>() -> ImageViewCreateInfoBuilder<'a>
Start building this struct; s_type is already set to the correct variant.
Trait Implementations§
Source§impl Clone for ImageViewCreateInfo
impl Clone for ImageViewCreateInfo
Source§fn clone(&self) -> ImageViewCreateInfo
fn clone(&self) -> ImageViewCreateInfo
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 ImageViewCreateInfo
impl Debug for ImageViewCreateInfo
Source§impl Default for ImageViewCreateInfo
impl Default for ImageViewCreateInfo
Source§fn default() -> ImageViewCreateInfo
fn default() -> ImageViewCreateInfo
Returns the “default value” for a type. Read more
impl Copy for ImageViewCreateInfo
Auto Trait Implementations§
impl Freeze for ImageViewCreateInfo
impl RefUnwindSafe for ImageViewCreateInfo
impl !Send for ImageViewCreateInfo
impl !Sync for ImageViewCreateInfo
impl Unpin for ImageViewCreateInfo
impl UnsafeUnpin for ImageViewCreateInfo
impl UnwindSafe for ImageViewCreateInfo
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