Effect.h 555 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. #ifndef EFFECT_H_
  2. #define EFFECT_H_
  3. #include "Object.h"
  4. namespace gameplay
  5. {
  6. class Effect : public Object
  7. {
  8. public:
  9. /**
  10. * Constructor.
  11. */
  12. Effect(void);
  13. /**
  14. * Destructor.
  15. */
  16. virtual ~Effect(void);
  17. virtual unsigned int getTypeId(void) const;
  18. virtual const char* getElementName(void) const;
  19. virtual void writeBinary(FILE* file);
  20. virtual void writeText(FILE* file);
  21. private:
  22. std::string _vertexShader;
  23. std::string _fragmentShader;
  24. };
  25. }
  26. #endif