44 inline void create(
unsigned int size)
67 return static_cast<int>(totalsize - usedsize);
72 const unsigned int nus(usedsize + size);
76 return (data + (usedsize - size));
112 unsigned int totalsize;
113 unsigned int usedsize;
#define btAlignedFree(ptr)
#define btAlignedAlloc(size, alignment)
static DBVT_INLINE btScalar size(const btDbvtVolume &a)
#define SIMD_FORCE_INLINE
The StackAlloc class provides some fast stack-based memory allocator (LIFO last-in first-out)
SIMD_FORCE_INLINE void endBlock(btBlock *block)
void create(unsigned int size)
btStackAlloc(unsigned int size)
unsigned char * allocate(unsigned int size)
int getAvailableMemory() const
SIMD_FORCE_INLINE btBlock * beginBlock()
draw_view push_constant(Type::INT, "radiance_src") .push_constant(Type capture_info_buf storage_buf(1, Qualifier::READ, "ObjectBounds", "bounds_buf[]") .push_constant(Type draw_view int
The btBlock class is an internal structure for the btStackAlloc memory allocator.