Back to index

nux  3.0.0
Classes | Namespaces | Defines | Variables
GLTextureStates.cpp File Reference
#include "GLResource.h"
#include "GLTextureStates.h"

Go to the source code of this file.

Classes

struct  nux::TextureStateLookUpTable

Namespaces

namespace  nux
 The Writer singleton is responsible for controlling where the logging message go.

Defines

#define UL_MAP(state__, default_value__, checked__)
#define UL_MAP_FLOAT(state__, default_value__, checked__)
#define SET_TS_VALUE(a, b)   if (a.iValue != b){(a).iValue = (b); (a).Dirty = true;}
#define TS_VALUE(a, b)   (a).iValue
#define SET_TS_VALUE_FLOAT(a, b)   if (a.fValue != b){(a).fValue = (b); (a).Dirty = true;}
#define TS_VALUE_FLOAT(a, b)   (a).fValue

Variables

struct nux::TextureStateLookUpTable nux::s_TextureStateLUT

Define Documentation

#define SET_TS_VALUE (   a,
 
)    if (a.iValue != b){(a).iValue = (b); (a).Dirty = true;}

Definition at line 113 of file GLTextureStates.cpp.

#define SET_TS_VALUE_FLOAT (   a,
 
)    if (a.fValue != b){(a).fValue = (b); (a).Dirty = true;}

Definition at line 116 of file GLTextureStates.cpp.

#define TS_VALUE (   a,
 
)    (a).iValue

Definition at line 114 of file GLTextureStates.cpp.

#define TS_VALUE_FLOAT (   a,
 
)    (a).fValue

Definition at line 117 of file GLTextureStates.cpp.

#define UL_MAP (   state__,
  default_value__,
  checked__ 
)
Value:
default_texture_state[GFXTS_##state__].iValue     = default_value__;  \
        default_texture_state[GFXTS_##state__].Checked   = checked__;
#define UL_MAP_FLOAT (   state__,
  default_value__,
  checked__ 
)
Value:
default_texture_state[GFXTS_##state__].fValue     = default_value__;      \
    default_texture_state[GFXTS_##state__].Checked   = checked__;