PxScopedCudaLock

Defined in include/cudamanager/PxCudaContextManager.h

class PxScopedCudaLock

Convenience class for holding CUDA lock within a scope.

Public Functions

inline PxScopedCudaLock(PxCudaContextManager &ctx)

ScopedCudaLock constructor.

inline ~PxScopedCudaLock()

ScopedCudaLock destructor.

Protected Attributes

PxCudaContextManager *mCtx

CUDA context manager pointer (initialized in the constructor)