vulkan-3.6.3: Bindings to the Vulkan graphics API.
Safe HaskellNone
LanguageHaskell2010

Vulkan.Extensions.VK_NV_fragment_coverage_to_color

Synopsis

Documentation

data PipelineCoverageToColorStateCreateInfoNV Source #

VkPipelineCoverageToColorStateCreateInfoNV - Structure specifying whether fragment coverage replaces a color

Description

If the pNext chain of PipelineMultisampleStateCreateInfo includes a PipelineCoverageToColorStateCreateInfoNV structure, then that structure controls whether the fragment coverage is substituted for a fragment color output and, if so, which output is replaced.

If coverageToColorEnable is TRUE, the coverage mask 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 coverage mask, the low bits of the sample coverage mask are taken without any clamping. If the color attachment format has more bits than the coverage mask, the high bits of the sample coverage mask are filled with zeros.

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

Instances details
Eq PipelineCoverageToColorStateCreateInfoNV Source # 
Instance details

Defined in Vulkan.Extensions.VK_NV_fragment_coverage_to_color

Show PipelineCoverageToColorStateCreateInfoNV Source # 
Instance details

Defined in Vulkan.Extensions.VK_NV_fragment_coverage_to_color

Generic PipelineCoverageToColorStateCreateInfoNV Source # 
Instance details

Defined in Vulkan.Extensions.VK_NV_fragment_coverage_to_color

Storable PipelineCoverageToColorStateCreateInfoNV Source # 
Instance details

Defined in Vulkan.Extensions.VK_NV_fragment_coverage_to_color

FromCStruct PipelineCoverageToColorStateCreateInfoNV Source # 
Instance details

Defined in Vulkan.Extensions.VK_NV_fragment_coverage_to_color

ToCStruct PipelineCoverageToColorStateCreateInfoNV Source # 
Instance details

Defined in Vulkan.Extensions.VK_NV_fragment_coverage_to_color

Zero PipelineCoverageToColorStateCreateInfoNV Source # 
Instance details

Defined in Vulkan.Extensions.VK_NV_fragment_coverage_to_color

type Rep PipelineCoverageToColorStateCreateInfoNV Source # 
Instance details

Defined in Vulkan.Extensions.VK_NV_fragment_coverage_to_color

type Rep PipelineCoverageToColorStateCreateInfoNV = D1 ('MetaData "PipelineCoverageToColorStateCreateInfoNV" "Vulkan.Extensions.VK_NV_fragment_coverage_to_color" "vulkan-3.6.3-inplace" 'False) (C1 ('MetaCons "PipelineCoverageToColorStateCreateInfoNV" 'PrefixI 'True) (S1 ('MetaSel ('Just "flags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 PipelineCoverageToColorStateCreateFlagsNV) :*: (S1 ('MetaSel ('Just "coverageToColorEnable") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool) :*: S1 ('MetaSel ('Just "coverageToColorLocation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Word32))))

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

Instances details
Eq PipelineCoverageToColorStateCreateFlagsNV Source # 
Instance details

Defined in Vulkan.Extensions.VK_NV_fragment_coverage_to_color

Ord PipelineCoverageToColorStateCreateFlagsNV Source # 
Instance details

Defined in Vulkan.Extensions.VK_NV_fragment_coverage_to_color

Read PipelineCoverageToColorStateCreateFlagsNV Source # 
Instance details

Defined in Vulkan.Extensions.VK_NV_fragment_coverage_to_color

Show PipelineCoverageToColorStateCreateFlagsNV Source # 
Instance details

Defined in Vulkan.Extensions.VK_NV_fragment_coverage_to_color

Storable PipelineCoverageToColorStateCreateFlagsNV Source # 
Instance details

Defined in Vulkan.Extensions.VK_NV_fragment_coverage_to_color

Bits PipelineCoverageToColorStateCreateFlagsNV Source # 
Instance details

Defined in 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 Vulkan.Extensions.VK_NV_fragment_coverage_to_color

type NV_FRAGMENT_COVERAGE_TO_COLOR_EXTENSION_NAME = "VK_NV_fragment_coverage_to_color" Source #