Struct vulkano::image::StorageImage [] [src]

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

General-purpose image in device memory. Can be used for any usage, but will be slower than a specialized image.

Methods

impl<F> StorageImage<F>
[src]

Creates a new image with the given dimensions and format.

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

Returns the dimensions of the image.

Trait Implementations

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

Formats the value using the given formatter.

impl<F, A> Image for StorageImage<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<F, A> ImageClearValue<F::ClearValue> for StorageImage<F, A> where F: FormatDesc + 'static + Send + Sync, A: MemoryPool
[src]

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

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

impl<F, A> ImageView for StorageImage<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