#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_INTROSPECTION_BUILTINSEMANTIC_H #define NUCLEX_GRAPHICS_INTROSPECTION_BUILTINSEMANTIC_H namespace Nuclex { namespace Graphics { namespace Introspection { // ------------------------------------------------------------------------------------------- // namespace BuiltInSemantic { /// Built-in semantics of shader values enum Enum { /// Shader value does not have a built-in semantic NotBuiltIn = 0, /// Shader value contains a position Position = 1, /// Shader value describes the clipping distance ClipDistance = 2, /// Shader value describes the culling distance CullDistance = 3, /// Shader value contains the index of a render target RenderTargetArrayIndex = 4, /// Shader value contains the index of a viewport ViewportArrayIndex = 5, /// Shader value references a vertex VertexId = 6, /// Shader value references a primitive PrimitiveId = 7, /// Shader value references an instance InstanceId = 8, /// Shader value indicates whether the front face faces the camera IsFrontFace = 9, /// Shader value contains an index for a sampler array SampleIndex = 10, /// Shader value contains render target data Target = 11, /// Shader value contains depth buffer data Depth = 12, /// Shader value contains alpha coverage data Coverage = 13, /// Shader value specifies the minimum depth for a pixel shader DepthGreaterEqual = 14, /// Shader value specifies the maximum depth for a pixel shader DepthLessEqual = 15 }; } // namespace BuiltInSemantic // ------------------------------------------------------------------------------------------- // }}} // namespace Nuclex::Graphics::Introspection #endif // NUCLEX_GRAPHICS_INTROSPECTION_BUILTINSEMANTIC_H