#[repr(C)]pub struct DescriptorImageInfo {
pub sampler: Sampler,
pub image_view: ImageView,
pub image_layout: ImageLayout,
}Expand description
Native structure VkDescriptorImageInfo.
Fields§
§sampler: SamplerNative field sampler.
image_view: ImageViewNative field imageView.
image_layout: ImageLayoutNative field imageLayout.
Implementations§
Source§impl DescriptorImageInfo
impl DescriptorImageInfo
Sourcepub fn set_sampler(self, value: Sampler) -> Self
pub fn set_sampler(self, value: Sampler) -> Self
Set native field sampler without native effects.
Sourcepub fn set_image_view(self, value: ImageView) -> Self
pub fn set_image_view(self, value: ImageView) -> Self
Set native field imageView without native effects.
Sourcepub fn set_image_layout(self, value: ImageLayout) -> Self
pub fn set_image_layout(self, value: ImageLayout) -> Self
Set native field imageLayout without native effects.
Trait Implementations§
Source§impl Clone for DescriptorImageInfo
impl Clone for DescriptorImageInfo
impl Copy for DescriptorImageInfo
Auto Trait Implementations§
impl Forget for DescriptorImageInfo
impl Freeze for DescriptorImageInfo
impl Move for DescriptorImageInfo
impl RefUnwindSafe for DescriptorImageInfo
impl Send for DescriptorImageInfo
impl Sync for DescriptorImageInfo
impl Unpin for DescriptorImageInfo
impl UnsafeUnpin for DescriptorImageInfo
impl UnwindSafe for DescriptorImageInfo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more