1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
/********************************************************************
*
*	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