PxMemory.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2008-2015, NVIDIA CORPORATION. All rights reserved.
3  *
4  * NVIDIA CORPORATION and its licensors retain all intellectual property
5  * and proprietary rights in and to this software, related documentation
6  * and any modifications thereto. Any use, reproduction, disclosure or
7  * distribution of this software and related documentation without an express
8  * license agreement from NVIDIA CORPORATION is strictly prohibited.
9  */
10 // Copyright (c) 2004-2008 AGEIA Technologies, Inc. All rights reserved.
11 // Copyright (c) 2001-2004 NovodeX AG. All rights reserved.
12 
13 
14 #ifndef PX_FOUNDATION_PX_MEMORY_H
15 #define PX_FOUNDATION_PX_MEMORY_H
16 
23 
24 
25 #ifndef PX_DOXYGEN
26 namespace physx
27 {
28 #endif
29 
30 
39  PX_FORCE_INLINE void* PxMemZero(void* PX_RESTRICT dest, PxU32 count)
40  {
41  return physx::intrinsics::memZero(dest, count);
42  }
43 
53  PX_FORCE_INLINE void* PxMemSet(void* PX_RESTRICT dest, PxI32 c, PxU32 count)
54  {
55  return physx::intrinsics::memSet(dest, c, count);
56  }
57 
69  PX_FORCE_INLINE void* PxMemCopy(void* PX_RESTRICT dest, const void* PX_RESTRICT src, PxU32 count)
70  {
71  return physx::intrinsics::memCopy(dest, src, count);
72  }
73 
85  PX_FORCE_INLINE void* PxMemMove(void* PX_RESTRICT dest, const void* PX_RESTRICT src, PxU32 count)
86  {
87  return physx::intrinsics::memMove(dest, src, count);
88  }
89 
90 
91 #ifndef PX_DOXYGEN
92 } // namespace physx
93 #endif
94 
95 
97 #endif // PX_FOUNDATION_PX_MEMORY_H


Copyright © 2008-2015 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved. www.nvidia.com