#pragma once #include "IEngine.h" #include "IGeometryBuffer.h" #include "ICommonObjectFactory.h" class CommonObjectFactory : public ICommonObjectFactory { public: CommonObjectFactory(IEngine& argEngine); virtual ~CommonObjectFactory(); virtual IPingPongBuffer* CreatePingPongBuffer(ITexture& argInputTexture, const PingPongBufferDescription& argDescriptor); virtual IGeometryBuffer* CreateCube(float argWidth, float argHeight, float argDepth, bool argInverted, const string8& argName = ""); virtual IGeometryBuffer* CreateQuad(float argWidth, float argHeight, bool argTwoSided, const string8& argName = ""); private: IEngine& m_Engine; };