NW4F G3d
Loading...
Searching...
No Matches
g3d_GfxState.h File Reference

Go to the source code of this file.

Classes

struct  nw::g3d::fnd::GfxPolygonCtrl_t
class  nw::g3d::fnd::GfxPolygonCtrl
struct  nw::g3d::fnd::GfxDepthCtrl_t
class  nw::g3d::fnd::GfxDepthCtrl
struct  nw::g3d::fnd::GfxAlphaTest_t
class  nw::g3d::fnd::GfxAlphaTest
struct  nw::g3d::fnd::GfxColorCtrl_t
class  nw::g3d::fnd::GfxColorCtrl
struct  nw::g3d::fnd::GfxBlendCtrl_t
class  nw::g3d::fnd::GfxBlendCtrl
struct  nw::g3d::fnd::GfxBlendColor_t
class  nw::g3d::fnd::GfxBlendColor

Namespaces

namespace  nw
namespace  nw::g3d
namespace  nw::g3d::fnd

Macros

#define NW_G3D_GFX_STATE(class_name)

Macro Definition Documentation

◆ NW_G3D_GFX_STATE

#define NW_G3D_GFX_STATE ( class_name)
Value:
public: \
typedef class_name self_type; \
typedef class_name##_t base_type; \
static self_type* DownCast(base_type* ptr) { return static_cast<self_type*>(ptr); } \
static const self_type* DownCast(const base_type* ptr) \
{ return static_cast<const self_type*>(ptr); } \
static self_type& DownCast(base_type& ref) { return static_cast<self_type&>(ref); } \
static const self_type& DownCast(const base_type& ref) \
{ return static_cast<const self_type&>(ref); } \
class_name() /* { SetDefault(); } */; \