SMAACommon.h 1.2 KB

123456789101112131415161718192021222324252627282930
  1. /*
  2. * Copyright (c) Contributors to the Open 3D Engine Project.
  3. * For complete copyright and license terms please see the LICENSE at the root of this distribution.
  4. *
  5. * SPDX-License-Identifier: Apache-2.0 OR MIT
  6. *
  7. */
  8. #pragma once
  9. #include <AzCore/Math/Vector4.h>
  10. #include <Atom/RPI.Public/Pass/PassAttachment.h>
  11. namespace AZ
  12. {
  13. namespace Render
  14. {
  15. // Path to texture resources used by SMAA.
  16. static const char* const PathToSMAAAreaTexture{ "textures/postprocessing/AreaTex.dds.streamingimage" };
  17. static const char* const PathToSMAASearchTexture{ "textures/postprocessing/SearchTex.dds.streamingimage" };
  18. // Option shader variable names for SMAA shader.
  19. static const char* const EnableDiagonalDetectionFeatureOptionName{ "o_enableDiagonalDetectionFeature" };
  20. static const char* const EnableCornerDetectionFeatureOptionName{ "o_enableCornerDetectionFeature" };
  21. static const char* const EnablePredicationFeatureOptionName{ "o_enablePredicationFeature" };
  22. static const char* const EdgeDetectionModeOptionName{ "o_edgeDetectionMode" };
  23. static const char* const BlendingOutputModeOptionName{ "o_blendingOutputMode" };
  24. } // namespace Render
  25. } // namespace AZ