Fission FSN
Loading...
Searching...
No Matches
fsCTexturedMesh.h
Go to the documentation of this file.
1/********************************************************************
2*
3* File: fsCTexturedMesh.h
4*
5* Purpose: A backend-neutral indexed textured mesh renderable.
6*
7*********************************************************************/
8
9#ifndef fsCTexturedMeshhdr
10#define fsCTexturedMeshhdr
11
12#include <memory>
13
16
17class fsCBrush;
18
19
21{
22public:
23
24 static fsBool supportedGet();
25
28
29 void brushSet(std::shared_ptr<fsCBrush> pBrush);
30 std::shared_ptr<fsCBrush> brushGet() const;
31 void alphaBlendModeSet(fsS32 pAlphaBlendMode);
32
34 ~fsCTexturedMesh() override = default;
35
36protected:
37
38 void matrixApplyDo(const fsAffineMtx2d& pRenderMatrix) override;
40
41private:
42
43 std::shared_ptr<fsCBrush> mBrush;
44};
45
46#endif
Definition fsAffineMtx2d.h:27
Definition fsCBrush.h:26
fsCTexturedMesh()
Definition fsCTexturedMesh.cpp:51
std::shared_ptr< fsCBrush > brushGet() const
Definition fsCTexturedMesh.cpp:31
void matrixApplyDo(const fsAffineMtx2d &pRenderMatrix) override
Definition fsCTexturedMesh.cpp:41
fsBool meshSet(const fsIRenderData::fsSPolyInfo &pMesh)
Definition fsCTexturedMesh.cpp:15
~fsCTexturedMesh() override=default
static fsBool supportedGet()
Definition fsCTexturedMesh.cpp:9
const fsIRenderData::fsSPolyInfo & meshGet() const
Definition fsCTexturedMesh.cpp:20
void brushSet(std::shared_ptr< fsCBrush > pBrush)
Definition fsCTexturedMesh.cpp:25
fsITexturedMeshRenderData * renderDataGet() const override
Definition fsCTexturedMesh.cpp:46
void alphaBlendModeSet(fsS32 pAlphaBlendMode)
Definition fsCTexturedMesh.cpp:36
fsIRenderableQuantum()
Definition fsIRenderableQuantum.cpp:28
Definition fsITexturedMeshRenderData.h:16
bool fsBool
Definition fsBaseTypes.h:26
int fsS32
Definition fsBaseTypes.h:20
Definition fsIRenderData.h:44