Jolt Physics
A multi core friendly Game Physics Engine
|
A geometry primitive containing triangle batches for various lods. More...
#include <DebugRenderer.h>
Public Member Functions | |
JPH_OVERRIDE_NEW_DELETE | Geometry (const AABox &inBounds) |
Constructor. | |
Geometry (const Batch &inBatch, const AABox &inBounds) | |
Public Member Functions inherited from RefTarget< Geometry > | |
RefTarget ()=default | |
Constructor. | |
RefTarget (const RefTarget &) | |
~RefTarget () | |
assert no one is referencing us | |
void | SetEmbedded () const |
RefTarget & | operator= (const RefTarget &) |
Assignment operator. | |
uint32 | GetRefCount () const |
Get current refcount of this object. | |
void | AddRef () const |
Add or release a reference to this object. | |
void | Release () const |
Public Attributes | |
Array< LOD > | mLODs |
All level of details for this mesh. | |
AABox | mBounds |
Bounding box that encapsulates all LODs. | |
Additional Inherited Members | |
Static Public Member Functions inherited from RefTarget< Geometry > | |
static int | sInternalGetRefCountOffset () |
INTERNAL HELPER FUNCTION USED BY SERIALIZATION. | |
Protected Attributes inherited from RefTarget< Geometry > | |
atomic< uint32 > | mRefCount |
Current reference count. | |
Static Protected Attributes inherited from RefTarget< Geometry > | |
static constexpr uint32 | cEmbedded |
A large value that gets added to the refcount to mark the object as embedded. | |
A geometry primitive containing triangle batches for various lods.
|
inline |
Constructor.
AABox DebugRenderer::Geometry::mBounds |
Bounding box that encapsulates all LODs.