text: #include "RaybytePCH.h"
  #include "Pipeline.h"
  
  #include "Vulkan/VulkanPipeline.h"
  #include "DX11/DX11Pipeline.h"
  #include "DX12/DX12Pipeline.h"
  #include "OpenGL/OpenGLPipeline.h"
  
  #include "GraphicsAPI.h"
  
  namespace Raybyte {
  
  	Ref<Pipeline> Pipeline::Create(const PipelineConfig& config)
  	{
  		switch (GraphicsAPI::GetCurrentAPI())
  		{
  		case GraphicsAPIType::Vulkan: return Ref<VulkanPipeline>::Create(config);
  		case GraphicsAPIType::DX11: return Ref<DX11Pipeline>::Create(config);
  		case GraphicsAPIType::DX12: return Ref<DX12Pipeline>::Create(config);
  		case GraphicsAPIType::OpenGL: return Ref<OpenGLPipeline>::Create(config);
  		}
  		RB_ASSERT(false, "Unknown Graphics API");
  		return nullptr;
  	}
  
  }