pub struct RenderTargetComparatorCreateInfo {
pub device: Rc<Device>,
pub descriptor_pool: DescriptorPool,
pub format: Format,
pub extent: Extent2D,
pub in_image_views: [ImageView; 2],
pub out_image_view: ImageView,
pub final_layout: ImageLayout,
pub viewport: Option<Viewport>,
}Expand description
Configuration for the comparator.
Fields§
§device: Rc<Device>The Vulkan logical device.
descriptor_pool: DescriptorPoolThe descriptor pool to allocate from.
format: FormatThe format of the output image.
extent: Extent2DThe extent (width and height) of the output image.
in_image_views: [ImageView; 2]The two input image views to compare.
out_image_view: ImageViewThe output image view to render into.
final_layout: ImageLayoutThe final layout of the output image after rendering.
viewport: Option<Viewport>Implementations§
Trait Implementations§
Source§impl Clone for RenderTargetComparatorCreateInfo
impl Clone for RenderTargetComparatorCreateInfo
Source§fn clone(&self) -> RenderTargetComparatorCreateInfo
fn clone(&self) -> RenderTargetComparatorCreateInfo
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for RenderTargetComparatorCreateInfo
impl RefUnwindSafe for RenderTargetComparatorCreateInfo
impl !Send for RenderTargetComparatorCreateInfo
impl !Sync for RenderTargetComparatorCreateInfo
impl Unpin for RenderTargetComparatorCreateInfo
impl UnwindSafe for RenderTargetComparatorCreateInfo
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