| 1234567891011121314151617181920212223242526272829303132333435 |
- //********************************** Banshee Engine (www.banshee3d.com) **************************************************//
- //**************** Copyright (c) 2016 Marko Pintera ([email protected]). All rights reserved. **********************//
- #pragma once
- #include "BsVulkanPrerequisites.h"
- #include "BsGpuProgramManager.h"
- namespace BansheeEngine
- {
- /** @addtogroup Vulkan
- * @{
- */
- /** Handles creation of GLSL GPU programs. */
- class VulkanGLSLProgramFactory : public GpuProgramFactory
- {
- public:
- VulkanGLSLProgramFactory() {}
- ~VulkanGLSLProgramFactory() {}
- /** @copydoc GpuProgramFactory::getLanguage */
- const String& getLanguage() const override;
- /** @copydoc GpuProgramFactory::create(const GPU_PROGRAM_DESC&, GpuDeviceFlags) */
- SPtr<GpuProgramCore> create(const GPU_PROGRAM_DESC& desc, GpuDeviceFlags deviceMask = GDF_DEFAULT) override;
- /** @copydoc GpuProgramFactory::create(GpuProgramType, GpuDeviceFlags) */
- SPtr<GpuProgramCore> create(GpuProgramType type, GpuDeviceFlags deviceMask = GDF_DEFAULT) override;
- protected:
- static const String LANGUAGE_NAME;
- };
- /** @} */
- }
|