blob: 2410db89a9cd9d67e314e857422bf469ad61eb00 (
plain) (
blame)
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
|
<html>
<head>
<title>NVIDIA(R) PhysX(R) SDK 3.4 API Reference: PxBVH33MidphaseDesc Struct Reference</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>PxBVH33MidphaseDesc Struct Reference<br>
<small>
[<a class="el" href="group__cooking.html">Cooking</a>]</small>
</h1><!-- doxytag: class="PxBVH33MidphaseDesc" -->Structure describing parameters affecting BVH33 midphase mesh structure.
<a href="#_details">More...</a>
<p>
<code>#include <<a class="el" href="PxBVH33MidphaseDesc_8h-source.html">PxBVH33MidphaseDesc.h</a>></code>
<p>
<p>
<a href="structPxBVH33MidphaseDesc-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="structPxBVH33MidphaseDesc.html#032c13ce0350dea8512f56b66f5a2744">setToDefault</a> ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Desc initialization to default value. <a href="#032c13ce0350dea8512f56b66f5a2744"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="structPxBVH33MidphaseDesc.html#a01f45fc94c3dd3f6431e8237cd7ab7f">isValid</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns true if the descriptor is valid. <a href="#a01f45fc94c3dd3f6431e8237cd7ab7f"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Public Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">PxF32 </td><td class="memItemRight" valign="bottom"><a class="el" href="structPxBVH33MidphaseDesc.html#c3206cc379c130e13eccd9ad7457417e">meshSizePerformanceTradeOff</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Controls the trade-off between mesh size and runtime performance. <a href="#c3206cc379c130e13eccd9ad7457417e"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="structPxMeshCookingHint.html#f88f4aeeaffd545c26bc9b5215303796">PxMeshCookingHint::Enum</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structPxBVH33MidphaseDesc.html#bd911aa382eacb2ee24514c8077f47d4">meshCookingHint</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Mesh cooking hint. Used to specify mesh hierarchy construction preference. <a href="#bd911aa382eacb2ee24514c8077f47d4"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Structure describing parameters affecting BVH33 midphase mesh structure.
<p>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="structPxCookingParams.html" title="Structure describing parameters affecting mesh cooking.">PxCookingParams</a>, <a class="el" href="classPxMidphaseDesc.html" title="Structure describing parameters affecting midphase mesh structure.">PxMidphaseDesc</a> </dd></dl>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="a01f45fc94c3dd3f6431e8237cd7ab7f"></a><!-- doxytag: member="PxBVH33MidphaseDesc::isValid" ref="a01f45fc94c3dd3f6431e8237cd7ab7f" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool PxBVH33MidphaseDesc::isValid </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td> const<code> [inline]</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>
</div>
</div><p>
<a class="anchor" name="032c13ce0350dea8512f56b66f5a2744"></a><!-- doxytag: member="PxBVH33MidphaseDesc::setToDefault" ref="032c13ce0350dea8512f56b66f5a2744" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void PxBVH33MidphaseDesc::setToDefault </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Desc initialization to default value.
<p>
<p>References <a class="el" href="PxBVH33MidphaseDesc_8h-source.html#l00050">PxMeshCookingHint::eSIM_PERFORMANCE</a>.</p>
</div>
</div><p>
<hr><h2>Member Data Documentation</h2>
<a class="anchor" name="bd911aa382eacb2ee24514c8077f47d4"></a><!-- doxytag: member="PxBVH33MidphaseDesc::meshCookingHint" ref="bd911aa382eacb2ee24514c8077f47d4" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="structPxMeshCookingHint.html#f88f4aeeaffd545c26bc9b5215303796">PxMeshCookingHint::Enum</a> <a class="el" href="structPxBVH33MidphaseDesc.html#bd911aa382eacb2ee24514c8077f47d4">PxBVH33MidphaseDesc::meshCookingHint</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Mesh cooking hint. Used to specify mesh hierarchy construction preference.
<p>
<b>Default value:</b> <a class="el" href="structPxMeshCookingHint.html#f88f4aeeaffd545c26bc9b5215303796769f30972561dba7eef24120f4f9f7b3" title="Default value. Favors higher quality hierarchy with higher runtime performance over...">PxMeshCookingHint::eSIM_PERFORMANCE</a>
</div>
</div><p>
<a class="anchor" name="c3206cc379c130e13eccd9ad7457417e"></a><!-- doxytag: member="PxBVH33MidphaseDesc::meshSizePerformanceTradeOff" ref="c3206cc379c130e13eccd9ad7457417e" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">PxF32 <a class="el" href="structPxBVH33MidphaseDesc.html#c3206cc379c130e13eccd9ad7457417e">PxBVH33MidphaseDesc::meshSizePerformanceTradeOff</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Controls the trade-off between mesh size and runtime performance.
<p>
Using a value of 1.0 will produce a larger cooked mesh with generally higher runtime performance, using 0.0 will produce a smaller cooked mesh, with generally lower runtime performance.<p>
Values outside of [0,1] range will be clamped and cause a warning when any mesh gets cooked.<p>
<b>Default value:</b> 0.55 <b>Range:</b> [0.0f, 1.0f]
</div>
</div><p>
<hr>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="PxBVH33MidphaseDesc_8h-source.html">PxBVH33MidphaseDesc.h</a></ul>
</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>
|