text: /****************************************************************************
   Copyright (c) 2021-2022 Xiamen Yaji Software Co., Ltd.
  
   http://www.cocos.com
  
   Permission is hereby granted, free of charge, to any person obtaining a copy
   of this software and associated engine source code (the "Software"), a limited,
   worldwide, royalty-free, non-assignable, revocable and non-exclusive license
   to use Cocos Creator solely to develop games on your target platforms. You shall
   not use Cocos Creator software for developing other software or tools that's
   used for developing games. You are not granted to publish, distribute,
   sublicense, and/or sell copies of Cocos Creator.
  
   The software or tools in this License Agreement are licensed, not sold.
   Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you.
  
   THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
   IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
   FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
   AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
   LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
   OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
   THE SOFTWARE.
  ****************************************************************************/
  
  /**
   * ========================= !DO NOT CHANGE THE FOLLOWING SECTION MANUALLY! =========================
   * The following section is auto-generated.
   * ========================= !DO NOT CHANGE THE FOLLOWING SECTION MANUALLY! =========================
   */
  // clang-format off
  #pragma once
  #include "cocos/renderer/pipeline/custom/RenderCommonNames.h"
  #include "cocos/renderer/pipeline/custom/RenderGraphTypes.h"
  
  namespace cc {
  
  namespace render {
  
  inline const char* getName(const ResourceDesc& /*v*/) noexcept { return "ResourceDesc"; }
  inline const char* getName(const ResourceTraits& /*v*/) noexcept { return "ResourceTraits"; }
  inline const char* getName(const RenderSwapchain& /*v*/) noexcept { return "RenderSwapchain"; }
  inline const char* getName(const ResourceStates& /*v*/) noexcept { return "ResourceStates"; }
  inline const char* getName(const ManagedResource& /*v*/) noexcept { return "ManagedResource"; }
  inline const char* getName(const ManagedTag& /*v*/) noexcept { return "Managed"; }
  inline const char* getName(const PersistentBufferTag& /*v*/) noexcept { return "PersistentBuffer"; }
  inline const char* getName(const PersistentTextureTag& /*v*/) noexcept { return "PersistentTexture"; }
  inline const char* getName(const FramebufferTag& /*v*/) noexcept { return "Framebuffer"; }
  inline const char* getName(const SwapchainTag& /*v*/) noexcept { return "Swapchain"; }
  inline const char* getName(const ResourceGraph& /*v*/) noexcept { return "ResourceGraph"; }
  inline const char* getName(AttachmentType e) noexcept {
      switch (e) {
          case AttachmentType::RENDER_TARGET: return "RENDER_TARGET";
          case AttachmentType::DEPTH_STENCIL: return "DEPTH_STENCIL";
      }
      return "";
  }
  inline const char* getName(AccessType e) noexcept {
      switch (e) {
          case AccessType::READ: return "READ";
          case AccessType::READ_WRITE: return "READ_WRITE";
          case AccessType::WRITE: return "WRITE";
      }
      return "";
  }
  inline const char* getName(const RasterView& /*v*/) noexcept { return "RasterView"; }
  inline const char* getName(ClearValueType e) noexcept {
      switch (e) {
          case ClearValueType::FLOAT_TYPE: return "FLOAT_TYPE";
          case ClearValueType::INT_TYPE: return "INT_TYPE";
      }
      return "";
  }
  inline const char* getName(const ComputeView& /*v*/) noexcept { return "ComputeView"; }
  inline const char* getName(const RasterSubpass& /*v*/) noexcept { return "RasterSubpass"; }
  inline const char* getName(const SubpassGraph& /*v*/) noexcept { return "SubpassGraph"; }
  inline const char* getName(const RasterPass& /*v*/) noexcept { return "RasterPass"; }
  inline const char* getName(const ComputePass& /*v*/) noexcept { return "ComputePass"; }
  inline const char* getName(const CopyPair& /*v*/) noexcept { return "CopyPair"; }
  inline const char* getName(const CopyPass& /*v*/) noexcept { return "CopyPass"; }
  inline const char* getName(const MovePair& /*v*/) noexcept { return "MovePair"; }
  inline const char* getName(const MovePass& /*v*/) noexcept { return "MovePass"; }
  inline const char* getName(const RaytracePass& /*v*/) noexcept { return "RaytracePass"; }
  inline const char* getName(const QueueTag& /*v*/) noexcept { return "Queue"; }
  inline const char* getName(const SceneTag& /*v*/) noexcept { return "Scene"; }
  inline const char* getName(const DispatchTag& /*v*/) noexcept { return "Dispatch"; }
  inline const char* getName(const BlitTag& /*v*/) noexcept { return "Blit"; }
  inline const char* getName(const PresentTag& /*v*/) noexcept { return "Present"; }
  inline const char* getName(const RenderQueue& /*v*/) noexcept { return "RenderQueue"; }
  inline const char* getName(const SceneData& /*v*/) noexcept { return "SceneData"; }
  inline const char* getName(const Dispatch& /*v*/) noexcept { return "Dispatch"; }
  inline const char* getName(const Blit& /*v*/) noexcept { return "Blit"; }
  inline const char* getName(const Present& /*v*/) noexcept { return "Present"; }
  inline const char* getName(const PresentPass& /*v*/) noexcept { return "PresentPass"; }
  inline const char* getName(const RenderData& /*v*/) noexcept { return "RenderData"; }
  inline const char* getName(const RenderGraph& /*v*/) noexcept { return "RenderGraph"; }
  
  } // namespace render
  
  } // namespace cc
  
  // clang-format on
  