pub type FramebufferAttachmentImageInfoKHR<'a> = FramebufferAttachmentImageInfo<'a>;
Aliased Type§
struct FramebufferAttachmentImageInfoKHR<'a> {
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,
pub _marker: PhantomData<&'a ()>,
}
Fields§
§s_type: StructureType
§p_next: *const c_void
§flags: ImageCreateFlags
§usage: ImageUsageFlags
§width: u32
§height: u32
§layer_count: u32
§view_format_count: u32
§p_view_formats: *const Format
§_marker: PhantomData<&'a ()>
Implementations
Source§impl<'a> FramebufferAttachmentImageInfo<'a>
impl<'a> FramebufferAttachmentImageInfo<'a>
pub fn flags(self, flags: ImageCreateFlags) -> Self
pub fn usage(self, usage: ImageUsageFlags) -> Self
pub fn width(self, width: u32) -> Self
pub fn height(self, height: u32) -> Self
pub fn layer_count(self, layer_count: u32) -> Self
pub fn view_formats(self, view_formats: &'a [Format]) -> Self
Trait Implementations
Source§impl<'a> Clone for FramebufferAttachmentImageInfo<'a>
impl<'a> Clone for FramebufferAttachmentImageInfo<'a>
Source§fn clone(&self) -> FramebufferAttachmentImageInfo<'a>
fn clone(&self) -> FramebufferAttachmentImageInfo<'a>
Returns a copy 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 more