Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data PhysicalDeviceBlendOperationAdvancedFeaturesEXT = PhysicalDeviceBlendOperationAdvancedFeaturesEXT {}
- data PhysicalDeviceBlendOperationAdvancedPropertiesEXT = PhysicalDeviceBlendOperationAdvancedPropertiesEXT {}
- data PipelineColorBlendAdvancedStateCreateInfoEXT = PipelineColorBlendAdvancedStateCreateInfoEXT {}
- newtype BlendOverlapEXT where
- BlendOverlapEXT Int32
- pattern BLEND_OVERLAP_UNCORRELATED_EXT :: BlendOverlapEXT
- pattern BLEND_OVERLAP_DISJOINT_EXT :: BlendOverlapEXT
- pattern BLEND_OVERLAP_CONJOINT_EXT :: BlendOverlapEXT
- type EXT_BLEND_OPERATION_ADVANCED_SPEC_VERSION = 2
- pattern EXT_BLEND_OPERATION_ADVANCED_SPEC_VERSION :: forall a. Integral a => a
- type EXT_BLEND_OPERATION_ADVANCED_EXTENSION_NAME = "VK_EXT_blend_operation_advanced"
- pattern EXT_BLEND_OPERATION_ADVANCED_EXTENSION_NAME :: forall a. (Eq a, IsString a) => a
Documentation
data PhysicalDeviceBlendOperationAdvancedFeaturesEXT Source #
VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT - Structure describing advanced blending features that can be supported by an implementation
Members
The members of the PhysicalDeviceBlendOperationAdvancedFeaturesEXT
structure describe the following features:
Description
If the PhysicalDeviceBlendOperationAdvancedFeaturesEXT
structure is
included in the pNext
chain of
PhysicalDeviceFeatures2
,
it is filled with values indicating whether each feature is supported.
PhysicalDeviceBlendOperationAdvancedFeaturesEXT
can also be included
in the pNext
chain of DeviceCreateInfo
to
enable the features.
Valid Usage (Implicit)
See Also
PhysicalDeviceBlendOperationAdvancedFeaturesEXT | |
|
Instances
data PhysicalDeviceBlendOperationAdvancedPropertiesEXT Source #
VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT - Structure describing advanced blending limits that can be supported by an implementation
Members
The members of the PhysicalDeviceBlendOperationAdvancedPropertiesEXT
structure describe the following implementation-dependent limits:
Description
If the PhysicalDeviceBlendOperationAdvancedPropertiesEXT
structure is
included in the pNext
chain of
PhysicalDeviceProperties2
,
it is filled with the implementation-dependent limits.
Valid Usage (Implicit)
See Also
PhysicalDeviceBlendOperationAdvancedPropertiesEXT | |
|
Instances
data PipelineColorBlendAdvancedStateCreateInfoEXT Source #
VkPipelineColorBlendAdvancedStateCreateInfoEXT - Structure specifying parameters that affect advanced blend operations
Description
If this structure is not present, srcPremultiplied
and
dstPremultiplied
are both considered to be
TRUE
, and blendOverlap
is considered to be
BLEND_OVERLAP_UNCORRELATED_EXT
.
Valid Usage
- If the
non-premultiplied source color
property is not supported,
srcPremultiplied
must beTRUE
- If the
non-premultiplied destination color
property is not supported,
dstPremultiplied
must beTRUE
- If the
correlated overlap
property is not supported,
blendOverlap
must beBLEND_OVERLAP_UNCORRELATED_EXT
Valid Usage (Implicit)
blendOverlap
must be a validBlendOverlapEXT
value
See Also
PipelineColorBlendAdvancedStateCreateInfoEXT | |
|
Instances
newtype BlendOverlapEXT Source #
VkBlendOverlapEXT - Enumerant specifying the blend overlap parameter
Description
'
Overlap Mode | Weighting Equations |
---|---|
BLEND_OVERLAP_UNCORRELATED_EXT
| \[ \begin{aligned} p_0(A_s,A_d) & = A_sA_d \\ p_1(A_s,A_d) & = A_s(1-A_d) \\ p_2(A_s,A_d) & = A_d(1-A_s) \\ \end{aligned}\] |
BLEND_OVERLAP_CONJOINT_EXT
| \[ \begin{aligned} p_0(A_s,A_d) & = min(A_s,A_d) \\ p_1(A_s,A_d) & = max(A_s-A_d,0) \\ p_2(A_s,A_d) & = max(A_d-A_s,0) \\ \end{aligned}\] |
BLEND_OVERLAP_DISJOINT_EXT
| \[ \begin{aligned} p_0(A_s,A_d) & = max(A_s+A_d-1,0) \\ p_1(A_s,A_d) & = min(A_s,1-A_d) \\ p_2(A_s,A_d) & = min(A_d,1-A_s) \\ \end{aligned}\] |
Advanced Blend Overlap Modes
See Also
pattern BLEND_OVERLAP_UNCORRELATED_EXT :: BlendOverlapEXT |
|
pattern BLEND_OVERLAP_DISJOINT_EXT :: BlendOverlapEXT |
|
pattern BLEND_OVERLAP_CONJOINT_EXT :: BlendOverlapEXT |
|
Instances
pattern EXT_BLEND_OPERATION_ADVANCED_SPEC_VERSION :: forall a. Integral a => a Source #
type EXT_BLEND_OPERATION_ADVANCED_EXTENSION_NAME = "VK_EXT_blend_operation_advanced" Source #
pattern EXT_BLEND_OPERATION_ADVANCED_EXTENSION_NAME :: forall a. (Eq a, IsString a) => a Source #