Struct vulkano::image::immutable::ImmutableImage [] [src]

pub struct ImmutableImage<F, A = Arc<StdMemoryPool>> where A: MemoryPool {
    // some fields omitted
}

Image whose purpose is to be used for read-only purposes. You can write to the image once, but then you must only ever read from it. TODO: clarify because of blit operations

Methods

impl<F> ImmutableImage<F>
[src]

Builds a new immutable image.

impl<F, A> ImmutableImage<F, A> where A: MemoryPool
[src]

Returns the dimensions of the image.

Trait Implementations

impl<F: Debug, A: Debug> Debug for ImmutableImage<F, A> where A: MemoryPool, A::Alloc: Debug
[src]

Formats the value using the given formatter.

impl<F, A> Image for ImmutableImage<F, A> where F: 'static + Send + Sync, A: MemoryPool
[src]

Returns the inner unsafe image object used by this image.

Given a range, returns the list of blocks which each range is contained in. Read more

Called when a command buffer that uses this image is being built. Given a block, this function should return the layout that the block will have when the command buffer is submitted. Read more

Called when a command buffer that uses this image is being built. Given a block, this function should return the layout that the block must have when the command buffer is end. Read more

Returns whether accessing a subresource of that image should signal a fence.

Returns the format of this image.

Returns the number of samples of this image.

Returns the dimensions of the image.

Returns true if the image can be used as a source for blits.

Returns true if the image can be used as a destination for blits.

impl<P, F, A> ImageContent<P> for ImmutableImage<F, A> where F: 'static + Send + Sync, A: MemoryPool
[src]

Checks whether pixels of type P match the format of the image.

impl<F: 'static, A> ImageView for ImmutableImage<F, A> where F: 'static + Send + Sync, A: MemoryPool
[src]

Returns the blocks of the parent image this image view overlaps.

Returns the inner unsafe image view object used by this image view.

Returns the image layout to use in a descriptor with the given subresource.

Returns the image layout to use in a descriptor with the given subresource.

Returns the image layout to use in a descriptor with the given subresource.

Returns the image layout to use in a descriptor with the given subresource.

Returns true if the view doesn't use components swizzling. Read more

Returns the format of this view. This can be different from the parent's format.

Returns true if the given sampler can be used with this image view. Read more