port from perforce
This commit is contained in:
21
aiwaz/Aiwaz/CommonObjectFactory/CommonObjectFactory.h
Normal file
21
aiwaz/Aiwaz/CommonObjectFactory/CommonObjectFactory.h
Normal file
@@ -0,0 +1,21 @@
|
||||
#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;
|
||||
};
|
||||
Reference in New Issue
Block a user