#[repr(C)]pub struct ImageViewCreateInfo {
pub s_type: StructureType,
pub p_next: *const c_void,
pub flags: ImageViewCreateFlags,
pub image: Image,
pub view_type: ImageViewType,
pub format: Format,
pub components: ComponentMapping,
pub subresource_range: ImageSubresourceRange,
}Expand description
Chapter: Resource Creation
Description: Structure specifying parameters of a newly created image view
Provided by: VK_VERSION_1_0
Reference: VkImageViewCreateInfo
Initialization template:
let image_view_create_info = vk::ImageViewCreateInfo {
s_type: vk::StructureType::ImageViewCreateInfo,
p_next: null(),
flags: todo!("vk::ImageViewCreateFlagBits"),
image: todo!("vk::Image"),
view_type: todo!("vk::ImageViewType"),
format: todo!("vk::Format"),
components: todo!("vk::ComponentMapping"),
subresource_range: todo!("vk::ImageSubresourceRange"),
};Fields§
§s_type: StructureType§p_next: *const c_void§flags: ImageViewCreateFlags§image: Image§view_type: ImageViewType§format: Format§components: ComponentMapping§subresource_range: ImageSubresourceRangeTrait 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
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 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