Struct voodoo::SubresourceLayout
[−]
[src]
#[repr(C)]pub struct SubresourceLayout { /* fields omitted */ }
A VkSubresourceLayout
.
Methods
impl SubresourceLayout
[src]
pub fn builder() -> SubresourceLayoutBuilder
[src]
pub unsafe fn from_raw(raw: VkSubresourceLayout) -> SubresourceLayout
[src]
pub fn offset<'a>(&'a self) -> u64
[src]
pub fn size<'a>(&'a self) -> u64
[src]
pub fn row_pitch<'a>(&'a self) -> u64
[src]
pub fn array_pitch<'a>(&'a self) -> u64
[src]
pub fn depth_pitch<'a>(&'a self) -> u64
[src]
pub fn set_offset<'m>(&mut self, offset: u64)
[src]
pub fn set_size<'m>(&mut self, size: u64)
[src]
pub fn set_row_pitch<'m>(&mut self, row_pitch: u64)
[src]
pub fn set_array_pitch<'m>(&mut self, array_pitch: u64)
[src]
pub fn set_depth_pitch<'m>(&mut self, depth_pitch: u64)
[src]
pub fn as_raw(&self) -> &VkSubresourceLayout
[src]
Trait Implementations
impl Debug for SubresourceLayout
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for SubresourceLayout
[src]
fn clone(&self) -> SubresourceLayout
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Default for SubresourceLayout
[src]
fn default() -> SubresourceLayout
[src]
Returns the "default value" for a type. Read more
impl From<SubresourceLayout> for VkSubresourceLayout
[src]
fn from(f: SubresourceLayout) -> VkSubresourceLayout
[src]
Performs the conversion.