mirror of
https://github.com/glest/glest-source.git
synced 2025-09-26 07:28:59 +02:00
hopefully working implementation of mpfNoSelect from this discussion: http://glest.org/glest_board/index.php?topic=8165.msg82932#msg82932
This commit is contained in:
@@ -18,6 +18,14 @@
|
||||
|
||||
namespace Shared{ namespace Graphics{
|
||||
|
||||
enum RenderMode{
|
||||
rmNormal,
|
||||
rmSelection,
|
||||
|
||||
renderModeCount
|
||||
};
|
||||
|
||||
|
||||
class Texture;
|
||||
|
||||
// =====================================================
|
||||
@@ -50,7 +58,7 @@ public:
|
||||
|
||||
virtual void begin(bool renderNormals, bool renderTextures, bool renderColors, MeshCallback *meshCallback= NULL)=0;
|
||||
virtual void end()=0;
|
||||
virtual void render(Model *model)=0;
|
||||
virtual void render(Model *model,int renderMode=rmNormal)=0;
|
||||
virtual void renderNormalsOnly(Model *model)=0;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user