/********************************************************************
*
* Created: 10/3/2014 17:21
*
* File: fsCRenderJobText.h
*
* Author: Mick Waites
*
* Purpose: Text render job.
*
*********************************************************************/
#ifndef fsCRenderJobTexthdr
#define fsCRenderJobTexthdr
#include "../../fsIRenderJob.h"
class fsITextRenderData;
class fsCRenderJobText : public fsIRenderJob
{
public:
fsCUniqueId typeGet() const override;
static const fsCUniqueId mId;
void render() override;
void incrementFontCount();
fsCRenderJobText(fsIRenderer* pParent, fsIRenderData* pRenderData, fsS32 pFirstFontIndex);
virtual ~fsCRenderJobText();<--- Destructor in derived class
protected:
private:
fsS32 mFirstFontIndex;
fsS32 mLastFontInJob;
};
#endif