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

Go to the source code of this file.

Classes

struct  nw::g3d::fnd::GfxBuffer_t
class  nw::g3d::fnd::GfxBuffer
struct  nw::g3d::fnd::GfxSampler_t
class  nw::g3d::fnd::GfxSampler
struct  nw::g3d::fnd::GfxTexture_t
class  nw::g3d::fnd::GfxTexture
struct  nw::g3d::fnd::GfxFetchShader_t
class  nw::g3d::fnd::GfxFetchShader

Namespaces

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

Macros

#define NW_G3D_GFX_OBJECT(class_name)

Functions

void nw::g3d::fnd::SetPrimitiveRestartIndex (u32 restartIndex)

Macro Definition Documentation

◆ NW_G3D_GFX_OBJECT

#define NW_G3D_GFX_OBJECT ( class_name)
Value:
public: \
class_name(); \
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); } \
private: \
NW_G3D_DISALLOW_COPY_AND_ASSIGN(class_name) \