#pragma region CPL License /* Nuclex Native Framework Copyright (C) 2002-2013 Nuclex Development Labs This library is free software; you can redistribute it and/or modify it under the terms of the IBM Common Public License as published by the IBM Corporation; either version 1.0 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the IBM Common Public License for more details. You should have received a copy of the IBM Common Public License along with this library */ #pragma endregion // CPL License #ifndef NUCLEX_GRAPHICS_RASTERIZATION_COMPARISONFUNCTION_H #define NUCLEX_GRAPHICS_RASTERIZATION_COMPARISONFUNCTION_H namespace Nuclex { namespace Graphics { namespace Rasterization { // ------------------------------------------------------------------------------------------- // namespace ComparisonFunction { /// Different comparisons that can be made between two values enum Enum { /// The comparison will always produce a false result AlwaysFalse = 0, /// The comparison will always produce a true result AlwaysTrue = 1, /// Performs a less-than comparison LessThan = 2, /// Performs an equality comparison Equal = 3, /// Performs a less-or-equal comparison LessOrEqual = 4, /// Performs a greater-than comparison GreaterThan = 5, /// Performs a not-equal comparison NotEqual = 6, /// Performs a greater-or-equal comparison GreaterOrEqual= 7, }; } // namespace ComparisonFunction // ------------------------------------------------------------------------------------------- // }}} // namespace Nuclex::Graphics::Rasterization #endif // NUCLEX_GRAPHICS_RASTERIZATION_COMPARISONFUNCTION_H