|
|
@@ -29,6 +29,7 @@
|
|
|
#include "pStatCollector.h"
|
|
|
#include "renderModeAttrib.h"
|
|
|
#include "texGenAttrib.h"
|
|
|
+#include "texMatrixAttrib.h"
|
|
|
|
|
|
class GraphicsStateGuardianBase;
|
|
|
class FogAttrib;
|
|
|
@@ -37,8 +38,6 @@ class TransparencyAttrib;
|
|
|
class ColorAttrib;
|
|
|
class ColorScaleAttrib;
|
|
|
class TextureAttrib;
|
|
|
-class TexGenAttrib;
|
|
|
-class RenderModeAttrib;
|
|
|
class FactoryParams;
|
|
|
|
|
|
////////////////////////////////////////////////////////////////////
|
|
|
@@ -125,6 +124,7 @@ PUBLISHED:
|
|
|
INLINE const ColorScaleAttrib *get_color_scale() const;
|
|
|
INLINE const TextureAttrib *get_texture() const;
|
|
|
INLINE const TexGenAttrib *get_tex_gen() const;
|
|
|
+ INLINE const TexMatrixAttrib *get_tex_matrix() const;
|
|
|
INLINE const RenderModeAttrib *get_render_mode() const;
|
|
|
|
|
|
INLINE int get_geom_rendering(int geom_rendering) const;
|
|
|
@@ -168,6 +168,7 @@ private:
|
|
|
void determine_color_scale();
|
|
|
void determine_texture();
|
|
|
void determine_tex_gen();
|
|
|
+ void determine_tex_matrix();
|
|
|
void determine_render_mode();
|
|
|
|
|
|
INLINE void set_destructing();
|
|
|
@@ -246,6 +247,7 @@ private:
|
|
|
const ColorScaleAttrib *_color_scale;
|
|
|
const TextureAttrib *_texture;
|
|
|
const TexGenAttrib *_tex_gen;
|
|
|
+ const TexMatrixAttrib *_tex_matrix;
|
|
|
const RenderModeAttrib *_render_mode;
|
|
|
|
|
|
enum Flags {
|
|
|
@@ -257,7 +259,8 @@ private:
|
|
|
F_checked_color_scale = 0x0020,
|
|
|
F_checked_texture = 0x0040,
|
|
|
F_checked_tex_gen = 0x0080,
|
|
|
- F_checked_render_mode = 0x0100,
|
|
|
+ F_checked_tex_matrix = 0x0100,
|
|
|
+ F_checked_render_mode = 0x0200,
|
|
|
F_is_destructing = 0x8000,
|
|
|
};
|
|
|
unsigned short _flags;
|