[−][src]Struct bedrock::AttachmentDescription
Builder structure to construct the VkAttachmentDescription
Methods
impl AttachmentDescription
[src]
pub const fn new(
format: VkFormat,
init_layout: ImageLayout,
fin_layout: ImageLayout
) -> Self
[src]
format: VkFormat,
init_layout: ImageLayout,
fin_layout: ImageLayout
) -> Self
pub const fn format(self, fmt: VkFormat) -> Self
[src]
pub const fn load_op(self, op: LoadOp) -> Self
[src]
pub const fn store_op(self, op: StoreOp) -> Self
[src]
pub const fn stencil_load_op(self, op: LoadOp) -> Self
[src]
pub const fn stencil_store_op(self, op: StoreOp) -> Self
[src]
pub const fn init_layout(self, layout: ImageLayout) -> Self
[src]
pub const fn fin_layout(self, layout: ImageLayout) -> Self
[src]
pub const fn may_alias_attachment(self) -> Self
[src]
pub const fn no_alias_attachment(self) -> Self
[src]
pub const fn samples(self, count: u32) -> Self
[src]
pub fn mod_format(&mut self, fmt: VkFormat) -> &mut Self
[src]
pub fn mod_load_op(&mut self, op: LoadOp) -> &mut Self
[src]
pub fn mod_store_op(&mut self, op: StoreOp) -> &mut Self
[src]
pub fn mod_stencil_load_op(&mut self, op: LoadOp) -> &mut Self
[src]
pub fn mod_stencil_store_op(&mut self, op: StoreOp) -> &mut Self
[src]
pub fn mod_init_layout(&mut self, layout: ImageLayout) -> &mut Self
[src]
pub fn mod_fin_layout(&mut self, layout: ImageLayout) -> &mut Self
[src]
pub fn mod_may_alias_attachment(&mut self) -> &mut Self
[src]
pub fn mod_no_alias_attachment(&mut self) -> &mut Self
[src]
pub fn mod_samples(&mut self, count: u32) -> &mut Self
[src]
Trait Implementations
impl Borrow<AttachmentDescription> for VkAttachmentDescription
[src]
fn borrow(&self) -> &AttachmentDescription
[src]
impl BorrowMut<AttachmentDescription> for VkAttachmentDescription
[src]
fn borrow_mut(&mut self) -> &mut AttachmentDescription
[src]
Auto Trait Implementations
impl RefUnwindSafe for AttachmentDescription
impl Send for AttachmentDescription
impl Sync for AttachmentDescription
impl Unpin for AttachmentDescription
impl UnwindSafe for AttachmentDescription
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,