Struct voodoo::ImageBuilder [] [src]

pub struct ImageBuilder<'b> { /* fields omitted */ }

A builder for Image.

Methods

impl<'b> ImageBuilder<'b>
[src]

[src]

Returns a new render pass builder.

[src]

flags is a bitmask of VkImageCreateFlagBits describing additional parameters of the image.

[src]

imageType is a VkImageType value specifying the basic dimensionality of the image. Layers in array textures do not count as a dimension for the purposes of the image type.

[src]

format is a VkFormat describing the format and type of the data elements that will be contained in the image.

[src]

extent is a VkExtent3D describing the number of data elements in each dimension of the base level.

[src]

mipLevels describes the number of levels of detail available for minified sampling of the image.

[src]

arrayLayers is the number of layers in the image.

[src]

samples is the number of sub-data element samples in the image as defined in VkSampleCountFlagBits. See Multisampling.

[src]

tiling is a VkImageTiling value specifying the tiling arrangement of the data elements in memory.

[src]

usage is a bitmask of VkImageUsageFlagBits describing the intended usage of the image.

[src]

sharingMode is a VkSharingMode value specifying the sharing mode of the image when it will be accessed by multiple queue families.

[src]

queueFamilyIndexCount is the number of entries in the pQueueFamilyIndices array. pQueueFamilyIndices is a list of queue families that will access this image (ignored if sharingMode is not VK_SHARING_MODE_CONCURRENT).

[src]

initialLayout is a VkImageLayout value specifying the initial VkImageLayout of all image subresources of the image. See Image Layouts.

[src]

Trait Implementations

impl<'b> Debug for ImageBuilder<'b>
[src]

[src]

Formats the value using the given formatter. Read more

impl<'b> Clone for ImageBuilder<'b>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl<'b> !Send for ImageBuilder<'b>

impl<'b> !Sync for ImageBuilder<'b>