CmGpuProgramImporter.h 772 B

12345678910111213141516171819202122232425262728293031
  1. #pragma once
  2. #include "CmPrerequisites.h"
  3. #include "CmSpecificImporter.h"
  4. namespace CamelotFramework
  5. {
  6. class CM_EXPORT GpuProgramImporter : public SpecificImporter
  7. {
  8. public:
  9. /**
  10. * @copydoc SpecificImporter::isExtensionSupported().
  11. */
  12. virtual bool isExtensionSupported(const String& ext) const;
  13. /**
  14. * @copydoc SpecificImporter::isMagicNumberSupported().
  15. */
  16. virtual bool isMagicNumberSupported(const UINT8* magicNumPtr, UINT32 numBytes) const;
  17. /**
  18. * @copydoc SpecificImporter::import().
  19. */
  20. virtual HResource import(const String& filePath, ConstImportOptionsPtr importOptions);
  21. /**
  22. * @copydoc SpecificImporter::createImportOptions().
  23. */
  24. virtual ImportOptionsPtr createImportOptions() const;
  25. };
  26. }