Skip to content

CF_CompareFunction

Category: graphics
GitHub: cute_graphics.h


Compare operations available for depth/stencil.

Values

Enum Description
COMPARE_FUNCTION_ALWAYS Always perform the operation.
COMPARE_FUNCTION_NEVER Never perform the operation.
COMPARE_FUNCTION_LESS_THAN <
COMPARE_FUNCTION_EQUAL ==
COMPARE_FUNCTION_NOT_EQUAL !=
COMPARE_FUNCTION_LESS_THAN_OR_EQUAL <=
COMPARE_FUNCTION_GREATER_THAN >
COMPARE_FUNCTION_GREATER_THAN_OR_EQUAL >=

CF_StencilFunction
cf_compare_function_string
CF_StencilOp