ImGuiShaderUtils.h 725 B

12345678910111213141516171819
  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 <Atom/RPI.Public/Material/Material.h>
  10. namespace AtomSampleViewer
  11. {
  12. namespace ImGuiShaderUtils
  13. {
  14. //! Draws an ImGui table that compares the shader options for a shader variant that was requested and the shader variant that was found.
  15. void DrawShaderVariantTable(const AZ::RPI::ShaderOptionGroupLayout* layout, AZ::RPI::ShaderVariantId requestedVariantId, AZ::RPI::ShaderVariantId selectedVariantId);
  16. } // namespace Utils
  17. } // namespace AtomSampleViewer