Leviathan  0.8.0.0
Leviathan game engine
Leviathan::Mesh Class Reference

#include <Mesh.h>

+ Inheritance diagram for Leviathan::Mesh:

Public Member Functions

bs::HMesh GetInternal ()
 
 REFERENCE_COUNTED_PTR_TYPE (Mesh)
 
- Public Member Functions inherited from Leviathan::ReferenceCounted
 ReferenceCounted (const ReferenceCounted &other)=delete
 
ReferenceCountedoperator= (const ReferenceCounted &other)=delete
 
FORCE_INLINE void AddRef () const
 
FORCE_INLINE void Release () const
 removes a reference and deletes the object if reference count reaches zero More...
 
FORCE_INLINE void AddRef ()
 
FORCE_INLINE void Release ()
 
int32_t GetRefCount () const
 Returns the reference count. More...
 

Protected Member Functions

DLLEXPORT Mesh (const bs::HMesh &mesh)
 
- Protected Member Functions inherited from Leviathan::ReferenceCounted
DLLEXPORT ReferenceCounted ()
 
virtual DLLEXPORT ~ReferenceCounted ()
 

Protected Attributes

friend ReferenceCounted
 

Additional Inherited Members

- Public Types inherited from Leviathan::ReferenceCounted
using basepointer = boost::intrusive_ptr< ReferenceCounted >
 
using refcountedpointer = boost::intrusive_ptr< ReferenceCounted >
 
- Static Public Member Functions inherited from Leviathan::ReferenceCounted
template<class ActualType >
static boost::intrusive_ptr< ActualType > WrapPtr (ActualType *ptr)
 Creates an intrusive_ptr from raw pointer. More...
 
template<class ActualType , class... Args>
static boost::intrusive_ptr< ActualType > MakeShared (Args &&... args)
 Constructs a new instance and wraps it. More...
 

Detailed Description

Definition at line 12 of file Mesh.h.

Constructor & Destructor Documentation

◆ Mesh()

DLLEXPORT Mesh::Mesh ( const bs::HMesh &  mesh)
protected

Definition at line 7 of file Mesh.cpp.

7 : BsMesh(mesh) {}

Member Function Documentation

◆ GetInternal()

bs::HMesh Leviathan::Mesh::GetInternal ( )
inline

Definition at line 20 of file Mesh.h.

21  {
22  return BsMesh;
23  }

◆ REFERENCE_COUNTED_PTR_TYPE()

Leviathan::Mesh::REFERENCE_COUNTED_PTR_TYPE ( Mesh  )

Member Data Documentation

◆ ReferenceCounted

friend Leviathan::Mesh::ReferenceCounted
protected

Definition at line 16 of file Mesh.h.


The documentation for this class was generated from the following files: