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