1#[repr(C)]
2#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)]
3pub struct __BindgenBitfieldUnit<Storage> {
4 storage: Storage,
5}
6impl<Storage> __BindgenBitfieldUnit<Storage> {
7 #[inline]
8 pub const fn new(storage: Storage) -> Self {
9 Self { storage }
10 }
11}
12impl<Storage> __BindgenBitfieldUnit<Storage>
13where
14 Storage: AsRef<[u8]> + AsMut<[u8]>,
15{
16 #[inline]
17 pub fn get_bit(&self, index: usize) -> bool {
18 debug_assert!(index / 8 < self.storage.as_ref().len());
19 let byte_index = index / 8;
20 let byte = self.storage.as_ref()[byte_index];
21 let bit_index = if cfg!(target_endian = "big") {
22 7 - (index % 8)
23 } else {
24 index % 8
25 };
26 let mask = 1 << bit_index;
27 byte & mask == mask
28 }
29 #[inline]
30 pub fn set_bit(&mut self, index: usize, val: bool) {
31 debug_assert!(index / 8 < self.storage.as_ref().len());
32 let byte_index = index / 8;
33 let byte = &mut self.storage.as_mut()[byte_index];
34 let bit_index = if cfg!(target_endian = "big") {
35 7 - (index % 8)
36 } else {
37 index % 8
38 };
39 let mask = 1 << bit_index;
40 if val {
41 *byte |= mask;
42 } else {
43 *byte &= !mask;
44 }
45 }
46 #[inline]
47 pub fn get(&self, bit_offset: usize, bit_width: u8) -> u64 {
48 debug_assert!(bit_width <= 64);
49 debug_assert!(bit_offset / 8 < self.storage.as_ref().len());
50 debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len());
51 let mut val = 0;
52 for i in 0..(bit_width as usize) {
53 if self.get_bit(i + bit_offset) {
54 let index = if cfg!(target_endian = "big") {
55 bit_width as usize - 1 - i
56 } else {
57 i
58 };
59 val |= 1 << index;
60 }
61 }
62 val
63 }
64 #[inline]
65 pub fn set(&mut self, bit_offset: usize, bit_width: u8, val: u64) {
66 debug_assert!(bit_width <= 64);
67 debug_assert!(bit_offset / 8 < self.storage.as_ref().len());
68 debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len());
69 for i in 0..(bit_width as usize) {
70 let mask = 1 << i;
71 let val_bit_is_set = val & mask == mask;
72 let index = if cfg!(target_endian = "big") {
73 bit_width as usize - 1 - i
74 } else {
75 i
76 };
77 self.set_bit(index + bit_offset, val_bit_is_set);
78 }
79 }
80}
81pub const __SAL_H_VERSION: u32 = 180000000;
82pub const __bool_true_false_are_defined: u32 = 1;
83pub const TM_TYPE__CREATION_GRAPH__INSTANCE: &'static [u8; 27usize] =
84 b"tm_creation_graph_instance\0";
85pub const TM_TT_TYPE__CREATION_GRAPH: &'static [u8; 18usize] = b"tm_creation_graph\0";
86pub const TM_TT_TYPE__CREATION_GRAPH__RESOURCE_REFERENCE: &'static [u8; 37usize] =
87 b"tm_creation_graph_resource_reference\0";
88pub const TM_TT_TYPE__IMAGE_MIPMAP_SETTINGS: &'static [u8; 19usize] = b"tm_mipmap_settings\0";
89pub const TM_TT_TYPE__IMAGE_DESCRIPTION: &'static [u8; 21usize] = b"tm_image_description\0";
90pub const TM_TT_TYPE__IMAGE_ARCHIVE: &'static [u8; 17usize] = b"tm_image_archive\0";
91pub const TM_CREATION_GRAPH__IMAGE__OUTPUT_NODE: &'static [u8; 13usize] = b"image_output\0";
92pub const TM_CREATION_GRAPH__SHADER_INSTANCE_OUTPUT: &'static [u8; 26usize] =
93 b"tm_shader_instance_output\0";
94pub const TM_CREATION_GRAPH__BOUNDING_VOLUME: &'static [u8; 16usize] = b"bounding_volume\0";
95pub const TM_CREATION_GRAPH__DRAW_CALL: &'static [u8; 9usize] = b"drawcall\0";
96pub const TM_CREATION_GRAPH__PHYSICS_SHAPE__OUTPUT_NODE: &'static [u8; 14usize] =
97 b"physics_shape\0";
98pub const TM_CREATION_GRAPH__RAY_TRACE_INSTANCE: &'static [u8; 19usize] = b"ray_trace_instance\0";
99extern "C" {
100 pub fn __va_start(arg1: *mut *mut ::std::os::raw::c_char, ...);
101}
102pub type __vcrt_bool = bool;
103extern "C" {
104 pub fn __security_init_cookie();
105}
106extern "C" {
107 pub fn __security_check_cookie(_StackCookie: usize);
108}
109extern "C" {
110 pub fn __report_gsfailure(_StackCookie: usize);
111}
112extern "C" {
113 pub static mut __security_cookie: usize;
114}
115#[repr(C)]
116#[derive(Copy, Clone)]
117pub union TtIdTBindgenTy1 {
118 pub u64_: u64,
119 pub __bindgen_anon_1: TtIdTBindgenTy1BindgenTy1,
120}
121#[repr(C)]
122#[repr(align(8))]
123#[derive(Default, Copy, Clone)]
124pub struct TtIdTBindgenTy1BindgenTy1 {
125 pub _bitfield_align_1: [u32; 0],
126 pub _bitfield_1: __BindgenBitfieldUnit<[u8; 8usize]>,
127}
128impl TtIdTBindgenTy1BindgenTy1 {
129 #[inline]
130 pub fn type_(&self) -> u64 {
131 unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 10u8) as u64) }
132 }
133 #[inline]
134 pub fn set_type(&mut self, val: u64) {
135 unsafe {
136 let val: u64 = ::std::mem::transmute(val);
137 self._bitfield_1.set(0usize, 10u8, val as u64)
138 }
139 }
140 #[inline]
141 pub fn generation(&self) -> u64 {
142 unsafe { ::std::mem::transmute(self._bitfield_1.get(10usize, 22u8) as u64) }
143 }
144 #[inline]
145 pub fn set_generation(&mut self, val: u64) {
146 unsafe {
147 let val: u64 = ::std::mem::transmute(val);
148 self._bitfield_1.set(10usize, 22u8, val as u64)
149 }
150 }
151 #[inline]
152 pub fn index(&self) -> u64 {
153 unsafe { ::std::mem::transmute(self._bitfield_1.get(32usize, 32u8) as u64) }
154 }
155 #[inline]
156 pub fn set_index(&mut self, val: u64) {
157 unsafe {
158 let val: u64 = ::std::mem::transmute(val);
159 self._bitfield_1.set(32usize, 32u8, val as u64)
160 }
161 }
162 #[inline]
163 pub fn new_bitfield_1(
164 type_: u64,
165 generation: u64,
166 index: u64,
167 ) -> __BindgenBitfieldUnit<[u8; 8usize]> {
168 let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 8usize]> = Default::default();
169 __bindgen_bitfield_unit.set(0usize, 10u8, {
170 let type_: u64 = unsafe { ::std::mem::transmute(type_) };
171 type_ as u64
172 });
173 __bindgen_bitfield_unit.set(10usize, 22u8, {
174 let generation: u64 = unsafe { ::std::mem::transmute(generation) };
175 generation as u64
176 });
177 __bindgen_bitfield_unit.set(32usize, 32u8, {
178 let index: u64 = unsafe { ::std::mem::transmute(index) };
179 index as u64
180 });
181 __bindgen_bitfield_unit
182 }
183}
184impl Default for TtIdTBindgenTy1 {
185 fn default() -> Self {
186 let mut s = ::std::mem::MaybeUninit::<Self>::uninit();
187 unsafe {
188 ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1);
189 s.assume_init()
190 }
191 }
192}
193#[repr(C)]
194#[derive(Copy, Clone)]
195pub union EntityT {
196 pub __bindgen_anon_1: EntityTBindgenTy1,
197 pub u64_: u64,
198}
199#[repr(C)]
200#[derive(Default, Copy, Clone)]
201pub struct EntityTBindgenTy1 {
202 pub index: u32,
203 pub generation: u32,
204}
205impl Default for EntityT {
206 fn default() -> Self {
207 let mut s = ::std::mem::MaybeUninit::<Self>::uninit();
208 unsafe {
209 ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1);
210 s.assume_init()
211 }
212 }
213}
214pub const TM_CREATION_GRAPH_THUMBNAIL_REFRESH_TYPE_NONE: CreationGraphThumbnailRefreshType = 0;
215pub const TM_CREATION_GRAPH_THUMBNAIL_REFRESH_TYPE_IMMEDIATE: CreationGraphThumbnailRefreshType = 1;
216pub const TM_CREATION_GRAPH_THUMBNAIL_REFRESH_TYPE_ENTITY: CreationGraphThumbnailRefreshType = 2;
217pub type CreationGraphThumbnailRefreshType = ::std::os::raw::c_int;
218#[repr(C)]
219pub struct CreationGraphThumbnailRefreshT {
220 pub type_: CreationGraphThumbnailRefreshType,
221 pub immediate_handle: RendererHandleT,
222 pub entity: EntityT,
223}
224impl Default for CreationGraphThumbnailRefreshT {
225 fn default() -> Self {
226 let mut s = ::std::mem::MaybeUninit::<Self>::uninit();
227 unsafe {
228 ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1);
229 s.assume_init()
230 }
231 }
232}
233#[repr(C)]
234pub struct CreationGraphOutputNodeTypeT {
235 pub node_name_hash: StrhashT,
236 pub display_name: *const ::std::os::raw::c_char,
237 pub asset_label: *const AssetLabelT,
238 pub size: u64,
239 pub write_wire: ::std::option::Option<
240 unsafe extern "C" fn(
241 ctx: *mut CreationGraphInterpreterContextT,
242 wire: u32,
243 data: *const ::std::os::raw::c_void,
244 ),
245 >,
246 pub thumbnail_validity_hash:
247 ::std::option::Option<unsafe extern "C" fn(data: *const ::std::os::raw::c_void) -> u64>,
248 pub refresh_thumbnail: ::std::option::Option<
249 unsafe extern "C" fn(
250 data: *const ::std::os::raw::c_void,
251 asset: TtIdT,
252 thumbnail_desc: *const RendererImageDescT,
253 entity_ctx: *mut EntityContextO,
254 render_backend: *mut RendererBackendI,
255 res_buf: *mut RendererResourceCommandBufferO,
256 cmd_buf: *mut RendererCommandBufferO,
257 ) -> CreationGraphThumbnailRefreshT,
258 >,
259}
260impl Default for CreationGraphOutputNodeTypeT {
261 fn default() -> Self {
262 let mut s = ::std::mem::MaybeUninit::<Self>::uninit();
263 unsafe {
264 ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1);
265 s.assume_init()
266 }
267 }
268}
269#[repr(C)]
270pub struct CreationGraphOutputWireT {
271 pub id: StrhashT,
272 pub name: StrhashT,
273 pub type_hash: StrhashT,
274 pub wire: u32,
275 pub _padding_105: [::std::os::raw::c_char; 4usize],
276}
277impl Default for CreationGraphOutputWireT {
278 fn default() -> Self {
279 let mut s = ::std::mem::MaybeUninit::<Self>::uninit();
280 unsafe {
281 ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1);
282 s.assume_init()
283 }
284 }
285}
286#[repr(C)]
287pub struct CreationGraphInputT {
288 pub name: StrhashT,
289 pub id: StrhashT,
290 pub type_: StrhashT,
291 pub value: *mut ::std::os::raw::c_void,
292 pub value_size: u32,
293 pub wire: u32,
294}
295impl Default for CreationGraphInputT {
296 fn default() -> Self {
297 let mut s = ::std::mem::MaybeUninit::<Self>::uninit();
298 unsafe {
299 ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1);
300 s.assume_init()
301 }
302 }
303}
304#[repr(C)]
305#[derive(Copy, Clone)]
306pub struct CreationGraphIoDataT {
307 pub allocator: *mut AllocatorI,
308 pub output_node_types: *mut CreationGraphOutputNodeTypeT,
309 pub output_data: *mut *mut u8,
310 pub output_wires: *mut CreationGraphOutputWireT,
311 pub consumers: *mut CreationGraphInstanceT,
312 pub inputs: *mut CreationGraphInputT,
313 pub dirty: bool,
314 pub _padding_139: [::std::os::raw::c_char; 7usize],
315}
316impl Default for CreationGraphIoDataT {
317 fn default() -> Self {
318 let mut s = ::std::mem::MaybeUninit::<Self>::uninit();
319 unsafe {
320 ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1);
321 s.assume_init()
322 }
323 }
324}
325#[repr(C)]
326#[derive(Copy, Clone)]
327pub struct CreationGraphNodeCacheT {
328 _unused: [u8; 0],
329}
330#[repr(C)]
331#[derive(Copy, Clone)]
332pub struct CreationGraphBoundingVolumeDataT {
333 _unused: [u8; 0],
334}
335#[repr(C)]
336#[derive(Copy, Clone)]
337pub struct CreationGraphImageDataT {
338 _unused: [u8; 0],
339}
340#[repr(C)]
341#[derive(Copy, Clone)]
342pub struct SetIdT {
343 _unused: [u8; 0],
344}
345#[repr(C)]
346#[derive(Copy, Clone)]
347pub struct CreationGraphBlackboardValueT {
348 _unused: [u8; 0],
349}
350pub type CompileDataToWireF = ::std::option::Option<
351 unsafe extern "C" fn(
352 rc: *mut CreationGraphInstanceT,
353 wire: u32,
354 tt: *const TheTruthO,
355 data_id: TtIdT,
356 to_type_hash: StrhashT,
357 ) -> bool,
358>;
359pub const TM_TT_PROP__CREATION_GRAPH__GRAPH: ::std::os::raw::c_int = 0;
360pub type _bindgen_ty_1 = ::std::os::raw::c_int;
361pub const TM_TT_PROP__CREATION_GRAPH__RESOURCE_REFERENCE__CREATION_GRAPH: ::std::os::raw::c_int = 0;
362pub const TM_TT_PROP__CREATION_GRAPH__RESOURCE_REFERENCE__OUTPUT_NODE_TYPE_HASH:
363 ::std::os::raw::c_int = 1;
364pub const TM_TT_PROP__CREATION_GRAPH__RESOURCE_REFERENCE__OUTPUT_NODE_NAME: ::std::os::raw::c_int =
365 2;
366pub type _bindgen_ty_2 = ::std::os::raw::c_int;
367#[repr(C)]
368#[derive(Default, Copy, Clone)]
369pub struct CreationGraphDestroyInstanceContextT {
370 pub manager_shutdown: bool,
371}
372#[repr(C)]
373#[derive(Copy, Clone)]
374pub struct CreationGraphTickContextT {
375 pub dt: f32,
376 pub _padding_108: [::std::os::raw::c_char; 4usize],
377 pub shader_context: *mut ShaderSystemContextO,
378}
379impl Default for CreationGraphTickContextT {
380 fn default() -> Self {
381 let mut s = ::std::mem::MaybeUninit::<Self>::uninit();
382 unsafe {
383 ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1);
384 s.assume_init()
385 }
386 }
387}
388#[repr(C)]
389pub struct CreationGraphViewportInteractContextT {
390 pub viewport: RectT,
391 pub transform: *const TransformT,
392 pub input: *mut UiInputStateT,
393 pub camera: *mut CameraT,
394 pub render_graph: *mut RenderGraphO,
395 pub shader_context: *const ShaderSystemContextO,
396 pub undo_stack: *mut UndoStackI,
397}
398impl Default for CreationGraphViewportInteractContextT {
399 fn default() -> Self {
400 let mut s = ::std::mem::MaybeUninit::<Self>::uninit();
401 unsafe {
402 ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1);
403 s.assume_init()
404 }
405 }
406}
407pub const TM_CREATION_GRAPH_MAX_OUTPUT_NODE_TYPES: ::std::os::raw::c_int = 32;
408pub type _bindgen_ty_3 = ::std::os::raw::c_int;
409#[repr(C)]
410pub struct CreationGraphAllOutputsT {
411 pub version: u64,
412 pub num_output_node_types: u32,
413 pub _padding_180: [::std::os::raw::c_char; 4usize],
414 pub output_node_type_hashes: [StrhashT; 32usize],
415 pub output_node_type_display_names: [*const ::std::os::raw::c_char; 32usize],
416}
417impl Default for CreationGraphAllOutputsT {
418 fn default() -> Self {
419 let mut s = ::std::mem::MaybeUninit::<Self>::uninit();
420 unsafe {
421 ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1);
422 s.assume_init()
423 }
424 }
425}
426#[repr(C)]
427pub struct CreationGraphNamedOutputT {
428 pub data: *mut ::std::os::raw::c_void,
429 pub size: u32,
430 pub _padding_194: [::std::os::raw::c_char; 4usize],
431 pub type_: StrhashT,
432}
433impl Default for CreationGraphNamedOutputT {
434 fn default() -> Self {
435 let mut s = ::std::mem::MaybeUninit::<Self>::uninit();
436 unsafe {
437 ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1);
438 s.assume_init()
439 }
440 }
441}
442#[repr(C)]
443#[derive(Default, Copy, Clone)]
444pub struct CiCreationGraphInstanceProviderI {
445 pub get_instances: ::std::option::Option<
446 unsafe extern "C" fn(
447 component_data: *mut ::std::os::raw::c_void,
448 ta: *mut TempAllocatorI,
449 ) -> *mut *mut CreationGraphInstanceT,
450 >,
451}
452pub const TM_CREATION_GRAPH_RESOURCE_BUFFERS__PRE_CMD: ::std::os::raw::c_int = 0;
453pub const TM_CREATION_GRAPH_RESOURCE_BUFFERS__POST_CMD: ::std::os::raw::c_int = 1;
454pub const TM_CREATION_GRAPH_RESOURCE_BUFFERS__MAX: ::std::os::raw::c_int = 2;
455pub type _bindgen_ty_4 = ::std::os::raw::c_int;
456#[repr(C)]
457#[derive(Copy, Clone)]
458pub struct CreationGraphTaskT {
459 pub f: ::std::option::Option<unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, id: u64)>,
460 pub data: *mut ::std::os::raw::c_void,
461 pub debug_name: *const ::std::os::raw::c_char,
462}
463impl Default for CreationGraphTaskT {
464 fn default() -> Self {
465 let mut s = ::std::mem::MaybeUninit::<Self>::uninit();
466 unsafe {
467 ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1);
468 s.assume_init()
469 }
470 }
471}
472#[repr(C)]
473pub struct CreationGraphContextT {
474 pub rb: *mut RendererBackendI,
475 pub device_affinity_mask: u32,
476 pub default_instance: bool,
477 pub _padding_247: [::std::os::raw::c_char; 3usize],
478 pub ta: *mut TempAllocatorI,
479 pub requested_tasks: *mut *mut CreationGraphTaskT,
480 pub res_buf: [*mut RendererResourceCommandBufferO; 2usize],
481 pub cmd_buf: *mut RendererCommandBufferO,
482 pub event_context: *mut ::std::os::raw::c_void,
483 pub entity_id: u64,
484 pub entity_ctx: *mut EntityContextO,
485 pub force_build_node: TtIdT,
486 pub force_build_cache_tag: StrhashT,
487 pub shader_repository: *mut ShaderRepositoryO,
488 pub event_id: StrhashT,
489 pub tt: *mut TheTruthO,
490 pub shader_context: *mut ShaderSystemContextO,
491}
492impl Default for CreationGraphContextT {
493 fn default() -> Self {
494 let mut s = ::std::mem::MaybeUninit::<Self>::uninit();
495 unsafe {
496 ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1);
497 s.assume_init()
498 }
499 }
500}
501#[repr(C)]
502pub struct CachedNodeResultT {
503 pub object: TtIdT,
504 pub validity_hash: u64,
505}
506impl Default for CachedNodeResultT {
507 fn default() -> Self {
508 let mut s = ::std::mem::MaybeUninit::<Self>::uninit();
509 unsafe {
510 ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1);
511 s.assume_init()
512 }
513 }
514}
515#[repr(C)]
516#[derive(Copy, Clone)]
517pub struct CreationGraphPreviewO {
518 _unused: [u8; 0],
519}
520#[repr(C)]
521pub struct CreationGraphPreviewI {
522 pub output_name: StrhashT,
523 pub create: ::std::option::Option<
524 unsafe extern "C" fn(
525 allocator: *mut AllocatorI,
526 data: *const ::std::os::raw::c_void,
527 ) -> *mut CreationGraphPreviewO,
528 >,
529 pub destroy: ::std::option::Option<
530 unsafe extern "C" fn(inst: *mut CreationGraphPreviewO, allocator: *mut AllocatorI),
531 >,
532 pub render: ::std::option::Option<
533 unsafe extern "C" fn(
534 inst: *mut CreationGraphPreviewO,
535 tt: *mut TheTruthO,
536 asset: TtIdT,
537 args: *const RenderArgsT,
538 ),
539 >,
540 pub ui: ::std::option::Option<
541 unsafe extern "C" fn(inst: *mut CreationGraphPreviewO, args: *const AssetPreviewApiUiArgsT),
542 >,
543 pub create_entity: ::std::option::Option<
544 unsafe extern "C" fn(
545 inst: *mut CreationGraphPreviewO,
546 tt: *mut TheTruthO,
547 asset: TtIdT,
548 entity_ctx: *mut EntityContextO,
549 result: *mut EntityT,
550 ),
551 >,
552 pub toolbars: ::std::option::Option<
553 unsafe extern "C" fn(
554 inst: *mut CreationGraphPreviewO,
555 ta: *mut TempAllocatorI,
556 args: *const AssetPreviewApiUiArgsT,
557 ) -> *mut ToolbarI,
558 >,
559}
560impl Default for CreationGraphPreviewI {
561 fn default() -> Self {
562 let mut s = ::std::mem::MaybeUninit::<Self>::uninit();
563 unsafe {
564 ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1);
565 s.assume_init()
566 }
567 }
568}
569#[repr(C)]
570#[derive(Default, Copy, Clone)]
571pub struct CreationGraphApi {
572 pub create_truth_types: ::std::option::Option<unsafe extern "C" fn(tt: *mut TheTruthO)>,
573 pub asset_browser_create_interface:
574 ::std::option::Option<unsafe extern "C" fn() -> *mut AssetBrowserCreateAssetI>,
575 pub create_instance: ::std::option::Option<
576 unsafe extern "C" fn(
577 tt: *mut TheTruthO,
578 asset: TtIdT,
579 context: *mut CreationGraphContextT,
580 ) -> CreationGraphInstanceT,
581 >,
582 pub destroy_instance: ::std::option::Option<
583 unsafe extern "C" fn(
584 instance: *mut CreationGraphInstanceT,
585 context: *mut CreationGraphContextT,
586 ),
587 >,
588 pub invalidate: ::std::option::Option<unsafe extern "C" fn(tt: *mut TheTruthO, asset: TtIdT)>,
589 pub write_blackboard: ::std::option::Option<
590 unsafe extern "C" fn(
591 tt: *mut TheTruthO,
592 asset: TtIdT,
593 key_name: StrhashT,
594 value: *const CreationGraphBlackboardValueT,
595 ),
596 >,
597 pub read_blackboard: ::std::option::Option<
598 unsafe extern "C" fn(
599 tt: *mut TheTruthO,
600 asset: TtIdT,
601 key_name: StrhashT,
602 value: *mut CreationGraphBlackboardValueT,
603 ) -> bool,
604 >,
605 pub remove_blackboard: ::std::option::Option<
606 unsafe extern "C" fn(tt: *mut TheTruthO, asset: TtIdT, key_name: StrhashT),
607 >,
608 pub lock_resource_cache: ::std::option::Option<
609 unsafe extern "C" fn(
610 tt: *mut TheTruthO,
611 graph_id: TtIdT,
612 node_id: TtIdT,
613 ) -> *mut CreationGraphNodeCacheT,
614 >,
615 pub unlock_resource_cache:
616 ::std::option::Option<unsafe extern "C" fn(cache: *mut CreationGraphNodeCacheT)>,
617 pub add_listener: ::std::option::Option<
618 unsafe extern "C" fn(tt: *mut TheTruthO, asset: TtIdT, object: TtIdT),
619 >,
620 pub tick_queue: ::std::option::Option<
621 unsafe extern "C" fn(
622 instance: *mut CreationGraphInstanceT,
623 dt: f32,
624 context: *mut CreationGraphContextT,
625 ),
626 >,
627 pub has_event: ::std::option::Option<
628 unsafe extern "C" fn(instance: *mut CreationGraphInstanceT, event_id: StrhashT) -> bool,
629 >,
630 pub trigger_event: ::std::option::Option<
631 unsafe extern "C" fn(
632 instance: *mut CreationGraphInstanceT,
633 event_id: StrhashT,
634 context: *mut CreationGraphContextT,
635 ),
636 >,
637 pub update_interface: ::std::option::Option<
638 unsafe extern "C" fn(
639 instance: *mut CreationGraphInstanceT,
640 interface_id: StrhashT,
641 context: *mut CreationGraphContextT,
642 ),
643 >,
644 pub lookup_cached_node_result: ::std::option::Option<
645 unsafe extern "C" fn(
646 tt: *mut TheTruthO,
647 graph_id: TtIdT,
648 node_id: TtIdT,
649 ) -> CachedNodeResultT,
650 >,
651 pub set_cached_node_result: ::std::option::Option<
652 unsafe extern "C" fn(
653 tt: *mut TheTruthO,
654 graph_id: TtIdT,
655 node_id: TtIdT,
656 validity_hash: u64,
657 object: TtIdT,
658 ),
659 >,
660 pub output: ::std::option::Option<
661 unsafe extern "C" fn(
662 instance: *mut CreationGraphInstanceT,
663 node_name_hash: StrhashT,
664 context: *mut CreationGraphContextT,
665 output_node_type: *mut *const CreationGraphOutputNodeTypeT,
666 ) -> CreationGraphOutputT,
667 >,
668 pub all_outputs: ::std::option::Option<
669 unsafe extern "C" fn(
670 instance: *mut CreationGraphInstanceT,
671 context: *mut CreationGraphContextT,
672 ) -> CreationGraphAllOutputsT,
673 >,
674 pub refresh_outputs: ::std::option::Option<
675 unsafe extern "C" fn(
676 instance: *mut CreationGraphInstanceT,
677 context: *mut CreationGraphContextT,
678 ),
679 >,
680 pub named_output: ::std::option::Option<
681 unsafe extern "C" fn(
682 instance: *mut CreationGraphInstanceT,
683 type_: StrhashT,
684 name: StrhashT,
685 ) -> CreationGraphNamedOutputT,
686 >,
687 pub gather_stripped_graph: ::std::option::Option<
688 unsafe extern "C" fn(
689 instance: *mut CreationGraphInstanceT,
690 context: *mut CreationGraphContextT,
691 nodes: *mut SetIdT,
692 ),
693 >,
694 pub get_instances_from_component: ::std::option::Option<
695 unsafe extern "C" fn(
696 tt: *mut TheTruthO,
697 entity_ctx: *mut EntityContextO,
698 entity: EntityT,
699 component_name_hash: StrhashT,
700 ta: *mut TempAllocatorI,
701 ) -> *mut *mut CreationGraphInstanceT,
702 >,
703 pub set_input_value: ::std::option::Option<
704 unsafe extern "C" fn(
705 instance: *mut CreationGraphInstanceT,
706 context: *mut CreationGraphContextT,
707 name: StrhashT,
708 data: *mut ::std::os::raw::c_void,
709 data_size: u32,
710 ),
711 >,
712 pub queue_instances_for_dirty_marking: ::std::option::Option<
713 unsafe extern "C" fn(instances: *mut CreationGraphInstanceT, num_instances: u32),
714 >,
715 pub get_buffer_async: ::std::option::Option<
716 unsafe extern "C" fn(
717 instance: *mut CreationGraphInstanceT,
718 context: *mut CreationGraphContextT,
719 object: TtIdT,
720 property: u32,
721 buffer: *mut TtBufferT,
722 ),
723 >,
724}
725#[repr(C)]
726pub struct CreationGraphInterpreterContextT {
727 pub instance: *mut CreationGraphInstanceT,
728 pub node: u32,
729 pub _padding_53: [::std::os::raw::c_char; 4usize],
730 pub graph_id: TtIdT,
731 pub node_id: TtIdT,
732 pub node_type: *const GraphNodeTypeI,
733 pub wires: *const u32,
734}
735impl Default for CreationGraphInterpreterContextT {
736 fn default() -> Self {
737 let mut s = ::std::mem::MaybeUninit::<Self>::uninit();
738 unsafe {
739 ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1);
740 s.assume_init()
741 }
742 }
743}
744pub type CreationGraphInterpreterRunNodeF =
745 ::std::option::Option<unsafe extern "C" fn(ctx: *mut CreationGraphInterpreterContextT)>;
746pub type CreationGraphInterpreterRunDependenciesF =
747 ::std::option::Option<unsafe extern "C" fn(ctx: *mut CreationGraphInterpreterContextT) -> bool>;
748#[repr(C)]
749pub struct CreationGraphInterpreterNodeT {
750 pub run: CreationGraphInterpreterRunNodeF,
751 pub run_dependencies: CreationGraphInterpreterRunDependenciesF,
752 pub wires_index: u32,
753 pub _padding_96: [::std::os::raw::c_char; 4usize],
754 pub node_type: *const GraphNodeTypeI,
755 pub graph_id: TtIdT,
756 pub node_id: TtIdT,
757 pub dependencies_index: u32,
758 pub _padding_113: [::std::os::raw::c_char; 4usize],
759}
760impl Default for CreationGraphInterpreterNodeT {
761 fn default() -> Self {
762 let mut s = ::std::mem::MaybeUninit::<Self>::uninit();
763 unsafe {
764 ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1);
765 s.assume_init()
766 }
767 }
768}
769#[repr(C)]
770#[derive(Default, Copy, Clone)]
771pub struct CreationGraphInterpreterApi {
772 pub create_graph_interpreter: ::std::option::Option<
773 unsafe extern "C" fn(allocator: *mut AllocatorI) -> *mut CreationGraphInterpreterO,
774 >,
775 pub destroy_graph_interpreter:
776 ::std::option::Option<unsafe extern "C" fn(gr: *mut CreationGraphInterpreterO)>,
777 pub set_graph: ::std::option::Option<
778 unsafe extern "C" fn(
779 gr: *mut CreationGraphInterpreterO,
780 nodes: *const CreationGraphInterpreterNodeT,
781 num_nodes: u32,
782 num_wires: u32,
783 node_wires: *mut u32,
784 num_node_wires: u32,
785 dependencies: *mut u32,
786 num_dependencies: u32,
787 ),
788 >,
789 pub default_instance: ::std::option::Option<
790 unsafe extern "C" fn(gr: *mut CreationGraphInterpreterO) -> CreationGraphInstanceT,
791 >,
792 pub active_instances: ::std::option::Option<
793 unsafe extern "C" fn(
794 gr: *mut CreationGraphInterpreterO,
795 count: *mut u32,
796 ) -> *mut *mut CreationGraphInstanceDataO,
797 >,
798 pub create_instance: ::std::option::Option<
799 unsafe extern "C" fn(gr: *mut CreationGraphInterpreterO) -> CreationGraphInstanceT,
800 >,
801 pub destroy_instance:
802 ::std::option::Option<unsafe extern "C" fn(rc: *mut CreationGraphInstanceT)>,
803 pub run_node_at_index:
804 ::std::option::Option<unsafe extern "C" fn(rc: *mut CreationGraphInstanceT, node: u32)>,
805 pub add_event_node: ::std::option::Option<
806 unsafe extern "C" fn(gr: *mut CreationGraphInterpreterO, e: StrhashT, node: u32),
807 >,
808 pub has_event: ::std::option::Option<
809 unsafe extern "C" fn(gr: *mut CreationGraphInterpreterO, e: StrhashT) -> bool,
810 >,
811 pub trigger_event:
812 ::std::option::Option<unsafe extern "C" fn(rc: *mut CreationGraphInstanceT, e: StrhashT)>,
813 pub trigger_wire:
814 ::std::option::Option<unsafe extern "C" fn(rc: *mut CreationGraphInstanceT, wire: u32)>,
815 pub gather_stripped_graph: ::std::option::Option<
816 unsafe extern "C" fn(rc: *mut CreationGraphInstanceT, nodes: *mut SetIdT),
817 >,
818 pub queue_wire: ::std::option::Option<
819 unsafe extern "C" fn(rc: *mut CreationGraphInstanceT, wire: u32, delay: f32),
820 >,
821 pub tick_queue:
822 ::std::option::Option<unsafe extern "C" fn(rc: *mut CreationGraphInstanceT, dt: f32)>,
823 pub get_node_run_context: ::std::option::Option<
824 unsafe extern "C" fn(
825 inst: *mut CreationGraphInstanceT,
826 node: u32,
827 ) -> CreationGraphInterpreterContextT,
828 >,
829 pub read_wire: ::std::option::Option<
830 unsafe extern "C" fn(
831 inst: *mut CreationGraphInstanceT,
832 wire: u32,
833 ) -> CreationGraphInterpreterWireContentT,
834 >,
835 pub read_wires: ::std::option::Option<
836 unsafe extern "C" fn(
837 inst: *mut CreationGraphInstanceT,
838 content: *mut CreationGraphInterpreterWireContentT,
839 wires: *const u32,
840 n: u32,
841 ),
842 >,
843 pub read_wires_indirect: ::std::option::Option<
844 unsafe extern "C" fn(
845 inst: *mut CreationGraphInstanceT,
846 content: *mut *mut CreationGraphInterpreterWireContentT,
847 wires: *const u32,
848 n: u32,
849 ),
850 >,
851 pub write_wire: ::std::option::Option<
852 unsafe extern "C" fn(
853 inst: *mut CreationGraphInstanceT,
854 wire: u32,
855 type_info: StrhashT,
856 n: u32,
857 size: u32,
858 ) -> *mut ::std::os::raw::c_void,
859 >,
860 pub read_variable: ::std::option::Option<
861 unsafe extern "C" fn(
862 inst: *mut CreationGraphInstanceT,
863 variable: u64,
864 ) -> CreationGraphInterpreterWireContentT,
865 >,
866 pub write_variable: ::std::option::Option<
867 unsafe extern "C" fn(
868 inst: *mut CreationGraphInstanceT,
869 variable: u64,
870 n: u32,
871 size: u32,
872 ) -> *mut ::std::os::raw::c_void,
873 >,
874 pub random_float:
875 ::std::option::Option<unsafe extern "C" fn(rc: *mut CreationGraphInstanceT) -> f32>,
876}
877#[repr(C)]
878#[derive(Copy, Clone)]
879pub struct CreationGraphRuntimeDataT {
880 _unused: [u8; 0],
881}
882pub const TM_TT_PROP__GRAPH__NODES: ::std::os::raw::c_int = 0;
883pub const TM_TT_PROP__GRAPH__CONNECTIONS: ::std::os::raw::c_int = 1;
884pub const TM_TT_PROP__GRAPH__DATA: ::std::os::raw::c_int = 2;
885pub const TM_TT_PROP__GRAPH__COMMENTS: ::std::os::raw::c_int = 3;
886pub const TM_TT_PROP__GRAPH__INTERFACE: ::std::os::raw::c_int = 4;
887pub type _bindgen_ty_5 = ::std::os::raw::c_int;
888pub const TM_TT_PROP__GRAPH_NODE__TYPE: ::std::os::raw::c_int = 0;
889pub const TM_TT_PROP__GRAPH_NODE__LABEL: ::std::os::raw::c_int = 1;
890pub const TM_TT_PROP__GRAPH_NODE__POSITION_X: ::std::os::raw::c_int = 2;
891pub const TM_TT_PROP__GRAPH_NODE__POSITION_Y: ::std::os::raw::c_int = 3;
892pub const TM_TT_PROP__GRAPH_NODE__WIDTH: ::std::os::raw::c_int = 4;
893pub const TM_TT_PROP__GRAPH_NODE__SETTINGS: ::std::os::raw::c_int = 5;
894pub type _bindgen_ty_6 = ::std::os::raw::c_int;
895pub const TM_TT_PROP__GRAPH_CONNECTION__FROM_NODE: ::std::os::raw::c_int = 0;
896pub const TM_TT_PROP__GRAPH_CONNECTION__TO_NODE: ::std::os::raw::c_int = 1;
897pub const TM_TT_PROP__GRAPH_CONNECTION__FROM_CONNECTOR_HASH: ::std::os::raw::c_int = 2;
898pub const TM_TT_PROP__GRAPH_CONNECTION__TO_CONNECTOR_HASH: ::std::os::raw::c_int = 3;
899pub type _bindgen_ty_7 = ::std::os::raw::c_int;
900pub const TM_TT_PROP__GRAPH_DATA__TO_NODE: ::std::os::raw::c_int = 0;
901pub const TM_TT_PROP__GRAPH_DATA__TO_CONNECTOR_HASH: ::std::os::raw::c_int = 1;
902pub const TM_TT_PROP__GRAPH_DATA__DATA: ::std::os::raw::c_int = 2;
903pub type _bindgen_ty_8 = ::std::os::raw::c_int;
904pub const TM_TT_PROP__GRAPH_COMMENT__TEXT: ::std::os::raw::c_int = 0;
905pub const TM_TT_PROP__GRAPH_COMMENT__POSITION_X: ::std::os::raw::c_int = 1;
906pub const TM_TT_PROP__GRAPH_COMMENT__POSITION_Y: ::std::os::raw::c_int = 2;
907pub const TM_TT_PROP__GRAPH_COMMENT__FONT_SCALE: ::std::os::raw::c_int = 3;
908pub const TM_TT_PROP__GRAPH_COMMENT__COLOR: ::std::os::raw::c_int = 4;
909pub type _bindgen_ty_9 = ::std::os::raw::c_int;
910pub const TM_TT_PROP__GRAPH_INTERFACE__INPUTS: ::std::os::raw::c_int = 0;
911pub const TM_TT_PROP__GRAPH_INTERFACE__OUTPUTS: ::std::os::raw::c_int = 1;
912pub const TM_TT_PROP__GRAPH_INTERFACE__LAST_ID: ::std::os::raw::c_int = 2;
913pub const TM_TT_PROP__GRAPH_INTERFACE__CACHED_NODE_RESULT: ::std::os::raw::c_int = 3;
914pub type _bindgen_ty_10 = ::std::os::raw::c_int;
915pub const TM_TT_PROP__GRAPH_INPUT__NAME: ::std::os::raw::c_int = 0;
916pub const TM_TT_PROP__GRAPH_INPUT__DISPLAY_NAME: ::std::os::raw::c_int = 1;
917pub const TM_TT_PROP__GRAPH_INPUT__ID: ::std::os::raw::c_int = 2;
918pub const TM_TT_PROP__GRAPH_INPUT__TYPE_HASH: ::std::os::raw::c_int = 3;
919pub const TM_TT_PROP__GRAPH_INPUT__VALUE_SET_BY_USER: ::std::os::raw::c_int = 4;
920pub const TM_TT_PROP__GRAPH_INPUT__VALUE: ::std::os::raw::c_int = 5;
921pub const TM_TT_PROP__GRAPH_INPUT__TOOLTIP: ::std::os::raw::c_int = 6;
922pub const TM_TT_PROP__GRAPH_INPUT__PUBLIC: ::std::os::raw::c_int = 7;
923pub const TM_TT_PROP__GRAPH_INPUT__ORDER: ::std::os::raw::c_int = 8;
924pub type _bindgen_ty_11 = ::std::os::raw::c_int;
925pub const TM_TT_PROP__GRAPH_OUTPUT__NAME: ::std::os::raw::c_int = 0;
926pub const TM_TT_PROP__GRAPH_OUTPUT__DISPLAY_NAME: ::std::os::raw::c_int = 1;
927pub const TM_TT_PROP__GRAPH_OUTPUT__ID: ::std::os::raw::c_int = 2;
928pub const TM_TT_PROP__GRAPH_OUTPUT__TYPE_HASH: ::std::os::raw::c_int = 3;
929pub const TM_TT_PROP__GRAPH_OUTPUT__ORDER: ::std::os::raw::c_int = 4;
930pub type _bindgen_ty_12 = ::std::os::raw::c_int;
931pub const TM_TT_PROP__GRAPH_CACHED_NODE_RESULT__NODE: ::std::os::raw::c_int = 0;
932pub const TM_TT_PROP__GRAPH_CACHED_NODE_RESULT__VALIDITY_HASH: ::std::os::raw::c_int = 1;
933pub const TM_TT_PROP__GRAPH_CACHED_NODE_RESULT__OBJECT: ::std::os::raw::c_int = 2;
934pub type _bindgen_ty_13 = ::std::os::raw::c_int;
935pub const TM_TT_PROP__GRAPH_SETTINGS__GRAPH_UUID_A: ::std::os::raw::c_int = 0;
936pub const TM_TT_PROP__GRAPH_SETTINGS__VIEW_POSITION: ::std::os::raw::c_int = 1;
937pub const TM_TT_PROP__GRAPH_SETTINGS__VIEW_SCALE: ::std::os::raw::c_int = 2;
938pub const TM_TT_PROP__GRAPH_SETTINGS__GRID_SNAPPING: ::std::os::raw::c_int = 3;
939pub const TM_TT_PROP__GRAPH_SETTINGS__GRID_SIZE: ::std::os::raw::c_int = 4;
940pub const TM_TT_PROP__GRAPH_SETTINGS__DEBUG_WATCH_WIRE_OVERLAY_TABLE_MODE: ::std::os::raw::c_int =
941 5;
942pub const TM_TT_PROP__GRAPH_SETTINGS__SHOW_REMOVED_INHERITED: ::std::os::raw::c_int = 6;
943pub const TM_TT_PROP__GRAPH_SETTINGS__DEBUG_WATCHED_WIRES: ::std::os::raw::c_int = 7;
944pub const TM_TT_PROP__GRAPH_SETTINGS__DEBUG_PERSISTENT_SETTINGS: ::std::os::raw::c_int = 8;
945pub type _bindgen_ty_14 = ::std::os::raw::c_int;
946pub const TM_TT_PROP__GRAPH_SETTINGS__BREAKPOINTS: ::std::os::raw::c_int = 0;
947pub const TM_TT_PROP__GRAPH_SETTINGS__OVERLAY_OPENED: ::std::os::raw::c_int = 1;
948pub type _bindgen_ty_15 = ::std::os::raw::c_int;
949pub const TM_TT_PROP__GRAPH_SETTINGS_BREAKPOINT__NODE_UNIQUE_ID: ::std::os::raw::c_int = 0;
950pub const TM_TT_PROP__GRAPH_SETTINGS_BREAKPOINT__NODE_UUID_A: ::std::os::raw::c_int = 1;
951pub const TM_TT_PROP__GRAPH_SETTINGS_BREAKPOINT__NODE_UUID_B: ::std::os::raw::c_int = 2;
952pub const TM_TT_PROP__GRAPH_SETTINGS_BREAKPOINT__SUBGRAPH_NODE_UNIQUE_ID: ::std::os::raw::c_int = 3;
953pub const TM_TT_PROP__GRAPH_SETTINGS_BREAKPOINT__SUBGRAPH_NODE_UUID_A: ::std::os::raw::c_int = 4;
954pub const TM_TT_PROP__GRAPH_SETTINGS_BREAKPOINT__SUBGRAPH_NODE_UUID_B: ::std::os::raw::c_int = 5;
955pub const TM_TT_PROP__GRAPH_SETTINGS_BREAKPOINT__DISABLED: ::std::os::raw::c_int = 6;
956pub const TM_TT_PROP__GRAPH_SETTINGS_BREAKPOINT__GRAPH_UUID_A: ::std::os::raw::c_int = 7;
957pub const TM_TT_PROP__GRAPH_SETTINGS_BREAKPOINT__GRAPH_UUID_B: ::std::os::raw::c_int = 8;
958pub type _bindgen_ty_16 = ::std::os::raw::c_int;
959pub const TM_GRAPH_MAX_CONNECTORS: ::std::os::raw::c_int = 24;
960pub type _bindgen_ty_17 = ::std::os::raw::c_int;
961#[repr(C)]
962#[derive(Copy, Clone)]
963pub union GraphGenericValueTBindgenTy1 {
964 pub data: *const ::std::os::raw::c_void,
965 pub str_: *const ::std::os::raw::c_char,
966 pub f: *const f32,
967 pub uint64: *const u64,
968 pub uint32: *const u32,
969 pub vec2: *const Vec2T,
970 pub vec3: *const Vec3T,
971 pub vec4: *const Vec4T,
972 pub rect: *const RectT,
973 pub srgb: *const ColorSrgbT,
974 pub boolean: *const bool,
975}
976impl Default for GraphGenericValueTBindgenTy1 {
977 fn default() -> Self {
978 let mut s = ::std::mem::MaybeUninit::<Self>::uninit();
979 unsafe {
980 ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1);
981 s.assume_init()
982 }
983 }
984}
985pub const TM_CREATION_GRAPH__STATIC_WIRE__SINK: ::std::os::raw::c_int = 0;
986pub const TM_CREATION_GRAPH__STATIC_WIRE__CONTEXT: ::std::os::raw::c_int = 1;
987pub const TM_CREATION_GRAPH__STATIC_WIRE__COUNT: ::std::os::raw::c_int = 2;
988pub type _bindgen_ty_18 = ::std::os::raw::c_int;
989#[repr(C)]
990pub struct CreationGraphCompileContextT {
991 pub tt: *mut TheTruthO,
992 pub graph_id: TtIdT,
993 pub settings_id: TtIdT,
994 pub instanced_settings_id: TtIdT,
995 pub asset_label_uuid: u64,
996}
997impl Default for CreationGraphCompileContextT {
998 fn default() -> Self {
999 let mut s = ::std::mem::MaybeUninit::<Self>::uninit();
1000 unsafe {
1001 ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1);
1002 s.assume_init()
1003 }
1004 }
1005}
1006pub const TM_VERTEX_SEMANTIC_POSITION: ::std::os::raw::c_int = 0;
1007pub const TM_VERTEX_SEMANTIC_NORMAL: ::std::os::raw::c_int = 1;
1008pub const TM_VERTEX_SEMANTIC_TANGENT0: ::std::os::raw::c_int = 2;
1009pub const TM_VERTEX_SEMANTIC_TANGENT1: ::std::os::raw::c_int = 3;
1010pub const TM_VERTEX_SEMANTIC_SKIN_DATA: ::std::os::raw::c_int = 4;
1011pub const TM_VERTEX_SEMANTIC_TEXCOORD0: ::std::os::raw::c_int = 5;
1012pub const TM_VERTEX_SEMANTIC_TEXCOORD1: ::std::os::raw::c_int = 6;
1013pub const TM_VERTEX_SEMANTIC_TEXCOORD2: ::std::os::raw::c_int = 7;
1014pub const TM_VERTEX_SEMANTIC_TEXCOORD3: ::std::os::raw::c_int = 8;
1015pub const TM_VERTEX_SEMANTIC_COLOR0: ::std::os::raw::c_int = 9;
1016pub const TM_VERTEX_SEMANTIC_COLOR1: ::std::os::raw::c_int = 10;
1017pub const TM_VERTEX_SEMANTIC_MAX_SEMANTICS: ::std::os::raw::c_int = 11;
1018pub const TM_INDEX_SEMANTIC: ::std::os::raw::c_int = 16;
1019pub type _bindgen_ty_19 = ::std::os::raw::c_int;
1020#[repr(C)]
1021#[derive(Copy, Clone)]
1022pub struct GpuGeometryT {
1023 pub vfetch_system: *mut ShaderSystemO,
1024 pub vfetch_system_cbuffer: u32,
1025 pub vfetch_system_rbinder: u32,
1026 pub ray_tracing_geometry_flags: u32,
1027 pub _padding_48: [::std::os::raw::c_char; 4usize],
1028}
1029impl Default for GpuGeometryT {
1030 fn default() -> Self {
1031 let mut s = ::std::mem::MaybeUninit::<Self>::uninit();
1032 unsafe {
1033 ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1);
1034 s.assume_init()
1035 }
1036 }
1037}
1038pub const TM_TT_PROP__IMAGE_FILTER_SETTINGS__COLOR_SPACE: ::std::os::raw::c_int = 0;
1039pub const TM_TT_PROP__IMAGE_FILTER_SETTINGS__FILTER: ::std::os::raw::c_int = 1;
1040pub const TM_TT_PROP__IMAGE_FILTER_SETTINGS__OVERRIDE_EXISTING_MIPS: ::std::os::raw::c_int = 2;
1041pub const TM_TT_PROP__IMAGE_FILTER_SETTINGS__STORAGE_POLICY: ::std::os::raw::c_int = 3;
1042pub type _bindgen_ty_20 = ::std::os::raw::c_int;
1043pub const TM_TT_PROP__IMAGE_DESCRIPTION__TYPE: ::std::os::raw::c_int = 0;
1044pub const TM_TT_PROP__IMAGE_DESCRIPTION__PIXEL_FORMAT: ::std::os::raw::c_int = 1;
1045pub const TM_TT_PROP__IMAGE_DESCRIPTION__WIDTH: ::std::os::raw::c_int = 2;
1046pub const TM_TT_PROP__IMAGE_DESCRIPTION__HEIGHT: ::std::os::raw::c_int = 3;
1047pub const TM_TT_PROP__IMAGE_DESCRIPTION__DEPTH: ::std::os::raw::c_int = 4;
1048pub const TM_TT_PROP__IMAGE_DESCRIPTION__MIP_LEVELS: ::std::os::raw::c_int = 5;
1049pub const TM_TT_PROP__IMAGE_DESCRIPTION__LAYER_COUNT: ::std::os::raw::c_int = 6;
1050pub const TM_TT_PROP__IMAGE_DESCRIPTION__SAMPLE_COUNT: ::std::os::raw::c_int = 7;
1051pub const TM_TT_PROP__IMAGE_DESCRIPTION__DEBUG_TAG: ::std::os::raw::c_int = 8;
1052pub type _bindgen_ty_21 = ::std::os::raw::c_int;
1053pub const TM_TT_PROP__IMAGE_ARCHIVE__FILENAME: ::std::os::raw::c_int = 0;
1054pub const TM_TT_PROP__IMAGE_ARCHIVE__VALIDITY_HASH: ::std::os::raw::c_int = 1;
1055pub const TM_TT_PROP__IMAGE_ARCHIVE__DESCRIPTION: ::std::os::raw::c_int = 2;
1056pub const TM_TT_PROP__IMAGE_ARCHIVE__BUFFER: ::std::os::raw::c_int = 3;
1057pub const TM_TT_PROP__IMAGE_ARCHIVE__RAW: ::std::os::raw::c_int = 4;
1058pub type _bindgen_ty_22 = ::std::os::raw::c_int;
1059#[repr(C)]
1060pub struct GpuBufferT {
1061 pub validity_hash: u64,
1062 pub size: u32,
1063 pub usage_flags: u32,
1064 pub handle: RendererHandleT,
1065 pub resource_state: u16,
1066 pub _padding_21: [::std::os::raw::c_char; 2usize],
1067}
1068impl Default for GpuBufferT {
1069 fn default() -> Self {
1070 let mut s = ::std::mem::MaybeUninit::<Self>::uninit();
1071 unsafe {
1072 ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1);
1073 s.assume_init()
1074 }
1075 }
1076}
1077#[repr(C)]
1078#[derive(Copy, Clone)]
1079pub struct CreationGraphShaderInstanceT {
1080 pub shader: *mut ShaderO,
1081 pub cbuf: u32,
1082 pub rbinder: u32,
1083 pub validity_hash: u64,
1084 pub has_invalid_resources: bool,
1085 pub _padding_47: [::std::os::raw::c_char; 7usize],
1086}
1087impl Default for CreationGraphShaderInstanceT {
1088 fn default() -> Self {
1089 let mut s = ::std::mem::MaybeUninit::<Self>::uninit();
1090 unsafe {
1091 ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1);
1092 s.assume_init()
1093 }
1094 }
1095}
1096#[repr(C)]
1097pub struct CreationGraphPhysicsShapeT {
1098 pub dcc_asset: TtIdT,
1099 pub dcc_mesh: TtIdT,
1100}
1101impl Default for CreationGraphPhysicsShapeT {
1102 fn default() -> Self {
1103 let mut s = ::std::mem::MaybeUninit::<Self>::uninit();
1104 unsafe {
1105 ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1);
1106 s.assume_init()
1107 }
1108 }
1109}
1110#[repr(C)]
1111pub struct GpuSimulationChannelBufferDataT {
1112 pub buffer: RendererHandleT,
1113 pub buffer_resource_state: u16,
1114 pub _padding_14: [::std::os::raw::c_char; 6usize],
1115 pub buffer_header_size: u32,
1116 pub buffer_header_count_offset: u32,
1117 pub buffer_header_stride_offset: u32,
1118 pub buffer_total_size: u64,
1119}
1120impl Default for GpuSimulationChannelBufferDataT {
1121 fn default() -> Self {
1122 let mut s = ::std::mem::MaybeUninit::<Self>::uninit();
1123 unsafe {
1124 ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1);
1125 s.assume_init()
1126 }
1127 }
1128}
1129#[repr(C)]
1130#[derive(Default, Copy, Clone)]
1131pub struct CreationGraphInstanceDataO {
1132 pub _address: u8,
1133}
1134#[repr(C)]
1135#[derive(Default, Copy, Clone)]
1136pub struct CreationGraphManagerO {
1137 pub _address: u8,
1138}
1139#[repr(C)]
1140#[derive(Default, Copy, Clone)]
1141pub struct CreationGraphO {
1142 pub _address: u8,
1143}
1144
1145use const_cstr::{const_cstr, ConstCStr};
1148
1149use crate::foundation::VersionT;
1150
1151use crate::foundation::*;
1152use crate::plugins::editor_views::*;
1153use crate::plugins::entity::*;
1154use crate::plugins::render_graph::*;
1155use crate::plugins::renderer::*;
1156use crate::plugins::shader_system::*;
1157use crate::plugins::the_machinery_shared::*;
1158use crate::plugins::ui::*;
1159
1160impl CreationGraphApi {
1161 pub unsafe fn create_truth_types(&self, tt: *mut TheTruthO) {
1162 self.create_truth_types.unwrap()(tt)
1163 }
1164
1165 pub unsafe fn asset_browser_create_interface(&self) -> *mut AssetBrowserCreateAssetI {
1166 self.asset_browser_create_interface.unwrap()()
1167 }
1168
1169 pub unsafe fn create_instance(
1170 &self,
1171 tt: *mut TheTruthO,
1172 asset: TtIdT,
1173 context: *mut CreationGraphContextT,
1174 ) -> CreationGraphInstanceT {
1175 self.create_instance.unwrap()(tt, asset, context)
1176 }
1177
1178 pub unsafe fn destroy_instance(
1179 &self,
1180 instance: *mut CreationGraphInstanceT,
1181 context: *mut CreationGraphContextT,
1182 ) {
1183 self.destroy_instance.unwrap()(instance, context)
1184 }
1185
1186 pub unsafe fn invalidate(&self, tt: *mut TheTruthO, asset: TtIdT) {
1187 self.invalidate.unwrap()(tt, asset)
1188 }
1189
1190 pub unsafe fn write_blackboard(
1191 &self,
1192 tt: *mut TheTruthO,
1193 asset: TtIdT,
1194 key_name: StrhashT,
1195 value: *const CreationGraphBlackboardValueT,
1196 ) {
1197 self.write_blackboard.unwrap()(tt, asset, key_name, value)
1198 }
1199
1200 pub unsafe fn read_blackboard(
1201 &self,
1202 tt: *mut TheTruthO,
1203 asset: TtIdT,
1204 key_name: StrhashT,
1205 value: *mut CreationGraphBlackboardValueT,
1206 ) -> bool {
1207 self.read_blackboard.unwrap()(tt, asset, key_name, value)
1208 }
1209
1210 pub unsafe fn remove_blackboard(&self, tt: *mut TheTruthO, asset: TtIdT, key_name: StrhashT) {
1211 self.remove_blackboard.unwrap()(tt, asset, key_name)
1212 }
1213
1214 pub unsafe fn lock_resource_cache(
1215 &self,
1216 tt: *mut TheTruthO,
1217 graph_id: TtIdT,
1218 node_id: TtIdT,
1219 ) -> *mut CreationGraphNodeCacheT {
1220 self.lock_resource_cache.unwrap()(tt, graph_id, node_id)
1221 }
1222
1223 pub unsafe fn unlock_resource_cache(&self, cache: *mut CreationGraphNodeCacheT) {
1224 self.unlock_resource_cache.unwrap()(cache)
1225 }
1226
1227 pub unsafe fn add_listener(&self, tt: *mut TheTruthO, asset: TtIdT, object: TtIdT) {
1228 self.add_listener.unwrap()(tt, asset, object)
1229 }
1230
1231 pub unsafe fn tick_queue(
1232 &self,
1233 instance: *mut CreationGraphInstanceT,
1234 dt: f32,
1235 context: *mut CreationGraphContextT,
1236 ) {
1237 self.tick_queue.unwrap()(instance, dt, context)
1238 }
1239
1240 pub unsafe fn has_event(
1241 &self,
1242 instance: *mut CreationGraphInstanceT,
1243 event_id: StrhashT,
1244 ) -> bool {
1245 self.has_event.unwrap()(instance, event_id)
1246 }
1247
1248 pub unsafe fn trigger_event(
1249 &self,
1250 instance: *mut CreationGraphInstanceT,
1251 event_id: StrhashT,
1252 context: *mut CreationGraphContextT,
1253 ) {
1254 self.trigger_event.unwrap()(instance, event_id, context)
1255 }
1256
1257 pub unsafe fn update_interface(
1258 &self,
1259 instance: *mut CreationGraphInstanceT,
1260 interface_id: StrhashT,
1261 context: *mut CreationGraphContextT,
1262 ) {
1263 self.update_interface.unwrap()(instance, interface_id, context)
1264 }
1265
1266 pub unsafe fn lookup_cached_node_result(
1267 &self,
1268 tt: *mut TheTruthO,
1269 graph_id: TtIdT,
1270 node_id: TtIdT,
1271 ) -> CachedNodeResultT {
1272 self.lookup_cached_node_result.unwrap()(tt, graph_id, node_id)
1273 }
1274
1275 pub unsafe fn set_cached_node_result(
1276 &self,
1277 tt: *mut TheTruthO,
1278 graph_id: TtIdT,
1279 node_id: TtIdT,
1280 validity_hash: u64,
1281 object: TtIdT,
1282 ) {
1283 self.set_cached_node_result.unwrap()(tt, graph_id, node_id, validity_hash, object)
1284 }
1285
1286 pub unsafe fn output(
1287 &self,
1288 instance: *mut CreationGraphInstanceT,
1289 node_name_hash: StrhashT,
1290 context: *mut CreationGraphContextT,
1291 output_node_type: *mut *const CreationGraphOutputNodeTypeT,
1292 ) -> CreationGraphOutputT {
1293 self.output.unwrap()(instance, node_name_hash, context, output_node_type)
1294 }
1295
1296 pub unsafe fn all_outputs(
1297 &self,
1298 instance: *mut CreationGraphInstanceT,
1299 context: *mut CreationGraphContextT,
1300 ) -> CreationGraphAllOutputsT {
1301 self.all_outputs.unwrap()(instance, context)
1302 }
1303
1304 pub unsafe fn refresh_outputs(
1305 &self,
1306 instance: *mut CreationGraphInstanceT,
1307 context: *mut CreationGraphContextT,
1308 ) {
1309 self.refresh_outputs.unwrap()(instance, context)
1310 }
1311
1312 pub unsafe fn named_output(
1313 &self,
1314 instance: *mut CreationGraphInstanceT,
1315 type_: StrhashT,
1316 name: StrhashT,
1317 ) -> CreationGraphNamedOutputT {
1318 self.named_output.unwrap()(instance, type_, name)
1319 }
1320
1321 pub unsafe fn gather_stripped_graph(
1322 &self,
1323 instance: *mut CreationGraphInstanceT,
1324 context: *mut CreationGraphContextT,
1325 nodes: *mut SetIdT,
1326 ) {
1327 self.gather_stripped_graph.unwrap()(instance, context, nodes)
1328 }
1329
1330 pub unsafe fn get_instances_from_component(
1331 &self,
1332 tt: *mut TheTruthO,
1333 entity_ctx: *mut EntityContextO,
1334 entity: EntityT,
1335 component_name_hash: StrhashT,
1336 ta: *mut TempAllocatorI,
1337 ) -> *mut *mut CreationGraphInstanceT {
1338 self.get_instances_from_component.unwrap()(tt, entity_ctx, entity, component_name_hash, ta)
1339 }
1340
1341 pub unsafe fn set_input_value(
1342 &self,
1343 instance: *mut CreationGraphInstanceT,
1344 context: *mut CreationGraphContextT,
1345 name: StrhashT,
1346 data: *mut ::std::os::raw::c_void,
1347 data_size: u32,
1348 ) {
1349 self.set_input_value.unwrap()(instance, context, name, data, data_size)
1350 }
1351
1352 pub unsafe fn queue_instances_for_dirty_marking(
1353 &self,
1354 instances: *mut CreationGraphInstanceT,
1355 num_instances: u32,
1356 ) {
1357 self.queue_instances_for_dirty_marking.unwrap()(instances, num_instances)
1358 }
1359
1360 pub unsafe fn get_buffer_async(
1361 &self,
1362 instance: *mut CreationGraphInstanceT,
1363 context: *mut CreationGraphContextT,
1364 object: TtIdT,
1365 property: u32,
1366 buffer: *mut TtBufferT,
1367 ) {
1368 self.get_buffer_async.unwrap()(instance, context, object, property, buffer)
1369 }
1370}
1371
1372impl crate::Api for CreationGraphApi {
1373 const NAME: ConstCStr = const_cstr!("tm_creation_graph_api");
1374 const VERSION: VersionT = VersionT {
1375 major: 1u32,
1376 minor: 0u32,
1377 patch: 0u32,
1378 };
1379}
1380
1381impl CreationGraphInterpreterApi {
1382 pub unsafe fn create_graph_interpreter(
1383 &self,
1384 allocator: *mut AllocatorI,
1385 ) -> *mut CreationGraphInterpreterO {
1386 self.create_graph_interpreter.unwrap()(allocator)
1387 }
1388
1389 pub unsafe fn destroy_graph_interpreter(&self, gr: *mut CreationGraphInterpreterO) {
1390 self.destroy_graph_interpreter.unwrap()(gr)
1391 }
1392
1393 pub unsafe fn set_graph(
1394 &self,
1395 gr: *mut CreationGraphInterpreterO,
1396 nodes: *const CreationGraphInterpreterNodeT,
1397 num_nodes: u32,
1398 num_wires: u32,
1399 node_wires: *mut u32,
1400 num_node_wires: u32,
1401 dependencies: *mut u32,
1402 num_dependencies: u32,
1403 ) {
1404 self.set_graph.unwrap()(
1405 gr,
1406 nodes,
1407 num_nodes,
1408 num_wires,
1409 node_wires,
1410 num_node_wires,
1411 dependencies,
1412 num_dependencies,
1413 )
1414 }
1415
1416 pub unsafe fn default_instance(
1417 &self,
1418 gr: *mut CreationGraphInterpreterO,
1419 ) -> CreationGraphInstanceT {
1420 self.default_instance.unwrap()(gr)
1421 }
1422
1423 pub unsafe fn active_instances(
1424 &self,
1425 gr: *mut CreationGraphInterpreterO,
1426 count: *mut u32,
1427 ) -> *mut *mut CreationGraphInstanceDataO {
1428 self.active_instances.unwrap()(gr, count)
1429 }
1430
1431 pub unsafe fn create_instance(
1432 &self,
1433 gr: *mut CreationGraphInterpreterO,
1434 ) -> CreationGraphInstanceT {
1435 self.create_instance.unwrap()(gr)
1436 }
1437
1438 pub unsafe fn destroy_instance(&self, rc: *mut CreationGraphInstanceT) {
1439 self.destroy_instance.unwrap()(rc)
1440 }
1441
1442 pub unsafe fn run_node_at_index(&self, rc: *mut CreationGraphInstanceT, node: u32) {
1443 self.run_node_at_index.unwrap()(rc, node)
1444 }
1445
1446 pub unsafe fn add_event_node(
1447 &self,
1448 gr: *mut CreationGraphInterpreterO,
1449 e: StrhashT,
1450 node: u32,
1451 ) {
1452 self.add_event_node.unwrap()(gr, e, node)
1453 }
1454
1455 pub unsafe fn has_event(&self, gr: *mut CreationGraphInterpreterO, e: StrhashT) -> bool {
1456 self.has_event.unwrap()(gr, e)
1457 }
1458
1459 pub unsafe fn trigger_event(&self, rc: *mut CreationGraphInstanceT, e: StrhashT) {
1460 self.trigger_event.unwrap()(rc, e)
1461 }
1462
1463 pub unsafe fn trigger_wire(&self, rc: *mut CreationGraphInstanceT, wire: u32) {
1464 self.trigger_wire.unwrap()(rc, wire)
1465 }
1466
1467 pub unsafe fn gather_stripped_graph(
1468 &self,
1469 rc: *mut CreationGraphInstanceT,
1470 nodes: *mut SetIdT,
1471 ) {
1472 self.gather_stripped_graph.unwrap()(rc, nodes)
1473 }
1474
1475 pub unsafe fn queue_wire(&self, rc: *mut CreationGraphInstanceT, wire: u32, delay: f32) {
1476 self.queue_wire.unwrap()(rc, wire, delay)
1477 }
1478
1479 pub unsafe fn tick_queue(&self, rc: *mut CreationGraphInstanceT, dt: f32) {
1480 self.tick_queue.unwrap()(rc, dt)
1481 }
1482
1483 pub unsafe fn get_node_run_context(
1484 &self,
1485 inst: *mut CreationGraphInstanceT,
1486 node: u32,
1487 ) -> CreationGraphInterpreterContextT {
1488 self.get_node_run_context.unwrap()(inst, node)
1489 }
1490
1491 pub unsafe fn read_wire(
1492 &self,
1493 inst: *mut CreationGraphInstanceT,
1494 wire: u32,
1495 ) -> CreationGraphInterpreterWireContentT {
1496 self.read_wire.unwrap()(inst, wire)
1497 }
1498
1499 pub unsafe fn read_wires(
1500 &self,
1501 inst: *mut CreationGraphInstanceT,
1502 content: *mut CreationGraphInterpreterWireContentT,
1503 wires: *const u32,
1504 n: u32,
1505 ) {
1506 self.read_wires.unwrap()(inst, content, wires, n)
1507 }
1508
1509 pub unsafe fn read_wires_indirect(
1510 &self,
1511 inst: *mut CreationGraphInstanceT,
1512 content: *mut *mut CreationGraphInterpreterWireContentT,
1513 wires: *const u32,
1514 n: u32,
1515 ) {
1516 self.read_wires_indirect.unwrap()(inst, content, wires, n)
1517 }
1518
1519 pub unsafe fn write_wire(
1520 &self,
1521 inst: *mut CreationGraphInstanceT,
1522 wire: u32,
1523 type_info: StrhashT,
1524 n: u32,
1525 size: u32,
1526 ) -> *mut ::std::os::raw::c_void {
1527 self.write_wire.unwrap()(inst, wire, type_info, n, size)
1528 }
1529
1530 pub unsafe fn read_variable(
1531 &self,
1532 inst: *mut CreationGraphInstanceT,
1533 variable: u64,
1534 ) -> CreationGraphInterpreterWireContentT {
1535 self.read_variable.unwrap()(inst, variable)
1536 }
1537
1538 pub unsafe fn write_variable(
1539 &self,
1540 inst: *mut CreationGraphInstanceT,
1541 variable: u64,
1542 n: u32,
1543 size: u32,
1544 ) -> *mut ::std::os::raw::c_void {
1545 self.write_variable.unwrap()(inst, variable, n, size)
1546 }
1547
1548 pub unsafe fn random_float(&self, rc: *mut CreationGraphInstanceT) -> f32 {
1549 self.random_float.unwrap()(rc)
1550 }
1551}
1552
1553impl crate::Api for CreationGraphInterpreterApi {
1554 const NAME: ConstCStr = const_cstr!("tm_creation_graph_interpreter_api");
1555 const VERSION: VersionT = VersionT {
1556 major: 2u32,
1557 minor: 0u32,
1558 patch: 0u32,
1559 };
1560}
1561
1562pub const TM_TT_TYPE_HASH__CREATION_GRAPH: StrhashT = StrhashT {
1563 u64_: 14263233325791661430u64,
1564};
1565pub const TM_CREATION_GRAPH_EVENT_COMPILE: StrhashT = StrhashT {
1566 u64_: 4357650677474677863u64,
1567};
1568pub const TM_CREATION_GRAPH_EVENT_INIT: StrhashT = StrhashT {
1569 u64_: 4906703793241200758u64,
1570};
1571pub const TM_CREATION_GRAPH_EVENT_TICK: StrhashT = StrhashT {
1572 u64_: 15852286598673457824u64,
1573};
1574pub const TM_CREATION_GRAPH_EVENT_NODE_OUTPUT: StrhashT = StrhashT {
1575 u64_: 8475023083591677920u64,
1576};
1577pub const TM_CI_CREATION_GRAPH_INSTANCE_PROVIDER: StrhashT = StrhashT {
1578 u64_: 17478698051045250385u64,
1579};
1580pub const TM_TYPE_HASH__CREATION_GRAPH__INSTANCE: StrhashT = StrhashT {
1581 u64_: 13519466112014054944u64,
1582};
1583pub const TM_TT_TYPE_HASH__STRING_HASH: StrhashT = StrhashT {
1584 u64_: 17092832035897777594u64,
1585};
1586pub const TM_TYPE_HASH__GPU_GEOMETRY: StrhashT = StrhashT {
1587 u64_: 111032956890368325u64,
1588};
1589pub const TM_TT_TYPE_HASH__IMAGE_MIPMAP_SETTINGS: StrhashT = StrhashT {
1590 u64_: 11382068134251936923u64,
1591};
1592pub const TM_TT_TYPE_HASH__IMAGE_DESCRIPTION: StrhashT = StrhashT {
1593 u64_: 8033654588499689407u64,
1594};
1595pub const TM_TT_TYPE_HASH__IMAGE_ARCHIVE: StrhashT = StrhashT {
1596 u64_: 13900148506330692421u64,
1597};
1598pub const TM_CREATION_GRAPH__IMAGE__OUTPUT_NODE_HASH: StrhashT = StrhashT {
1599 u64_: 14434400046901944053u64,
1600};
1601pub const TM_TYPE_HASH__GPU_BUFFER: StrhashT = StrhashT {
1602 u64_: 8638320117310676114u64,
1603};
1604pub const TM_CREATION_GRAPH__SHADER_INSTANCE_OUTPUT_HASH: StrhashT = StrhashT {
1605 u64_: 17335244708126637406u64,
1606};
1607pub const TM_TYPE_HASH__SHADER_INSTANCE: StrhashT = StrhashT {
1608 u64_: 7875495152435762712u64,
1609};
1610pub const TM_TYPE_HASH__CREATION_GRAPH_SHADER_INSTANCE: StrhashT = StrhashT {
1611 u64_: 6679199256464242056u64,
1612};
1613pub const TM_CREATION_GRAPH__BOUNDING_VOLUME_HASH: StrhashT = StrhashT {
1614 u64_: 7116090811976251669u64,
1615};
1616pub const TM_CREATION_GRAPH__DRAW_CALL_HASH: StrhashT = StrhashT {
1617 u64_: 3141252993814894569u64,
1618};
1619pub const TM_CREATION_GRAPH__PHYSICS_SHAPE__OUTPUT_NODE_HASH: StrhashT = StrhashT {
1620 u64_: 11679706363691094784u64,
1621};
1622pub const TM_CREATION_GRAPH__RAY_TRACE_INSTANCE_HASH: StrhashT = StrhashT {
1623 u64_: 18169300602035247580u64,
1624};
1625pub const TM_TYPE_HASH__GPU_SIMULATION__CHANNEL_BUFFER_DATA: StrhashT = StrhashT {
1626 u64_: 17496717424579581404u64,
1627};
1628pub const TM_COMPILE_DATA_TO_WIRE_F_VERSION: VersionT = VersionT {
1629 major: 1u32,
1630 minor: 0u32,
1631 patch: 0u32,
1632};
1633pub const TM_CREATION_GRAPH_PREVIEW_I_VERSION: VersionT = VersionT {
1634 major: 1u32,
1635 minor: 0u32,
1636 patch: 0u32,
1637};
1638pub const TM_CREATION_GRAPH_API_VERSION: VersionT = VersionT {
1639 major: 1u32,
1640 minor: 0u32,
1641 patch: 0u32,
1642};
1643pub const TM_CREATION_GRAPH_OUTPUT_NODE_TYPE_T_VERSION: VersionT = VersionT {
1644 major: 1u32,
1645 minor: 0u32,
1646 patch: 0u32,
1647};
1648pub const TM_CREATION_GRAPH_INTERPRETER_API_VERSION: VersionT = VersionT {
1649 major: 2u32,
1650 minor: 0u32,
1651 patch: 0u32,
1652};
1653pub const TM_CREATION_GRAPH_NODE_TYPE_I_VERSION: VersionT = VersionT {
1654 major: 1u32,
1655 minor: 0u32,
1656 patch: 0u32,
1657};