| 1234567891011121314151617181920212223242526272829303132333435363738 |
- //********************************** Banshee Engine (www.banshee3d.com) **************************************************//
- //**************** Copyright (c) 2016 Marko Pintera ([email protected]). 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<GpuProgramCore> create(const String& source, const String& entryPoint, GpuProgramType gptype,
- GpuProgramProfile profile, bool requiresAdjacency) override;
- /** @copydoc GpuProgramFactory::create(GpuProgramType) */
- SPtr<GpuProgramCore> create(GpuProgramType type) override;
- protected:
- static String LANGUAGE_NAME;
- };
- /** @} */
- }
|