ash::vk

Type Alias FramebufferAttachmentImageInfoKHR

Source
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>

Source

pub fn flags(self, flags: ImageCreateFlags) -> Self

Source

pub fn usage(self, usage: ImageUsageFlags) -> Self

Source

pub fn width(self, width: u32) -> Self

Source

pub fn height(self, height: u32) -> Self

Source

pub fn layer_count(self, layer_count: u32) -> Self

Source

pub fn view_formats(self, view_formats: &'a [Format]) -> Self

Trait Implementations

Source§

impl<'a> Clone for FramebufferAttachmentImageInfo<'a>

Source§

fn clone(&self) -> FramebufferAttachmentImageInfo<'a>

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl<'a> Debug for FramebufferAttachmentImageInfo<'a>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for FramebufferAttachmentImageInfo<'_>

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl<'a> TaggedStructure for FramebufferAttachmentImageInfo<'a>

Source§

const STRUCTURE_TYPE: StructureType = StructureType::FRAMEBUFFER_ATTACHMENT_IMAGE_INFO

Source§

impl<'a> Copy for FramebufferAttachmentImageInfo<'a>

Source§

impl Send for FramebufferAttachmentImageInfo<'_>

Source§

impl Sync for FramebufferAttachmentImageInfo<'_>