Tesla Graphics Engine Documentation (January 2012)
ComparisonFunction Enumeration
TeslaTesla.GraphicsComparisonFunction
Comparison function enumeration for alpha, stencil, or depth-buffer testing.
Declaration Syntax
C#
public enum ComparisonFunction
Members
Member Description
Always Always pass the test.
Never Always fail the test.
Less Accept new pixel if its value is less than the value of the current pixel.
LessEqual Accept new pixel if its value is less than or equal to the value of the current pixel.
Equal Accept the new pixel if its value is equal to the value of the current pixel.
GreaterEqual Accept the new pixel if its value is greater than or equal to the value of the current pixel.
Greater Accept the new pixel if its value is greater than the value of the current pixel.
NotEqual Accept the new pixel if its value is not equal to the current pixel.

Assembly: Tesla (Module: Tesla) Version: 0.5.0.0 (0.5.0.0)