From 3dfe2108cfab31ba3ee5527e217d0d8e99a51162 Mon Sep 17 00:00:00 2001
From: git perforce import user
Date: Tue, 25 Oct 2016 12:29:14 -0600
Subject: Initial commit: PhysX 3.4.0 Update @ 21294896 APEX 1.4.0 Update @
21275617
[CL 21300167]
---
.../PhysXAPI/files/PxRenderBuffer_8h-source.html | 160 +++++++++++++++++++++
1 file changed, 160 insertions(+)
create mode 100644 PhysX_3.4/Documentation/PhysXAPI/files/PxRenderBuffer_8h-source.html
(limited to 'PhysX_3.4/Documentation/PhysXAPI/files/PxRenderBuffer_8h-source.html')
diff --git a/PhysX_3.4/Documentation/PhysXAPI/files/PxRenderBuffer_8h-source.html b/PhysX_3.4/Documentation/PhysXAPI/files/PxRenderBuffer_8h-source.html
new file mode 100644
index 00000000..81f5d41f
--- /dev/null
+++ b/PhysX_3.4/Documentation/PhysXAPI/files/PxRenderBuffer_8h-source.html
@@ -0,0 +1,160 @@
+
+
+ PxRenderBuffer.h
Go to the documentation of this file.
00001 // This code contains NVIDIA Confidential Information and is disclosed to you +00002 // under a form of NVIDIA software license agreement provided separately to you. +00003 // +00004 // Notice +00005 // NVIDIA Corporation and its licensors retain all intellectual property and +00006 // proprietary rights in and to this software and related documentation and +00007 // any modifications thereto. Any use, reproduction, disclosure, or +00008 // distribution of this software and related documentation without an express +00009 // license agreement from NVIDIA Corporation is strictly prohibited. +00010 // +00011 // ALL NVIDIA DESIGN SPECIFICATIONS, CODE ARE PROVIDED "AS IS.". NVIDIA MAKES +00012 // NO WARRANTIES, EXPRESSED, IMPLIED, STATUTORY, OR OTHERWISE WITH RESPECT TO +00013 // THE MATERIALS, AND EXPRESSLY DISCLAIMS ALL IMPLIED WARRANTIES OF NONINFRINGEMENT, +00014 // MERCHANTABILITY, AND FITNESS FOR A PARTICULAR PURPOSE. +00015 // +00016 // Information and code furnished is believed to be accurate and reliable. +00017 // However, NVIDIA Corporation assumes no responsibility for the consequences of use of such +00018 // information or for any infringement of patents or other rights of third parties that may +00019 // result from its use. No license is granted by implication or otherwise under any patent +00020 // or patent rights of NVIDIA Corporation. Details are subject to change without notice. +00021 // This code supersedes and replaces all information previously supplied. +00022 // NVIDIA Corporation products are not authorized for use as critical +00023 // components in life support devices or systems without express written approval of +00024 // NVIDIA Corporation. +00025 // +00026 // Copyright (c) 2008-2016 NVIDIA Corporation. All rights reserved. +00027 // Copyright (c) 2004-2008 AGEIA Technologies, Inc. All rights reserved. +00028 // Copyright (c) 2001-2004 NovodeX AG. All rights reserved. +00029 +00030 +00031 #ifndef PX_FOUNDATION_PXRENDERBUFFER_H +00032 #define PX_FOUNDATION_PXRENDERBUFFER_H +00033 +00038 #include "common/PxPhysXCommonConfig.h" +00039 #include "foundation/PxVec3.h" +00040 #include "foundation/PxMat33.h" +00041 #include "foundation/PxBounds3.h" +00042 +00043 #if !PX_DOXYGEN +00044 namespace physx +00045 { +00046 #endif +00047 +00051 struct PxDebugColor +00052 { +00053 enum Enum +00054 { +00055 eARGB_BLACK = 0xff000000, +00056 eARGB_RED = 0xffff0000, +00057 eARGB_GREEN = 0xff00ff00, +00058 eARGB_BLUE = 0xff0000ff, +00059 eARGB_YELLOW = 0xffffff00, +00060 eARGB_MAGENTA = 0xffff00ff, +00061 eARGB_CYAN = 0xff00ffff, +00062 eARGB_WHITE = 0xffffffff, +00063 eARGB_GREY = 0xff808080, +00064 eARGB_DARKRED = 0x88880000, +00065 eARGB_DARKGREEN = 0x88008800, +00066 eARGB_DARKBLUE = 0x88000088 +00067 }; +00068 }; +00069 +00073 struct PxDebugPoint +00074 { +00075 PxDebugPoint(const PxVec3& p, const PxU32& c) +00076 : pos(p), color(c) {} +00077 +00078 PxVec3 pos; +00079 PxU32 color; +00080 }; +00081 +00085 struct PxDebugLine +00086 { +00087 PxDebugLine(const PxVec3& p0, const PxVec3& p1, const PxU32& c) +00088 : pos0(p0), color0(c), pos1(p1), color1(c) {} +00089 +00090 PxVec3 pos0; +00091 PxU32 color0; +00092 PxVec3 pos1; +00093 PxU32 color1; +00094 }; +00095 +00099 struct PxDebugTriangle +00100 { +00101 PxDebugTriangle(const PxVec3& p0, const PxVec3& p1, const PxVec3& p2, const PxU32& c) +00102 : pos0(p0), color0(c), pos1(p1), color1(c), pos2(p2), color2(c) {} +00103 +00104 PxVec3 pos0; +00105 PxU32 color0; +00106 PxVec3 pos1; +00107 PxU32 color1; +00108 PxVec3 pos2; +00109 PxU32 color2; +00110 }; +00111 +00115 struct PxDebugText +00116 { +00117 PxDebugText() : string(0) {} +00118 +00119 PxDebugText(const PxVec3& p, const PxReal& s, const PxU32& c, const char* str) +00120 : position(p), size(s), color(c), string(str) {} +00121 +00122 PxVec3 position; +00123 PxReal size; +00124 PxU32 color; +00125 const char* string; +00126 }; +00127 +00131 class PxRenderBuffer +00132 { +00133 public: +00134 virtual ~PxRenderBuffer() {} +00135 +00136 virtual PxU32 getNbPoints() const = 0; +00137 virtual const PxDebugPoint* getPoints() const = 0; +00138 +00139 virtual PxU32 getNbLines() const = 0; +00140 virtual const PxDebugLine* getLines() const = 0; +00141 +00142 virtual PxU32 getNbTriangles() const = 0; +00143 virtual const PxDebugTriangle* getTriangles() const = 0; +00144 +00145 virtual PxU32 getNbTexts() const = 0; +00146 virtual const PxDebugText* getTexts() const = 0; +00147 +00148 virtual void append(const PxRenderBuffer& other) = 0; +00149 virtual void clear() = 0; +00150 }; +00151 +00152 #if !PX_DOXYGEN +00153 } // namespace physx +00154 #endif +00155 +00157 #endif +