Jason Sams | d19f10d | 2009-05-22 14:03:28 -0700 | [diff] [blame] | 1 | |
2 | |||||
Jason Sams | d19f10d | 2009-05-22 14:03:28 -0700 | [diff] [blame] | 3 | ContextBindRootScript { |
4 | param RsScript sampler | ||||
5 | } | ||||
6 | |||||
7 | ContextBindProgramFragmentStore { | ||||
8 | param RsProgramFragmentStore pgm | ||||
9 | } | ||||
10 | |||||
11 | ContextBindProgramFragment { | ||||
12 | param RsProgramFragment pgm | ||||
13 | } | ||||
14 | |||||
15 | ContextBindProgramVertex { | ||||
16 | param RsProgramVertex pgm | ||||
17 | } | ||||
18 | |||||
Jason Sams | ebfb436 | 2009-09-23 13:57:02 -0700 | [diff] [blame] | 19 | ContextBindProgramRaster { |
20 | param RsProgramRaster pgm | ||||
21 | } | ||||
22 | |||||
Jason Sams | 65e7aa5 | 2009-09-24 17:38:20 -0700 | [diff] [blame] | 23 | ContextPause { |
24 | } | ||||
25 | |||||
26 | ContextResume { | ||||
27 | } | ||||
28 | |||||
Jason Sams | efd9b6fb | 2009-11-03 13:58:36 -0800 | [diff] [blame] | 29 | ContextSetSurface { |
Jason Sams | 3bc47d4 | 2009-11-12 15:10:25 -0800 | [diff] [blame] | 30 | param uint32_t width |
31 | param uint32_t height | ||||
Dianne Hackborn | 8b49bd1 | 2010-06-30 13:56:17 -0700 | [diff] [blame] | 32 | param ANativeWindow *sur |
Jason Sams | efd9b6fb | 2009-11-03 13:58:36 -0800 | [diff] [blame] | 33 | } |
34 | |||||
Jason Sams | 715333b | 2009-11-17 17:26:46 -0800 | [diff] [blame] | 35 | ContextDump { |
36 | param int32_t bits | ||||
37 | } | ||||
38 | |||||
Jason Sams | 156cce6 | 2010-03-03 13:03:18 -0800 | [diff] [blame] | 39 | ContextGetError { |
40 | param RsError *err | ||||
41 | ret const char * | ||||
42 | } | ||||
43 | |||||
Jason Sams | 3bc47d4 | 2009-11-12 15:10:25 -0800 | [diff] [blame] | 44 | ContextSetPriority { |
Jason Sams | 7d787b4 | 2009-11-15 12:14:26 -0800 | [diff] [blame] | 45 | param int32_t priority |
Jason Sams | 3bc47d4 | 2009-11-12 15:10:25 -0800 | [diff] [blame] | 46 | } |
47 | |||||
Jason Sams | 3eaa338 | 2009-06-10 15:04:38 -0700 | [diff] [blame] | 48 | AssignName { |
49 | param void *obj | ||||
50 | param const char *name | ||||
Jason Sams | d5680f9 | 2009-06-10 18:39:40 -0700 | [diff] [blame] | 51 | param size_t len |
Jason Sams | 3eaa338 | 2009-06-10 15:04:38 -0700 | [diff] [blame] | 52 | } |
Jason Sams | d19f10d | 2009-05-22 14:03:28 -0700 | [diff] [blame] | 53 | |
Jason Sams | 7ce033d | 2009-08-18 14:14:24 -0700 | [diff] [blame] | 54 | ObjDestroy { |
55 | param void *obj | ||||
56 | } | ||||
57 | |||||
Jason Sams | 718cd1f | 2009-12-23 14:35:29 -0800 | [diff] [blame] | 58 | ElementCreate { |
59 | param RsDataType mType | ||||
60 | param RsDataKind mKind | ||||
61 | param bool mNormalized | ||||
62 | param uint32_t mVectorSize | ||||
63 | ret RsElement | ||||
Jason Sams | d19f10d | 2009-05-22 14:03:28 -0700 | [diff] [blame] | 64 | } |
65 | |||||
Jason Sams | 718cd1f | 2009-12-23 14:35:29 -0800 | [diff] [blame] | 66 | ElementCreate2 { |
67 | param size_t count | ||||
68 | param const RsElement * elements | ||||
69 | param const char ** names | ||||
70 | param const size_t * nameLengths | ||||
Jason Sams | d19f10d | 2009-05-22 14:03:28 -0700 | [diff] [blame] | 71 | ret RsElement |
72 | } | ||||
73 | |||||
Jason Sams | d19f10d | 2009-05-22 14:03:28 -0700 | [diff] [blame] | 74 | TypeBegin { |
75 | param RsElement type | ||||
76 | } | ||||
77 | |||||
78 | TypeAdd { | ||||
79 | param RsDimension dim | ||||
80 | param size_t value | ||||
81 | } | ||||
82 | |||||
83 | TypeCreate { | ||||
84 | ret RsType | ||||
85 | } | ||||
86 | |||||
Jason Sams | d19f10d | 2009-05-22 14:03:28 -0700 | [diff] [blame] | 87 | AllocationCreateTyped { |
88 | param RsType type | ||||
89 | ret RsAllocation | ||||
90 | } | ||||
91 | |||||
Jason Sams | d19f10d | 2009-05-22 14:03:28 -0700 | [diff] [blame] | 92 | AllocationCreateSized { |
93 | param RsElement e | ||||
94 | param size_t count | ||||
95 | ret RsAllocation | ||||
96 | } | ||||
97 | |||||
Jason Sams | 8a64743 | 2010-03-01 15:31:04 -0800 | [diff] [blame] | 98 | AllocationCreateBitmapRef { |
99 | param RsType type | ||||
100 | param void * bmpPtr | ||||
101 | param void * callbackData | ||||
102 | param RsBitmapCallback_t callback | ||||
103 | ret RsAllocation | ||||
104 | } | ||||
105 | |||||
Jason Sams | fe08d99 | 2009-05-27 14:45:32 -0700 | [diff] [blame] | 106 | AllocationCreateFromBitmap { |
107 | param uint32_t width | ||||
108 | param uint32_t height | ||||
Jason Sams | ea84a7c | 2009-09-04 14:42:41 -0700 | [diff] [blame] | 109 | param RsElement dstFmt |
110 | param RsElement srcFmt | ||||
Jason Sams | fe08d99 | 2009-05-27 14:45:32 -0700 | [diff] [blame] | 111 | param bool genMips |
112 | param const void * data | ||||
113 | ret RsAllocation | ||||
114 | } | ||||
115 | |||||
Jason Sams | b0ec1b4 | 2009-07-28 12:02:16 -0700 | [diff] [blame] | 116 | AllocationCreateFromBitmapBoxed { |
117 | param uint32_t width | ||||
118 | param uint32_t height | ||||
Jason Sams | ea84a7c | 2009-09-04 14:42:41 -0700 | [diff] [blame] | 119 | param RsElement dstFmt |
120 | param RsElement srcFmt | ||||
Jason Sams | b0ec1b4 | 2009-07-28 12:02:16 -0700 | [diff] [blame] | 121 | param bool genMips |
122 | param const void * data | ||||
123 | ret RsAllocation | ||||
124 | } | ||||
125 | |||||
Jason Sams | fe08d99 | 2009-05-27 14:45:32 -0700 | [diff] [blame] | 126 | |
Jason Sams | d19f10d | 2009-05-22 14:03:28 -0700 | [diff] [blame] | 127 | AllocationUploadToTexture { |
128 | param RsAllocation alloc | ||||
Jason Sams | c2908e6 | 2010-02-23 17:44:28 -0800 | [diff] [blame] | 129 | param bool genMipMaps |
Jason Sams | d19f10d | 2009-05-22 14:03:28 -0700 | [diff] [blame] | 130 | param uint32_t baseMipLevel |
131 | } | ||||
132 | |||||
133 | AllocationUploadToBufferObject { | ||||
134 | param RsAllocation alloc | ||||
135 | } | ||||
136 | |||||
Jason Sams | d19f10d | 2009-05-22 14:03:28 -0700 | [diff] [blame] | 137 | |
138 | AllocationData { | ||||
139 | param RsAllocation va | ||||
140 | param const void * data | ||||
Jason Sams | 07ae406 | 2009-08-27 20:23:34 -0700 | [diff] [blame] | 141 | param uint32_t bytes |
142 | handcodeApi | ||||
143 | togglePlay | ||||
Jason Sams | 2253417 | 2009-08-04 16:58:20 -0700 | [diff] [blame] | 144 | } |
Jason Sams | d19f10d | 2009-05-22 14:03:28 -0700 | [diff] [blame] | 145 | |
146 | Allocation1DSubData { | ||||
147 | param RsAllocation va | ||||
148 | param uint32_t xoff | ||||
149 | param uint32_t count | ||||
150 | param const void *data | ||||
Jason Sams | 07ae406 | 2009-08-27 20:23:34 -0700 | [diff] [blame] | 151 | param uint32_t bytes |
152 | handcodeApi | ||||
153 | togglePlay | ||||
Jason Sams | 2253417 | 2009-08-04 16:58:20 -0700 | [diff] [blame] | 154 | } |
Jason Sams | d19f10d | 2009-05-22 14:03:28 -0700 | [diff] [blame] | 155 | |
156 | Allocation2DSubData { | ||||
157 | param RsAllocation va | ||||
158 | param uint32_t xoff | ||||
159 | param uint32_t yoff | ||||
160 | param uint32_t w | ||||
161 | param uint32_t h | ||||
162 | param const void *data | ||||
Jason Sams | 07ae406 | 2009-08-27 20:23:34 -0700 | [diff] [blame] | 163 | param uint32_t bytes |
Jason Sams | d19f10d | 2009-05-22 14:03:28 -0700 | [diff] [blame] | 164 | } |
165 | |||||
Jason Sams | 40a29e8 | 2009-08-10 14:55:26 -0700 | [diff] [blame] | 166 | AllocationRead { |
167 | param RsAllocation va | ||||
168 | param void * data | ||||
169 | } | ||||
Jason Sams | d19f10d | 2009-05-22 14:03:28 -0700 | [diff] [blame] | 170 | |
171 | Adapter1DCreate { | ||||
172 | ret RsAdapter1D | ||||
173 | } | ||||
174 | |||||
175 | Adapter1DBindAllocation { | ||||
176 | param RsAdapter1D adapt | ||||
177 | param RsAllocation alloc | ||||
178 | } | ||||
179 | |||||
Jason Sams | d19f10d | 2009-05-22 14:03:28 -0700 | [diff] [blame] | 180 | Adapter1DSetConstraint { |
181 | param RsAdapter1D adapter | ||||
182 | param RsDimension dim | ||||
183 | param uint32_t value | ||||
184 | } | ||||
185 | |||||
186 | Adapter1DData { | ||||
187 | param RsAdapter1D adapter | ||||
188 | param const void * data | ||||
Jason Sams | 2253417 | 2009-08-04 16:58:20 -0700 | [diff] [blame] | 189 | } |
Jason Sams | d19f10d | 2009-05-22 14:03:28 -0700 | [diff] [blame] | 190 | |
191 | Adapter1DSubData { | ||||
192 | param RsAdapter1D adapter | ||||
193 | param uint32_t xoff | ||||
194 | param uint32_t count | ||||
195 | param const void *data | ||||
Jason Sams | 2253417 | 2009-08-04 16:58:20 -0700 | [diff] [blame] | 196 | } |
Jason Sams | d19f10d | 2009-05-22 14:03:28 -0700 | [diff] [blame] | 197 | |
198 | Adapter2DCreate { | ||||
199 | ret RsAdapter2D | ||||
200 | } | ||||
201 | |||||
202 | Adapter2DBindAllocation { | ||||
203 | param RsAdapter2D adapt | ||||
204 | param RsAllocation alloc | ||||
205 | } | ||||
206 | |||||
Jason Sams | d19f10d | 2009-05-22 14:03:28 -0700 | [diff] [blame] | 207 | Adapter2DSetConstraint { |
208 | param RsAdapter2D adapter | ||||
209 | param RsDimension dim | ||||
210 | param uint32_t value | ||||
211 | } | ||||
212 | |||||
213 | Adapter2DData { | ||||
214 | param RsAdapter2D adapter | ||||
215 | param const void *data | ||||
Jason Sams | 2253417 | 2009-08-04 16:58:20 -0700 | [diff] [blame] | 216 | } |
Jason Sams | d19f10d | 2009-05-22 14:03:28 -0700 | [diff] [blame] | 217 | |
218 | Adapter2DSubData { | ||||
219 | param RsAdapter2D adapter | ||||
220 | param uint32_t xoff | ||||
221 | param uint32_t yoff | ||||
222 | param uint32_t w | ||||
223 | param uint32_t h | ||||
224 | param const void *data | ||||
225 | } | ||||
226 | |||||
227 | SamplerBegin { | ||||
228 | } | ||||
229 | |||||
230 | SamplerSet { | ||||
231 | param RsSamplerParam p | ||||
232 | param RsSamplerValue value | ||||
233 | } | ||||
234 | |||||
235 | SamplerCreate { | ||||
236 | ret RsSampler | ||||
237 | } | ||||
238 | |||||
239 | |||||
Jason Sams | d19f10d | 2009-05-22 14:03:28 -0700 | [diff] [blame] | 240 | |
241 | ScriptBindAllocation { | ||||
242 | param RsScript vtm | ||||
243 | param RsAllocation va | ||||
244 | param uint32_t slot | ||||
245 | } | ||||
246 | |||||
247 | |||||
248 | ScriptCBegin { | ||||
249 | } | ||||
250 | |||||
Jason Sams | 2253417 | 2009-08-04 16:58:20 -0700 | [diff] [blame] | 251 | ScriptSetClearColor { |
252 | param RsScript s | ||||
Jason Sams | d19f10d | 2009-05-22 14:03:28 -0700 | [diff] [blame] | 253 | param float r |
254 | param float g | ||||
255 | param float b | ||||
256 | param float a | ||||
257 | } | ||||
258 | |||||
Jason Sams | 2253417 | 2009-08-04 16:58:20 -0700 | [diff] [blame] | 259 | ScriptSetTimeZone { |
260 | param RsScript s | ||||
Romain Guy | 584a375 | 2009-07-30 18:45:01 -0700 | [diff] [blame] | 261 | param const char * timeZone |
262 | param uint32_t length | ||||
263 | } | ||||
264 | |||||
Jason Sams | 2253417 | 2009-08-04 16:58:20 -0700 | [diff] [blame] | 265 | ScriptSetClearDepth { |
266 | param RsScript s | ||||
Jason Sams | d19f10d | 2009-05-22 14:03:28 -0700 | [diff] [blame] | 267 | param float depth |
268 | } | ||||
269 | |||||
Jason Sams | 2253417 | 2009-08-04 16:58:20 -0700 | [diff] [blame] | 270 | ScriptSetClearStencil { |
271 | param RsScript s | ||||
Jason Sams | d19f10d | 2009-05-22 14:03:28 -0700 | [diff] [blame] | 272 | param uint32_t stencil |
273 | } | ||||
274 | |||||
Jason Sams | fbf0b9e | 2009-08-13 12:59:04 -0700 | [diff] [blame] | 275 | ScriptSetType { |
Jason Sams | d19f10d | 2009-05-22 14:03:28 -0700 | [diff] [blame] | 276 | param RsType type |
Jason Sams | fbf0b9e | 2009-08-13 12:59:04 -0700 | [diff] [blame] | 277 | param uint32_t slot |
Jason Sams | 334ea0c | 2009-08-17 13:56:09 -0700 | [diff] [blame] | 278 | param bool isWritable |
Jason Sams | fbf0b9e | 2009-08-13 12:59:04 -0700 | [diff] [blame] | 279 | param const char * name |
Jason Sams | d19f10d | 2009-05-22 14:03:28 -0700 | [diff] [blame] | 280 | } |
281 | |||||
Jason Sams | be2e841 | 2009-09-16 15:04:38 -0700 | [diff] [blame] | 282 | ScriptSetInvoke { |
283 | param const char * name | ||||
284 | param uint32_t slot | ||||
285 | } | ||||
286 | |||||
287 | ScriptInvoke { | ||||
288 | param RsScript s | ||||
289 | param uint32_t slot | ||||
290 | } | ||||
291 | |||||
Jason Sams | fbf0b9e | 2009-08-13 12:59:04 -0700 | [diff] [blame] | 292 | ScriptSetRoot { |
Jason Sams | d19f10d | 2009-05-22 14:03:28 -0700 | [diff] [blame] | 293 | param bool isRoot |
294 | } | ||||
295 | |||||
Jason Sams | fbf0b9e | 2009-08-13 12:59:04 -0700 | [diff] [blame] | 296 | |
297 | |||||
Jason Sams | d19f10d | 2009-05-22 14:03:28 -0700 | [diff] [blame] | 298 | ScriptCSetScript { |
Jack Palevich | ec5a20b | 2009-05-28 15:53:04 -0700 | [diff] [blame] | 299 | param void * codePtr |
Jason Sams | d19f10d | 2009-05-22 14:03:28 -0700 | [diff] [blame] | 300 | } |
301 | |||||
Jason Sams | 39ddc950 | 2009-06-05 17:35:09 -0700 | [diff] [blame] | 302 | ScriptCSetText { |
303 | param const char * text | ||||
304 | param uint32_t length | ||||
305 | } | ||||
306 | |||||
Jason Sams | d19f10d | 2009-05-22 14:03:28 -0700 | [diff] [blame] | 307 | ScriptCCreate { |
308 | ret RsScript | ||||
309 | } | ||||
310 | |||||
Joe Onorato | d7b3774 | 2009-08-09 22:57:44 -0700 | [diff] [blame] | 311 | ScriptCSetDefineF { |
312 | param const char* name | ||||
313 | param float value | ||||
314 | } | ||||
315 | |||||
316 | ScriptCSetDefineI32 { | ||||
317 | param const char* name | ||||
318 | param int32_t value | ||||
319 | } | ||||
Jason Sams | d19f10d | 2009-05-22 14:03:28 -0700 | [diff] [blame] | 320 | |
321 | ProgramFragmentStoreBegin { | ||||
322 | param RsElement in | ||||
323 | param RsElement out | ||||
324 | } | ||||
325 | |||||
326 | ProgramFragmentStoreColorMask { | ||||
327 | param bool r | ||||
328 | param bool g | ||||
329 | param bool b | ||||
330 | param bool a | ||||
331 | } | ||||
332 | |||||
333 | ProgramFragmentStoreBlendFunc { | ||||
334 | param RsBlendSrcFunc srcFunc | ||||
335 | param RsBlendDstFunc destFunc | ||||
336 | } | ||||
337 | |||||
338 | ProgramFragmentStoreDepthMask { | ||||
339 | param bool enable | ||||
340 | } | ||||
341 | |||||
342 | ProgramFragmentStoreDither { | ||||
343 | param bool enable | ||||
344 | } | ||||
345 | |||||
346 | ProgramFragmentStoreDepthFunc { | ||||
347 | param RsDepthFunc func | ||||
348 | } | ||||
349 | |||||
350 | ProgramFragmentStoreCreate { | ||||
351 | ret RsProgramFragmentStore | ||||
352 | } | ||||
353 | |||||
Jason Sams | ebfb436 | 2009-09-23 13:57:02 -0700 | [diff] [blame] | 354 | ProgramRasterCreate { |
355 | param RsElement in | ||||
356 | param RsElement out | ||||
357 | param bool pointSmooth | ||||
358 | param bool lineSmooth | ||||
359 | param bool pointSprite | ||||
360 | ret RsProgramRaster | ||||
361 | } | ||||
362 | |||||
363 | ProgramRasterSetLineWidth { | ||||
364 | param RsProgramRaster pr | ||||
365 | param float lw | ||||
366 | } | ||||
367 | |||||
368 | ProgramRasterSetPointSize{ | ||||
369 | param RsProgramRaster pr | ||||
370 | param float ps | ||||
371 | } | ||||
Jason Sams | d19f10d | 2009-05-22 14:03:28 -0700 | [diff] [blame] | 372 | |
373 | |||||
Jason Sams | 0011bcf | 2009-12-15 12:58:36 -0800 | [diff] [blame] | 374 | ProgramBindConstants { |
375 | param RsProgram vp | ||||
376 | param uint32_t slot | ||||
377 | param RsAllocation constants | ||||
378 | } | ||||
379 | |||||
Jason Sams | d19f10d | 2009-05-22 14:03:28 -0700 | [diff] [blame] | 380 | |
Jason Sams | 68afd01 | 2009-12-17 16:55:08 -0800 | [diff] [blame] | 381 | ProgramBindTexture { |
Jason Sams | d19f10d | 2009-05-22 14:03:28 -0700 | [diff] [blame] | 382 | param RsProgramFragment pf |
383 | param uint32_t slot | ||||
384 | param RsAllocation a | ||||
385 | } | ||||
386 | |||||
Jason Sams | 68afd01 | 2009-12-17 16:55:08 -0800 | [diff] [blame] | 387 | ProgramBindSampler { |
Jason Sams | d19f10d | 2009-05-22 14:03:28 -0700 | [diff] [blame] | 388 | param RsProgramFragment pf |
389 | param uint32_t slot | ||||
390 | param RsSampler s | ||||
391 | } | ||||
392 | |||||
Jason Sams | d19f10d | 2009-05-22 14:03:28 -0700 | [diff] [blame] | 393 | ProgramFragmentCreate { |
Jason Sams | 68afd01 | 2009-12-17 16:55:08 -0800 | [diff] [blame] | 394 | param const uint32_t * params |
395 | param uint32_t paramLength | ||||
Jason Sams | d19f10d | 2009-05-22 14:03:28 -0700 | [diff] [blame] | 396 | ret RsProgramFragment |
397 | } | ||||
398 | |||||
Jason Sams | 7e5ab3b | 2009-12-15 13:27:04 -0800 | [diff] [blame] | 399 | ProgramFragmentCreate2 { |
400 | param const char * shaderText | ||||
401 | param uint32_t shaderLength | ||||
402 | param const uint32_t * params | ||||
403 | param uint32_t paramLength | ||||
404 | ret RsProgramFragment | ||||
405 | } | ||||
406 | |||||
Jason Sams | d19f10d | 2009-05-22 14:03:28 -0700 | [diff] [blame] | 407 | ProgramVertexCreate { |
Jason Sams | 0011bcf | 2009-12-15 12:58:36 -0800 | [diff] [blame] | 408 | param bool texMat |
Jason Sams | d19f10d | 2009-05-22 14:03:28 -0700 | [diff] [blame] | 409 | ret RsProgramVertex |
410 | } | ||||
411 | |||||
Jason Sams | 0011bcf | 2009-12-15 12:58:36 -0800 | [diff] [blame] | 412 | ProgramVertexCreate2 { |
413 | param const char * shaderText | ||||
414 | param uint32_t shaderLength | ||||
415 | param const uint32_t * params | ||||
416 | param uint32_t paramLength | ||||
Jason Sams | 7e5ab3b | 2009-12-15 13:27:04 -0800 | [diff] [blame] | 417 | ret RsProgramVertex |
Jason Sams | ee41112 | 2009-07-21 12:20:54 -0700 | [diff] [blame] | 418 | } |
419 | |||||
Jason Sams | bba134c | 2009-06-22 15:49:21 -0700 | [diff] [blame] | 420 | LightBegin { |
421 | } | ||||
422 | |||||
423 | LightSetLocal { | ||||
424 | param bool isLocal | ||||
425 | } | ||||
426 | |||||
427 | LightSetMonochromatic { | ||||
428 | param bool isMono | ||||
429 | } | ||||
430 | |||||
431 | LightCreate { | ||||
432 | ret RsLight light | ||||
433 | } | ||||
434 | |||||
Jason Sams | bba134c | 2009-06-22 15:49:21 -0700 | [diff] [blame] | 435 | |
436 | LightSetPosition { | ||||
437 | param RsLight light | ||||
438 | param float x | ||||
439 | param float y | ||||
440 | param float z | ||||
441 | } | ||||
442 | |||||
443 | LightSetColor { | ||||
444 | param RsLight light | ||||
445 | param float r | ||||
446 | param float g | ||||
447 | param float b | ||||
448 | } | ||||
449 | |||||
Jason Sams | 64676f3 | 2009-07-08 18:01:53 -0700 | [diff] [blame] | 450 | FileOpen { |
451 | ret RsFile | ||||
452 | param const char *name | ||||
453 | param size_t len | ||||
454 | } | ||||
455 | |||||
456 | |||||
Jason Sams | 1bada8c | 2009-08-09 17:01:55 -0700 | [diff] [blame] | 457 | SimpleMeshCreate { |
458 | ret RsSimpleMesh | ||||
459 | param RsAllocation prim | ||||
460 | param RsAllocation index | ||||
461 | param RsAllocation *vtx | ||||
462 | param uint32_t vtxCount | ||||
463 | param uint32_t primType | ||||
464 | } | ||||
465 | |||||
Jason Sams | 1bada8c | 2009-08-09 17:01:55 -0700 | [diff] [blame] | 466 | |
467 | SimpleMeshBindIndex { | ||||
468 | param RsSimpleMesh mesh | ||||
469 | param RsAllocation idx | ||||
470 | } | ||||
471 | |||||
472 | SimpleMeshBindPrimitive { | ||||
473 | param RsSimpleMesh mesh | ||||
474 | param RsAllocation prim | ||||
475 | } | ||||
476 | |||||
477 | SimpleMeshBindVertex { | ||||
478 | param RsSimpleMesh mesh | ||||
479 | param RsAllocation vtx | ||||
480 | param uint32_t slot | ||||
481 | } | ||||
482 |