#[repr(C)]pub struct FramebufferCreateInfo {
pub sType: StructureType,
pub pNext: *const c_void,
pub flags: FramebufferCreateFlags,
pub renderPass: RenderPass,
pub attachmentCount: u32,
pub pAttachments: *const ImageView,
pub width: u32,
pub height: u32,
pub layers: u32,
}Fields§
§sType: StructureType§pNext: *const c_void§flags: FramebufferCreateFlags§renderPass: RenderPass§attachmentCount: u32§pAttachments: *const ImageView§width: u32§height: u32§layers: u32Implementations§
Source§impl FramebufferCreateInfo
impl FramebufferCreateInfo
pub fn new() -> Self
pub fn sType(self, sType: StructureType) -> Self
pub fn pNext(self, pNext: *const c_void) -> Self
pub fn flags(self, flags: FramebufferCreateFlags) -> Self
pub fn renderPass(self, renderPass: RenderPass) -> Self
pub fn attachmentCount(self, attachmentCount: u32) -> Self
pub fn pAttachments(self, pAttachments: *const ImageView) -> Self
pub fn width(self, width: u32) -> Self
pub fn height(self, height: u32) -> Self
pub fn layers(self, layers: u32) -> Self
Trait Implementations§
Source§impl Clone for FramebufferCreateInfo
impl Clone for FramebufferCreateInfo
Source§fn clone(&self) -> FramebufferCreateInfo
fn clone(&self) -> FramebufferCreateInfo
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 FramebufferCreateInfo
impl Debug for FramebufferCreateInfo
Source§impl Default for FramebufferCreateInfo
impl Default for FramebufferCreateInfo
Source§fn default() -> FramebufferCreateInfo
fn default() -> FramebufferCreateInfo
Returns the “default value” for a type. Read more
impl Copy for FramebufferCreateInfo
Auto Trait Implementations§
impl Freeze for FramebufferCreateInfo
impl RefUnwindSafe for FramebufferCreateInfo
impl !Send for FramebufferCreateInfo
impl !Sync for FramebufferCreateInfo
impl Unpin for FramebufferCreateInfo
impl UnwindSafe for FramebufferCreateInfo
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