32#include "foundation/PxFlags.h"
41#pragma warning(disable : 4435)
44class PxCudaContextManager;
82 virtual void*
map() = 0;
90 virtual void unmap(
void* event = NULL) = 0;
118 virtual void resize(PxU64 size) = 0;
Buffer for delayed bulk read and write operations supporting host and GPU device memory spaces.
Definition PxBuffer.h:66
PX_INLINE void sync()
Helper function to synchronize on all pending operations.
Definition PxBuffer.h:116
virtual PxU64 getByteSize() const =0
Size of buffer in bytes.
virtual void unmap(void *event=NULL)=0
Releases access to internal memory (either device or pinned host memory depending on PxBufferType).
virtual PxCudaContextManager * getCudaContextManager() const =0
Get the associated PxCudaContextManager.
virtual void * map()=0
Provides access to internal memory (either device or pinned host memory depending on PxBufferType).
virtual PxBufferType::Enum getBufferType() const =0
Buffer memory space type.
virtual void release()=0
Deletes the buffer.
#define PX_INLINE
Definition PxPreprocessor.h:320
Sorts an array of objects in ascending order, assuming that the predicate implements the < operator:
Definition PxBoxController.h:39
Specifies memory space for a PxBuffer instance.
Definition PxBuffer.h:52