1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
|
<html>
<head>
<title>NVIDIA(R) PhysX(R) SDK 3.4 API Reference: Cooking</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<LINK HREF="NVIDIA.css" REL="stylesheet" TYPE="text/css">
</head>
<body bgcolor="#FFFFFF">
<div id="header">
<hr class="first">
<img alt="" src="images/PhysXlogo.png" align="middle"> <br>
<center>
<a class="qindex" href="main.html">Main Page</a>
<a class="qindex" href="hierarchy.html">Class Hierarchy</a>
<a class="qindex" href="annotated.html">Compound List</a>
<a class="qindex" href="functions.html">Compound Members</a>
</center>
<hr class="second">
</div>
<!-- Generated by Doxygen 1.5.8 -->
<div class="contents">
<h1>Cooking</h1><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Classes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structPxMeshCookingHint.html">PxMeshCookingHint</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Enumeration for mesh cooking hints. <a href="structPxMeshCookingHint.html#_details">More...</a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structPxBVH33MidphaseDesc.html">PxBVH33MidphaseDesc</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Structure describing parameters affecting BVH33 midphase mesh structure. <a href="structPxBVH33MidphaseDesc.html#_details">More...</a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structPxBVH34MidphaseDesc.html">PxBVH34MidphaseDesc</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Structure describing parameters affecting BVH34 midphase mesh structure. <a href="structPxBVH34MidphaseDesc.html#_details">More...</a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structPxConvexFlag.html">PxConvexFlag</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Flags which describe the format and behavior of a convex mesh. <a href="structPxConvexFlag.html#_details">More...</a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classPxConvexMeshDesc.html">PxConvexMeshDesc</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Descriptor class for <a class="el" href="classPxConvexMesh.html" title="A convex mesh.">PxConvexMesh</a>. <a href="classPxConvexMeshDesc.html#_details">More...</a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structPxPlatform.html">PxPlatform</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structPxConvexMeshCookingResult.html">PxConvexMeshCookingResult</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Result from convex cooking. <a href="structPxConvexMeshCookingResult.html#_details">More...</a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structPxConvexMeshCookingType.html">PxConvexMeshCookingType</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Enumeration for convex mesh cooking algorithms. <a href="structPxConvexMeshCookingType.html#_details">More...</a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structPxTriangleMeshCookingResult.html">PxTriangleMeshCookingResult</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Result from triangle mesh cooking. <a href="structPxTriangleMeshCookingResult.html#_details">More...</a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structPxMeshPreprocessingFlag.html">PxMeshPreprocessingFlag</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Enum for the set of mesh pre-processing parameters. <a href="structPxMeshPreprocessingFlag.html#_details">More...</a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structPxCookingParams.html">PxCookingParams</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Structure describing parameters affecting mesh cooking. <a href="structPxCookingParams.html#_details">More...</a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classPxCooking.html">PxCooking</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classPxMidphaseDesc.html">PxMidphaseDesc</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Structure describing parameters affecting midphase mesh structure. <a href="classPxMidphaseDesc.html#_details">More...</a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classPxTriangleMeshDesc.html">PxTriangleMeshDesc</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Descriptor class for <a class="el" href="classPxTriangleMesh.html" title="A triangle mesh, also called a 'polygon soup'.">PxTriangleMesh</a>. <a href="classPxTriangleMeshDesc.html#_details">More...</a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classPxClothMeshDesc.html">PxClothMeshDesc</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Descriptor class for a cloth mesh. <a href="classPxClothMeshDesc.html#_details">More...</a><br></td></tr>
<tr><td colspan="2"><br><h2>Typedefs</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <a class="el" href="classPxFlags.html">PxFlags</a><br class="typebreak">
< <a class="el" href="structPxConvexFlag.html#4b7bd21fa96c72b320a39e880208b4b6">PxConvexFlag::Enum</a>, PxU16 > </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cooking.html#g36d3375ae49e62c3842c3fbe0c620651">PxConvexFlags</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">collection of set bits defined in <a class="el" href="structPxConvexFlag.html" title="Flags which describe the format and behavior of a convex mesh.">PxConvexFlag</a>. <a href="#g36d3375ae49e62c3842c3fbe0c620651"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <a class="el" href="classPxFlags.html">PxFlags</a><br class="typebreak">
< <a class="el" href="structPxMeshPreprocessingFlag.html#d2a46fe74aef20eff5860acd661bc8f8">PxMeshPreprocessingFlag::Enum</a>, <br class="typebreak">
<a class="el" href="group__foundation.html#gcce5749db3dcfb916e98c253374264ed">PxU32</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cooking.html#g0a0051ee56690c138fac87d780cca9b4">PxMeshPreprocessingFlags</a></td></tr>
<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">PX_DEPRECATED PX_FORCE_INLINE <a class="el" href="group__foundation.html#gcce5749db3dcfb916e98c253374264ed">PxU32</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cooking.html#g5f723ff70630e2af8c5e9fa603111d95">PxGetGaussMapVertexLimitForPlatform</a> (<a class="el" href="structPxPlatform.html#c4cfddf519b366f9ee60bdd78a958015">PxPlatform::Enum</a> targetPlatform)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">PX_C_EXPORT <br class="typebreak">
PX_PHYSX_COOKING_API <br class="typebreak">
physx::PxCooking *PX_CALL_CONV </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cooking.html#gf772f72cf46b9a2326d4562f7cae620b">PxCreateCooking</a> (<a class="el" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">physx::PxU32</a> version, physx::PxFoundation &foundation, const physx::PxCookingParams &params)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create an instance of the cooking interface. <a href="#gf772f72cf46b9a2326d4562f7cae620b"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">PX_INLINE </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cooking.html#g2b98217f34d8856ebe839821740ac438">PxConvexMeshDesc::PxConvexMeshDesc</a> ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">constructor sets to default. <a href="#g2b98217f34d8856ebe839821740ac438"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">PX_INLINE void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cooking.html#g6e86954b2426aae207489af9928d45e3">PxConvexMeshDesc::setToDefault</a> ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">(re)sets the structure to the default. <a href="#g6e86954b2426aae207489af9928d45e3"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">PX_INLINE bool </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cooking.html#g5e7791d7f0688a9f642a9345a7083708">PxConvexMeshDesc::isValid</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns true if the descriptor is valid. <a href="#g5e7791d7f0688a9f642a9345a7083708"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">PX_INLINE </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cooking.html#g15d3050ac143dfb67ad43a8682c7b569">PxTriangleMeshDesc::PxTriangleMeshDesc</a> ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Constructor sets to default. <a href="#g15d3050ac143dfb67ad43a8682c7b569"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">PX_INLINE void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cooking.html#gfd882da42844238f9a91e5754694391e">PxTriangleMeshDesc::setToDefault</a> ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">(re)sets the structure to the default. <a href="#gfd882da42844238f9a91e5754694391e"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">PX_INLINE bool </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cooking.html#gb15c89f8d8d8723d3697cce47ef24b01">PxTriangleMeshDesc::isValid</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns true if the descriptor is valid. <a href="#gb15c89f8d8d8723d3697cce47ef24b01"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">PX_INLINE </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cooking.html#g5f214c974f4031e62cfed89231ee1d65">PxClothMeshDesc::PxClothMeshDesc</a> ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">constructor sets to default. <a href="#g5f214c974f4031e62cfed89231ee1d65"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">PX_INLINE void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cooking.html#g3efcaf703b329270eed5b0890b0c5304">PxClothMeshDesc::setToDefault</a> ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">(re)sets the structure to the default. <a href="#g3efcaf703b329270eed5b0890b0c5304"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">PX_INLINE bool </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cooking.html#g4bc3ea34b81c2881eba7060d5e74c5d8">PxClothMeshDesc::isValid</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns true if the descriptor is valid. <a href="#g4bc3ea34b81c2881eba7060d5e74c5d8"></a><br></td></tr>
</table>
<hr><h2>Typedef Documentation</h2>
<a class="anchor" name="g36d3375ae49e62c3842c3fbe0c620651"></a><!-- doxytag: member="PxConvexMeshDesc.h::PxConvexFlags" ref="g36d3375ae49e62c3842c3fbe0c620651" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef <a class="el" href="classPxFlags.html">PxFlags</a><<a class="el" href="structPxConvexFlag.html#4b7bd21fa96c72b320a39e880208b4b6">PxConvexFlag::Enum</a>,PxU16> <a class="el" href="classPxFlags.html">PxConvexFlags</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
collection of set bits defined in <a class="el" href="structPxConvexFlag.html" title="Flags which describe the format and behavior of a convex mesh.">PxConvexFlag</a>.
<p>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="structPxConvexFlag.html" title="Flags which describe the format and behavior of a convex mesh.">PxConvexFlag</a> </dd></dl>
</div>
</div><p>
<a class="anchor" name="g0a0051ee56690c138fac87d780cca9b4"></a><!-- doxytag: member="PxCooking.h::PxMeshPreprocessingFlags" ref="g0a0051ee56690c138fac87d780cca9b4" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef <a class="el" href="classPxFlags.html">PxFlags</a><<a class="el" href="structPxMeshPreprocessingFlag.html#d2a46fe74aef20eff5860acd661bc8f8">PxMeshPreprocessingFlag::Enum</a>,<a class="el" href="group__foundation.html#gcce5749db3dcfb916e98c253374264ed">PxU32</a>> <a class="el" href="classPxFlags.html">PxMeshPreprocessingFlags</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
</div>
</div><p>
<hr><h2>Function Documentation</h2>
<a class="anchor" name="g4bc3ea34b81c2881eba7060d5e74c5d8"></a><!-- doxytag: member="PxClothMeshDesc::isValid" ref="g4bc3ea34b81c2881eba7060d5e74c5d8" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">PX_INLINE bool PxClothMeshDesc::isValid </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td> const<code> [inherited]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Returns true if the descriptor is valid.
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>True if the current settings are valid </dd></dl>
<p>References <a class="el" href="PxCoreUtilityTypes_8h-source.html#l00085">PxBoundedData::count</a>, <a class="el" href="PxCoreUtilityTypes_8h-source.html#l00054">PxStridedData::data</a>, <a class="el" href="PxSimpleTriangleMesh_8h-source.html#l00068">PxMeshFlag::e16_BIT_INDICES</a>, <a class="el" href="PxClothMeshDesc_8h-source.html#l00106">PxClothMeshDesc::flags</a>, <a class="el" href="PxClothMeshDesc_8h-source.html#l00069">PxClothMeshDesc::invMasses</a>, <a class="el" href="PxClothMeshDesc_8h-source.html#l00060">PxClothMeshDesc::points</a>, <a class="el" href="PxClothMeshDesc_8h-source.html#l00101">PxClothMeshDesc::quads</a>, <a class="el" href="PxCoreUtilityTypes_8h-source.html#l00053">PxStridedData::stride</a>, and <a class="el" href="PxClothMeshDesc_8h-source.html#l00085">PxClothMeshDesc::triangles</a>.</p>
</div>
</div><p>
<a class="anchor" name="gb15c89f8d8d8723d3697cce47ef24b01"></a><!-- doxytag: member="PxTriangleMeshDesc::isValid" ref="gb15c89f8d8d8723d3697cce47ef24b01" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">PX_INLINE bool PxTriangleMeshDesc::isValid </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td> const<code> [inherited]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Returns true if the descriptor is valid.
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>true if the current settings are valid </dd></dl>
<p>Reimplemented from <a class="el" href="group__geomutils.html#gd310f10473f98d5de012cba8a97ddd5d">PxSimpleTriangleMesh</a>.</p>
<p>References <a class="el" href="PxCoreUtilityTypes_8h-source.html#l00085">PxBoundedData::count</a>, <a class="el" href="PxCoreUtilityTypes_8h-source.html#l00073">PxTypedStridedData< TDataType >::data</a>, <a class="el" href="PxCoreUtilityTypes_8h-source.html#l00054">PxStridedData::data</a>, <a class="el" href="PxTriangleMeshDesc_8h-source.html#l00074">PxTriangleMeshDesc::materialIndices</a>, <a class="el" href="PxSimpleTriangleMesh_8h-source.html#l00091">PxSimpleTriangleMesh::points</a>, <a class="el" href="PxCoreUtilityTypes_8h-source.html#l00072">PxTypedStridedData< TDataType >::stride</a>, and <a class="el" href="PxSimpleTriangleMesh_8h-source.html#l00108">PxSimpleTriangleMesh::triangles</a>.</p>
</div>
</div><p>
<a class="anchor" name="g5e7791d7f0688a9f642a9345a7083708"></a><!-- doxytag: member="PxConvexMeshDesc::isValid" ref="g5e7791d7f0688a9f642a9345a7083708" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">PX_INLINE bool PxConvexMeshDesc::isValid </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td> const<code> [inherited]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Returns true if the descriptor is valid.
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>True if the current settings are valid </dd></dl>
<p>References <a class="el" href="PxCoreUtilityTypes_8h-source.html#l00085">PxBoundedData::count</a>, <a class="el" href="PxCoreUtilityTypes_8h-source.html#l00054">PxStridedData::data</a>, <a class="el" href="PxConvexMeshDesc_8h-source.html#l00059">PxConvexFlag::e16_BIT_INDICES</a>, <a class="el" href="PxConvexMeshDesc_8h-source.html#l00068">PxConvexFlag::eCOMPUTE_CONVEX</a>, <a class="el" href="PxConvexMeshDesc_8h-source.html#l00129">PxConvexFlag::ePLANE_SHIFTING</a>, <a class="el" href="PxConvexMeshDesc_8h-source.html#l00207">PxConvexMeshDesc::flags</a>, <a class="el" href="PxConvexMeshDesc_8h-source.html#l00200">PxConvexMeshDesc::indices</a>, <a class="el" href="PxConvexMeshDesc_8h-source.html#l00178">PxConvexMeshDesc::points</a>, <a class="el" href="PxConvexMeshDesc_8h-source.html#l00188">PxConvexMeshDesc::polygons</a>, <a class="el" href="PxConvexMeshDesc_8h-source.html#l00233">PxConvexMeshDesc::quantizedCount</a>, <a class="el" href="PxCoreUtilityTypes_8h-source.html#l00053">PxStridedData::stride</a>, and <a class="el" href="PxConvexMeshDesc_8h-source.html#l00222">PxConvexMeshDesc::vertexLimit</a>.</p>
</div>
</div><p>
<a class="anchor" name="g5f214c974f4031e62cfed89231ee1d65"></a><!-- doxytag: member="PxClothMeshDesc::PxClothMeshDesc" ref="g5f214c974f4031e62cfed89231ee1d65" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">PX_INLINE PxClothMeshDesc::PxClothMeshDesc </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td><code> [inherited]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
constructor sets to default.
<p>
<p>Referenced by <a class="el" href="PxClothMeshDesc_8h-source.html#l00127">PxClothMeshDesc::setToDefault()</a>.</p>
</div>
</div><p>
<a class="anchor" name="g2b98217f34d8856ebe839821740ac438"></a><!-- doxytag: member="PxConvexMeshDesc::PxConvexMeshDesc" ref="g2b98217f34d8856ebe839821740ac438" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">PX_INLINE PxConvexMeshDesc::PxConvexMeshDesc </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td><code> [inherited]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
constructor sets to default.
<p>
<p>Referenced by <a class="el" href="PxConvexMeshDesc_8h-source.html#l00256">PxConvexMeshDesc::setToDefault()</a>.</p>
</div>
</div><p>
<a class="anchor" name="gf772f72cf46b9a2326d4562f7cae620b"></a><!-- doxytag: member="PxCooking.h::PxCreateCooking" ref="gf772f72cf46b9a2326d4562f7cae620b" args="(physx::PxU32 version, physx::PxFoundation &foundation, const physx::PxCookingParams &params)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">PX_C_EXPORT PX_PHYSX_COOKING_API physx::PxCooking* PX_CALL_CONV PxCreateCooking </td>
<td>(</td>
<td class="paramtype"><a class="el" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">physx::PxU32</a> </td>
<td class="paramname"> <em>version</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">physx::PxFoundation & </td>
<td class="paramname"> <em>foundation</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const physx::PxCookingParams & </td>
<td class="paramname"> <em>params</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Create an instance of the cooking interface.
<p>
Note that the foundation object is handled as an application-wide singleton in statically linked executables and a DLL-wide singleton in dynamically linked executables. Therefore, if you are using the runtime SDK in the same executable as cooking, you should pass the Physics's copy of foundation (acquired with <a class="el" href="classPxPhysics.html#1c2899065d7b3d9367a409b0207848cc" title="Retrieves the Foundation instance.">PxPhysics::getFoundation()</a>) to the cooker. This will also ensure correct handling of memory for objects passed from the cooker to the SDK.<p>
To use cooking in standalone mode, create an instance of the Foundation object with PxCreateCookingFoundation. You should pass the same foundation object to all instances of the cooking interface.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><tt>[in]</tt> </td><td valign="top"><em>version</em> </td><td>the SDK version number </td></tr>
<tr><td valign="top"><tt>[in]</tt> </td><td valign="top"><em>foundation</em> </td><td>the foundation object associated with this instance of the cooking interface. </td></tr>
<tr><td valign="top"><tt>[in]</tt> </td><td valign="top"><em>params</em> </td><td>the parameters for this instance of the cooking interface </td></tr>
</table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>true on success. </dd></dl>
</div>
</div><p>
<a class="anchor" name="g5f723ff70630e2af8c5e9fa603111d95"></a><!-- doxytag: member="PxCooking.h::PxGetGaussMapVertexLimitForPlatform" ref="g5f723ff70630e2af8c5e9fa603111d95" args="(PxPlatform::Enum targetPlatform)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">PX_DEPRECATED PX_FORCE_INLINE <a class="el" href="group__foundation.html#gcce5749db3dcfb916e98c253374264ed">PxU32</a> PxGetGaussMapVertexLimitForPlatform </td>
<td>(</td>
<td class="paramtype"><a class="el" href="structPxPlatform.html#c4cfddf519b366f9ee60bdd78a958015">PxPlatform::Enum</a> </td>
<td class="paramname"> <em>targetPlatform</em> </td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<p>References <a class="el" href="PxCooking_8h-source.html#l00059">PxPlatform::eARM</a>, <a class="el" href="PxCooking_8h-source.html#l00058">PxPlatform::ePC</a>, and <a class="el" href="PxAssert_8h-source.html#l00063">PX_ASSERT_WITH_MESSAGE</a>.</p>
<p>Referenced by <a class="el" href="PxCooking_8h-source.html#l00399">PxCookingParams::PxCookingParams()</a>.</p>
</div>
</div><p>
<a class="anchor" name="g15d3050ac143dfb67ad43a8682c7b569"></a><!-- doxytag: member="PxTriangleMeshDesc::PxTriangleMeshDesc" ref="g15d3050ac143dfb67ad43a8682c7b569" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">PX_INLINE PxTriangleMeshDesc::PxTriangleMeshDesc </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td><code> [inherited]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Constructor sets to default.
<p>
<p>References <a class="el" href="PxTriangleMeshDesc_8h-source.html#l00098">PxTriangleMeshDesc::setToDefault()</a>.</p>
<p>Referenced by <a class="el" href="PxTriangleMeshDesc_8h-source.html#l00098">PxTriangleMeshDesc::setToDefault()</a>.</p>
</div>
</div><p>
<a class="anchor" name="g3efcaf703b329270eed5b0890b0c5304"></a><!-- doxytag: member="PxClothMeshDesc::setToDefault" ref="g3efcaf703b329270eed5b0890b0c5304" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">PX_INLINE void PxClothMeshDesc::setToDefault </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td><code> [inherited]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
(re)sets the structure to the default.
<p>
<p>References <a class="el" href="PxClothMeshDesc_8h-source.html#l00123">PxClothMeshDesc::PxClothMeshDesc()</a>.</p>
</div>
</div><p>
<a class="anchor" name="gfd882da42844238f9a91e5754694391e"></a><!-- doxytag: member="PxTriangleMeshDesc::setToDefault" ref="gfd882da42844238f9a91e5754694391e" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">PX_INLINE void PxTriangleMeshDesc::setToDefault </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td><code> [inherited]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
(re)sets the structure to the default.
<p>
<p>Reimplemented from <a class="el" href="group__geomutils.html#gd6110ba2e5505fb809d3c3ebeb82e2f5">PxSimpleTriangleMesh</a>.</p>
<p>References <a class="el" href="PxTriangleMeshDesc_8h-source.html#l00093">PxTriangleMeshDesc::PxTriangleMeshDesc()</a>.</p>
<p>Referenced by <a class="el" href="PxTriangleMeshDesc_8h-source.html#l00093">PxTriangleMeshDesc::PxTriangleMeshDesc()</a>.</p>
</div>
</div><p>
<a class="anchor" name="g6e86954b2426aae207489af9928d45e3"></a><!-- doxytag: member="PxConvexMeshDesc::setToDefault" ref="g6e86954b2426aae207489af9928d45e3" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">PX_INLINE void PxConvexMeshDesc::setToDefault </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td><code> [inherited]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
(re)sets the structure to the default.
<p>
<p>References <a class="el" href="PxConvexMeshDesc_8h-source.html#l00251">PxConvexMeshDesc::PxConvexMeshDesc()</a>.</p>
</div>
</div><p>
</div>
<hr style="width: 100%; height: 2px;"><br>
Copyright © 2008-2018 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved. <a href="http://www.nvidia.com ">www.nvidia.com</a>
</body>
</html>
|