mirror of
https://github.com/blawar/GLideN64.git
synced 2024-07-07 03:13:49 +00:00
28be20004d
It makes code more clear.
25 lines
321 B
C++
25 lines
321 B
C++
#ifndef TEXTURE_ENV_H
|
|
#define TEXTURE_ENV_H
|
|
|
|
class TexEnv: public OGLCombiner
|
|
{
|
|
public:
|
|
TexEnv(Combiner *_color, Combiner *_alpha);
|
|
virtual void Set();
|
|
virtual void UpdateColors();
|
|
|
|
private:
|
|
GLint m_mode;
|
|
|
|
struct
|
|
{
|
|
WORD color, alpha;
|
|
} m_fragment;
|
|
|
|
BOOL m_usesT0, m_usesT1;
|
|
};
|
|
|
|
void Init_texture_env();
|
|
#endif
|
|
|