Fission FSN
Loading...
Searching...
No Matches
fsILineRenderData.h
Go to the documentation of this file.
1/********************************************************************
2*
3* File: fsILineRenderData.h
4*
5* Purpose: Store the line data to be sent to the renderer
6*
7*********************************************************************/
8
9#ifndef fsILineRenderDatahdr
10#define fsILineRenderDatahdr
11
12#include<vector>
13
14#include <fsCore/fsSColour.h>
15#include <fsCore/fsVec2d.h>
16
17#include "fsIRenderData.h"
18#include "fsIVertexRenderData.h"
19
20class fsVec2d;
21class fsAffineMtx2d;
22
23
25{
26public:
27
28 virtual void vertsCopyToImpl(fsS32 pIndex, void* const pImpl) const {}
29 virtual void colourCopyToImpl(void* const pImpl) const {}
30
32 virtual ~fsILineRenderData();
33
34protected:
35
36 void passToEngineRendererDo(fsIRenderer* pRenderer, fsS32 pFirstMaterialIndex, fsS32 pLastMaterialInJob) override;
37 void renderDo() override;
38
39 void colourSetDo(const fsSColour4B& pColour) override;
40
41private:
42};
43
44#endif
Definition fsAffineMtx2d.h:27
void renderDo() override
Definition fsILineRenderData.cpp:15
void passToEngineRendererDo(fsIRenderer *pRenderer, fsS32 pFirstMaterialIndex, fsS32 pLastMaterialInJob) override
Definition fsILineRenderData.cpp:9
void colourSetDo(const fsSColour4B &pColour) override
Definition fsILineRenderData.cpp:20
virtual void colourCopyToImpl(void *const pImpl) const
Definition fsILineRenderData.h:29
virtual ~fsILineRenderData()
Definition fsILineRenderData.cpp:29
virtual void vertsCopyToImpl(fsS32 pIndex, void *const pImpl) const
Definition fsILineRenderData.h:28
fsILineRenderData()
Definition fsILineRenderData.cpp:25
Definition fsIRenderer.h:73
fsIVertexRenderData()
Definition fsIVertexRenderData.cpp:24
int fsS32
Definition fsBaseTypes.h:20
Definition fsSColour.h:54
Definition fsVec2d.h:16