Struct asi_vulkan::Image
[−]
[src]
pub struct Image { pub image: VkImage, pub image_memory: VkDeviceMemory, // some fields omitted }
An Image
Fields
image: VkImage
image_memory: VkDeviceMemory
Methods
impl Image
[src]
fn new(
c: &Connection,
device: VkDevice,
gpu: VkPhysicalDevice,
width: u32,
height: u32,
format: VkFormat,
tiling: VkImageTiling,
usage: VkImageUsage,
initial_layout: VkImageLayout,
reqs_mask: VkFlags
) -> Image
[src]
c: &Connection,
device: VkDevice,
gpu: VkPhysicalDevice,
width: u32,
height: u32,
format: VkFormat,
tiling: VkImageTiling,
usage: VkImageUsage,
initial_layout: VkImageLayout,
reqs_mask: VkFlags
) -> Image
Create a new image.