aboutsummaryrefslogtreecommitdiff
path: root/docs/source_docs/files/_nv_blast_8h-source.html
blob: 76d776eb14acc257700753aa665f2e82d8c1cc4a (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
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
<html>
	<head>
		<title>NVIDIA(R) Blast(R) SDK 1.0 Source Reference: sdk/lowlevel/include/NvBlast.h Source File</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="blast_logo.png">
			<br>
			<center>
				<a class="qindex" href="main.html">Main Page</a> &nbsp; 
				<!-- <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; //-->
				<a class="qindex" href="annotated.html">Class List</a> &nbsp; 
				<a class="qindex" href="functions.html">Class Members</a> &nbsp;  
			</center>
			<hr class="second">
		</div>
<!-- Generated by Doxygen 1.5.8 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="main.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="files.html"><span>File&nbsp;List</span></a></li>
      <li><a href="globals.html"><span>File&nbsp;Members</span></a></li>
    </ul>
  </div>
<h1>sdk/lowlevel/include/NvBlast.h</h1><a href="_nv_blast_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span>
<a name="l00002"></a>00002 <span class="comment">* Copyright (c) 2016-2017, NVIDIA CORPORATION.  All rights reserved.</span>
<a name="l00003"></a>00003 <span class="comment">*</span>
<a name="l00004"></a>00004 <span class="comment">* NVIDIA CORPORATION and its licensors retain all intellectual property</span>
<a name="l00005"></a>00005 <span class="comment">* and proprietary rights in and to this software, related documentation</span>
<a name="l00006"></a>00006 <span class="comment">* and any modifications thereto.  Any use, reproduction, disclosure or</span>
<a name="l00007"></a>00007 <span class="comment">* distribution of this software and related documentation without an express</span>
<a name="l00008"></a>00008 <span class="comment">* license agreement from NVIDIA CORPORATION is strictly prohibited.</span>
<a name="l00009"></a>00009 <span class="comment">*/</span>
<a name="l00010"></a>00010 
<a name="l00011"></a>00011 <span class="preprocessor">#ifndef NVBLAST_H</span>
<a name="l00012"></a>00012 <span class="preprocessor"></span><span class="preprocessor">#define NVBLAST_H</span>
<a name="l00013"></a>00013 <span class="preprocessor"></span>
<a name="l00014"></a>00014 
<a name="l00015"></a>00015 <span class="preprocessor">#include "<a class="code" href="_nv_blast_types_8h.html">NvBlastTypes.h</a>"</span>
<a name="l00016"></a>00016 
<a name="l00017"></a>00017 
<a name="l00019"></a>00019 <span class="comment">//  NvBlastAsset functions</span>
<a name="l00022"></a>00022 <span class="comment"></span>
<a name="l00032"></a>00032 <a class="code" href="_nv_blast_preprocessor_8h.html#e5c980f1b9848025a2fefa05a9d3bce1">NVBLAST_API</a> <span class="keywordtype">size_t</span> <a class="code" href="_nv_blast_8h.html#e687468738abd4123fc89b3e4109a995">NvBlastGetAssetMemorySize</a>(<span class="keyword">const</span> <a class="code" href="struct_nv_blast_asset_desc.html">NvBlastAssetDesc</a>* desc, <a class="code" href="_nv_blast_types_8h.html#fa1be237d696dc68e343189c19cc76e0">NvBlastLog</a> logFn);
<a name="l00033"></a>00033 
<a name="l00034"></a>00034 
<a name="l00044"></a>00044 <a class="code" href="_nv_blast_preprocessor_8h.html#e5c980f1b9848025a2fefa05a9d3bce1">NVBLAST_API</a> <span class="keywordtype">size_t</span> <a class="code" href="_nv_blast_8h.html#3ea41c9a21d5572dbd8189660e18be95">NvBlastGetRequiredScratchForCreateAsset</a>(<span class="keyword">const</span> <a class="code" href="struct_nv_blast_asset_desc.html">NvBlastAssetDesc</a>* desc, <a class="code" href="_nv_blast_types_8h.html#fa1be237d696dc68e343189c19cc76e0">NvBlastLog</a> logFn);
<a name="l00045"></a>00045 
<a name="l00046"></a>00046 
<a name="l00071"></a>00071 <a class="code" href="_nv_blast_preprocessor_8h.html#e5c980f1b9848025a2fefa05a9d3bce1">NVBLAST_API</a> <a class="code" href="struct_nv_blast_asset.html">NvBlastAsset</a>* <a class="code" href="_nv_blast_8h.html#dfed06b95f7c465681e3b3f87b60d1fb">NvBlastCreateAsset</a>(<span class="keywordtype">void</span>* mem, <span class="keyword">const</span> <a class="code" href="struct_nv_blast_asset_desc.html">NvBlastAssetDesc</a>* desc, <span class="keywordtype">void</span>* scratch, <a class="code" href="_nv_blast_types_8h.html#fa1be237d696dc68e343189c19cc76e0">NvBlastLog</a> logFn);
<a name="l00072"></a>00072 
<a name="l00073"></a>00073 
<a name="l00083"></a>00083 <a class="code" href="_nv_blast_preprocessor_8h.html#e5c980f1b9848025a2fefa05a9d3bce1">NVBLAST_API</a> <span class="keywordtype">size_t</span> <a class="code" href="_nv_blast_8h.html#8499eb2df3a5b53e71f2004a61b2a06f">NvBlastAssetGetFamilyMemorySize</a>(<span class="keyword">const</span> <a class="code" href="struct_nv_blast_asset.html">NvBlastAsset</a>* asset, <a class="code" href="_nv_blast_types_8h.html#fa1be237d696dc68e343189c19cc76e0">NvBlastLog</a> logFn);
<a name="l00084"></a>00084 
<a name="l00085"></a>00085 
<a name="l00098"></a>00098 <a class="code" href="_nv_blast_preprocessor_8h.html#e5c980f1b9848025a2fefa05a9d3bce1">NVBLAST_API</a> <a class="code" href="struct_nv_blast_family.html">NvBlastFamily</a>* <a class="code" href="_nv_blast_8h.html#bc40350d116a07bcd0f7747acdf49c5a">NvBlastAssetCreateFamily</a>(<span class="keywordtype">void</span>* mem, <span class="keyword">const</span> <a class="code" href="struct_nv_blast_asset.html">NvBlastAsset</a>* asset, <a class="code" href="_nv_blast_types_8h.html#fa1be237d696dc68e343189c19cc76e0">NvBlastLog</a> logFn);
<a name="l00099"></a>00099 
<a name="l00100"></a>00100 
<a name="l00109"></a>00109 <a class="code" href="_nv_blast_preprocessor_8h.html#e5c980f1b9848025a2fefa05a9d3bce1">NVBLAST_API</a> <a class="code" href="struct_nv_blast_i_d.html">NvBlastID</a> <a class="code" href="_nv_blast_8h.html#0ccedb5841c20bebe9d39aae5aee56d7">NvBlastAssetGetID</a>(<span class="keyword">const</span> <a class="code" href="struct_nv_blast_asset.html">NvBlastAsset</a>* asset, <a class="code" href="_nv_blast_types_8h.html#fa1be237d696dc68e343189c19cc76e0">NvBlastLog</a> logFn);
<a name="l00110"></a>00110 
<a name="l00111"></a>00111 
<a name="l00121"></a>00121 <a class="code" href="_nv_blast_preprocessor_8h.html#e5c980f1b9848025a2fefa05a9d3bce1">NVBLAST_API</a> <span class="keywordtype">bool</span> <a class="code" href="_nv_blast_8h.html#a6a3c5bb082495c5c48ce9ad0f6e80d9">NvBlastAssetSetID</a>(<a class="code" href="struct_nv_blast_asset.html">NvBlastAsset</a>* asset, <span class="keyword">const</span> <a class="code" href="struct_nv_blast_i_d.html">NvBlastID</a>* <span class="keywordtype">id</span>, <a class="code" href="_nv_blast_types_8h.html#fa1be237d696dc68e343189c19cc76e0">NvBlastLog</a> logFn);
<a name="l00122"></a>00122 
<a name="l00123"></a>00123 
<a name="l00132"></a>00132 <a class="code" href="_nv_blast_preprocessor_8h.html#e5c980f1b9848025a2fefa05a9d3bce1">NVBLAST_API</a> uint32_t <a class="code" href="_nv_blast_8h.html#5797bde811db1c3562bbe5d3f36f6130">NvBlastAssetGetFormatVersion</a>(<span class="keyword">const</span> <a class="code" href="struct_nv_blast_asset.html">NvBlastAsset</a>* asset, <a class="code" href="_nv_blast_types_8h.html#fa1be237d696dc68e343189c19cc76e0">NvBlastLog</a> logFn);
<a name="l00133"></a>00133 
<a name="l00134"></a>00134 
<a name="l00143"></a>00143 <a class="code" href="_nv_blast_preprocessor_8h.html#e5c980f1b9848025a2fefa05a9d3bce1">NVBLAST_API</a> uint32_t <a class="code" href="_nv_blast_8h.html#88c03cb76de47b559441487b6f90ff67">NvBlastAssetGetSize</a>(<span class="keyword">const</span> <a class="code" href="struct_nv_blast_asset.html">NvBlastAsset</a>* asset, <a class="code" href="_nv_blast_types_8h.html#fa1be237d696dc68e343189c19cc76e0">NvBlastLog</a> logFn);
<a name="l00144"></a>00144 
<a name="l00145"></a>00145 
<a name="l00154"></a>00154 <a class="code" href="_nv_blast_preprocessor_8h.html#e5c980f1b9848025a2fefa05a9d3bce1">NVBLAST_API</a> uint32_t <a class="code" href="_nv_blast_8h.html#51a2437f662febe3ad277602115aa26c">NvBlastAssetGetChunkCount</a>(<span class="keyword">const</span> <a class="code" href="struct_nv_blast_asset.html">NvBlastAsset</a>* asset, <a class="code" href="_nv_blast_types_8h.html#fa1be237d696dc68e343189c19cc76e0">NvBlastLog</a> logFn);
<a name="l00155"></a>00155 
<a name="l00156"></a>00156 
<a name="l00165"></a>00165 <a class="code" href="_nv_blast_preprocessor_8h.html#e5c980f1b9848025a2fefa05a9d3bce1">NVBLAST_API</a> uint32_t <a class="code" href="_nv_blast_8h.html#8a75456d6b1fd43257a374b9317ad7d7">NvBlastAssetGetLeafChunkCount</a>(<span class="keyword">const</span> <a class="code" href="struct_nv_blast_asset.html">NvBlastAsset</a>* asset, <a class="code" href="_nv_blast_types_8h.html#fa1be237d696dc68e343189c19cc76e0">NvBlastLog</a> logFn);
<a name="l00166"></a>00166 
<a name="l00167"></a>00167 
<a name="l00178"></a>00178 <a class="code" href="_nv_blast_preprocessor_8h.html#e5c980f1b9848025a2fefa05a9d3bce1">NVBLAST_API</a> uint32_t <a class="code" href="_nv_blast_8h.html#1e866b60b08d7e765e2c56be8a06e438">NvBlastAssetGetFirstSubsupportChunkIndex</a>(<span class="keyword">const</span> <a class="code" href="struct_nv_blast_asset.html">NvBlastAsset</a>* asset, <a class="code" href="_nv_blast_types_8h.html#fa1be237d696dc68e343189c19cc76e0">NvBlastLog</a> logFn);
<a name="l00179"></a>00179 
<a name="l00180"></a>00180 
<a name="l00189"></a>00189 <a class="code" href="_nv_blast_preprocessor_8h.html#e5c980f1b9848025a2fefa05a9d3bce1">NVBLAST_API</a> uint32_t <a class="code" href="_nv_blast_8h.html#6ae69c8059e5d0dc7b771279109a792e">NvBlastAssetGetBondCount</a>(<span class="keyword">const</span> <a class="code" href="struct_nv_blast_asset.html">NvBlastAsset</a>* asset, <a class="code" href="_nv_blast_types_8h.html#fa1be237d696dc68e343189c19cc76e0">NvBlastLog</a> logFn);
<a name="l00190"></a>00190 
<a name="l00191"></a>00191 
<a name="l00200"></a>00200 <a class="code" href="_nv_blast_preprocessor_8h.html#e5c980f1b9848025a2fefa05a9d3bce1">NVBLAST_API</a> <span class="keyword">const</span> <a class="code" href="struct_nv_blast_support_graph.html">NvBlastSupportGraph</a> <a class="code" href="_nv_blast_8h.html#e11a0d11aefb7b7a1e0b57cb8b5b2e7b">NvBlastAssetGetSupportGraph</a>(<span class="keyword">const</span> <a class="code" href="struct_nv_blast_asset.html">NvBlastAsset</a>* asset, <a class="code" href="_nv_blast_types_8h.html#fa1be237d696dc68e343189c19cc76e0">NvBlastLog</a> logFn);
<a name="l00201"></a>00201 
<a name="l00202"></a>00202 
<a name="l00213"></a>00213 <a class="code" href="_nv_blast_preprocessor_8h.html#e5c980f1b9848025a2fefa05a9d3bce1">NVBLAST_API</a> <span class="keyword">const</span> uint32_t* <a class="code" href="_nv_blast_8h.html#33aefb397327a574fff73de7060adac0">NvBlastAssetGetChunkToGraphNodeMap</a>(<span class="keyword">const</span> <a class="code" href="struct_nv_blast_asset.html">NvBlastAsset</a>* asset, <a class="code" href="_nv_blast_types_8h.html#fa1be237d696dc68e343189c19cc76e0">NvBlastLog</a> logFn);
<a name="l00214"></a>00214 
<a name="l00215"></a>00215 
<a name="l00224"></a>00224 <a class="code" href="_nv_blast_preprocessor_8h.html#e5c980f1b9848025a2fefa05a9d3bce1">NVBLAST_API</a> <span class="keyword">const</span> <a class="code" href="struct_nv_blast_chunk.html">NvBlastChunk</a>* <a class="code" href="_nv_blast_8h.html#a8e719d16e9e4bc70afdcad1aaf2b070">NvBlastAssetGetChunks</a>(<span class="keyword">const</span> <a class="code" href="struct_nv_blast_asset.html">NvBlastAsset</a>* asset, <a class="code" href="_nv_blast_types_8h.html#fa1be237d696dc68e343189c19cc76e0">NvBlastLog</a> logFn);
<a name="l00225"></a>00225 
<a name="l00226"></a>00226 
<a name="l00235"></a>00235 <a class="code" href="_nv_blast_preprocessor_8h.html#e5c980f1b9848025a2fefa05a9d3bce1">NVBLAST_API</a> <span class="keyword">const</span> <a class="code" href="struct_nv_blast_bond.html">NvBlastBond</a>* <a class="code" href="_nv_blast_8h.html#112afc8391b220b8947cbd003bcae67a">NvBlastAssetGetBonds</a>(<span class="keyword">const</span> <a class="code" href="struct_nv_blast_asset.html">NvBlastAsset</a>* asset, <a class="code" href="_nv_blast_types_8h.html#fa1be237d696dc68e343189c19cc76e0">NvBlastLog</a> logFn);
<a name="l00236"></a>00236 
<a name="l00237"></a>00237 
<a name="l00248"></a>00248 <a class="code" href="_nv_blast_preprocessor_8h.html#e5c980f1b9848025a2fefa05a9d3bce1">NVBLAST_API</a> uint32_t <a class="code" href="_nv_blast_8h.html#b5c08bfc967cf0a532a1c1d80cb60558">NvBlastAssetGetActorSerializationSizeUpperBound</a>(<span class="keyword">const</span> <a class="code" href="struct_nv_blast_asset.html">NvBlastAsset</a>* asset, <a class="code" href="_nv_blast_types_8h.html#fa1be237d696dc68e343189c19cc76e0">NvBlastLog</a> logFn);
<a name="l00249"></a>00249 
<a name="l00251"></a>00251 
<a name="l00252"></a>00252 
<a name="l00254"></a>00254 <span class="comment">//  NvBlastAsset helper functions</span>
<a name="l00257"></a>00257 <span class="comment"></span>
<a name="l00274"></a>00274 <a class="code" href="_nv_blast_preprocessor_8h.html#e5c980f1b9848025a2fefa05a9d3bce1">NVBLAST_API</a> <span class="keywordtype">bool</span> <a class="code" href="_nv_blast_8h.html#b86bb2afd5952d3c7c365e8162a0879b">NvBlastEnsureAssetExactSupportCoverage</a>(<a class="code" href="struct_nv_blast_chunk_desc.html">NvBlastChunkDesc</a>* chunkDescs, uint32_t chunkCount, <span class="keywordtype">void</span>* scratch, <a class="code" href="_nv_blast_types_8h.html#fa1be237d696dc68e343189c19cc76e0">NvBlastLog</a> logFn);
<a name="l00275"></a>00275 
<a name="l00276"></a>00276 
<a name="l00300"></a>00300 <a class="code" href="_nv_blast_preprocessor_8h.html#e5c980f1b9848025a2fefa05a9d3bce1">NVBLAST_API</a> <span class="keywordtype">bool</span> <a class="code" href="_nv_blast_8h.html#1ad7e0c2e8685aeee34fc08c9d55e9f7">NvBlastBuildAssetDescChunkReorderMap</a>(uint32_t* chunkReorderMap, <span class="keyword">const</span> <a class="code" href="struct_nv_blast_chunk_desc.html">NvBlastChunkDesc</a>* chunkDescs, uint32_t chunkCount, <span class="keywordtype">void</span>* scratch, <a class="code" href="_nv_blast_types_8h.html#fa1be237d696dc68e343189c19cc76e0">NvBlastLog</a> logFn);
<a name="l00301"></a>00301 
<a name="l00302"></a>00302 
<a name="l00319"></a>00319 <a class="code" href="_nv_blast_preprocessor_8h.html#e5c980f1b9848025a2fefa05a9d3bce1">NVBLAST_API</a> <span class="keywordtype">void</span> <a class="code" href="_nv_blast_8h.html#7a31258c463e0e5f18d1d8f6adc3e4a7">NvBlastApplyAssetDescChunkReorderMap</a>
<a name="l00320"></a>00320 (
<a name="l00321"></a>00321     <a class="code" href="struct_nv_blast_chunk_desc.html">NvBlastChunkDesc</a>* reorderedChunkDescs,
<a name="l00322"></a>00322     <span class="keyword">const</span> <a class="code" href="struct_nv_blast_chunk_desc.html">NvBlastChunkDesc</a>* chunkDescs,
<a name="l00323"></a>00323     uint32_t chunkCount,
<a name="l00324"></a>00324     <a class="code" href="struct_nv_blast_bond_desc.html">NvBlastBondDesc</a>* bondDescs,
<a name="l00325"></a>00325     uint32_t bondCount,
<a name="l00326"></a>00326     <span class="keyword">const</span> uint32_t* chunkReorderMap,
<a name="l00327"></a>00327     <a class="code" href="_nv_blast_types_8h.html#fa1be237d696dc68e343189c19cc76e0">NvBlastLog</a> logFn
<a name="l00328"></a>00328 );
<a name="l00329"></a>00329 
<a name="l00330"></a>00330 
<a name="l00349"></a>00349 <a class="code" href="_nv_blast_preprocessor_8h.html#e5c980f1b9848025a2fefa05a9d3bce1">NVBLAST_API</a> <span class="keywordtype">void</span> <a class="code" href="_nv_blast_8h.html#8e27d4d4a6632b83f949fbf390d47249">NvBlastApplyAssetDescChunkReorderMapInplace</a>(<a class="code" href="struct_nv_blast_chunk_desc.html">NvBlastChunkDesc</a>* chunkDescs, uint32_t chunkCount, <a class="code" href="struct_nv_blast_bond_desc.html">NvBlastBondDesc</a>* bondDescs, uint32_t bondCount, <span class="keyword">const</span> uint32_t* chunkReorderMap, <span class="keywordtype">void</span>* scratch, <a class="code" href="_nv_blast_types_8h.html#fa1be237d696dc68e343189c19cc76e0">NvBlastLog</a> logFn);
<a name="l00350"></a>00350 
<a name="l00351"></a>00351 
<a name="l00367"></a>00367 <a class="code" href="_nv_blast_preprocessor_8h.html#e5c980f1b9848025a2fefa05a9d3bce1">NVBLAST_API</a> <span class="keywordtype">bool</span> <a class="code" href="_nv_blast_8h.html#ff68a6a808d2e0de03b380d0a7cf0242">NvBlastReorderAssetDescChunks</a>(<a class="code" href="struct_nv_blast_chunk_desc.html">NvBlastChunkDesc</a>* chunkDescs, uint32_t chunkCount, <a class="code" href="struct_nv_blast_bond_desc.html">NvBlastBondDesc</a>* bondDescs, uint32_t bondCount, uint32_t* chunkReorderMap, <span class="keywordtype">void</span>* scratch, <a class="code" href="_nv_blast_types_8h.html#fa1be237d696dc68e343189c19cc76e0">NvBlastLog</a> logFn);
<a name="l00368"></a>00368 
<a name="l00370"></a>00370 
<a name="l00371"></a>00371 
<a name="l00373"></a>00373 <span class="comment">//  NvBlastFamily functions</span>
<a name="l00376"></a>00376 <span class="comment"></span>
<a name="l00385"></a>00385 <a class="code" href="_nv_blast_preprocessor_8h.html#e5c980f1b9848025a2fefa05a9d3bce1">NVBLAST_API</a> uint32_t <a class="code" href="_nv_blast_8h.html#64a3e89b0d917304c7ef999819ca2e74">NvBlastFamilyGetFormatVersion</a>(<span class="keyword">const</span> <a class="code" href="struct_nv_blast_family.html">NvBlastFamily</a>* family, <a class="code" href="_nv_blast_types_8h.html#fa1be237d696dc68e343189c19cc76e0">NvBlastLog</a> logFn);
<a name="l00386"></a>00386 
<a name="l00387"></a>00387 
<a name="l00395"></a>00395 <a class="code" href="_nv_blast_preprocessor_8h.html#e5c980f1b9848025a2fefa05a9d3bce1">NVBLAST_API</a> <span class="keywordtype">void</span> <a class="code" href="_nv_blast_8h.html#bba1ed3118be03040e0cd99bf3180ddf">NvBlastFamilySetAsset</a>(<a class="code" href="struct_nv_blast_family.html">NvBlastFamily</a>* family, <span class="keyword">const</span> <a class="code" href="struct_nv_blast_asset.html">NvBlastAsset</a>* asset, <a class="code" href="_nv_blast_types_8h.html#fa1be237d696dc68e343189c19cc76e0">NvBlastLog</a> logFn);
<a name="l00396"></a>00396 
<a name="l00397"></a>00397 
<a name="l00406"></a>00406 <a class="code" href="_nv_blast_preprocessor_8h.html#e5c980f1b9848025a2fefa05a9d3bce1">NVBLAST_API</a> uint32_t <a class="code" href="_nv_blast_8h.html#d9e290cc28e0d2d78624515e4a780091">NvBlastFamilyGetSize</a>(<span class="keyword">const</span> <a class="code" href="struct_nv_blast_family.html">NvBlastFamily</a>* family, <a class="code" href="_nv_blast_types_8h.html#fa1be237d696dc68e343189c19cc76e0">NvBlastLog</a> logFn);
<a name="l00407"></a>00407 
<a name="l00408"></a>00408 
<a name="l00417"></a>00417 <a class="code" href="_nv_blast_preprocessor_8h.html#e5c980f1b9848025a2fefa05a9d3bce1">NVBLAST_API</a> <a class="code" href="struct_nv_blast_i_d.html">NvBlastID</a> <a class="code" href="_nv_blast_8h.html#3ccdaabdd9a51a9882a03bc8f72d9106">NvBlastFamilyGetAssetID</a>(<span class="keyword">const</span> <a class="code" href="struct_nv_blast_family.html">NvBlastFamily</a>* family, <a class="code" href="_nv_blast_types_8h.html#fa1be237d696dc68e343189c19cc76e0">NvBlastLog</a> logFn);
<a name="l00418"></a>00418 
<a name="l00419"></a>00419 
<a name="l00428"></a>00428 <a class="code" href="_nv_blast_preprocessor_8h.html#e5c980f1b9848025a2fefa05a9d3bce1">NVBLAST_API</a> <span class="keywordtype">size_t</span> <a class="code" href="_nv_blast_8h.html#9253b7ab7f59f9ef5a604cc08bc23878">NvBlastFamilyGetRequiredScratchForCreateFirstActor</a>(<span class="keyword">const</span> <a class="code" href="struct_nv_blast_family.html">NvBlastFamily</a>* family, <a class="code" href="_nv_blast_types_8h.html#fa1be237d696dc68e343189c19cc76e0">NvBlastLog</a> logFn);
<a name="l00429"></a>00429 
<a name="l00430"></a>00430 
<a name="l00441"></a>00441 <a class="code" href="_nv_blast_preprocessor_8h.html#e5c980f1b9848025a2fefa05a9d3bce1">NVBLAST_API</a> <a class="code" href="struct_nv_blast_actor.html">NvBlastActor</a>* <a class="code" href="_nv_blast_8h.html#b7ecca70eb3de1854f5fe0baecebf23f">NvBlastFamilyCreateFirstActor</a>(<a class="code" href="struct_nv_blast_family.html">NvBlastFamily</a>* family, <span class="keyword">const</span> <a class="code" href="struct_nv_blast_actor_desc.html">NvBlastActorDesc</a>* desc, <span class="keywordtype">void</span>* scratch, <a class="code" href="_nv_blast_types_8h.html#fa1be237d696dc68e343189c19cc76e0">NvBlastLog</a> logFn);
<a name="l00442"></a>00442 
<a name="l00443"></a>00443 
<a name="l00452"></a>00452 <a class="code" href="_nv_blast_preprocessor_8h.html#e5c980f1b9848025a2fefa05a9d3bce1">NVBLAST_API</a> uint32_t <a class="code" href="_nv_blast_8h.html#f5afdfa868ba73c0dcde587633348e80">NvBlastFamilyGetActorCount</a>(<span class="keyword">const</span> <a class="code" href="struct_nv_blast_family.html">NvBlastFamily</a>* family, <a class="code" href="_nv_blast_types_8h.html#fa1be237d696dc68e343189c19cc76e0">NvBlastLog</a> logFn);
<a name="l00453"></a>00453 
<a name="l00454"></a>00454 
<a name="l00466"></a>00466 <a class="code" href="_nv_blast_preprocessor_8h.html#e5c980f1b9848025a2fefa05a9d3bce1">NVBLAST_API</a> <a class="code" href="struct_nv_blast_actor.html">NvBlastActor</a>* <a class="code" href="_nv_blast_8h.html#f77263b30631016c45d852a463c33fcb">NvBlastFamilyDeserializeActor</a>(<a class="code" href="struct_nv_blast_family.html">NvBlastFamily</a>* family, <span class="keyword">const</span> <span class="keywordtype">void</span>* buffer, <a class="code" href="_nv_blast_types_8h.html#fa1be237d696dc68e343189c19cc76e0">NvBlastLog</a> logFn);
<a name="l00467"></a>00467 
<a name="l00468"></a>00468 
<a name="l00479"></a>00479 <a class="code" href="_nv_blast_preprocessor_8h.html#e5c980f1b9848025a2fefa05a9d3bce1">NVBLAST_API</a> uint32_t <a class="code" href="_nv_blast_8h.html#e24d3c471176690a4fcd58453e697811">NvBlastFamilyGetActors</a>(<a class="code" href="struct_nv_blast_actor.html">NvBlastActor</a>** actors, uint32_t actorsSize, <span class="keyword">const</span> <a class="code" href="struct_nv_blast_family.html">NvBlastFamily</a>* family, <a class="code" href="_nv_blast_types_8h.html#fa1be237d696dc68e343189c19cc76e0">NvBlastLog</a> logFn);
<a name="l00480"></a>00480 
<a name="l00481"></a>00481 
<a name="l00491"></a>00491 <a class="code" href="_nv_blast_preprocessor_8h.html#e5c980f1b9848025a2fefa05a9d3bce1">NVBLAST_API</a> <a class="code" href="struct_nv_blast_actor.html">NvBlastActor</a>* <a class="code" href="_nv_blast_8h.html#6d9f94752fd13a6a709b853899ade332">NvBlastFamilyGetChunkActor</a>(<span class="keyword">const</span> <a class="code" href="struct_nv_blast_family.html">NvBlastFamily</a>* family, uint32_t chunkIndex, <a class="code" href="_nv_blast_types_8h.html#fa1be237d696dc68e343189c19cc76e0">NvBlastLog</a> logFn);
<a name="l00492"></a>00492 
<a name="l00493"></a>00493 
<a name="l00502"></a>00502 <a class="code" href="_nv_blast_preprocessor_8h.html#e5c980f1b9848025a2fefa05a9d3bce1">NVBLAST_API</a> uint32_t <a class="code" href="_nv_blast_8h.html#ae6f08d1b81107160a6ba39a4496b435">NvBlastFamilyGetMaxActorCount</a>(<span class="keyword">const</span> <a class="code" href="struct_nv_blast_family.html">NvBlastFamily</a>* family, <a class="code" href="_nv_blast_types_8h.html#fa1be237d696dc68e343189c19cc76e0">NvBlastLog</a> logFn);
<a name="l00503"></a>00503 
<a name="l00505"></a>00505 
<a name="l00506"></a>00506 
<a name="l00508"></a>00508 <span class="comment">//  NvBlastActor accessor, serialization, and deactivation functions</span>
<a name="l00511"></a>00511 <span class="comment"></span>
<a name="l00520"></a>00520 <a class="code" href="_nv_blast_preprocessor_8h.html#e5c980f1b9848025a2fefa05a9d3bce1">NVBLAST_API</a> uint32_t <a class="code" href="_nv_blast_8h.html#b103c80c01c2a4baeece9316bfcfc140">NvBlastActorGetVisibleChunkCount</a>(<span class="keyword">const</span> <a class="code" href="struct_nv_blast_actor.html">NvBlastActor</a>* actor, <a class="code" href="_nv_blast_types_8h.html#fa1be237d696dc68e343189c19cc76e0">NvBlastLog</a> logFn);
<a name="l00521"></a>00521 
<a name="l00522"></a>00522 
<a name="l00533"></a>00533 <a class="code" href="_nv_blast_preprocessor_8h.html#e5c980f1b9848025a2fefa05a9d3bce1">NVBLAST_API</a> uint32_t <a class="code" href="_nv_blast_8h.html#f04e1c60f327da97f1fbbc41e8c618f9">NvBlastActorGetVisibleChunkIndices</a>(uint32_t* visibleChunkIndices, uint32_t visibleChunkIndicesSize, <span class="keyword">const</span> <a class="code" href="struct_nv_blast_actor.html">NvBlastActor</a>* actor, <a class="code" href="_nv_blast_types_8h.html#fa1be237d696dc68e343189c19cc76e0">NvBlastLog</a> logFn);
<a name="l00534"></a>00534 
<a name="l00535"></a>00535 
<a name="l00544"></a>00544 <a class="code" href="_nv_blast_preprocessor_8h.html#e5c980f1b9848025a2fefa05a9d3bce1">NVBLAST_API</a> uint32_t <a class="code" href="_nv_blast_8h.html#ec37b629f83ac2586e9edeb78f825e5c">NvBlastActorGetGraphNodeCount</a>(<span class="keyword">const</span> <a class="code" href="struct_nv_blast_actor.html">NvBlastActor</a>* actor, <a class="code" href="_nv_blast_types_8h.html#fa1be237d696dc68e343189c19cc76e0">NvBlastLog</a> logFn);
<a name="l00545"></a>00545 
<a name="l00546"></a>00546 
<a name="l00557"></a>00557 <a class="code" href="_nv_blast_preprocessor_8h.html#e5c980f1b9848025a2fefa05a9d3bce1">NVBLAST_API</a> uint32_t <a class="code" href="_nv_blast_8h.html#8c68e7844b84555aa74fa950d57469f1">NvBlastActorGetGraphNodeIndices</a>(uint32_t* graphNodeIndices, uint32_t graphNodeIndicesSize, <span class="keyword">const</span> <a class="code" href="struct_nv_blast_actor.html">NvBlastActor</a>* actor, <a class="code" href="_nv_blast_types_8h.html#fa1be237d696dc68e343189c19cc76e0">NvBlastLog</a> logFn);
<a name="l00558"></a>00558 
<a name="l00559"></a>00559 
<a name="l00580"></a>00580 <a class="code" href="_nv_blast_preprocessor_8h.html#e5c980f1b9848025a2fefa05a9d3bce1">NVBLAST_API</a> <span class="keyword">const</span> <span class="keywordtype">float</span>* <a class="code" href="_nv_blast_8h.html#9d01e16dc02bed206adef7fcbf5935f0">NvBlastActorGetBondHealths</a>(<span class="keyword">const</span> <a class="code" href="struct_nv_blast_actor.html">NvBlastActor</a>* actor, <a class="code" href="_nv_blast_types_8h.html#fa1be237d696dc68e343189c19cc76e0">NvBlastLog</a> logFn);
<a name="l00581"></a>00581 
<a name="l00582"></a>00582 
<a name="l00592"></a>00592 <a class="code" href="_nv_blast_preprocessor_8h.html#e5c980f1b9848025a2fefa05a9d3bce1">NVBLAST_API</a> uint32_t <a class="code" href="_nv_blast_8h.html#32618a9eaafe25af758e4ffa33f36603">NvBlastActorGetSerializationSize</a>(<span class="keyword">const</span> <a class="code" href="struct_nv_blast_actor.html">NvBlastActor</a>* actor, <a class="code" href="_nv_blast_types_8h.html#fa1be237d696dc68e343189c19cc76e0">NvBlastLog</a> logFn);
<a name="l00593"></a>00593 
<a name="l00594"></a>00594 
<a name="l00605"></a>00605 <a class="code" href="_nv_blast_preprocessor_8h.html#e5c980f1b9848025a2fefa05a9d3bce1">NVBLAST_API</a> uint32_t <a class="code" href="_nv_blast_8h.html#da0d2f72c83e2c2357ba8e93e5a3986e">NvBlastActorSerialize</a>(<span class="keywordtype">void</span>* buffer, uint32_t bufferSize, <span class="keyword">const</span> <a class="code" href="struct_nv_blast_actor.html">NvBlastActor</a>* actor, <a class="code" href="_nv_blast_types_8h.html#fa1be237d696dc68e343189c19cc76e0">NvBlastLog</a> logFn);
<a name="l00606"></a>00606 
<a name="l00607"></a>00607 
<a name="l00616"></a>00616 <a class="code" href="_nv_blast_preprocessor_8h.html#e5c980f1b9848025a2fefa05a9d3bce1">NVBLAST_API</a> <a class="code" href="struct_nv_blast_family.html">NvBlastFamily</a>* <a class="code" href="_nv_blast_8h.html#245ad453eda4f0102b5617f4edff9b66">NvBlastActorGetFamily</a>(<span class="keyword">const</span> <a class="code" href="struct_nv_blast_actor.html">NvBlastActor</a>* actor, <a class="code" href="_nv_blast_types_8h.html#fa1be237d696dc68e343189c19cc76e0">NvBlastLog</a> logFn);
<a name="l00617"></a>00617 
<a name="l00618"></a>00618 
<a name="l00627"></a>00627 <a class="code" href="_nv_blast_preprocessor_8h.html#e5c980f1b9848025a2fefa05a9d3bce1">NVBLAST_API</a> uint32_t <a class="code" href="_nv_blast_8h.html#0b985e47f17306b7457a995fb1fc77cc">NvBlastActorGetIndex</a>(<span class="keyword">const</span> <a class="code" href="struct_nv_blast_actor.html">NvBlastActor</a>* actor, <a class="code" href="_nv_blast_types_8h.html#fa1be237d696dc68e343189c19cc76e0">NvBlastLog</a> logFn);
<a name="l00628"></a>00628 
<a name="l00629"></a>00629 
<a name="l00638"></a>00638 <a class="code" href="_nv_blast_preprocessor_8h.html#e5c980f1b9848025a2fefa05a9d3bce1">NVBLAST_API</a> <span class="keywordtype">bool</span> <a class="code" href="_nv_blast_8h.html#2293c45fd57fbe7cb448a849151907cf">NvBlastActorDeactivate</a>(<a class="code" href="struct_nv_blast_actor.html">NvBlastActor</a>* actor, <a class="code" href="_nv_blast_types_8h.html#fa1be237d696dc68e343189c19cc76e0">NvBlastLog</a> logFn);
<a name="l00639"></a>00639 
<a name="l00641"></a>00641 
<a name="l00642"></a>00642 
<a name="l00644"></a>00644 <span class="comment">//  NvBlastActor damage and fracturing functions</span>
<a name="l00647"></a>00647 <span class="comment"></span>
<a name="l00670"></a>00670 <a class="code" href="_nv_blast_preprocessor_8h.html#e5c980f1b9848025a2fefa05a9d3bce1">NVBLAST_API</a> <span class="keywordtype">void</span> <a class="code" href="_nv_blast_8h.html#90905cf877bade454668e46621478840">NvBlastActorGenerateFracture</a>
<a name="l00671"></a>00671 (
<a name="l00672"></a>00672     <a class="code" href="struct_nv_blast_fracture_buffers.html">NvBlastFractureBuffers</a>* commandBuffers,
<a name="l00673"></a>00673     <span class="keyword">const</span> <a class="code" href="struct_nv_blast_actor.html">NvBlastActor</a>* actor,
<a name="l00674"></a>00674     <span class="keyword">const</span> <a class="code" href="struct_nv_blast_damage_program.html">NvBlastDamageProgram</a> program, 
<a name="l00675"></a>00675     <span class="keyword">const</span> <a class="code" href="struct_nv_blast_program_params.html">NvBlastProgramParams</a>* programParams,
<a name="l00676"></a>00676     <a class="code" href="_nv_blast_types_8h.html#fa1be237d696dc68e343189c19cc76e0">NvBlastLog</a> logFn, 
<a name="l00677"></a>00677     <a class="code" href="struct_nv_blast_timers.html">NvBlastTimers</a>* timers
<a name="l00678"></a>00678 );
<a name="l00679"></a>00679 
<a name="l00680"></a>00680 
<a name="l00711"></a>00711 <a class="code" href="_nv_blast_preprocessor_8h.html#e5c980f1b9848025a2fefa05a9d3bce1">NVBLAST_API</a> <span class="keywordtype">void</span> <a class="code" href="_nv_blast_8h.html#88efac48b308c27be2742ed601bcb32f">NvBlastActorApplyFracture</a>
<a name="l00712"></a>00712 (
<a name="l00713"></a>00713     <a class="code" href="struct_nv_blast_fracture_buffers.html">NvBlastFractureBuffers</a>* eventBuffers,
<a name="l00714"></a>00714     <a class="code" href="struct_nv_blast_actor.html">NvBlastActor</a>* actor,
<a name="l00715"></a>00715     <span class="keyword">const</span> <a class="code" href="struct_nv_blast_fracture_buffers.html">NvBlastFractureBuffers</a>* commands,
<a name="l00716"></a>00716     <a class="code" href="_nv_blast_types_8h.html#fa1be237d696dc68e343189c19cc76e0">NvBlastLog</a> logFn,
<a name="l00717"></a>00717     <a class="code" href="struct_nv_blast_timers.html">NvBlastTimers</a>* timers
<a name="l00718"></a>00718 );
<a name="l00719"></a>00719 
<a name="l00720"></a>00720 
<a name="l00734"></a>00734 <a class="code" href="_nv_blast_preprocessor_8h.html#e5c980f1b9848025a2fefa05a9d3bce1">NVBLAST_API</a> uint32_t <a class="code" href="_nv_blast_8h.html#ccc0bb617daadd4554cb2224559a4dfc">NvBlastActorSplit</a>
<a name="l00735"></a>00735 (
<a name="l00736"></a>00736     <a class="code" href="struct_nv_blast_actor_split_event.html">NvBlastActorSplitEvent</a>* result, 
<a name="l00737"></a>00737     <a class="code" href="struct_nv_blast_actor.html">NvBlastActor</a>* actor,
<a name="l00738"></a>00738     uint32_t newActorsMaxCount,
<a name="l00739"></a>00739     <span class="keywordtype">void</span>* scratch,
<a name="l00740"></a>00740     <a class="code" href="_nv_blast_types_8h.html#fa1be237d696dc68e343189c19cc76e0">NvBlastLog</a> logFn,
<a name="l00741"></a>00741     <a class="code" href="struct_nv_blast_timers.html">NvBlastTimers</a>* timers
<a name="l00742"></a>00742 );
<a name="l00743"></a>00743 
<a name="l00744"></a>00744 
<a name="l00754"></a>00754 <a class="code" href="_nv_blast_preprocessor_8h.html#e5c980f1b9848025a2fefa05a9d3bce1">NVBLAST_API</a> <span class="keywordtype">size_t</span> <a class="code" href="_nv_blast_8h.html#66450acf095adeadc70d2a478c9ab2d1">NvBlastActorGetRequiredScratchForSplit</a>(<span class="keyword">const</span> <a class="code" href="struct_nv_blast_actor.html">NvBlastActor</a>* actor, <a class="code" href="_nv_blast_types_8h.html#fa1be237d696dc68e343189c19cc76e0">NvBlastLog</a> logFn);
<a name="l00755"></a>00755 
<a name="l00756"></a>00756 
<a name="l00766"></a>00766 <a class="code" href="_nv_blast_preprocessor_8h.html#e5c980f1b9848025a2fefa05a9d3bce1">NVBLAST_API</a> uint32_t <a class="code" href="_nv_blast_8h.html#95a908aa7b6e14e1ed881bf3cfe810d6">NvBlastActorGetMaxActorCountForSplit</a>(<span class="keyword">const</span> <a class="code" href="struct_nv_blast_actor.html">NvBlastActor</a>* actor, <a class="code" href="_nv_blast_types_8h.html#fa1be237d696dc68e343189c19cc76e0">NvBlastLog</a> logFn);
<a name="l00767"></a>00767 
<a name="l00768"></a>00768 
<a name="l00777"></a>00777 <a class="code" href="_nv_blast_preprocessor_8h.html#e5c980f1b9848025a2fefa05a9d3bce1">NVBLAST_API</a> <span class="keywordtype">bool</span> <a class="code" href="_nv_blast_8h.html#20bf7daebbc3804766c32fd6bd624a07">NvBlastActorCanFracture</a>(<span class="keyword">const</span> <a class="code" href="struct_nv_blast_actor.html">NvBlastActor</a>* actor, <a class="code" href="_nv_blast_types_8h.html#fa1be237d696dc68e343189c19cc76e0">NvBlastLog</a> logFn);
<a name="l00778"></a>00778 
<a name="l00780"></a>00780 
<a name="l00781"></a>00781 
<a name="l00783"></a>00783 <span class="comment">//  NvBlastTimers functions and helpers</span>
<a name="l00786"></a>00786 <span class="comment"></span>
<a name="l00792"></a>00792 <a class="code" href="_nv_blast_preprocessor_8h.html#e5c980f1b9848025a2fefa05a9d3bce1">NVBLAST_API</a> <span class="keywordtype">void</span> <a class="code" href="_nv_blast_8h.html#6a8135e333b2e84e418aa36fe0d4fcfa">NvBlastTimersReset</a>(<a class="code" href="struct_nv_blast_timers.html">NvBlastTimers</a>* timers);
<a name="l00793"></a>00793 
<a name="l00794"></a>00794 
<a name="l00802"></a>00802 <a class="code" href="_nv_blast_preprocessor_8h.html#e5c980f1b9848025a2fefa05a9d3bce1">NVBLAST_API</a> <span class="keywordtype">double</span> <a class="code" href="_nv_blast_8h.html#f06455f44aff50a4f80ee39f2eb0be2a">NvBlastTicksToSeconds</a>(int64_t ticks);
<a name="l00803"></a>00803 
<a name="l00805"></a>00805 
<a name="l00806"></a>00806 
<a name="l00807"></a>00807 <span class="preprocessor">#endif // ifndef NVBLAST_H</span>
</pre></div></div>
<!-- start footer part -->
<div class="footer">
Copyright &copy; 2015-2017 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>
</div>
</body>
</html>