Struct asi_vulkan::Image
[−]
[src]
pub struct Image(_);
An Image
Methods
impl Image
[src]
pub fn new(
vulkan: &mut Vk,
width: u32,
height: u32,
format: VkFormat,
tiling: VkImageTiling,
usage: VkImageUsage,
initial_layout: VkImageLayout,
reqs_mask: VkFlags,
samples: VkSampleCount
) -> Image
[src]
vulkan: &mut Vk,
width: u32,
height: u32,
format: VkFormat,
tiling: VkImageTiling,
usage: VkImageUsage,
initial_layout: VkImageLayout,
reqs_mask: VkFlags,
samples: VkSampleCount
) -> Image
Create a new image.
pub fn memory(&self) -> u64
[src]
Get the memory handle for this image.
pub fn view(&self) -> u64
[src]
Get the image view for thsi image