vulkan-3.26: Bindings to the Vulkan graphics API.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Vulkan.Core12.Enums.ResolveModeFlagBits

Synopsis

Documentation

newtype ResolveModeFlagBits Source #

VkResolveModeFlagBits - Bitmask indicating supported depth and stencil resolve modes

Description

If no resolve mode is otherwise specified, RESOLVE_MODE_AVERAGE_BIT is used.

Note

No range compression or Y′CBCR model conversion is performed by RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_ANDROID; applications have to do these conversions themselves. Value outputs are expected to match those that would be read through a Y′CBCR sampler using. The color space that the values should be in is defined by the platform and is not exposed via Vulkan.

See Also

VK_KHR_depth_stencil_resolve, VK_VERSION_1_2, RenderingAttachmentInfo, ResolveModeFlags, SubpassDescriptionDepthStencilResolve

Bundled Patterns

pattern RESOLVE_MODE_NONE :: ResolveModeFlagBits

RESOLVE_MODE_NONE indicates that no resolve operation is done.

pattern RESOLVE_MODE_SAMPLE_ZERO_BIT :: ResolveModeFlagBits

RESOLVE_MODE_SAMPLE_ZERO_BIT indicates that result of the resolve operation is equal to the value of sample 0.

pattern RESOLVE_MODE_AVERAGE_BIT :: ResolveModeFlagBits

RESOLVE_MODE_AVERAGE_BIT indicates that result of the resolve operation is the average of the sample values.

pattern RESOLVE_MODE_MIN_BIT :: ResolveModeFlagBits

RESOLVE_MODE_MIN_BIT indicates that result of the resolve operation is the minimum of the sample values.

pattern RESOLVE_MODE_MAX_BIT :: ResolveModeFlagBits

RESOLVE_MODE_MAX_BIT indicates that result of the resolve operation is the maximum of the sample values.

pattern RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_ANDROID :: ResolveModeFlagBits

RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_ANDROID indicates that rather than a multisample resolve, a single sampled color attachment will be downsampled into a Y′CBCR format image specified by an external Android format. Unlike other resolve modes, implementations can resolve multiple times during rendering, or even bypass writing to the color attachment altogether, as long as the final value is resolved to the resolve attachment. Values in the G, B, and R channels of the color attachment will be written to the Y, CB, and CR channels of the external format image, respectively. Chroma values are calculated as if sampling with a linear filter from the color attachment at full rate, at the location the chroma values sit according to PhysicalDeviceExternalFormatResolvePropertiesANDROID::chromaOffsetX, PhysicalDeviceExternalFormatResolvePropertiesANDROID::chromaOffsetY, and the chroma sample rate of the resolved image.

Instances

Instances details
Storable ResolveModeFlagBits Source # 
Instance details

Defined in Vulkan.Core12.Enums.ResolveModeFlagBits

Bits ResolveModeFlagBits Source # 
Instance details

Defined in Vulkan.Core12.Enums.ResolveModeFlagBits

FiniteBits ResolveModeFlagBits Source # 
Instance details

Defined in Vulkan.Core12.Enums.ResolveModeFlagBits

Read ResolveModeFlagBits Source # 
Instance details

Defined in Vulkan.Core12.Enums.ResolveModeFlagBits

Show ResolveModeFlagBits Source # 
Instance details

Defined in Vulkan.Core12.Enums.ResolveModeFlagBits

Eq ResolveModeFlagBits Source # 
Instance details

Defined in Vulkan.Core12.Enums.ResolveModeFlagBits

Ord ResolveModeFlagBits Source # 
Instance details

Defined in Vulkan.Core12.Enums.ResolveModeFlagBits

Zero ResolveModeFlagBits Source # 
Instance details

Defined in Vulkan.Core12.Enums.ResolveModeFlagBits