pub struct PhysicalDeviceDepthStencilResolveProperties {
    pub supported_depth_resolve_modes: ResolveModeFlags,
    pub supported_stencil_resolve_modes: ResolveModeFlags,
    pub independent_resolve_none: bool,
    pub independent_resolve: bool,
}
Expand description

Structure describing depth/stencil resolve properties that can be supported by an implementation.

Fields

supported_depth_resolve_modes: ResolveModeFlags

A bitmask indicating the set of supported depth resolve modes.

VK_RESOLVE_MODE_SAMPLE_ZERO_BIT must be included in the set but implementations may support additional modes.

supported_stencil_resolve_modes: ResolveModeFlags

A bitmask of indicating the set of supported stencil resolve modes.

VK_RESOLVE_MODE_SAMPLE_ZERO_BIT must be included in the set but implementations may support additional modes. VK_RESOLVE_MODE_AVERAGE_BIT must not be included in the set.

independent_resolve_none: bool

true if the implementation supports setting the depth and stencil resolve modes to different values when one of those modes is VK_RESOLVE_MODE_NONE. Otherwise the implementation only supports setting both modes to the same value.

independent_resolve: bool

true if the implementation supports all combinations of the supported depth and stencil resolve modes, including setting either depth or stencil resolve mode to VK_RESOLVE_MODE_NONE.

An implementation that supports independent_resolve must also support independent_resolve_none.

Trait Implementations

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.