[−][src]Trait vulkano::image::traits::ImageViewAccess
Trait for types that represent the GPU can access an image view.
Required methods
pub fn parent(&self) -> &dyn ImageAccess
[src]
pub fn dimensions(&self) -> Dimensions
[src]
Returns the dimensions of the image view.
pub fn inner(&self) -> &UnsafeImageView
[src]
Returns the inner unsafe image view object used by this image view.
pub fn descriptor_set_storage_image_layout(&self) -> ImageLayout
[src]
Returns the image layout to use in a descriptor with the given subresource.
pub fn descriptor_set_combined_image_sampler_layout(&self) -> ImageLayout
[src]
Returns the image layout to use in a descriptor with the given subresource.
pub fn descriptor_set_sampled_image_layout(&self) -> ImageLayout
[src]
Returns the image layout to use in a descriptor with the given subresource.
pub fn descriptor_set_input_attachment_layout(&self) -> ImageLayout
[src]
Returns the image layout to use in a descriptor with the given subresource.
pub fn identity_swizzle(&self) -> bool
[src]
Returns true if the view doesn't use components swizzling.
Must be true when the view is used as a framebuffer attachment or TODO: I don't remember the other thing.
Provided methods
pub fn format(&self) -> Format
[src]
Returns the format of this view. This can be different from the parent's format.
pub fn samples(&self) -> u32
[src]
pub fn can_be_sampled(&self, _sampler: &Sampler) -> bool
[src]
Returns true if the given sampler can be used with this image view.
This method should check whether the sampler's configuration can be used with the format of the view.
Trait Implementations
impl Eq for dyn ImageViewAccess + Send + Sync
[src]
impl Hash for dyn ImageViewAccess + Send + Sync
[src]
pub fn hash<H: Hasher>(&self, state: &mut H)
[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl PartialEq<dyn ImageViewAccess + 'static + Send + Sync> for dyn ImageViewAccess + Send + Sync
[src]
Implementors
impl<F, A> ImageViewAccess for AttachmentImage<F, A> where
F: 'static + Send + Sync,
[src]
F: 'static + Send + Sync,
pub fn parent(&self) -> &dyn ImageAccess
[src]
pub fn dimensions(&self) -> Dimensions
[src]
pub fn inner(&self) -> &UnsafeImageView
[src]
pub fn descriptor_set_storage_image_layout(&self) -> ImageLayout
[src]
pub fn descriptor_set_combined_image_sampler_layout(&self) -> ImageLayout
[src]
pub fn descriptor_set_sampled_image_layout(&self) -> ImageLayout
[src]
pub fn descriptor_set_input_attachment_layout(&self) -> ImageLayout
[src]
pub fn identity_swizzle(&self) -> bool
[src]
impl<F, A> ImageViewAccess for StorageImage<F, A> where
F: 'static + Send + Sync,
A: MemoryPool,
[src]
F: 'static + Send + Sync,
A: MemoryPool,
pub fn parent(&self) -> &dyn ImageAccess
[src]
pub fn dimensions(&self) -> Dimensions
[src]
pub fn inner(&self) -> &UnsafeImageView
[src]
pub fn descriptor_set_storage_image_layout(&self) -> ImageLayout
[src]
pub fn descriptor_set_combined_image_sampler_layout(&self) -> ImageLayout
[src]
pub fn descriptor_set_sampled_image_layout(&self) -> ImageLayout
[src]
pub fn descriptor_set_input_attachment_layout(&self) -> ImageLayout
[src]
pub fn identity_swizzle(&self) -> bool
[src]
impl<F: 'static, A> ImageViewAccess for ImmutableImage<F, A> where
F: 'static + Send + Sync,
[src]
F: 'static + Send + Sync,
pub fn parent(&self) -> &dyn ImageAccess
[src]
pub fn dimensions(&self) -> Dimensions
[src]
pub fn inner(&self) -> &UnsafeImageView
[src]
pub fn descriptor_set_storage_image_layout(&self) -> ImageLayout
[src]
pub fn descriptor_set_combined_image_sampler_layout(&self) -> ImageLayout
[src]
pub fn descriptor_set_sampled_image_layout(&self) -> ImageLayout
[src]
pub fn descriptor_set_input_attachment_layout(&self) -> ImageLayout
[src]
pub fn identity_swizzle(&self) -> bool
[src]
impl<T> ImageViewAccess for T where
T: SafeDeref,
T::Target: ImageViewAccess,
[src]
T: SafeDeref,
T::Target: ImageViewAccess,