Jolt Physics
A multi core friendly Game Physics Engine
Loading...
Searching...
No Matches
SubShapeIDCreator Class Reference

#include <SubShapeID.h>

Public Member Functions

SubShapeIDCreator PushID (uint inValue, uint inBits) const
 Add a new id to the chain of id's and return it.
 
const SubShapeIDGetID () const
 
uint GetNumBitsWritten () const
 Get the number of bits that have been written to the sub shape ID so far.
 

Detailed Description

A sub shape id creator can be used to create a new sub shape id by recursing through the shape hierarchy and pushing new ID's onto the chain

Member Function Documentation

◆ GetID()

const SubShapeID & SubShapeIDCreator::GetID ( ) const
inline

◆ GetNumBitsWritten()

uint SubShapeIDCreator::GetNumBitsWritten ( ) const
inline

Get the number of bits that have been written to the sub shape ID so far.

◆ PushID()

SubShapeIDCreator SubShapeIDCreator::PushID ( uint  inValue,
uint  inBits 
) const
inline

Add a new id to the chain of id's and return it.


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