| 1234567891011121314151617181920212223242526272829303132333435 |
- //********************************** Banshee Engine (www.banshee3d.com) **************************************************//
- //**************** Copyright (c) 2016 Marko Pintera ([email protected]). All rights reserved. **********************//
- #pragma once
- #include "BsVulkanPrerequisites.h"
- #include "BsGpuProgram.h"
- namespace BansheeEngine
- {
- /** @addtogroup Vulkan
- * @{
- */
- /** Abstraction of a Vulkan shader object. */
- class VulkanGpuProgramCore : public GpuProgramCore
- {
- public:
- virtual ~VulkanGpuProgramCore();
- /** Returns a handle to the Vulkan shader module. */
- VkShaderModule getHandle() const;
- protected:
- friend class VulkanGLSLProgramFactory;
- VulkanGpuProgramCore(const GPU_PROGRAM_DESC& desc, GpuDeviceFlags deviceMask);
- /** @copydoc GpuProgramCore::initialize */
- void initialize() override;
- private:
- };
- /** @} */
- }
|