Back to index

nux  3.0.0
Classes | Namespaces | Defines | Enumerations
GLRenderStates.h File Reference
#include "NuxCore/NuxCore.h"
#include "GpuDevice.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  nux::RenderStateMap
class  nux::GpuRenderStates

Namespaces

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

Defines

#define SET_RS_VALUE(a, b)   (a).iValue = (b)
#define RS_VALUE(a)   (a).iValue

Enumerations

enum  {
  nux::GFXRS_FRONT_POLYGONMODE, nux::GFXRS_BACK_POLYGONMODE, nux::GFXRS_CULLFACEENABLE, nux::GFXRS_CULLFACE,
  nux::GFXRS_FRONTFACE, nux::GFXRS_SCISSORTESTENABLE, nux::GFXRS_FOGENABLE, nux::GFXRS_ZTESTENABLE,
  nux::GFXRS_ZWRITEENABLE, nux::GFXRS_ZFUNC, nux::GFXRS_ZNEAR, nux::GFXRS_ZFAR,
  nux::GFXRS_ALPHABLENDENABLE, nux::GFXRS_BLENDOP, nux::GFXRS_BLENDOPALPHA, nux::GFXRS_SRCBLEND,
  nux::GFXRS_DESTBLEND, nux::GFXRS_SRCBLENDALPHA, nux::GFXRS_DESTBLENDALPHA, nux::GFXRS_ALPHATESTENABLE,
  nux::GFXRS_ALPHATESTREF, nux::GFXRS_ALPHATESTFUNC, nux::GFXRS_STENCILENABLE, nux::GFXRS_TWOSIDEDSTENCILENABLE,
  nux::GFXRS_FRONT_STENCILWRITEMASK, nux::GFXRS_BACK_STENCILWRITEMASK, nux::GFXRS_FRONT_STENCILFUNC, nux::GFXRS_FRONT_STENCILREF,
  nux::GFXRS_FRONT_STENCILMASK, nux::GFXRS_FRONT_STENCILFAIL, nux::GFXRS_FRONT_STENCILZFAIL, nux::GFXRS_FRONT_STENCILZPASS,
  nux::GFXRS_BACK_STENCILFUNC, nux::GFXRS_BACK_STENCILREF, nux::GFXRS_BACK_STENCILMASK, nux::GFXRS_BACK_STENCILFAIL,
  nux::GFXRS_BACK_STENCILZFAIL, nux::GFXRS_BACK_STENCILZPASS, nux::GFXRS_POINTSMOOTHENABLE, nux::GFXRS_LINESMOOTHENABLE,
  nux::GFXRS_POINTSIZE, nux::GFXRS_LINEWIDTH, nux::GFXRS_POINTHINT, nux::GFXRS_LINEHINT,
  nux::GFXRS_COLORWRITEENABLE_R, nux::GFXRS_COLORWRITEENABLE_G, nux::GFXRS_COLORWRITEENABLE_B, nux::GFXRS_COLORWRITEENABLE_A,
  nux::GFXRS_POLYGONOFFSETENABLE, nux::GFXRS_POLYGONOFFSETFACTOR, nux::GFXRS_POLYGONOFFSETUNITS, nux::GFXRS_MAX_RENDERSTATES
}
enum  {
  nux::GFXSS_ADDRESSU, nux::GFXSS_ADDRESSV, nux::GFXSS_ADDRESSW, nux::GFXSS_MINFILTER,
  nux::GFXSS_MAGFILTER, nux::GFXSS_MIPMAPFILTER, nux::GFXSS_MIPMAPLODBIAS, nux::GFXSS_MAXANISOTROPY,
  nux::GFXSS_SRGBWRITEENABLE, nux::GFXSS_MAX_SAMPLERSTATES
}
enum  nux::PorterDuffOperator {
  nux::CLEAR = 0, nux::SRC, nux::DST, nux::SRC_OVER,
  nux::DST_OVER, nux::SRC_IN, nux::DST_IN, nux::SRC_OUT,
  nux::DST_OUT, nux::SRC_ATOP, nux::DST_ATOP, nux::XOR,
  nux::PLUS
}

Class Documentation

struct nux::RenderStateMap

Definition at line 132 of file GLRenderStates.h.

Class Members
unsigned int Checked
float fValue
unsigned int iValue
unsigned int State

Define Documentation

#define RS_VALUE (   a)    (a).iValue

Definition at line 353 of file GLRenderStates.h.

#define SET_RS_VALUE (   a,
 
)    (a).iValue = (b)

Definition at line 352 of file GLRenderStates.h.