pub struct DepthStencilResolveProperties {
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.
See
VkPhysicalDeviceDepthStencilResolveProperties
manual page.
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§
source§impl From<PhysicalDeviceDepthStencilResolveProperties> for DepthStencilResolveProperties
impl From<PhysicalDeviceDepthStencilResolveProperties> for DepthStencilResolveProperties
source§fn from(props: PhysicalDeviceDepthStencilResolveProperties) -> Self
fn from(props: PhysicalDeviceDepthStencilResolveProperties) -> Self
Auto Trait Implementations§
impl RefUnwindSafe for DepthStencilResolveProperties
impl Send for DepthStencilResolveProperties
impl Sync for DepthStencilResolveProperties
impl Unpin for DepthStencilResolveProperties
impl UnwindSafe for DepthStencilResolveProperties
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
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
then be further downcast
into Box<ConcreteType>
where ConcreteType
implements Trait
.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s.