#[repr(C)]pub struct FramebufferAttachmentImageInfo {
pub s_type: StructureType,
pub p_next: *const c_void,
pub flags: ImageCreateFlags,
pub usage: ImageUsageFlags,
pub width: u32,
pub height: u32,
pub layer_count: u32,
pub view_format_count: u32,
pub p_view_formats: *const Format,
}Expand description
VkFramebufferAttachmentImageInfo
Provided by VK_GRAPHICS_VERSION_1_2.
Fields§
§s_type: StructureTypeMust be VK_STRUCTURE_TYPE_FRAMEBUFFER_ATTACHMENT_IMAGE_INFO.
p_next: *const c_voidOptional, may be null.
flags: ImageCreateFlags§usage: ImageUsageFlags§width: u32§height: u32§layer_count: u32§view_format_count: u32Length of p_view_formats.
p_view_formats: *const FormatImplementations§
Source§impl FramebufferAttachmentImageInfo
impl FramebufferAttachmentImageInfo
Sourcepub fn builder<'a>() -> FramebufferAttachmentImageInfoBuilder<'a>
pub fn builder<'a>() -> FramebufferAttachmentImageInfoBuilder<'a>
Start building this struct; s_type is already set to the correct variant.
Trait Implementations§
Source§impl Clone for FramebufferAttachmentImageInfo
impl Clone for FramebufferAttachmentImageInfo
Source§fn clone(&self) -> FramebufferAttachmentImageInfo
fn clone(&self) -> FramebufferAttachmentImageInfo
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 moreimpl Copy for FramebufferAttachmentImageInfo
Auto Trait Implementations§
impl Freeze for FramebufferAttachmentImageInfo
impl RefUnwindSafe for FramebufferAttachmentImageInfo
impl !Send for FramebufferAttachmentImageInfo
impl !Sync for FramebufferAttachmentImageInfo
impl Unpin for FramebufferAttachmentImageInfo
impl UnsafeUnpin for FramebufferAttachmentImageInfo
impl UnwindSafe for FramebufferAttachmentImageInfo
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