RavEngine
Loading...
Searching...
No Matches
physx::profile::PxProfileMemoryEventBuffer Class Referenceabstract

Stores memory events into the memory buffer. More...

#include <PxProfileMemory.h>

Inheritance diagram for physx::profile::PxProfileMemoryEventBuffer:
[legend]
Collaboration diagram for physx::profile::PxProfileMemoryEventBuffer:
[legend]

Public Member Functions

virtual void release ()=0
 Release the instance.
 
- Public Member Functions inherited from physx::PxAllocationListener
virtual void onAllocation (size_t size, const char *typeName, const char *filename, int line, void *allocatedMemory)=0
 callback when memory is allocated.
 
virtual void onDeallocation (void *allocatedMemory)=0
 callback when memory is deallocated.
 
- Public Member Functions inherited from physx::profile::PxProfileEventBufferClientManager
virtual void addClient (PxProfileEventBufferClient &inClient)=0
 Adds new client.
 
virtual void removeClient (PxProfileEventBufferClient &inClient)=0
 Removes a client.
 
virtual bool hasClients () const =0
 Check if manager has clients.
 
- Public Member Functions inherited from physx::profile::PxProfileEventFlusher
virtual void flushProfileEvents ()=0
 Flush profile events. Sends the profile event buffer to hooked clients.
 

Static Public Member Functions

static PxProfileMemoryEventBuffer & createMemoryEventBuffer (PxAllocatorCallback &inAllocator, uint32_t inBufferSize=0x1000)
 Create a non-mutex-protected event buffer.

 

Detailed Description

Stores memory events into the memory buffer.

Member Function Documentation

◆ createMemoryEventBuffer()

PxProfileMemoryEventBuffer & physx::profile::PxProfileMemoryEventBuffer::createMemoryEventBuffer ( PxAllocatorCallback &  inAllocator,
uint32_t  inBufferSize = 0x1000 
)
static

Create a non-mutex-protected event buffer.

Parameters
inAllocatorAllocation callback.
inBufferSizeInternal buffer size.

◆ release()

virtual void physx::profile::PxProfileMemoryEventBuffer::release ( )
pure virtual

Release the instance.

Implemented in physx::profile::PxProfileMemoryEventBufferImpl.


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