Fission FSN
Loading...
Searching...
No Matches
fsCNativeRenderTexture.h
Go to the documentation of this file.
1/********************************************************************
2*
3* File: fsCNativeRenderTexture.h
4*
5* Purpose: bgfx implementation of a render texture.
6*
7* TODO: back with a bgfx frame buffer - currently a
8* non-crashing stub, matching the state of the raylib
9* backend.
10*
11*********************************************************************/
12
13#ifndef fsCNativeRenderTexturehdr
14#define fsCNativeRenderTexturehdr
15
17#include "fsINative.h"
18class fsIImage;
19
20
22{
23 friend class fsITexture;
24
25public:
26
27 void initialiseScreenDo(fsPoint pDimensions);
29
32
33protected:
34
35 void targetSetDo() override;
36 void targetClearDo() override;
37
38 void brushSetDo(fsCResourceName const& pBrushFilename) override;
39 void saveDo(fsCResourceName const& pFilename) override;
40
41 void recolourDo(fsSColour4B const& pOld, fsSColour4B const& pNew) override;
42 void paintWithSpriteBrushDo(fsPoint const& pPos) override;
43 void paintDo(std::vector<fsPoint> const& pPos, fsSColour4B const& pColour) override;
44
45 void renderDo() override;
46
47private:
48
49};
50
51#endif
Definition fsCNativeRenderTexture.h:31
void initialiseScreenDo(fsPoint pDimensions)
void paintWithSpriteBrushDo(fsPoint const &pPos) override
void saveDo(fsCResourceName const &pFilename) override
void renderDo() override
void paintDo(std::vector< fsPoint > const &pPos, fsSColour4B const &pColour) override
friend class fsITexture
Definition fsCNativeRenderTexture.h:32
void targetSetDo() override
void initialiseSolutionDo(fsIImage *pSolution)
void targetClearDo() override
void recolourDo(fsSColour4B const &pOld, fsSColour4B const &pNew) override
virtual ~fsCNativeRenderTexture()
void brushSetDo(fsCResourceName const &pBrushFilename) override
Definition fsCResourceName.h:32
Definition fsIImage.h:21
Definition fsIRenderableTexture.h:38
Definition fsPoint.h:17
Definition fsSColour.h:54