vulkan-3.1.0.0: Bindings to the Vulkan graphics API.

Safe HaskellNone
LanguageHaskell2010

Graphics.Vulkan.Extensions.VK_NV_fragment_coverage_to_color

Synopsis

Documentation

data PipelineCoverageToColorStateCreateInfoNV Source #

VkPipelineCoverageToColorStateCreateInfoNV - Structure specifying whether fragment coverage replaces a color

Description

If coverageToColorEnable is TRUE, the fragment coverage information is treated as a bitmask with one bit for each sample (as in the Sample Mask section), and this bitmask replaces the first component of the color value corresponding to the fragment shader output location with Location equal to coverageToColorLocation and Index equal to zero. If the color attachment format has fewer bits than the sample coverage, the low bits of the sample coverage bitmask are taken without any clamping. If the color attachment format has more bits than the sample coverage, the high bits of the sample coverage bitmask are filled with zeros.

If Sample Shading is in use, the coverage bitmask only has bits set for samples that correspond to the fragment shader invocation that shades those samples.

This pipeline stage occurs after sample counting and before blending, and is always performed after fragment shading regardless of the setting of EarlyFragmentTests.

If coverageToColorEnable is FALSE, these operations are skipped. If this structure is not present, it is as if coverageToColorEnable is FALSE.

Valid Usage

Valid Usage (Implicit)

  • flags must be 0

See Also

Bool32, PipelineCoverageToColorStateCreateFlagsNV, StructureType

Constructors

PipelineCoverageToColorStateCreateInfoNV 

Fields

Instances
Show PipelineCoverageToColorStateCreateInfoNV Source # 
Instance details

Defined in Graphics.Vulkan.Extensions.VK_NV_fragment_coverage_to_color

Storable PipelineCoverageToColorStateCreateInfoNV Source # 
Instance details

Defined in Graphics.Vulkan.Extensions.VK_NV_fragment_coverage_to_color

FromCStruct PipelineCoverageToColorStateCreateInfoNV Source # 
Instance details

Defined in Graphics.Vulkan.Extensions.VK_NV_fragment_coverage_to_color

ToCStruct PipelineCoverageToColorStateCreateInfoNV Source # 
Instance details

Defined in Graphics.Vulkan.Extensions.VK_NV_fragment_coverage_to_color

Zero PipelineCoverageToColorStateCreateInfoNV Source # 
Instance details

Defined in Graphics.Vulkan.Extensions.VK_NV_fragment_coverage_to_color

newtype PipelineCoverageToColorStateCreateFlagsNV Source #

VkPipelineCoverageToColorStateCreateFlagsNV - Reserved for future use

Description

PipelineCoverageToColorStateCreateFlagsNV is a bitmask type for setting a mask, but is currently reserved for future use.

See Also

PipelineCoverageToColorStateCreateInfoNV

Instances
Eq PipelineCoverageToColorStateCreateFlagsNV Source # 
Instance details

Defined in Graphics.Vulkan.Extensions.VK_NV_fragment_coverage_to_color

Ord PipelineCoverageToColorStateCreateFlagsNV Source # 
Instance details

Defined in Graphics.Vulkan.Extensions.VK_NV_fragment_coverage_to_color

Read PipelineCoverageToColorStateCreateFlagsNV Source # 
Instance details

Defined in Graphics.Vulkan.Extensions.VK_NV_fragment_coverage_to_color

Show PipelineCoverageToColorStateCreateFlagsNV Source # 
Instance details

Defined in Graphics.Vulkan.Extensions.VK_NV_fragment_coverage_to_color

Storable PipelineCoverageToColorStateCreateFlagsNV Source # 
Instance details

Defined in Graphics.Vulkan.Extensions.VK_NV_fragment_coverage_to_color

Bits PipelineCoverageToColorStateCreateFlagsNV Source # 
Instance details

Defined in Graphics.Vulkan.Extensions.VK_NV_fragment_coverage_to_color

Methods

(.&.) :: PipelineCoverageToColorStateCreateFlagsNV -> PipelineCoverageToColorStateCreateFlagsNV -> PipelineCoverageToColorStateCreateFlagsNV #

(.|.) :: PipelineCoverageToColorStateCreateFlagsNV -> PipelineCoverageToColorStateCreateFlagsNV -> PipelineCoverageToColorStateCreateFlagsNV #

xor :: PipelineCoverageToColorStateCreateFlagsNV -> PipelineCoverageToColorStateCreateFlagsNV -> PipelineCoverageToColorStateCreateFlagsNV #

complement :: PipelineCoverageToColorStateCreateFlagsNV -> PipelineCoverageToColorStateCreateFlagsNV #

shift :: PipelineCoverageToColorStateCreateFlagsNV -> Int -> PipelineCoverageToColorStateCreateFlagsNV #

rotate :: PipelineCoverageToColorStateCreateFlagsNV -> Int -> PipelineCoverageToColorStateCreateFlagsNV #

zeroBits :: PipelineCoverageToColorStateCreateFlagsNV #

bit :: Int -> PipelineCoverageToColorStateCreateFlagsNV #

setBit :: PipelineCoverageToColorStateCreateFlagsNV -> Int -> PipelineCoverageToColorStateCreateFlagsNV #

clearBit :: PipelineCoverageToColorStateCreateFlagsNV -> Int -> PipelineCoverageToColorStateCreateFlagsNV #

complementBit :: PipelineCoverageToColorStateCreateFlagsNV -> Int -> PipelineCoverageToColorStateCreateFlagsNV #

testBit :: PipelineCoverageToColorStateCreateFlagsNV -> Int -> Bool #

bitSizeMaybe :: PipelineCoverageToColorStateCreateFlagsNV -> Maybe Int #

bitSize :: PipelineCoverageToColorStateCreateFlagsNV -> Int #

isSigned :: PipelineCoverageToColorStateCreateFlagsNV -> Bool #

shiftL :: PipelineCoverageToColorStateCreateFlagsNV -> Int -> PipelineCoverageToColorStateCreateFlagsNV #

unsafeShiftL :: PipelineCoverageToColorStateCreateFlagsNV -> Int -> PipelineCoverageToColorStateCreateFlagsNV #

shiftR :: PipelineCoverageToColorStateCreateFlagsNV -> Int -> PipelineCoverageToColorStateCreateFlagsNV #

unsafeShiftR :: PipelineCoverageToColorStateCreateFlagsNV -> Int -> PipelineCoverageToColorStateCreateFlagsNV #

rotateL :: PipelineCoverageToColorStateCreateFlagsNV -> Int -> PipelineCoverageToColorStateCreateFlagsNV #

rotateR :: PipelineCoverageToColorStateCreateFlagsNV -> Int -> PipelineCoverageToColorStateCreateFlagsNV #

popCount :: PipelineCoverageToColorStateCreateFlagsNV -> Int #

Zero PipelineCoverageToColorStateCreateFlagsNV Source # 
Instance details

Defined in Graphics.Vulkan.Extensions.VK_NV_fragment_coverage_to_color

type NV_FRAGMENT_COVERAGE_TO_COLOR_EXTENSION_NAME = "VK_NV_fragment_coverage_to_color" Source #