| 1234567891011121314151617181920212223242526272829303132333435 |
- #ifndef MATERIALPARAMETER_H_
- #define MATERIALPARAMETER_H_
- #include "Object.h"
- namespace gameplay
- {
- class MaterialParameter : public Object
- {
- public:
- /**
- * Constructor.
- */
- MaterialParameter(void);
- /**
- * Destructor.
- */
- virtual ~MaterialParameter(void);
- virtual unsigned int getTypeId(void) const;
- virtual const char* getElementName(void) const;
- virtual void writeBinary(FILE* file);
- virtual void writeText(FILE* file);
- private:
- std::vector<float> _value;
- unsigned int _type;
- };
- }
- #endif
|