Struct voodoo::ImageViewBuilder
[−]
[src]
pub struct ImageViewBuilder<'b> { /* fields omitted */ }
A builder for an ImageView
.
Methods
impl<'b> ImageViewBuilder<'b>
[src]
fn new() -> ImageViewBuilder<'b>
[src]
Returns a new ImageViewBuilder
.
fn image<'s, H>(&'s mut self, image: H) -> &'s mut ImageViewBuilder<'b> where
H: Handle<Target = ImageHandle>,
[src]
H: Handle<Target = ImageHandle>,
Specifies the image on which the view will be created.
fn view_type<'s>(
&'s mut self,
view_type: ImageViewType
) -> &'s mut ImageViewBuilder<'b>
[src]
&'s mut self,
view_type: ImageViewType
) -> &'s mut ImageViewBuilder<'b>
Specifies the type of the image view.
fn format<'s>(&'s mut self, format: Format) -> &'s mut ImageViewBuilder<'b>
[src]
Specifies the format and type used to interpret data elements in the image.
fn components<'s>(
&'s mut self,
components: ComponentMapping
) -> &'s mut ImageViewBuilder<'b>
[src]
&'s mut self,
components: ComponentMapping
) -> &'s mut ImageViewBuilder<'b>
Specifies a remapping of color components (or of depth or stencil components after they have been converted into color components).
fn subresource_range<'s>(
&'s mut self,
subresource_range: ImageSubresourceRange
) -> &'s mut ImageViewBuilder<'b>
[src]
&'s mut self,
subresource_range: ImageSubresourceRange
) -> &'s mut ImageViewBuilder<'b>
Specifies the range selecting the set of mipmap levels and array layers to be accessible to the view.
fn build(
&self,
device: Device,
swapchain: Option<SwapchainKhr>
) -> VdResult<ImageView>
[src]
&self,
device: Device,
swapchain: Option<SwapchainKhr>
) -> VdResult<ImageView>
Trait Implementations
impl<'b> Debug for ImageViewBuilder<'b>
[src]
impl<'b> Clone for ImageViewBuilder<'b>
[src]
fn clone(&self) -> ImageViewBuilder<'b>
[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