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

Vulkan.Core10.Enums.CompareOp

Synopsis

Documentation

newtype CompareOp Source #

VkCompareOp - Stencil comparison function

See Also

PipelineDepthStencilStateCreateInfo, SamplerCreateInfo, StencilOpState

Constructors

CompareOp Int32 

Bundled Patterns

pattern COMPARE_OP_NEVER :: CompareOp

COMPARE_OP_NEVER specifies that the test evaluates to false.

pattern COMPARE_OP_LESS :: CompareOp

COMPARE_OP_LESS specifies that the test evaluates A < B.

pattern COMPARE_OP_EQUAL :: CompareOp

COMPARE_OP_EQUAL specifies that the test evaluates A = B.

pattern COMPARE_OP_LESS_OR_EQUAL :: CompareOp

COMPARE_OP_LESS_OR_EQUAL specifies that the test evaluates A ≤ B.

pattern COMPARE_OP_GREATER :: CompareOp

COMPARE_OP_GREATER specifies that the test evaluates A > B.

pattern COMPARE_OP_NOT_EQUAL :: CompareOp

COMPARE_OP_NOT_EQUAL specifies that the test evaluates A ≠ B.

pattern COMPARE_OP_GREATER_OR_EQUAL :: CompareOp

COMPARE_OP_GREATER_OR_EQUAL specifies that the test evaluates A ≥ B.

pattern COMPARE_OP_ALWAYS :: CompareOp

COMPARE_OP_ALWAYS specifies that the test evaluates to true.

Instances

Instances details
Eq CompareOp Source # 
Instance details

Defined in Vulkan.Core10.Enums.CompareOp

Ord CompareOp Source # 
Instance details

Defined in Vulkan.Core10.Enums.CompareOp

Read CompareOp Source # 
Instance details

Defined in Vulkan.Core10.Enums.CompareOp

Show CompareOp Source # 
Instance details

Defined in Vulkan.Core10.Enums.CompareOp

Storable CompareOp Source # 
Instance details

Defined in Vulkan.Core10.Enums.CompareOp

Zero CompareOp Source # 
Instance details

Defined in Vulkan.Core10.Enums.CompareOp