NW4F G3d
Loading...
Searching...
No Matches
nw::g3d::res::BinPtr Class Reference

#include <g3d_ResCommon.h>

Public Member Functions

void * to_ptr ()
const void * to_ptr () const
template<typename T>
T * to_ptr ()
template<typename T>
const T * to_ptr () const
BinPtrset_ptr (void *ptr)

Public Attributes

union { 
   u32   addr 
   void *   ptr 
}; 

Member Function Documentation

◆ to_ptr() [1/4]

void * nw::g3d::res::BinPtr::to_ptr ( )
inline

◆ to_ptr() [2/4]

const void * nw::g3d::res::BinPtr::to_ptr ( ) const
inline

◆ to_ptr() [3/4]

template<typename T>
T * nw::g3d::res::BinPtr::to_ptr ( )
inline

◆ to_ptr() [4/4]

template<typename T>
const T * nw::g3d::res::BinPtr::to_ptr ( ) const
inline

◆ set_ptr()

BinPtr & nw::g3d::res::BinPtr::set_ptr ( void * ptr)
inline

Member Data Documentation

◆ addr

u32 nw::g3d::res::BinPtr::addr

◆ ptr

void* nw::g3d::res::BinPtr::ptr

◆ [union]

union { ... } nw::g3d::res::BinPtr