Struct bedrock::AttachmentDescription
[−]
[src]
pub struct AttachmentDescription(_);
Builder structure to construct the VkAttachmentDescription
Methods
impl AttachmentDescription
[src]
pub fn new(
format: VkFormat,
init_layout: ImageLayout,
fin_layout: ImageLayout
) -> Self
[src]
format: VkFormat,
init_layout: ImageLayout,
fin_layout: ImageLayout
) -> Self
pub fn format(self, fmt: VkFormat) -> Self
[src]
pub fn load_op(self, op: LoadOp) -> Self
[src]
pub fn store_op(self, op: StoreOp) -> Self
[src]
pub fn stencil_load_op(self, op: LoadOp) -> Self
[src]
pub fn stencil_store_op(self, op: StoreOp) -> Self
[src]
pub fn init_layout(self, layout: ImageLayout) -> Self
[src]
pub fn fin_layout(self, layout: ImageLayout) -> Self
[src]
pub fn may_alias_attachment(self) -> Self
[src]
pub fn no_alias_attachment(self) -> Self
[src]
pub 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]
Immutably borrows from an owned value. Read more
impl BorrowMut<AttachmentDescription> for VkAttachmentDescription
[src]
fn borrow_mut(&mut self) -> &mut AttachmentDescription
[src]
Mutably borrows from an owned value. Read more