| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Vulkan.Extensions.VK_NV_coverage_reduction_mode
Synopsis
- getPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV :: forall io. MonadIO io => PhysicalDevice -> io (Result, "combinations" ::: Vector FramebufferMixedSamplesCombinationNV)
- data PhysicalDeviceCoverageReductionModeFeaturesNV = PhysicalDeviceCoverageReductionModeFeaturesNV {}
- data PipelineCoverageReductionStateCreateInfoNV = PipelineCoverageReductionStateCreateInfoNV {}
- data FramebufferMixedSamplesCombinationNV = FramebufferMixedSamplesCombinationNV {}
- newtype PipelineCoverageReductionStateCreateFlagsNV = PipelineCoverageReductionStateCreateFlagsNV Flags
- newtype CoverageReductionModeNV where
- type NV_COVERAGE_REDUCTION_MODE_SPEC_VERSION = 1
- pattern NV_COVERAGE_REDUCTION_MODE_SPEC_VERSION :: forall a. Integral a => a
- type NV_COVERAGE_REDUCTION_MODE_EXTENSION_NAME = "VK_NV_coverage_reduction_mode"
- pattern NV_COVERAGE_REDUCTION_MODE_EXTENSION_NAME :: forall a. (Eq a, IsString a) => a
Documentation
getPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV Source #
Arguments
| :: forall io. MonadIO io | |
| => PhysicalDevice |
|
| -> io (Result, "combinations" ::: Vector FramebufferMixedSamplesCombinationNV) |
vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV - Query supported sample count combinations
Description
If pCombinations is NULL, then the number of supported combinations
for the given physicalDevice is returned in pCombinationCount.
Otherwise, pCombinationCount must point to a variable set by the
user to the number of elements in the pCombinations array, and on
return the variable is overwritten with the number of values actually
written to pCombinations. If the value of pCombinationCount is less
than the number of combinations supported for the given
physicalDevice, at most pCombinationCount values will be written
pCombinations and INCOMPLETE will be
returned instead of SUCCESS to indicate
that not all the supported values were returned.
Valid Usage (Implicit)
physicalDevicemust be a validPhysicalDevicehandle
pCombinationCountmust be a valid pointer to auint32_tvalue- If the value referenced by
pCombinationCountis not0, andpCombinationsis notNULL,pCombinationsmust be a valid pointer to an array ofpCombinationCountFramebufferMixedSamplesCombinationNVstructures
Return Codes
See Also
data PhysicalDeviceCoverageReductionModeFeaturesNV Source #
VkPhysicalDeviceCoverageReductionModeFeaturesNV - Structure describing the coverage reduction mode features that can be supported by an implementation
Members
The members of the PhysicalDeviceCoverageReductionModeFeaturesNV
structure describe the following features:
Description
If the PhysicalDeviceCoverageReductionModeFeaturesNV structure is
included in the pNext chain of
PhysicalDeviceFeatures2,
it is filled with values indicating whether the feature is supported.
PhysicalDeviceCoverageReductionModeFeaturesNV can also be included
in the pNext chain of DeviceCreateInfo to
enable the feature.
Valid Usage (Implicit)
See Also
Constructors
| PhysicalDeviceCoverageReductionModeFeaturesNV | |
Fields
| |
Instances
data PipelineCoverageReductionStateCreateInfoNV Source #
VkPipelineCoverageReductionStateCreateInfoNV - Structure specifying parameters controlling coverage reduction
Description
If this structure is not present, or if the extension is not enabled, the default coverage reduction mode is inferred as follows:
- If the
VK_NV_framebuffer_mixed_samplesextension is enabled, then it is as if thecoverageReductionModeisCOVERAGE_REDUCTION_MODE_MERGE_NV. - If the
VK_AMD_mixed_attachment_samplesextension is enabled, then it is as if thecoverageReductionModeisCOVERAGE_REDUCTION_MODE_TRUNCATE_NV. - If both
VK_NV_framebuffer_mixed_samplesandVK_AMD_mixed_attachment_samplesare enabled, then the default coverage reduction mode is implementation-dependent.
Valid Usage (Implicit)
flagsmust be0coverageReductionModemust be a validCoverageReductionModeNVvalue
See Also
CoverageReductionModeNV,
PipelineCoverageReductionStateCreateFlagsNV,
StructureType
Constructors
| PipelineCoverageReductionStateCreateInfoNV | |
Fields
| |
Instances
data FramebufferMixedSamplesCombinationNV Source #
VkFramebufferMixedSamplesCombinationNV - Structure specifying a supported sample count combination
Valid Usage (Implicit)
See Also
CoverageReductionModeNV,
SampleCountFlagBits,
SampleCountFlags,
StructureType,
getPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV
Constructors
| FramebufferMixedSamplesCombinationNV | |
Fields
| |
Instances
newtype PipelineCoverageReductionStateCreateFlagsNV Source #
VkPipelineCoverageReductionStateCreateFlagsNV - Reserved for future use
Description
PipelineCoverageReductionStateCreateFlagsNV is a bitmask type for
setting a mask, but is currently reserved for future use.
See Also
Constructors
| PipelineCoverageReductionStateCreateFlagsNV Flags |
Instances
newtype CoverageReductionModeNV Source #
VkCoverageReductionModeNV - Specify the coverage reduction mode
See Also
FramebufferMixedSamplesCombinationNV,
PipelineCoverageReductionStateCreateInfoNV
Constructors
| CoverageReductionModeNV Int32 |
Bundled Patterns
| pattern COVERAGE_REDUCTION_MODE_MERGE_NV :: CoverageReductionModeNV |
|
| pattern COVERAGE_REDUCTION_MODE_TRUNCATE_NV :: CoverageReductionModeNV |
|
Instances
pattern NV_COVERAGE_REDUCTION_MODE_SPEC_VERSION :: forall a. Integral a => a Source #
type NV_COVERAGE_REDUCTION_MODE_EXTENSION_NAME = "VK_NV_coverage_reduction_mode" Source #
pattern NV_COVERAGE_REDUCTION_MODE_EXTENSION_NAME :: forall a. (Eq a, IsString a) => a Source #