//********************************** Banshee Engine (www.banshee3d.com) **************************************************// //**************** Copyright (c) 2016 Marko Pintera (marko.pintera@gmail.com). All rights reserved. **********************// #pragma once #include "BsD3D9Prerequisites.h" #include "BsGpuProgramManager.h" namespace BansheeEngine { /** @addtogroup D3D9 * @{ */ /** Handles creation of HLSL GPU programs. */ class BS_D3D9_EXPORT D3D9HLSLProgramFactory : public GpuProgramFactory { public: D3D9HLSLProgramFactory(); ~D3D9HLSLProgramFactory(); /** @copydoc GpuProgramFactory::getLanguage */ const String& getLanguage() const override; /** * @copydoc GpuProgramFactory::create(const String&, const String&, GpuProgramType, GpuProgramProfile, bool) */ SPtr create(const String& source, const String& entryPoint, GpuProgramType gptype, GpuProgramProfile profile, bool requiresAdjacency) override; /** @copydoc GpuProgramFactory::create(GpuProgramType) */ SPtr create(GpuProgramType type) override; protected: static String LANGUAGE_NAME; }; /** @} */ }