1pub const HAPI_POSITION_VECTOR_SIZE: u32 = 3;
6pub const HAPI_SCALE_VECTOR_SIZE: u32 = 3;
7pub const HAPI_SHEAR_VECTOR_SIZE: u32 = 3;
8pub const HAPI_NORMAL_VECTOR_SIZE: u32 = 3;
9pub const HAPI_QUATERNION_VECTOR_SIZE: u32 = 4;
10pub const HAPI_EULER_VECTOR_SIZE: u32 = 3;
11pub const HAPI_UV_VECTOR_SIZE: u32 = 2;
12pub const HAPI_COLOR_VECTOR_SIZE: u32 = 4;
13pub const HAPI_CV_VECTOR_SIZE: u32 = 4;
14pub const HAPI_PRIM_MIN_VERTEX_COUNT: u32 = 1;
15pub const HAPI_PRIM_MAX_VERTEX_COUNT: u32 = 16;
16pub const HAPI_INVALID_PARM_ID: i32 = -1;
17pub const HAPI_MAX_NUM_CONNECTIONS: u32 = 128;
18pub const HAPI_ATTRIB_POSITION: &[u8; 2] = b"P\0";
19pub const HAPI_ATTRIB_UV: &[u8; 3] = b"uv\0";
20pub const HAPI_ATTRIB_UV2: &[u8; 4] = b"uv2\0";
21pub const HAPI_ATTRIB_NORMAL: &[u8; 2] = b"N\0";
22pub const HAPI_ATTRIB_TANGENT: &[u8; 9] = b"tangentu\0";
23pub const HAPI_ATTRIB_TANGENT2: &[u8; 9] = b"tangentv\0";
24pub const HAPI_ATTRIB_COLOR: &[u8; 3] = b"Cd\0";
25pub const HAPI_ATTRIB_NAME: &[u8; 5] = b"name\0";
26pub const HAPI_ATTRIB_INSTANCE: &[u8; 9] = b"instance\0";
27pub const HAPI_ATTRIB_ROT: &[u8; 4] = b"rot\0";
28pub const HAPI_ATTRIB_SCALE: &[u8; 6] = b"scale\0";
29pub const HAPI_UNGROUPED_GROUP_NAME: &[u8; 18] = b"__ungrouped_group\0";
30pub const HAPI_RAW_FORMAT_NAME: &[u8; 9] = b"HAPI_RAW\0";
31pub const HAPI_PNG_FORMAT_NAME: &[u8; 4] = b"PNG\0";
32pub const HAPI_JPEG_FORMAT_NAME: &[u8; 5] = b"JPEG\0";
33pub const HAPI_BMP_FORMAT_NAME: &[u8; 7] = b"Bitmap\0";
34pub const HAPI_TIFF_FORMAT_NAME: &[u8; 5] = b"TIFF\0";
35pub const HAPI_TGA_FORMAT_NAME: &[u8; 6] = b"Targa\0";
36pub const HAPI_DEFAULT_IMAGE_FORMAT_NAME: &[u8; 4] = b"PNG\0";
37pub const HAPI_GLOBAL_NODES_NODE_NAME: &[u8; 12] = b"GlobalNodes\0";
38pub const HAPI_ENV_HIP: &[u8; 4] = b"HIP\0";
39pub const HAPI_ENV_JOB: &[u8; 4] = b"JOB\0";
40pub const HAPI_ENV_CLIENT_NAME: &[u8; 17] = b"HAPI_CLIENT_NAME\0";
41pub const HAPI_CACHE_COP2_COOK: &[u8; 15] = b"COP Cook Cache\0";
42pub const HAPI_CACHE_COP2_FLIPBOOK: &[u8; 19] = b"COP Flipbook Cache\0";
43pub const HAPI_CACHE_IMAGE: &[u8; 12] = b"Image Cache\0";
44pub const HAPI_CACHE_OBJ: &[u8; 23] = b"Object Transform Cache\0";
45pub const HAPI_CACHE_GL_TEXTURE: &[u8; 21] = b"OpenGL Texture Cache\0";
46pub const HAPI_CACHE_GL_VERTEX: &[u8; 20] = b"OpenGL Vertex Cache\0";
47pub const HAPI_CACHE_SOP: &[u8; 10] = b"SOP Cache\0";
48pub const HAPI_CACHE_VEX: &[u8; 15] = b"VEX File Cache\0";
49pub const HAPI_ATTRIB_INPUT_CURVE_COORDS: &[u8; 24] = b"hapi_input_curve_coords\0";
50pub const _STDINT_H: u32 = 1;
51pub const _FEATURES_H: u32 = 1;
52pub const _DEFAULT_SOURCE: u32 = 1;
53pub const __GLIBC_USE_ISOC2X: u32 = 0;
54pub const __USE_ISOC11: u32 = 1;
55pub const __USE_ISOC99: u32 = 1;
56pub const __USE_ISOC95: u32 = 1;
57pub const __USE_POSIX_IMPLICITLY: u32 = 1;
58pub const _POSIX_SOURCE: u32 = 1;
59pub const _POSIX_C_SOURCE: u32 = 200809;
60pub const __USE_POSIX: u32 = 1;
61pub const __USE_POSIX2: u32 = 1;
62pub const __USE_POSIX199309: u32 = 1;
63pub const __USE_POSIX199506: u32 = 1;
64pub const __USE_XOPEN2K: u32 = 1;
65pub const __USE_XOPEN2K8: u32 = 1;
66pub const _ATFILE_SOURCE: u32 = 1;
67pub const __WORDSIZE: u32 = 64;
68pub const __WORDSIZE_TIME64_COMPAT32: u32 = 1;
69pub const __SYSCALL_WORDSIZE: u32 = 64;
70pub const __TIMESIZE: u32 = 64;
71pub const __USE_MISC: u32 = 1;
72pub const __USE_ATFILE: u32 = 1;
73pub const __USE_FORTIFY_LEVEL: u32 = 0;
74pub const __GLIBC_USE_DEPRECATED_GETS: u32 = 0;
75pub const __GLIBC_USE_DEPRECATED_SCANF: u32 = 0;
76pub const _STDC_PREDEF_H: u32 = 1;
77pub const __STDC_IEC_559__: u32 = 1;
78pub const __STDC_IEC_60559_BFP__: u32 = 201404;
79pub const __STDC_IEC_559_COMPLEX__: u32 = 1;
80pub const __STDC_IEC_60559_COMPLEX__: u32 = 201404;
81pub const __STDC_ISO_10646__: u32 = 201706;
82pub const __GNU_LIBRARY__: u32 = 6;
83pub const __GLIBC__: u32 = 2;
84pub const __GLIBC_MINOR__: u32 = 35;
85pub const _SYS_CDEFS_H: u32 = 1;
86pub const __glibc_c99_flexarr_available: u32 = 1;
87pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI: u32 = 0;
88pub const __HAVE_GENERIC_SELECTION: u32 = 1;
89pub const __GLIBC_USE_LIB_EXT2: u32 = 0;
90pub const __GLIBC_USE_IEC_60559_BFP_EXT: u32 = 0;
91pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X: u32 = 0;
92pub const __GLIBC_USE_IEC_60559_EXT: u32 = 0;
93pub const __GLIBC_USE_IEC_60559_FUNCS_EXT: u32 = 0;
94pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X: u32 = 0;
95pub const __GLIBC_USE_IEC_60559_TYPES_EXT: u32 = 0;
96pub const _BITS_TYPES_H: u32 = 1;
97pub const _BITS_TYPESIZES_H: u32 = 1;
98pub const __OFF_T_MATCHES_OFF64_T: u32 = 1;
99pub const __INO_T_MATCHES_INO64_T: u32 = 1;
100pub const __RLIM_T_MATCHES_RLIM64_T: u32 = 1;
101pub const __STATFS_MATCHES_STATFS64: u32 = 1;
102pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64: u32 = 1;
103pub const __FD_SETSIZE: u32 = 1024;
104pub const _BITS_TIME64_H: u32 = 1;
105pub const _BITS_WCHAR_H: u32 = 1;
106pub const _BITS_STDINT_INTN_H: u32 = 1;
107pub const _BITS_STDINT_UINTN_H: u32 = 1;
108pub const INT8_MIN: i32 = -128;
109pub const INT16_MIN: i32 = -32768;
110pub const INT32_MIN: i32 = -2147483648;
111pub const INT8_MAX: u32 = 127;
112pub const INT16_MAX: u32 = 32767;
113pub const INT32_MAX: u32 = 2147483647;
114pub const UINT8_MAX: u32 = 255;
115pub const UINT16_MAX: u32 = 65535;
116pub const UINT32_MAX: u32 = 4294967295;
117pub const INT_LEAST8_MIN: i32 = -128;
118pub const INT_LEAST16_MIN: i32 = -32768;
119pub const INT_LEAST32_MIN: i32 = -2147483648;
120pub const INT_LEAST8_MAX: u32 = 127;
121pub const INT_LEAST16_MAX: u32 = 32767;
122pub const INT_LEAST32_MAX: u32 = 2147483647;
123pub const UINT_LEAST8_MAX: u32 = 255;
124pub const UINT_LEAST16_MAX: u32 = 65535;
125pub const UINT_LEAST32_MAX: u32 = 4294967295;
126pub const INT_FAST8_MIN: i32 = -128;
127pub const INT_FAST16_MIN: i64 = -9223372036854775808;
128pub const INT_FAST32_MIN: i64 = -9223372036854775808;
129pub const INT_FAST8_MAX: u32 = 127;
130pub const INT_FAST16_MAX: u64 = 9223372036854775807;
131pub const INT_FAST32_MAX: u64 = 9223372036854775807;
132pub const UINT_FAST8_MAX: u32 = 255;
133pub const UINT_FAST16_MAX: i32 = -1;
134pub const UINT_FAST32_MAX: i32 = -1;
135pub const INTPTR_MIN: i64 = -9223372036854775808;
136pub const INTPTR_MAX: u64 = 9223372036854775807;
137pub const UINTPTR_MAX: i32 = -1;
138pub const PTRDIFF_MIN: i64 = -9223372036854775808;
139pub const PTRDIFF_MAX: u64 = 9223372036854775807;
140pub const SIG_ATOMIC_MIN: i32 = -2147483648;
141pub const SIG_ATOMIC_MAX: u32 = 2147483647;
142pub const SIZE_MAX: i32 = -1;
143pub const WINT_MIN: u32 = 0;
144pub const WINT_MAX: u32 = 4294967295;
145pub const HAPI_VERSION_HOUDINI_MAJOR: u32 = 20;
146pub const HAPI_VERSION_HOUDINI_MINOR: u32 = 5;
147pub const HAPI_VERSION_HOUDINI_BUILD: u32 = 620;
148pub const HAPI_VERSION_HOUDINI_PATCH: u32 = 0;
149pub const HAPI_VERSION_HOUDINI_ENGINE_MAJOR: u32 = 7;
150pub const HAPI_VERSION_HOUDINI_ENGINE_MINOR: u32 = 0;
151pub const HAPI_VERSION_HOUDINI_ENGINE_API: u32 = 10;
152pub type HAPI_Bool = ::std::os::raw::c_char;
153pub type __u_char = ::std::os::raw::c_uchar;
154pub type __u_short = ::std::os::raw::c_ushort;
155pub type __u_int = ::std::os::raw::c_uint;
156pub type __u_long = ::std::os::raw::c_ulong;
157pub type __int8_t = ::std::os::raw::c_schar;
158pub type __uint8_t = ::std::os::raw::c_uchar;
159pub type __int16_t = ::std::os::raw::c_short;
160pub type __uint16_t = ::std::os::raw::c_ushort;
161pub type __int32_t = ::std::os::raw::c_int;
162pub type __uint32_t = ::std::os::raw::c_uint;
163pub type __int64_t = ::std::os::raw::c_long;
164pub type __uint64_t = ::std::os::raw::c_ulong;
165pub type __int_least8_t = __int8_t;
166pub type __uint_least8_t = __uint8_t;
167pub type __int_least16_t = __int16_t;
168pub type __uint_least16_t = __uint16_t;
169pub type __int_least32_t = __int32_t;
170pub type __uint_least32_t = __uint32_t;
171pub type __int_least64_t = __int64_t;
172pub type __uint_least64_t = __uint64_t;
173pub type __quad_t = ::std::os::raw::c_long;
174pub type __u_quad_t = ::std::os::raw::c_ulong;
175pub type __intmax_t = ::std::os::raw::c_long;
176pub type __uintmax_t = ::std::os::raw::c_ulong;
177pub type __dev_t = ::std::os::raw::c_ulong;
178pub type __uid_t = ::std::os::raw::c_uint;
179pub type __gid_t = ::std::os::raw::c_uint;
180pub type __ino_t = ::std::os::raw::c_ulong;
181pub type __ino64_t = ::std::os::raw::c_ulong;
182pub type __mode_t = ::std::os::raw::c_uint;
183pub type __nlink_t = ::std::os::raw::c_ulong;
184pub type __off_t = ::std::os::raw::c_long;
185pub type __off64_t = ::std::os::raw::c_long;
186pub type __pid_t = ::std::os::raw::c_int;
187#[repr(C)]
188#[derive(Debug, Copy, Clone)]
189pub struct __fsid_t {
190 pub __val: [::std::os::raw::c_int; 2usize],
191}
192pub type __clock_t = ::std::os::raw::c_long;
193pub type __rlim_t = ::std::os::raw::c_ulong;
194pub type __rlim64_t = ::std::os::raw::c_ulong;
195pub type __id_t = ::std::os::raw::c_uint;
196pub type __time_t = ::std::os::raw::c_long;
197pub type __useconds_t = ::std::os::raw::c_uint;
198pub type __suseconds_t = ::std::os::raw::c_long;
199pub type __suseconds64_t = ::std::os::raw::c_long;
200pub type __daddr_t = ::std::os::raw::c_int;
201pub type __key_t = ::std::os::raw::c_int;
202pub type __clockid_t = ::std::os::raw::c_int;
203pub type __timer_t = *mut ::std::os::raw::c_void;
204pub type __blksize_t = ::std::os::raw::c_long;
205pub type __blkcnt_t = ::std::os::raw::c_long;
206pub type __blkcnt64_t = ::std::os::raw::c_long;
207pub type __fsblkcnt_t = ::std::os::raw::c_ulong;
208pub type __fsblkcnt64_t = ::std::os::raw::c_ulong;
209pub type __fsfilcnt_t = ::std::os::raw::c_ulong;
210pub type __fsfilcnt64_t = ::std::os::raw::c_ulong;
211pub type __fsword_t = ::std::os::raw::c_long;
212pub type __ssize_t = ::std::os::raw::c_long;
213pub type __syscall_slong_t = ::std::os::raw::c_long;
214pub type __syscall_ulong_t = ::std::os::raw::c_ulong;
215pub type __loff_t = __off64_t;
216pub type __caddr_t = *mut ::std::os::raw::c_char;
217pub type __intptr_t = ::std::os::raw::c_long;
218pub type __socklen_t = ::std::os::raw::c_uint;
219pub type __sig_atomic_t = ::std::os::raw::c_int;
220pub type int_least8_t = __int_least8_t;
221pub type int_least16_t = __int_least16_t;
222pub type int_least32_t = __int_least32_t;
223pub type int_least64_t = __int_least64_t;
224pub type uint_least8_t = __uint_least8_t;
225pub type uint_least16_t = __uint_least16_t;
226pub type uint_least32_t = __uint_least32_t;
227pub type uint_least64_t = __uint_least64_t;
228pub type int_fast8_t = ::std::os::raw::c_schar;
229pub type int_fast16_t = ::std::os::raw::c_long;
230pub type int_fast32_t = ::std::os::raw::c_long;
231pub type int_fast64_t = ::std::os::raw::c_long;
232pub type uint_fast8_t = ::std::os::raw::c_uchar;
233pub type uint_fast16_t = ::std::os::raw::c_ulong;
234pub type uint_fast32_t = ::std::os::raw::c_ulong;
235pub type uint_fast64_t = ::std::os::raw::c_ulong;
236pub type intmax_t = __intmax_t;
237pub type uintmax_t = __uintmax_t;
238pub type HAPI_UInt8 = u8;
239pub type static_assert_unsupported_size_of_uint8 = [::std::os::raw::c_char; 1usize];
240pub type HAPI_Int8 = i8;
241pub type static_assert_unsupported_size_of_int8 = [::std::os::raw::c_char; 1usize];
242pub type HAPI_Int16 = i16;
243pub type static_assert_unsupported_size_of_int16 = [::std::os::raw::c_char; 1usize];
244pub type HAPI_Int64 = i64;
245pub type static_assert_unsupported_size_of_long = [::std::os::raw::c_char; 1usize];
246pub type HAPI_ProcessId = ::std::os::raw::c_int;
247pub type HAPI_SessionId = HAPI_Int64;
248pub type HAPI_StringHandle = ::std::os::raw::c_int;
249pub type HAPI_AssetLibraryId = ::std::os::raw::c_int;
250pub type HAPI_NodeId = ::std::os::raw::c_int;
251pub type HAPI_ParmId = ::std::os::raw::c_int;
252pub type HAPI_PartId = ::std::os::raw::c_int;
253pub type HAPI_PDG_WorkItemId = ::std::os::raw::c_int;
254pub type HAPI_PDG_WorkitemId = HAPI_PDG_WorkItemId;
255pub type HAPI_PDG_GraphContextId = ::std::os::raw::c_int;
256pub type HAPI_HIPFileId = ::std::os::raw::c_int;
257#[repr(u32)]
258#[non_exhaustive]
259#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
260pub enum License {
261 LicenseNone = 0,
262 HoudiniEngine = 1,
263 LicenseHoudini = 2,
264 HoudiniFx = 3,
265 EngineIndie = 4,
266 HoudiniIndie = 5,
267 UnityUnreal = 6,
268 HoudiniEducation = 7,
269 EngineEducation = 8,
270 LicenseMax = 9,
271}
272#[repr(u32)]
273#[non_exhaustive]
274#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
275pub enum StatusType {
276 CallResult = 0,
277 CookResult = 1,
278 CookState = 2,
279 StatusMax = 3,
280}
281impl StatusVerbosity {
282 pub const All: StatusVerbosity = StatusVerbosity::Statusverbosity2;
283}
284impl StatusVerbosity {
285 pub const Errors: StatusVerbosity = StatusVerbosity::Statusverbosity0;
286}
287impl StatusVerbosity {
288 pub const Warnings: StatusVerbosity = StatusVerbosity::Statusverbosity1;
289}
290impl StatusVerbosity {
291 pub const Messages: StatusVerbosity = StatusVerbosity::Statusverbosity2;
292}
293#[repr(u32)]
294#[non_exhaustive]
295#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
296pub enum StatusVerbosity {
297 Statusverbosity0 = 0,
298 Statusverbosity1 = 1,
299 Statusverbosity2 = 2,
300}
301#[repr(u32)]
302#[non_exhaustive]
303#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
304pub enum JobStatus {
305 Running = 0,
306 Idle = 1,
307 Max = 2,
308}
309#[repr(u32)]
310#[non_exhaustive]
311#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
312pub enum HapiResult {
313 Success = 0,
314 Failure = 1,
315 AlreadyInitialized = 2,
316 NotInitialized = 3,
317 CantLoadfile = 4,
318 ParmSetFailed = 5,
319 InvalidArgument = 6,
320 CantLoadGeo = 7,
321 CantGeneratePreset = 8,
322 CantLoadPreset = 9,
323 AssetDefAlreadyLoaded = 10,
324 NoLicenseFound = 110,
325 DisallowedNcLicenseFound = 120,
326 DisallowedNcAssetWithCLicense = 130,
327 DisallowedNcAssetWithLcLicense = 140,
328 DisallowedLcAssetWithCLicense = 150,
329 DisallowedHengineindieW3partyPlugin = 160,
330 AssetInvalid = 200,
331 NodeInvalid = 210,
332 UserInterrupted = 300,
333 InvalidSession = 400,
334}
335#[repr(u32)]
336#[non_exhaustive]
337#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
338pub enum ErrorCode {
339 DefNotFound = 1,
340 PythonNodeError = 2,
341}
342pub type HAPI_ErrorCodeBits = ::std::os::raw::c_int;
343#[repr(u32)]
344#[non_exhaustive]
345#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
346pub enum SessionType {
347 Inprocess = 0,
348 Thrift = 1,
349 Custom1 = 2,
350 Custom2 = 3,
351 Custom3 = 4,
352 Max = 5,
353}
354impl State {
355 pub const MaxReadyState: State = State::ReadyWithCookErrors;
356}
357#[repr(u32)]
358#[non_exhaustive]
359#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
360pub enum State {
361 Ready = 0,
362 ReadyWithFatalErrors = 1,
363 ReadyWithCookErrors = 2,
364 StartingCook = 3,
365 Cooking = 4,
366 StartingLoad = 5,
367 Loading = 6,
368 Max = 7,
369}
370#[repr(i32)]
371#[non_exhaustive]
372#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
373pub enum PackedPrimInstancingMode {
374 Invalid = -1,
375 Disabled = 0,
376 Hierarchy = 1,
377 Flat = 2,
378 Max = 3,
379}
380#[repr(u32)]
381#[non_exhaustive]
382#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
383pub enum Permissions {
384 NonApplicable = 0,
385 ReadWrite = 1,
386 ReadOnly = 2,
387 WriteOnly = 3,
388 PermissionsMax = 4,
389}
390#[repr(i32)]
391#[non_exhaustive]
392#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
393pub enum RampType {
394 Invalid = -1,
395 Float = 0,
396 Color = 1,
397 Max = 2,
398}
399impl ParmType {
400 pub const IntStart: ParmType = ParmType::Int;
401}
402impl ParmType {
403 pub const IntEnd: ParmType = ParmType::Button;
404}
405impl ParmType {
406 pub const FloatStart: ParmType = ParmType::Float;
407}
408impl ParmType {
409 pub const FloatEnd: ParmType = ParmType::Color;
410}
411impl ParmType {
412 pub const StringStart: ParmType = ParmType::String;
413}
414impl ParmType {
415 pub const StringEnd: ParmType = ParmType::Node;
416}
417impl ParmType {
418 pub const PathStart: ParmType = ParmType::PathFile;
419}
420impl ParmType {
421 pub const PathEnd: ParmType = ParmType::PathFileImage;
422}
423impl ParmType {
424 pub const NodeStart: ParmType = ParmType::Node;
425}
426impl ParmType {
427 pub const NodeEnd: ParmType = ParmType::Node;
428}
429impl ParmType {
430 pub const ContainerStart: ParmType = ParmType::Folderlist;
431}
432impl ParmType {
433 pub const ContainerEnd: ParmType = ParmType::FolderlistRadio;
434}
435impl ParmType {
436 pub const NonvalueStart: ParmType = ParmType::Folder;
437}
438impl ParmType {
439 pub const NonvalueEnd: ParmType = ParmType::Separator;
440}
441#[repr(u32)]
442#[non_exhaustive]
443#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
444pub enum ParmType {
445 Int = 0,
446 Multiparmlist = 1,
447 Toggle = 2,
448 Button = 3,
449 Float = 4,
450 Color = 5,
451 String = 6,
452 PathFile = 7,
453 PathFileGeo = 8,
454 PathFileImage = 9,
455 Node = 10,
456 Folderlist = 11,
457 FolderlistRadio = 12,
458 Folder = 13,
459 Label = 14,
460 Separator = 15,
461 PathFileDir = 16,
462 Max = 17,
463}
464#[repr(u32)]
465#[non_exhaustive]
466#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
467pub enum PrmScriptType {
468 Int = 0,
469 Float = 1,
470 Angle = 2,
471 String = 3,
472 File = 4,
473 Directory = 5,
474 Image = 6,
475 Geometry = 7,
476 Toggle = 8,
477 Button = 9,
478 Vector2 = 10,
479 Vector3 = 11,
480 Vector4 = 12,
481 Intvector2 = 13,
482 Intvector3 = 14,
483 Intvector4 = 15,
484 Uv = 16,
485 Uvw = 17,
486 Dir = 18,
487 Color = 19,
488 Color4 = 20,
489 Huecircle = 21,
490 Oppath = 22,
491 Oplist = 23,
492 Object = 24,
493 Objectlist = 25,
494 Render = 26,
495 Separator = 27,
496 Data = 28,
497 Dict = 29,
498 Label = 30,
499 Rgbamask = 31,
500 Ordinal = 32,
501 Flt = 33,
502 Rgb = 34,
503 Log = 35,
504 IntLog = 36,
505 TypeData = 37,
506 Minmax = 38,
507 IntMinmax = 39,
508 Startend = 40,
509 Buttonstrip = 41,
510 Iconstrip = 42,
511 Groupradio = 1000,
512 Groupcollapsible = 1001,
513 Groupsimple = 1002,
514 Group = 1003,
515}
516#[repr(u32)]
517#[non_exhaustive]
518#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
519pub enum ChoiceListType {
520 None = 0,
521 Normal = 1,
522 Mini = 2,
523 Replace = 3,
524 Toggle = 4,
525}
526#[repr(i32)]
527#[non_exhaustive]
528#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
529pub enum PresetType {
530 Invalid = -1,
531 Binary = 0,
532 Idx = 1,
533 Max = 2,
534}
535#[repr(i32)]
536#[non_exhaustive]
537#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
538pub enum NodeType {
539 Any = -1,
540 None = 0,
541 Obj = 1,
542 Sop = 2,
543 Chop = 4,
544 Rop = 8,
545 Shop = 16,
546 Cop = 32,
547 Vop = 64,
548 Dop = 128,
549 Top = 256,
550}
551pub type HAPI_NodeTypeBits = ::std::os::raw::c_int;
552#[repr(i32)]
553#[non_exhaustive]
554#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
555pub enum NodeFlags {
556 Any = -1,
557 None = 0,
558 Display = 1,
559 Render = 2,
560 Templated = 4,
561 Locked = 8,
562 Editable = 16,
563 Bypass = 32,
564 Network = 64,
565 Geometry = 128,
566 Camera = 256,
567 Light = 512,
568 Subnet = 1024,
569 Curve = 2048,
570 Guide = 4096,
571 Nonscheduler = 8192,
572 NonBypass = 16384,
573}
574pub type HAPI_NodeFlagsBits = ::std::os::raw::c_int;
575#[repr(i32)]
576#[non_exhaustive]
577#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
578pub enum GroupType {
579 Invalid = -1,
580 Point = 0,
581 Prim = 1,
582 Edge = 2,
583 Max = 3,
584}
585#[repr(i32)]
586#[non_exhaustive]
587#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
588pub enum AttributeOwner {
589 Invalid = -1,
590 Vertex = 0,
591 Point = 1,
592 Prim = 2,
593 Detail = 3,
594 Max = 4,
595}
596#[repr(i32)]
597#[non_exhaustive]
598#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
599pub enum CurveType {
600 Invalid = -1,
601 Linear = 0,
602 Nurbs = 1,
603 Bezier = 2,
604 Max = 3,
605}
606#[repr(i32)]
607#[non_exhaustive]
608#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
609pub enum InputCurveMethod {
610 Invalid = -1,
611 Cvs = 0,
612 Breakpoints = 1,
613 Max = 2,
614}
615#[repr(i32)]
616#[non_exhaustive]
617#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
618pub enum InputCurveParameterization {
619 Invalid = -1,
620 Uniform = 0,
621 Chord = 1,
622 Centripetal = 2,
623 Max = 3,
624}
625#[repr(i32)]
626#[non_exhaustive]
627#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
628pub enum VolumeType {
629 Invalid = -1,
630 Houdini = 0,
631 Vdb = 1,
632 Max = 2,
633}
634#[repr(i32)]
635#[non_exhaustive]
636#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
637pub enum VolumeVisualType {
638 Invalid = -1,
639 Smoke = 0,
640 Rainbow = 1,
641 Iso = 2,
642 Invisible = 3,
643 Heightfield = 4,
644 Max = 5,
645}
646#[repr(i32)]
647#[non_exhaustive]
648#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
649pub enum StorageType {
650 Invalid = -1,
651 Int = 0,
652 Int64 = 1,
653 Float = 2,
654 Float64 = 3,
655 String = 4,
656 Uint8 = 5,
657 Int8 = 6,
658 Int16 = 7,
659 Dictionary = 8,
660 IntArray = 9,
661 Int64Array = 10,
662 FloatArray = 11,
663 Float64Array = 12,
664 StringArray = 13,
665 Uint8Array = 14,
666 Int8Array = 15,
667 Int16Array = 16,
668 DictionaryArray = 17,
669 Max = 18,
670}
671#[repr(i32)]
672#[non_exhaustive]
673#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
674pub enum AttributeTypeInfo {
675 Invalid = -1,
676 None = 0,
677 Point = 1,
678 Hpoint = 2,
679 Vector = 3,
680 Normal = 4,
681 Color = 5,
682 Quaternion = 6,
683 Matrix3 = 7,
684 Matrix = 8,
685 St = 9,
686 Hidden = 10,
687 Box2 = 11,
688 Box = 12,
689 Texture = 13,
690 Max = 14,
691}
692#[repr(i32)]
693#[non_exhaustive]
694#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
695pub enum GeoType {
696 Invalid = -1,
697 Default = 0,
698 Intermediate = 1,
699 Input = 2,
700 Curve = 3,
701 Max = 4,
702}
703#[repr(i32)]
704#[non_exhaustive]
705#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
706pub enum PartType {
707 Invalid = -1,
708 Mesh = 0,
709 Curve = 1,
710 Volume = 2,
711 Instancer = 3,
712 Box = 4,
713 Sphere = 5,
714 Max = 6,
715}
716#[repr(i32)]
717#[non_exhaustive]
718#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
719pub enum InputType {
720 Invalid = -1,
721 Transform = 0,
722 Geometry = 1,
723 Max = 2,
724}
725#[repr(u32)]
726#[non_exhaustive]
727#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
728pub enum CurveOrders {
729 Varying = 0,
730 Invalid = 1,
731 Linear = 2,
732 Quadratic = 3,
733 Cubic = 4,
734}
735#[repr(u32)]
736#[non_exhaustive]
737#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
738pub enum TransformComponent {
739 Tx = 0,
740 Ty = 1,
741 Tz = 2,
742 Rx = 3,
743 Ry = 4,
744 Rz = 5,
745 Qx = 6,
746 Qy = 7,
747 Qz = 8,
748 Qw = 9,
749 Sx = 10,
750 Sy = 11,
751 Sz = 12,
752}
753impl RSTOrder {
754 pub const Default: RSTOrder = RSTOrder::Srt;
755}
756#[repr(u32)]
757#[non_exhaustive]
758#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
759pub enum RSTOrder {
760 Trs = 0,
761 Tsr = 1,
762 Rts = 2,
763 Rst = 3,
764 Str = 4,
765 Srt = 5,
766}
767impl XYZOrder {
768 pub const Default: XYZOrder = XYZOrder::Xyz;
769}
770#[repr(u32)]
771#[non_exhaustive]
772#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
773pub enum XYZOrder {
774 Xyz = 0,
775 Xzy = 1,
776 Yxz = 2,
777 Yzx = 3,
778 Zxy = 4,
779 Zyx = 5,
780}
781impl ImageDataFormat {
782 pub const Default: ImageDataFormat = ImageDataFormat::Int8;
783}
784#[repr(i32)]
785#[non_exhaustive]
786#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
787pub enum ImageDataFormat {
788 Unknown = -1,
789 Int8 = 0,
790 Int16 = 1,
791 Int32 = 2,
792 Float16 = 3,
793 Float32 = 4,
794 Max = 5,
795}
796impl ImagePacking {
797 pub const Default3: ImagePacking = ImagePacking::Rgb;
798}
799impl ImagePacking {
800 pub const Default4: ImagePacking = ImagePacking::Rgba;
801}
802#[repr(i32)]
803#[non_exhaustive]
804#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
805pub enum ImagePacking {
806 Unknown = -1,
807 Single = 0,
808 Dual = 1,
809 Rgb = 2,
810 Bgr = 3,
811 Rgba = 4,
812 Abgr = 5,
813 Max = 6,
814}
815#[repr(i32)]
816#[non_exhaustive]
817#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
818pub enum EnvIntType {
819 EnvintInvalid = -1,
820 HoudiniMajor = 100,
821 HoudiniMinor = 110,
822 HoudiniBuild = 120,
823 HoudiniPatch = 130,
824 EngineMajor = 200,
825 EngineMinor = 210,
826 EngineApi = 220,
827 EnvintMax = 221,
828}
829#[repr(i32)]
830#[non_exhaustive]
831#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
832pub enum SessionEnvIntType {
833 Invalid = -1,
834 License = 100,
835 Max = 101,
836}
837#[repr(u32)]
838#[non_exhaustive]
839#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
840pub enum CacheProperty {
841 CachepropCurrent = 0,
842 HasMin = 1,
843 CachepropMin = 2,
844 HasMax = 3,
845 CachepropMax = 4,
846 CullLevel = 5,
847}
848#[repr(u32)]
849#[non_exhaustive]
850#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
851pub enum HeightFieldSampling {
852 Center = 0,
853 Corner = 1,
854}
855impl PdgState {
856 pub const State: PdgState = PdgState::Ready;
857}
858#[repr(u32)]
859#[non_exhaustive]
860#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
861pub enum PdgState {
862 Ready = 0,
863 Cooking = 1,
864 Max = 2,
865}
866#[repr(u32)]
867#[non_exhaustive]
868#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
869pub enum PdgEventType {
870 PdgEventNull = 0,
871 EventWorkitemAdd = 1,
872 EventWorkitemRemove = 2,
873 WorkitemStateChange = 3,
874 WorkitemAddDep = 4,
875 WorkitemRemoveDep = 5,
876 WorkitemAddParent = 6,
877 WorkitemRemoveParent = 7,
878 EventNodeClear = 8,
879 EventCookError = 9,
880 EventCookWarning = 10,
881 EventCookComplete = 11,
882 EventDirtyStart = 12,
883 EventDirtyStop = 13,
884 EventDirtyAll = 14,
885 EventUiSelect = 15,
886 EventNodeCreate = 16,
887 EventNodeRemove = 17,
888 EventNodeRename = 18,
889 EventNodeConnect = 19,
890 EventNodeDisconnect = 20,
891 NodeFirstCook = 21,
892 WorkitemSetInt = 22,
893 WorkitemSetFloat = 23,
894 WorkitemSetString = 24,
895 WorkitemSetFile = 25,
896 WorkitemSetDict = 26,
897 WorkitemSetPyobject = 27,
898 WorkitemSetGeometry = 28,
899 EventWorkitemMerge = 29,
900 EventWorkitemResult = 30,
901 EventWorkitemPriority = 31,
902 EventCookStart = 32,
903 AddStaticAncestor = 33,
904 RemoveStaticAncestor = 34,
905 NodeProgressUpdate = 35,
906 BatchItemInitialized = 36,
907 PdgEventAll = 37,
908 PdgEventLog = 38,
909 EventSchedulerAdded = 39,
910 EventSchedulerRemoved = 40,
911 EventSetScheduler = 41,
912 ServiceManagerAll = 42,
913 EventNodeCooked = 43,
914 EventNodeGenerated = 44,
915 PdgContextEvents = 45,
916}
917#[repr(u32)]
918#[non_exhaustive]
919#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
920pub enum PdgWorkItemState {
921 Undefined = 0,
922 Uncooked = 1,
923 Waiting = 2,
924 Scheduled = 3,
925 Cooking = 4,
926 Success = 5,
927 Cache = 6,
928 Fail = 7,
929 Cancel = 8,
930 Dirty = 9,
931}
932pub use self::PdgWorkItemState as HAPI_PDG_WorkitemState;
933#[repr(u32)]
934#[non_exhaustive]
935#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
936pub enum TcpPortType {
937 Any = 0,
938 Range = 1,
939 List = 2,
940}
941#[repr(u32)]
942#[non_exhaustive]
943#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
944pub enum ThriftSharedMemoryBufferType {
945 Buffer = 0,
946 RingBuffer = 1,
947}
948#[repr(C)]
949#[derive(Debug, Copy, Clone)]
950pub struct HAPI_Transform {
951 pub position: [f32; 3usize],
952 pub rotationQuaternion: [f32; 4usize],
953 pub scale: [f32; 3usize],
954 pub shear: [f32; 3usize],
955 pub rstOrder: RSTOrder,
956}
957#[repr(C)]
958#[derive(Debug, Copy, Clone)]
959pub struct HAPI_TransformEuler {
960 pub position: [f32; 3usize],
961 pub rotationEuler: [f32; 3usize],
962 pub scale: [f32; 3usize],
963 pub shear: [f32; 3usize],
964 pub rotationOrder: XYZOrder,
965 pub rstOrder: RSTOrder,
966}
967#[repr(C)]
968#[derive(Debug, Copy, Clone)]
969pub struct HAPI_Session {
970 pub type_: SessionType,
971 pub id: HAPI_SessionId,
972}
973#[repr(C)]
974#[derive(Debug, Copy, Clone)]
975pub struct HAPI_SessionInfo {
976 pub connectionCount: ::std::os::raw::c_int,
977 pub portType: TcpPortType,
978 pub minPort: ::std::os::raw::c_int,
979 pub maxPort: ::std::os::raw::c_int,
980 pub ports: [::std::os::raw::c_int; 128usize],
981 pub sharedMemoryBufferType: ThriftSharedMemoryBufferType,
982 pub sharedMemoryBufferSize: HAPI_Int64,
983}
984#[repr(C)]
985#[derive(Debug, Copy, Clone)]
986pub struct HAPI_ThriftServerOptions {
987 pub autoClose: HAPI_Bool,
988 pub timeoutMs: f32,
989 pub verbosity: StatusVerbosity,
990 pub sharedMemoryBufferType: ThriftSharedMemoryBufferType,
991 pub sharedMemoryBufferSize: HAPI_Int64,
992}
993#[repr(C)]
994#[derive(Debug, Copy, Clone)]
995pub struct HAPI_TimelineOptions {
996 pub fps: f32,
997 pub startTime: f32,
998 pub endTime: f32,
999}
1000#[repr(C)]
1001#[derive(Debug, Copy, Clone)]
1002pub struct HAPI_AssetInfo {
1003 pub nodeId: HAPI_NodeId,
1004 pub objectNodeId: HAPI_NodeId,
1005 pub hasEverCooked: HAPI_Bool,
1006 pub nameSH: HAPI_StringHandle,
1007 pub labelSH: HAPI_StringHandle,
1008 pub filePathSH: HAPI_StringHandle,
1009 pub versionSH: HAPI_StringHandle,
1010 pub fullOpNameSH: HAPI_StringHandle,
1011 pub helpTextSH: HAPI_StringHandle,
1012 pub helpURLSH: HAPI_StringHandle,
1013 pub objectCount: ::std::os::raw::c_int,
1014 pub handleCount: ::std::os::raw::c_int,
1015 pub transformInputCount: ::std::os::raw::c_int,
1016 pub geoInputCount: ::std::os::raw::c_int,
1017 pub geoOutputCount: ::std::os::raw::c_int,
1018 pub haveObjectsChanged: HAPI_Bool,
1019 pub haveMaterialsChanged: HAPI_Bool,
1020}
1021#[repr(C)]
1022#[derive(Debug, Copy, Clone)]
1023pub struct HAPI_CookOptions {
1024 pub splitGeosByGroup: HAPI_Bool,
1025 pub splitGroupSH: HAPI_StringHandle,
1026 pub splitGeosByAttribute: HAPI_Bool,
1027 pub splitAttrSH: HAPI_StringHandle,
1028 pub maxVerticesPerPrimitive: ::std::os::raw::c_int,
1029 pub refineCurveToLinear: HAPI_Bool,
1030 pub curveRefineLOD: f32,
1031 pub clearErrorsAndWarnings: HAPI_Bool,
1032 pub cookTemplatedGeos: HAPI_Bool,
1033 pub splitPointsByVertexAttributes: HAPI_Bool,
1034 pub packedPrimInstancingMode: PackedPrimInstancingMode,
1035 pub handleBoxPartTypes: HAPI_Bool,
1036 pub handleSpherePartTypes: HAPI_Bool,
1037 pub checkPartChanges: HAPI_Bool,
1038 pub cacheMeshTopology: HAPI_Bool,
1039 pub preferOutputNodes: HAPI_Bool,
1040 pub extraFlags: ::std::os::raw::c_int,
1041}
1042#[repr(C)]
1043#[derive(Debug, Copy, Clone)]
1044pub struct HAPI_NodeInfo {
1045 pub id: HAPI_NodeId,
1046 pub parentId: HAPI_NodeId,
1047 pub nameSH: HAPI_StringHandle,
1048 pub type_: NodeType,
1049 pub isValid: HAPI_Bool,
1050 pub totalCookCount: ::std::os::raw::c_int,
1051 pub uniqueHoudiniNodeId: ::std::os::raw::c_int,
1052 pub internalNodePathSH: HAPI_StringHandle,
1053 pub parmCount: ::std::os::raw::c_int,
1054 pub parmIntValueCount: ::std::os::raw::c_int,
1055 pub parmFloatValueCount: ::std::os::raw::c_int,
1056 pub parmStringValueCount: ::std::os::raw::c_int,
1057 pub parmChoiceCount: ::std::os::raw::c_int,
1058 pub childNodeCount: ::std::os::raw::c_int,
1059 pub inputCount: ::std::os::raw::c_int,
1060 pub outputCount: ::std::os::raw::c_int,
1061 pub createdPostAssetLoad: HAPI_Bool,
1062 pub isTimeDependent: HAPI_Bool,
1063}
1064#[repr(C)]
1065#[derive(Debug, Copy, Clone)]
1066pub struct HAPI_ParmInfo {
1067 pub id: HAPI_ParmId,
1068 pub parentId: HAPI_ParmId,
1069 pub childIndex: ::std::os::raw::c_int,
1070 pub type_: ParmType,
1071 pub scriptType: PrmScriptType,
1072 pub typeInfoSH: HAPI_StringHandle,
1073 pub permissions: Permissions,
1074 pub tagCount: ::std::os::raw::c_int,
1075 pub size: ::std::os::raw::c_int,
1076 pub choiceListType: ChoiceListType,
1077 pub choiceCount: ::std::os::raw::c_int,
1078 pub nameSH: HAPI_StringHandle,
1079 pub labelSH: HAPI_StringHandle,
1080 pub templateNameSH: HAPI_StringHandle,
1081 pub helpSH: HAPI_StringHandle,
1082 pub hasMin: HAPI_Bool,
1083 pub hasMax: HAPI_Bool,
1084 pub hasUIMin: HAPI_Bool,
1085 pub hasUIMax: HAPI_Bool,
1086 pub min: f32,
1087 pub max: f32,
1088 pub UIMin: f32,
1089 pub UIMax: f32,
1090 pub invisible: HAPI_Bool,
1091 pub disabled: HAPI_Bool,
1092 pub spare: HAPI_Bool,
1093 pub joinNext: HAPI_Bool,
1094 pub labelNone: HAPI_Bool,
1095 pub intValuesIndex: ::std::os::raw::c_int,
1096 pub floatValuesIndex: ::std::os::raw::c_int,
1097 pub stringValuesIndex: ::std::os::raw::c_int,
1098 pub choiceIndex: ::std::os::raw::c_int,
1099 pub inputNodeType: NodeType,
1100 pub inputNodeFlag: NodeFlags,
1101 pub isChildOfMultiParm: HAPI_Bool,
1102 pub instanceNum: ::std::os::raw::c_int,
1103 pub instanceLength: ::std::os::raw::c_int,
1104 pub instanceCount: ::std::os::raw::c_int,
1105 pub instanceStartOffset: ::std::os::raw::c_int,
1106 pub rampType: RampType,
1107 pub visibilityConditionSH: HAPI_StringHandle,
1108 pub disabledConditionSH: HAPI_StringHandle,
1109 pub useMenuItemTokenAsValue: HAPI_Bool,
1110}
1111#[repr(C)]
1112#[derive(Debug, Copy, Clone)]
1113pub struct HAPI_ParmChoiceInfo {
1114 pub parentParmId: HAPI_ParmId,
1115 pub labelSH: HAPI_StringHandle,
1116 pub valueSH: HAPI_StringHandle,
1117}
1118#[repr(C)]
1119#[derive(Debug, Copy, Clone)]
1120pub struct HAPI_HandleInfo {
1121 pub nameSH: HAPI_StringHandle,
1122 pub typeNameSH: HAPI_StringHandle,
1123 pub bindingsCount: ::std::os::raw::c_int,
1124}
1125#[repr(C)]
1126#[derive(Debug, Copy, Clone)]
1127pub struct HAPI_HandleBindingInfo {
1128 pub handleParmNameSH: HAPI_StringHandle,
1129 pub assetParmNameSH: HAPI_StringHandle,
1130 pub assetParmId: HAPI_ParmId,
1131 pub assetParmIndex: ::std::os::raw::c_int,
1132}
1133#[repr(C)]
1134#[derive(Debug, Copy, Clone)]
1135pub struct HAPI_ObjectInfo {
1136 pub nameSH: HAPI_StringHandle,
1137 pub objectInstancePathSH: HAPI_StringHandle,
1138 pub hasTransformChanged: HAPI_Bool,
1139 pub haveGeosChanged: HAPI_Bool,
1140 pub isVisible: HAPI_Bool,
1141 pub isInstancer: HAPI_Bool,
1142 pub isInstanced: HAPI_Bool,
1143 pub geoCount: ::std::os::raw::c_int,
1144 pub nodeId: HAPI_NodeId,
1145 pub objectToInstanceId: HAPI_NodeId,
1146}
1147#[repr(C)]
1148#[derive(Debug, Copy, Clone)]
1149pub struct HAPI_GeoInfo {
1150 pub type_: GeoType,
1151 pub nameSH: HAPI_StringHandle,
1152 pub nodeId: HAPI_NodeId,
1153 pub isEditable: HAPI_Bool,
1154 pub isTemplated: HAPI_Bool,
1155 pub isDisplayGeo: HAPI_Bool,
1156 pub hasGeoChanged: HAPI_Bool,
1157 pub hasMaterialChanged: HAPI_Bool,
1158 pub pointGroupCount: ::std::os::raw::c_int,
1159 pub primitiveGroupCount: ::std::os::raw::c_int,
1160 pub edgeGroupCount: ::std::os::raw::c_int,
1161 pub partCount: ::std::os::raw::c_int,
1162}
1163#[repr(C)]
1164#[derive(Debug, Copy, Clone)]
1165pub struct HAPI_PartInfo {
1166 pub id: HAPI_PartId,
1167 pub nameSH: HAPI_StringHandle,
1168 pub type_: PartType,
1169 pub faceCount: ::std::os::raw::c_int,
1170 pub vertexCount: ::std::os::raw::c_int,
1171 pub pointCount: ::std::os::raw::c_int,
1172 pub attributeCounts: [::std::os::raw::c_int; 4usize],
1173 pub isInstanced: HAPI_Bool,
1174 pub instancedPartCount: ::std::os::raw::c_int,
1175 pub instanceCount: ::std::os::raw::c_int,
1176 pub hasChanged: HAPI_Bool,
1177}
1178#[repr(C)]
1179#[derive(Debug, Copy, Clone)]
1180pub struct HAPI_AttributeInfo {
1181 pub exists: HAPI_Bool,
1182 pub owner: AttributeOwner,
1183 pub storage: StorageType,
1184 pub originalOwner: AttributeOwner,
1185 pub count: ::std::os::raw::c_int,
1186 pub tupleSize: ::std::os::raw::c_int,
1187 pub totalArrayElements: HAPI_Int64,
1188 pub typeInfo: AttributeTypeInfo,
1189}
1190#[repr(C)]
1191#[derive(Debug, Copy, Clone)]
1192pub struct HAPI_MaterialInfo {
1193 pub nodeId: HAPI_NodeId,
1194 pub exists: HAPI_Bool,
1195 pub hasChanged: HAPI_Bool,
1196}
1197#[repr(C)]
1198#[derive(Debug, Copy, Clone)]
1199pub struct HAPI_ImageFileFormat {
1200 pub nameSH: HAPI_StringHandle,
1201 pub descriptionSH: HAPI_StringHandle,
1202 pub defaultExtensionSH: HAPI_StringHandle,
1203}
1204#[repr(C)]
1205#[derive(Debug, Copy, Clone)]
1206pub struct HAPI_ImageInfo {
1207 pub imageFileFormatNameSH: HAPI_StringHandle,
1208 pub xRes: ::std::os::raw::c_int,
1209 pub yRes: ::std::os::raw::c_int,
1210 pub dataFormat: ImageDataFormat,
1211 pub interleaved: HAPI_Bool,
1212 pub packing: ImagePacking,
1213 pub gamma: f64,
1214}
1215#[repr(C)]
1216#[derive(Debug, Copy, Clone)]
1217pub struct HAPI_Keyframe {
1218 pub time: f32,
1219 pub value: f32,
1220 pub inTangent: f32,
1221 pub outTangent: f32,
1222}
1223#[repr(C)]
1224#[derive(Debug, Copy, Clone)]
1225pub struct HAPI_VolumeInfo {
1226 pub nameSH: HAPI_StringHandle,
1227 pub type_: VolumeType,
1228 pub xLength: ::std::os::raw::c_int,
1229 pub yLength: ::std::os::raw::c_int,
1230 pub zLength: ::std::os::raw::c_int,
1231 pub minX: ::std::os::raw::c_int,
1232 pub minY: ::std::os::raw::c_int,
1233 pub minZ: ::std::os::raw::c_int,
1234 pub tupleSize: ::std::os::raw::c_int,
1235 pub storage: StorageType,
1236 pub tileSize: ::std::os::raw::c_int,
1237 pub transform: HAPI_Transform,
1238 pub hasTaper: HAPI_Bool,
1239 pub xTaper: f32,
1240 pub yTaper: f32,
1241}
1242#[repr(C)]
1243#[derive(Debug, Copy, Clone)]
1244pub struct HAPI_VolumeTileInfo {
1245 pub minX: ::std::os::raw::c_int,
1246 pub minY: ::std::os::raw::c_int,
1247 pub minZ: ::std::os::raw::c_int,
1248 pub isValid: HAPI_Bool,
1249}
1250#[repr(C)]
1251#[derive(Debug, Copy, Clone)]
1252pub struct HAPI_VolumeVisualInfo {
1253 pub type_: VolumeVisualType,
1254 pub iso: f32,
1255 pub density: f32,
1256}
1257#[repr(C)]
1258#[derive(Debug, Copy, Clone)]
1259pub struct HAPI_CurveInfo {
1260 pub curveType: CurveType,
1261 pub curveCount: ::std::os::raw::c_int,
1262 pub vertexCount: ::std::os::raw::c_int,
1263 pub knotCount: ::std::os::raw::c_int,
1264 pub isPeriodic: HAPI_Bool,
1265 pub isRational: HAPI_Bool,
1266 pub order: ::std::os::raw::c_int,
1267 pub hasKnots: HAPI_Bool,
1268 pub isClosed: HAPI_Bool,
1269}
1270#[repr(C)]
1271#[derive(Debug, Copy, Clone)]
1272pub struct HAPI_InputCurveInfo {
1273 pub curveType: CurveType,
1274 pub order: ::std::os::raw::c_int,
1275 pub closed: HAPI_Bool,
1276 pub reverse: HAPI_Bool,
1277 pub inputMethod: InputCurveMethod,
1278 pub breakpointParameterization: InputCurveParameterization,
1279}
1280#[repr(C)]
1281#[derive(Debug, Copy, Clone)]
1282pub struct HAPI_BoxInfo {
1283 pub center: [f32; 3usize],
1284 pub size: [f32; 3usize],
1285 pub rotation: [f32; 3usize],
1286}
1287#[repr(C)]
1288#[derive(Debug, Copy, Clone)]
1289pub struct HAPI_SphereInfo {
1290 pub center: [f32; 3usize],
1291 pub radius: f32,
1292}
1293#[repr(C)]
1294#[derive(Debug, Copy, Clone)]
1295pub struct HAPI_PDG_EventInfo {
1296 pub nodeId: HAPI_NodeId,
1297 pub workItemId: HAPI_PDG_WorkItemId,
1298 pub dependencyId: HAPI_PDG_WorkItemId,
1299 pub currentState: ::std::os::raw::c_int,
1300 pub lastState: ::std::os::raw::c_int,
1301 pub eventType: ::std::os::raw::c_int,
1302 pub msgSH: HAPI_StringHandle,
1303}
1304#[repr(C)]
1305#[derive(Debug, Copy, Clone)]
1306pub struct HAPI_PDG_WorkItemInfo {
1307 pub index: ::std::os::raw::c_int,
1308 pub outputFileCount: ::std::os::raw::c_int,
1309 pub nameSH: HAPI_StringHandle,
1310}
1311pub type HAPI_PDG_WorkitemInfo = HAPI_PDG_WorkItemInfo;
1312#[repr(C)]
1313#[derive(Debug, Copy, Clone)]
1314pub struct HAPI_PDG_WorkItemOutputFile {
1315 pub filePathSH: ::std::os::raw::c_int,
1316 pub tagSH: ::std::os::raw::c_int,
1317 pub hash: HAPI_Int64,
1318}
1319pub type HAPI_PDG_WorkitemResultInfo = HAPI_PDG_WorkItemOutputFile;
1320#[repr(C)]
1321#[derive(Debug, Copy, Clone)]
1322pub struct HAPI_Viewport {
1323 pub position: [f32; 3usize],
1324 pub rotationQuaternion: [f32; 4usize],
1325 pub offset: f32,
1326}
1327#[repr(C)]
1328#[derive(Debug, Copy, Clone)]
1329pub struct HAPI_SessionSyncInfo {
1330 pub cookUsingHoudiniTime: HAPI_Bool,
1331 pub syncViewport: HAPI_Bool,
1332}
1333#[repr(C)]
1334#[derive(Debug, Copy, Clone)]
1335pub struct HAPI_CompositorOptions {
1336 pub maximumResolutionX: ::std::os::raw::c_int,
1337 pub maximumResolutionY: ::std::os::raw::c_int,
1338}
1339unsafe extern "C" {
1340 pub fn HAPI_SessionInfo_Init(in_: *mut HAPI_SessionInfo);
1341}
1342unsafe extern "C" {
1343 pub fn HAPI_SessionInfo_Create() -> HAPI_SessionInfo;
1344}
1345unsafe extern "C" {
1346 pub fn HAPI_ThriftServerOptions_Init(in_: *mut HAPI_ThriftServerOptions);
1347}
1348unsafe extern "C" {
1349 pub fn HAPI_ThriftServerOptions_Create() -> HAPI_ThriftServerOptions;
1350}
1351unsafe extern "C" {
1352 pub fn HAPI_TimelineOptions_Init(in_: *mut HAPI_TimelineOptions);
1353}
1354unsafe extern "C" {
1355 pub fn HAPI_TimelineOptions_Create() -> HAPI_TimelineOptions;
1356}
1357unsafe extern "C" {
1358 pub fn HAPI_CompositorOptions_Init(in_: *mut HAPI_CompositorOptions);
1359}
1360unsafe extern "C" {
1361 pub fn HAPI_CompositorOptions_Create() -> HAPI_CompositorOptions;
1362}
1363unsafe extern "C" {
1364 pub fn HAPI_AssetInfo_Init(in_: *mut HAPI_AssetInfo);
1365}
1366unsafe extern "C" {
1367 pub fn HAPI_AssetInfo_Create() -> HAPI_AssetInfo;
1368}
1369unsafe extern "C" {
1370 pub fn HAPI_CookOptions_Init(in_: *mut HAPI_CookOptions);
1371}
1372unsafe extern "C" {
1373 pub fn HAPI_CookOptions_Create() -> HAPI_CookOptions;
1374}
1375unsafe extern "C" {
1376 pub fn HAPI_CookOptions_AreEqual(
1377 left: *const HAPI_CookOptions,
1378 right: *const HAPI_CookOptions,
1379 ) -> HAPI_Bool;
1380}
1381unsafe extern "C" {
1382 pub fn HAPI_NodeInfo_Init(in_: *mut HAPI_NodeInfo);
1383}
1384unsafe extern "C" {
1385 pub fn HAPI_NodeInfo_Create() -> HAPI_NodeInfo;
1386}
1387unsafe extern "C" {
1388 pub fn HAPI_ParmInfo_Init(in_: *mut HAPI_ParmInfo);
1389}
1390unsafe extern "C" {
1391 pub fn HAPI_ParmInfo_Create() -> HAPI_ParmInfo;
1392}
1393unsafe extern "C" {
1394 pub fn HAPI_ParmInfo_IsInt(in_: *const HAPI_ParmInfo) -> HAPI_Bool;
1395}
1396unsafe extern "C" {
1397 pub fn HAPI_ParmInfo_IsFloat(in_: *const HAPI_ParmInfo) -> HAPI_Bool;
1398}
1399unsafe extern "C" {
1400 pub fn HAPI_ParmInfo_IsString(in_: *const HAPI_ParmInfo) -> HAPI_Bool;
1401}
1402unsafe extern "C" {
1403 pub fn HAPI_ParmInfo_IsPath(in_: *const HAPI_ParmInfo) -> HAPI_Bool;
1404}
1405unsafe extern "C" {
1406 pub fn HAPI_ParmInfo_IsNode(in_: *const HAPI_ParmInfo) -> HAPI_Bool;
1407}
1408unsafe extern "C" {
1409 pub fn HAPI_ParmInfo_IsNonValue(in_: *const HAPI_ParmInfo) -> HAPI_Bool;
1410}
1411unsafe extern "C" {
1412 pub fn HAPI_ParmInfo_GetIntValueCount(in_: *const HAPI_ParmInfo) -> ::std::os::raw::c_int;
1413}
1414unsafe extern "C" {
1415 pub fn HAPI_ParmInfo_GetFloatValueCount(in_: *const HAPI_ParmInfo) -> ::std::os::raw::c_int;
1416}
1417unsafe extern "C" {
1418 pub fn HAPI_ParmInfo_GetStringValueCount(in_: *const HAPI_ParmInfo) -> ::std::os::raw::c_int;
1419}
1420unsafe extern "C" {
1421 pub fn HAPI_ParmChoiceInfo_Init(in_: *mut HAPI_ParmChoiceInfo);
1422}
1423unsafe extern "C" {
1424 pub fn HAPI_ParmChoiceInfo_Create() -> HAPI_ParmChoiceInfo;
1425}
1426unsafe extern "C" {
1427 pub fn HAPI_HandleInfo_Init(in_: *mut HAPI_HandleInfo);
1428}
1429unsafe extern "C" {
1430 pub fn HAPI_HandleInfo_Create() -> HAPI_HandleInfo;
1431}
1432unsafe extern "C" {
1433 pub fn HAPI_HandleBindingInfo_Init(in_: *mut HAPI_HandleBindingInfo);
1434}
1435unsafe extern "C" {
1436 pub fn HAPI_HandleBindingInfo_Create() -> HAPI_HandleBindingInfo;
1437}
1438unsafe extern "C" {
1439 pub fn HAPI_ObjectInfo_Init(in_: *mut HAPI_ObjectInfo);
1440}
1441unsafe extern "C" {
1442 pub fn HAPI_ObjectInfo_Create() -> HAPI_ObjectInfo;
1443}
1444unsafe extern "C" {
1445 pub fn HAPI_GeoInfo_Init(in_: *mut HAPI_GeoInfo);
1446}
1447unsafe extern "C" {
1448 pub fn HAPI_GeoInfo_Create() -> HAPI_GeoInfo;
1449}
1450unsafe extern "C" {
1451 pub fn HAPI_GeoInfo_GetGroupCountByType(
1452 in_: *mut HAPI_GeoInfo,
1453 type_: GroupType,
1454 ) -> ::std::os::raw::c_int;
1455}
1456unsafe extern "C" {
1457 pub fn HAPI_PartInfo_Init(in_: *mut HAPI_PartInfo);
1458}
1459unsafe extern "C" {
1460 pub fn HAPI_PartInfo_Create() -> HAPI_PartInfo;
1461}
1462unsafe extern "C" {
1463 pub fn HAPI_PartInfo_GetElementCountByAttributeOwner(
1464 in_: *mut HAPI_PartInfo,
1465 owner: AttributeOwner,
1466 ) -> ::std::os::raw::c_int;
1467}
1468unsafe extern "C" {
1469 pub fn HAPI_PartInfo_GetElementCountByGroupType(
1470 in_: *mut HAPI_PartInfo,
1471 type_: GroupType,
1472 ) -> ::std::os::raw::c_int;
1473}
1474unsafe extern "C" {
1475 pub fn HAPI_PartInfo_GetAttributeCountByOwner(
1476 in_: *mut HAPI_PartInfo,
1477 owner: AttributeOwner,
1478 ) -> ::std::os::raw::c_int;
1479}
1480unsafe extern "C" {
1481 pub fn HAPI_AttributeInfo_Init(in_: *mut HAPI_AttributeInfo);
1482}
1483unsafe extern "C" {
1484 pub fn HAPI_AttributeInfo_Create() -> HAPI_AttributeInfo;
1485}
1486unsafe extern "C" {
1487 pub fn HAPI_MaterialInfo_Init(in_: *mut HAPI_MaterialInfo);
1488}
1489unsafe extern "C" {
1490 pub fn HAPI_MaterialInfo_Create() -> HAPI_MaterialInfo;
1491}
1492unsafe extern "C" {
1493 pub fn HAPI_ImageFileFormat_Init(in_: *mut HAPI_ImageFileFormat);
1494}
1495unsafe extern "C" {
1496 pub fn HAPI_ImageFileFormat_Create() -> HAPI_ImageFileFormat;
1497}
1498unsafe extern "C" {
1499 pub fn HAPI_ImageInfo_Init(in_: *mut HAPI_ImageInfo);
1500}
1501unsafe extern "C" {
1502 pub fn HAPI_ImageInfo_Create() -> HAPI_ImageInfo;
1503}
1504unsafe extern "C" {
1505 pub fn HAPI_Keyframe_Init(in_: *mut HAPI_Keyframe);
1506}
1507unsafe extern "C" {
1508 pub fn HAPI_Keyframe_Create() -> HAPI_Keyframe;
1509}
1510unsafe extern "C" {
1511 pub fn HAPI_VolumeInfo_Init(in_: *mut HAPI_VolumeInfo);
1512}
1513unsafe extern "C" {
1514 pub fn HAPI_VolumeInfo_Create() -> HAPI_VolumeInfo;
1515}
1516unsafe extern "C" {
1517 pub fn HAPI_VolumeTileInfo_Init(in_: *mut HAPI_VolumeTileInfo);
1518}
1519unsafe extern "C" {
1520 pub fn HAPI_VolumeTileInfo_Create() -> HAPI_VolumeTileInfo;
1521}
1522unsafe extern "C" {
1523 pub fn HAPI_CurveInfo_Init(in_: *mut HAPI_CurveInfo);
1524}
1525unsafe extern "C" {
1526 pub fn HAPI_CurveInfo_Create() -> HAPI_CurveInfo;
1527}
1528unsafe extern "C" {
1529 pub fn HAPI_InputCurveInfo_Init(in_: *mut HAPI_InputCurveInfo);
1530}
1531unsafe extern "C" {
1532 pub fn HAPI_InputCurveInfo_Create() -> HAPI_InputCurveInfo;
1533}
1534unsafe extern "C" {
1535 pub fn HAPI_Transform_Init(in_: *mut HAPI_Transform);
1536}
1537unsafe extern "C" {
1538 pub fn HAPI_Transform_Create() -> HAPI_Transform;
1539}
1540unsafe extern "C" {
1541 pub fn HAPI_TransformEuler_Init(in_: *mut HAPI_TransformEuler);
1542}
1543unsafe extern "C" {
1544 pub fn HAPI_TransformEuler_Create() -> HAPI_TransformEuler;
1545}
1546unsafe extern "C" {
1547 pub fn HAPI_Viewport_Init(in_: *mut HAPI_Viewport);
1548}
1549unsafe extern "C" {
1550 pub fn HAPI_Viewport_Create() -> HAPI_Viewport;
1551}
1552unsafe extern "C" {
1553 pub fn HAPI_SessionSyncInfo_Init(in_: *mut HAPI_SessionSyncInfo);
1554}
1555unsafe extern "C" {
1556 pub fn HAPI_SessionSyncInfo_Create() -> HAPI_SessionSyncInfo;
1557}
1558unsafe extern "C" {
1559 pub fn HAPI_CreateInProcessSession(
1560 session: *mut HAPI_Session,
1561 session_info: *const HAPI_SessionInfo,
1562 ) -> HapiResult;
1563}
1564unsafe extern "C" {
1565 pub fn HAPI_StartThriftSocketServer(
1566 options: *const HAPI_ThriftServerOptions,
1567 port: ::std::os::raw::c_int,
1568 process_id: *mut HAPI_ProcessId,
1569 log_file: *const ::std::os::raw::c_char,
1570 ) -> HapiResult;
1571}
1572unsafe extern "C" {
1573 pub fn HAPI_CreateThriftSocketSession(
1574 session: *mut HAPI_Session,
1575 host_name: *const ::std::os::raw::c_char,
1576 port: ::std::os::raw::c_int,
1577 session_info: *const HAPI_SessionInfo,
1578 ) -> HapiResult;
1579}
1580unsafe extern "C" {
1581 pub fn HAPI_StartThriftNamedPipeServer(
1582 options: *const HAPI_ThriftServerOptions,
1583 pipe_name: *const ::std::os::raw::c_char,
1584 process_id: *mut HAPI_ProcessId,
1585 log_file: *const ::std::os::raw::c_char,
1586 ) -> HapiResult;
1587}
1588unsafe extern "C" {
1589 pub fn HAPI_CreateThriftNamedPipeSession(
1590 session: *mut HAPI_Session,
1591 pipe_name: *const ::std::os::raw::c_char,
1592 session_info: *const HAPI_SessionInfo,
1593 ) -> HapiResult;
1594}
1595unsafe extern "C" {
1596 pub fn HAPI_StartThriftSharedMemoryServer(
1597 options: *const HAPI_ThriftServerOptions,
1598 shared_mem_name: *const ::std::os::raw::c_char,
1599 process_id: *mut HAPI_ProcessId,
1600 log_file: *const ::std::os::raw::c_char,
1601 ) -> HapiResult;
1602}
1603unsafe extern "C" {
1604 pub fn HAPI_CreateThriftSharedMemorySession(
1605 session: *mut HAPI_Session,
1606 shared_mem_name: *const ::std::os::raw::c_char,
1607 session_info: *const HAPI_SessionInfo,
1608 ) -> HapiResult;
1609}
1610unsafe extern "C" {
1611 pub fn HAPI_BindCustomImplementation(
1612 session_type: SessionType,
1613 dll_path: *const ::std::os::raw::c_char,
1614 ) -> HapiResult;
1615}
1616unsafe extern "C" {
1617 pub fn HAPI_CreateCustomSession(
1618 session_type: SessionType,
1619 session_info: *mut ::std::os::raw::c_void,
1620 session: *mut HAPI_Session,
1621 ) -> HapiResult;
1622}
1623unsafe extern "C" {
1624 pub fn HAPI_IsSessionValid(session: *const HAPI_Session) -> HapiResult;
1625}
1626unsafe extern "C" {
1627 pub fn HAPI_CloseSession(session: *const HAPI_Session) -> HapiResult;
1628}
1629unsafe extern "C" {
1630 pub fn HAPI_IsInitialized(session: *const HAPI_Session) -> HapiResult;
1631}
1632unsafe extern "C" {
1633 pub fn HAPI_Initialize(
1634 session: *const HAPI_Session,
1635 cook_options: *const HAPI_CookOptions,
1636 use_cooking_thread: HAPI_Bool,
1637 cooking_thread_stack_size: ::std::os::raw::c_int,
1638 houdini_environment_files: *const ::std::os::raw::c_char,
1639 otl_search_path: *const ::std::os::raw::c_char,
1640 dso_search_path: *const ::std::os::raw::c_char,
1641 image_dso_search_path: *const ::std::os::raw::c_char,
1642 audio_dso_search_path: *const ::std::os::raw::c_char,
1643 ) -> HapiResult;
1644}
1645unsafe extern "C" {
1646 pub fn HAPI_Cleanup(session: *const HAPI_Session) -> HapiResult;
1647}
1648unsafe extern "C" {
1649 pub fn HAPI_Shutdown(session: *const HAPI_Session) -> HapiResult;
1650}
1651unsafe extern "C" {
1652 pub fn HAPI_StartPerformanceMonitorProfile(
1653 session: *const HAPI_Session,
1654 title: *const ::std::os::raw::c_char,
1655 profile_id: *mut ::std::os::raw::c_int,
1656 ) -> HapiResult;
1657}
1658unsafe extern "C" {
1659 pub fn HAPI_StopPerformanceMonitorProfile(
1660 session: *const HAPI_Session,
1661 profile_id: ::std::os::raw::c_int,
1662 file_path: *const ::std::os::raw::c_char,
1663 ) -> HapiResult;
1664}
1665unsafe extern "C" {
1666 pub fn HAPI_GetEnvInt(int_type: EnvIntType, value: *mut ::std::os::raw::c_int) -> HapiResult;
1667}
1668unsafe extern "C" {
1669 pub fn HAPI_GetSessionEnvInt(
1670 session: *const HAPI_Session,
1671 int_type: SessionEnvIntType,
1672 value: *mut ::std::os::raw::c_int,
1673 ) -> HapiResult;
1674}
1675unsafe extern "C" {
1676 pub fn HAPI_GetServerEnvInt(
1677 session: *const HAPI_Session,
1678 variable_name: *const ::std::os::raw::c_char,
1679 value: *mut ::std::os::raw::c_int,
1680 ) -> HapiResult;
1681}
1682unsafe extern "C" {
1683 pub fn HAPI_GetServerEnvString(
1684 session: *const HAPI_Session,
1685 variable_name: *const ::std::os::raw::c_char,
1686 value: *mut HAPI_StringHandle,
1687 ) -> HapiResult;
1688}
1689unsafe extern "C" {
1690 pub fn HAPI_GetServerEnvVarCount(
1691 session: *const HAPI_Session,
1692 env_count: *mut ::std::os::raw::c_int,
1693 ) -> HapiResult;
1694}
1695unsafe extern "C" {
1696 pub fn HAPI_GetServerEnvVarList(
1697 session: *const HAPI_Session,
1698 values_array: *mut HAPI_StringHandle,
1699 start: ::std::os::raw::c_int,
1700 length: ::std::os::raw::c_int,
1701 ) -> HapiResult;
1702}
1703unsafe extern "C" {
1704 pub fn HAPI_SetServerEnvInt(
1705 session: *const HAPI_Session,
1706 variable_name: *const ::std::os::raw::c_char,
1707 value: ::std::os::raw::c_int,
1708 ) -> HapiResult;
1709}
1710unsafe extern "C" {
1711 pub fn HAPI_SetServerEnvString(
1712 session: *const HAPI_Session,
1713 variable_name: *const ::std::os::raw::c_char,
1714 value: *const ::std::os::raw::c_char,
1715 ) -> HapiResult;
1716}
1717unsafe extern "C" {
1718 pub fn HAPI_GetStatus(
1719 session: *const HAPI_Session,
1720 status_type: StatusType,
1721 status: *mut ::std::os::raw::c_int,
1722 ) -> HapiResult;
1723}
1724unsafe extern "C" {
1725 pub fn HAPI_GetStatusStringBufLength(
1726 session: *const HAPI_Session,
1727 status_type: StatusType,
1728 verbosity: StatusVerbosity,
1729 buffer_length: *mut ::std::os::raw::c_int,
1730 ) -> HapiResult;
1731}
1732unsafe extern "C" {
1733 pub fn HAPI_GetStatusString(
1734 session: *const HAPI_Session,
1735 status_type: StatusType,
1736 string_value: *mut ::std::os::raw::c_char,
1737 length: ::std::os::raw::c_int,
1738 ) -> HapiResult;
1739}
1740unsafe extern "C" {
1741 pub fn HAPI_ComposeNodeCookResult(
1742 session: *const HAPI_Session,
1743 node_id: HAPI_NodeId,
1744 verbosity: StatusVerbosity,
1745 buffer_length: *mut ::std::os::raw::c_int,
1746 ) -> HapiResult;
1747}
1748unsafe extern "C" {
1749 pub fn HAPI_GetComposedNodeCookResult(
1750 session: *const HAPI_Session,
1751 string_value: *mut ::std::os::raw::c_char,
1752 length: ::std::os::raw::c_int,
1753 ) -> HapiResult;
1754}
1755unsafe extern "C" {
1756 pub fn HAPI_GetNodeCookResultLength(
1757 session: *const HAPI_Session,
1758 node_id: HAPI_NodeId,
1759 verbosity: StatusVerbosity,
1760 buffer_length: *mut ::std::os::raw::c_int,
1761 ) -> HapiResult;
1762}
1763unsafe extern "C" {
1764 pub fn HAPI_GetNodeCookResult(
1765 session: *const HAPI_Session,
1766 string_value: *mut ::std::os::raw::c_char,
1767 length: ::std::os::raw::c_int,
1768 ) -> HapiResult;
1769}
1770unsafe extern "C" {
1771 pub fn HAPI_GetMessageNodeCount(
1772 session: *const HAPI_Session,
1773 node_id: HAPI_NodeId,
1774 count: *mut ::std::os::raw::c_int,
1775 ) -> HapiResult;
1776}
1777unsafe extern "C" {
1778 pub fn HAPI_GetMessageNodeIds(
1779 session: *const HAPI_Session,
1780 node_id: HAPI_NodeId,
1781 message_node_ids_array: *mut HAPI_NodeId,
1782 count: ::std::os::raw::c_int,
1783 ) -> HapiResult;
1784}
1785unsafe extern "C" {
1786 pub fn HAPI_CheckForSpecificErrors(
1787 session: *const HAPI_Session,
1788 node_id: HAPI_NodeId,
1789 errors_to_look_for: HAPI_ErrorCodeBits,
1790 errors_found: *mut HAPI_ErrorCodeBits,
1791 ) -> HapiResult;
1792}
1793unsafe extern "C" {
1794 pub fn HAPI_ClearConnectionError() -> HapiResult;
1795}
1796unsafe extern "C" {
1797 pub fn HAPI_GetConnectionErrorLength(buffer_length: *mut ::std::os::raw::c_int) -> HapiResult;
1798}
1799unsafe extern "C" {
1800 pub fn HAPI_GetConnectionError(
1801 string_value: *mut ::std::os::raw::c_char,
1802 length: ::std::os::raw::c_int,
1803 clear: HAPI_Bool,
1804 ) -> HapiResult;
1805}
1806unsafe extern "C" {
1807 pub fn HAPI_GetCookingTotalCount(
1808 session: *const HAPI_Session,
1809 count: *mut ::std::os::raw::c_int,
1810 ) -> HapiResult;
1811}
1812unsafe extern "C" {
1813 pub fn HAPI_GetCookingCurrentCount(
1814 session: *const HAPI_Session,
1815 count: *mut ::std::os::raw::c_int,
1816 ) -> HapiResult;
1817}
1818unsafe extern "C" {
1819 pub fn HAPI_Interrupt(session: *const HAPI_Session) -> HapiResult;
1820}
1821unsafe extern "C" {
1822 pub fn HAPI_ConvertTransform(
1823 session: *const HAPI_Session,
1824 transform_in: *const HAPI_TransformEuler,
1825 rst_order: RSTOrder,
1826 rot_order: XYZOrder,
1827 transform_out: *mut HAPI_TransformEuler,
1828 ) -> HapiResult;
1829}
1830unsafe extern "C" {
1831 pub fn HAPI_ConvertMatrixToQuat(
1832 session: *const HAPI_Session,
1833 matrix: *const f32,
1834 rst_order: RSTOrder,
1835 transform_out: *mut HAPI_Transform,
1836 ) -> HapiResult;
1837}
1838unsafe extern "C" {
1839 pub fn HAPI_ConvertMatrixToEuler(
1840 session: *const HAPI_Session,
1841 matrix: *const f32,
1842 rst_order: RSTOrder,
1843 rot_order: XYZOrder,
1844 transform_out: *mut HAPI_TransformEuler,
1845 ) -> HapiResult;
1846}
1847unsafe extern "C" {
1848 pub fn HAPI_ConvertTransformQuatToMatrix(
1849 session: *const HAPI_Session,
1850 transform: *const HAPI_Transform,
1851 matrix: *mut f32,
1852 ) -> HapiResult;
1853}
1854unsafe extern "C" {
1855 pub fn HAPI_ConvertTransformEulerToMatrix(
1856 session: *const HAPI_Session,
1857 transform: *const HAPI_TransformEuler,
1858 matrix: *mut f32,
1859 ) -> HapiResult;
1860}
1861unsafe extern "C" {
1862 pub fn HAPI_PythonThreadInterpreterLock(
1863 session: *const HAPI_Session,
1864 locked: HAPI_Bool,
1865 ) -> HapiResult;
1866}
1867unsafe extern "C" {
1868 pub fn HAPI_GetStringBufLength(
1869 session: *const HAPI_Session,
1870 string_handle: HAPI_StringHandle,
1871 buffer_length: *mut ::std::os::raw::c_int,
1872 ) -> HapiResult;
1873}
1874unsafe extern "C" {
1875 pub fn HAPI_GetString(
1876 session: *const HAPI_Session,
1877 string_handle: HAPI_StringHandle,
1878 string_value: *mut ::std::os::raw::c_char,
1879 length: ::std::os::raw::c_int,
1880 ) -> HapiResult;
1881}
1882unsafe extern "C" {
1883 pub fn HAPI_SetCustomString(
1884 session: *const HAPI_Session,
1885 string_value: *const ::std::os::raw::c_char,
1886 handle_value: *mut HAPI_StringHandle,
1887 ) -> HapiResult;
1888}
1889unsafe extern "C" {
1890 pub fn HAPI_RemoveCustomString(
1891 session: *const HAPI_Session,
1892 string_handle: HAPI_StringHandle,
1893 ) -> HapiResult;
1894}
1895unsafe extern "C" {
1896 pub fn HAPI_GetStringBatchSize(
1897 session: *const HAPI_Session,
1898 string_handle_array: *const ::std::os::raw::c_int,
1899 string_handle_count: ::std::os::raw::c_int,
1900 string_buffer_size: *mut ::std::os::raw::c_int,
1901 ) -> HapiResult;
1902}
1903unsafe extern "C" {
1904 pub fn HAPI_GetStringBatch(
1905 session: *const HAPI_Session,
1906 char_buffer: *mut ::std::os::raw::c_char,
1907 char_array_length: ::std::os::raw::c_int,
1908 ) -> HapiResult;
1909}
1910unsafe extern "C" {
1911 pub fn HAPI_GetTime(session: *const HAPI_Session, time: *mut f32) -> HapiResult;
1912}
1913unsafe extern "C" {
1914 pub fn HAPI_SetTime(session: *const HAPI_Session, time: f32) -> HapiResult;
1915}
1916unsafe extern "C" {
1917 pub fn HAPI_GetUseHoudiniTime(
1918 session: *const HAPI_Session,
1919 enabled: *mut HAPI_Bool,
1920 ) -> HapiResult;
1921}
1922unsafe extern "C" {
1923 pub fn HAPI_SetUseHoudiniTime(session: *const HAPI_Session, enabled: HAPI_Bool) -> HapiResult;
1924}
1925unsafe extern "C" {
1926 pub fn HAPI_GetTimelineOptions(
1927 session: *const HAPI_Session,
1928 timeline_options: *mut HAPI_TimelineOptions,
1929 ) -> HapiResult;
1930}
1931unsafe extern "C" {
1932 pub fn HAPI_SetTimelineOptions(
1933 session: *const HAPI_Session,
1934 timeline_options: *const HAPI_TimelineOptions,
1935 ) -> HapiResult;
1936}
1937unsafe extern "C" {
1938 pub fn HAPI_GetCompositorOptions(
1939 session: *const HAPI_Session,
1940 compositor_options: *mut HAPI_CompositorOptions,
1941 ) -> HapiResult;
1942}
1943unsafe extern "C" {
1944 pub fn HAPI_SetCompositorOptions(
1945 session: *const HAPI_Session,
1946 compositor_options: *const HAPI_CompositorOptions,
1947 ) -> HapiResult;
1948}
1949unsafe extern "C" {
1950 pub fn HAPI_LoadAssetLibraryFromFile(
1951 session: *const HAPI_Session,
1952 file_path: *const ::std::os::raw::c_char,
1953 allow_overwrite: HAPI_Bool,
1954 library_id: *mut HAPI_AssetLibraryId,
1955 ) -> HapiResult;
1956}
1957unsafe extern "C" {
1958 pub fn HAPI_LoadAssetLibraryFromMemory(
1959 session: *const HAPI_Session,
1960 library_buffer: *const ::std::os::raw::c_char,
1961 library_buffer_length: ::std::os::raw::c_int,
1962 allow_overwrite: HAPI_Bool,
1963 library_id: *mut HAPI_AssetLibraryId,
1964 ) -> HapiResult;
1965}
1966unsafe extern "C" {
1967 pub fn HAPI_GetAvailableAssetCount(
1968 session: *const HAPI_Session,
1969 library_id: HAPI_AssetLibraryId,
1970 asset_count: *mut ::std::os::raw::c_int,
1971 ) -> HapiResult;
1972}
1973unsafe extern "C" {
1974 pub fn HAPI_GetAvailableAssets(
1975 session: *const HAPI_Session,
1976 library_id: HAPI_AssetLibraryId,
1977 asset_names_array: *mut HAPI_StringHandle,
1978 asset_count: ::std::os::raw::c_int,
1979 ) -> HapiResult;
1980}
1981unsafe extern "C" {
1982 pub fn HAPI_GetAssetInfo(
1983 session: *const HAPI_Session,
1984 node_id: HAPI_NodeId,
1985 asset_info: *mut HAPI_AssetInfo,
1986 ) -> HapiResult;
1987}
1988unsafe extern "C" {
1989 pub fn HAPI_GetAssetDefinitionParmCounts(
1990 session: *const HAPI_Session,
1991 library_id: HAPI_AssetLibraryId,
1992 asset_name: *const ::std::os::raw::c_char,
1993 parm_count: *mut ::std::os::raw::c_int,
1994 int_value_count: *mut ::std::os::raw::c_int,
1995 float_value_count: *mut ::std::os::raw::c_int,
1996 string_value_count: *mut ::std::os::raw::c_int,
1997 choice_value_count: *mut ::std::os::raw::c_int,
1998 ) -> HapiResult;
1999}
2000unsafe extern "C" {
2001 pub fn HAPI_GetAssetDefinitionParmInfos(
2002 session: *const HAPI_Session,
2003 library_id: HAPI_AssetLibraryId,
2004 asset_name: *const ::std::os::raw::c_char,
2005 parm_infos_array: *mut HAPI_ParmInfo,
2006 start: ::std::os::raw::c_int,
2007 length: ::std::os::raw::c_int,
2008 ) -> HapiResult;
2009}
2010unsafe extern "C" {
2011 pub fn HAPI_GetAssetDefinitionParmValues(
2012 session: *const HAPI_Session,
2013 library_id: HAPI_AssetLibraryId,
2014 asset_name: *const ::std::os::raw::c_char,
2015 int_values_array: *mut ::std::os::raw::c_int,
2016 int_start: ::std::os::raw::c_int,
2017 int_length: ::std::os::raw::c_int,
2018 float_values_array: *mut f32,
2019 float_start: ::std::os::raw::c_int,
2020 float_length: ::std::os::raw::c_int,
2021 string_evaluate: HAPI_Bool,
2022 string_values_array: *mut HAPI_StringHandle,
2023 string_start: ::std::os::raw::c_int,
2024 string_length: ::std::os::raw::c_int,
2025 choice_values_array: *mut HAPI_ParmChoiceInfo,
2026 choice_start: ::std::os::raw::c_int,
2027 choice_length: ::std::os::raw::c_int,
2028 ) -> HapiResult;
2029}
2030unsafe extern "C" {
2031 pub fn HAPI_GetAssetDefinitionParmTagName(
2032 session: *const HAPI_Session,
2033 library_id: HAPI_AssetLibraryId,
2034 asset_name: *const ::std::os::raw::c_char,
2035 parm_id: HAPI_ParmId,
2036 tag_index: ::std::os::raw::c_int,
2037 tag_name: *mut HAPI_StringHandle,
2038 ) -> HapiResult;
2039}
2040unsafe extern "C" {
2041 pub fn HAPI_GetAssetDefinitionParmTagValue(
2042 session: *const HAPI_Session,
2043 library_id: HAPI_AssetLibraryId,
2044 asset_name: *const ::std::os::raw::c_char,
2045 parm_id: HAPI_ParmId,
2046 tag_name: *const ::std::os::raw::c_char,
2047 tag_value: *mut HAPI_StringHandle,
2048 ) -> HapiResult;
2049}
2050unsafe extern "C" {
2051 pub fn HAPI_GetLoadedAssetLibraryCount(
2052 session: *const HAPI_Session,
2053 count: *mut ::std::os::raw::c_int,
2054 ) -> HapiResult;
2055}
2056unsafe extern "C" {
2057 pub fn HAPI_GetAssetLibraryIds(
2058 session: *const HAPI_Session,
2059 asset_library_ids_array: *mut HAPI_AssetLibraryId,
2060 start: ::std::os::raw::c_int,
2061 length: ::std::os::raw::c_int,
2062 ) -> HapiResult;
2063}
2064unsafe extern "C" {
2065 pub fn HAPI_GetAssetLibraryFilePath(
2066 session: *const HAPI_Session,
2067 asset_library_id: HAPI_AssetLibraryId,
2068 file_path_sh: *mut HAPI_StringHandle,
2069 ) -> HapiResult;
2070}
2071unsafe extern "C" {
2072 pub fn HAPI_LoadHIPFile(
2073 session: *const HAPI_Session,
2074 file_name: *const ::std::os::raw::c_char,
2075 cook_on_load: HAPI_Bool,
2076 ) -> HapiResult;
2077}
2078unsafe extern "C" {
2079 pub fn HAPI_MergeHIPFile(
2080 session: *const HAPI_Session,
2081 file_name: *const ::std::os::raw::c_char,
2082 cook_on_load: HAPI_Bool,
2083 file_id: *mut HAPI_HIPFileId,
2084 ) -> HapiResult;
2085}
2086unsafe extern "C" {
2087 pub fn HAPI_SaveHIPFile(
2088 session: *const HAPI_Session,
2089 file_path: *const ::std::os::raw::c_char,
2090 lock_nodes: HAPI_Bool,
2091 ) -> HapiResult;
2092}
2093unsafe extern "C" {
2094 pub fn HAPI_GetHIPFileNodeCount(
2095 session: *const HAPI_Session,
2096 id: HAPI_HIPFileId,
2097 count: *mut ::std::os::raw::c_int,
2098 ) -> HapiResult;
2099}
2100unsafe extern "C" {
2101 pub fn HAPI_GetHIPFileNodeIds(
2102 session: *const HAPI_Session,
2103 id: HAPI_HIPFileId,
2104 node_ids: *mut HAPI_NodeId,
2105 length: ::std::os::raw::c_int,
2106 ) -> HapiResult;
2107}
2108unsafe extern "C" {
2109 pub fn HAPI_IsNodeValid(
2110 session: *const HAPI_Session,
2111 node_id: HAPI_NodeId,
2112 unique_node_id: ::std::os::raw::c_int,
2113 answer: *mut HAPI_Bool,
2114 ) -> HapiResult;
2115}
2116unsafe extern "C" {
2117 pub fn HAPI_GetNodeInfo(
2118 session: *const HAPI_Session,
2119 node_id: HAPI_NodeId,
2120 node_info: *mut HAPI_NodeInfo,
2121 ) -> HapiResult;
2122}
2123unsafe extern "C" {
2124 pub fn HAPI_GetNodePath(
2125 session: *const HAPI_Session,
2126 node_id: HAPI_NodeId,
2127 relative_to_node_id: HAPI_NodeId,
2128 path: *mut HAPI_StringHandle,
2129 ) -> HapiResult;
2130}
2131unsafe extern "C" {
2132 pub fn HAPI_GetManagerNodeId(
2133 session: *const HAPI_Session,
2134 node_type: NodeType,
2135 node_id: *mut HAPI_NodeId,
2136 ) -> HapiResult;
2137}
2138unsafe extern "C" {
2139 pub fn HAPI_ComposeChildNodeList(
2140 session: *const HAPI_Session,
2141 parent_node_id: HAPI_NodeId,
2142 node_type_filter: HAPI_NodeTypeBits,
2143 node_flags_filter: HAPI_NodeFlagsBits,
2144 recursive: HAPI_Bool,
2145 count: *mut ::std::os::raw::c_int,
2146 ) -> HapiResult;
2147}
2148unsafe extern "C" {
2149 pub fn HAPI_GetComposedChildNodeList(
2150 session: *const HAPI_Session,
2151 parent_node_id: HAPI_NodeId,
2152 child_node_ids_array: *mut HAPI_NodeId,
2153 count: ::std::os::raw::c_int,
2154 ) -> HapiResult;
2155}
2156unsafe extern "C" {
2157 pub fn HAPI_CreateNode(
2158 session: *const HAPI_Session,
2159 parent_node_id: HAPI_NodeId,
2160 operator_name: *const ::std::os::raw::c_char,
2161 node_label: *const ::std::os::raw::c_char,
2162 cook_on_creation: HAPI_Bool,
2163 new_node_id: *mut HAPI_NodeId,
2164 ) -> HapiResult;
2165}
2166unsafe extern "C" {
2167 pub fn HAPI_CreateInputNode(
2168 session: *const HAPI_Session,
2169 parent_node_id: HAPI_NodeId,
2170 node_id: *mut HAPI_NodeId,
2171 name: *const ::std::os::raw::c_char,
2172 ) -> HapiResult;
2173}
2174unsafe extern "C" {
2175 pub fn HAPI_CreateInputCurveNode(
2176 session: *const HAPI_Session,
2177 parent_node_id: HAPI_NodeId,
2178 node_id: *mut HAPI_NodeId,
2179 name: *const ::std::os::raw::c_char,
2180 ) -> HapiResult;
2181}
2182unsafe extern "C" {
2183 pub fn HAPI_CreateHeightFieldInput(
2184 session: *const HAPI_Session,
2185 parent_node_id: HAPI_NodeId,
2186 name: *const ::std::os::raw::c_char,
2187 xsize: ::std::os::raw::c_int,
2188 ysize: ::std::os::raw::c_int,
2189 voxelsize: f32,
2190 sampling: HeightFieldSampling,
2191 heightfield_node_id: *mut HAPI_NodeId,
2192 height_node_id: *mut HAPI_NodeId,
2193 mask_node_id: *mut HAPI_NodeId,
2194 merge_node_id: *mut HAPI_NodeId,
2195 ) -> HapiResult;
2196}
2197unsafe extern "C" {
2198 pub fn HAPI_CreateHeightfieldInputVolumeNode(
2199 session: *const HAPI_Session,
2200 parent_node_id: HAPI_NodeId,
2201 new_node_id: *mut HAPI_NodeId,
2202 name: *const ::std::os::raw::c_char,
2203 xsize: ::std::os::raw::c_int,
2204 ysize: ::std::os::raw::c_int,
2205 voxelsize: f32,
2206 ) -> HapiResult;
2207}
2208unsafe extern "C" {
2209 pub fn HAPI_CookNode(
2210 session: *const HAPI_Session,
2211 node_id: HAPI_NodeId,
2212 cook_options: *const HAPI_CookOptions,
2213 ) -> HapiResult;
2214}
2215unsafe extern "C" {
2216 pub fn HAPI_DeleteNode(session: *const HAPI_Session, node_id: HAPI_NodeId) -> HapiResult;
2217}
2218unsafe extern "C" {
2219 pub fn HAPI_RenameNode(
2220 session: *const HAPI_Session,
2221 node_id: HAPI_NodeId,
2222 new_name: *const ::std::os::raw::c_char,
2223 ) -> HapiResult;
2224}
2225unsafe extern "C" {
2226 pub fn HAPI_ConnectNodeInput(
2227 session: *const HAPI_Session,
2228 node_id: HAPI_NodeId,
2229 input_index: ::std::os::raw::c_int,
2230 node_id_to_connect: HAPI_NodeId,
2231 output_index: ::std::os::raw::c_int,
2232 ) -> HapiResult;
2233}
2234unsafe extern "C" {
2235 pub fn HAPI_DisconnectNodeInput(
2236 session: *const HAPI_Session,
2237 node_id: HAPI_NodeId,
2238 input_index: ::std::os::raw::c_int,
2239 ) -> HapiResult;
2240}
2241unsafe extern "C" {
2242 pub fn HAPI_QueryNodeInput(
2243 session: *const HAPI_Session,
2244 node_to_query: HAPI_NodeId,
2245 input_index: ::std::os::raw::c_int,
2246 connected_node_id: *mut HAPI_NodeId,
2247 ) -> HapiResult;
2248}
2249unsafe extern "C" {
2250 pub fn HAPI_GetNodeInputName(
2251 session: *const HAPI_Session,
2252 node_id: HAPI_NodeId,
2253 input_idx: ::std::os::raw::c_int,
2254 name: *mut HAPI_StringHandle,
2255 ) -> HapiResult;
2256}
2257unsafe extern "C" {
2258 pub fn HAPI_DisconnectNodeOutputsAt(
2259 session: *const HAPI_Session,
2260 node_id: HAPI_NodeId,
2261 output_index: ::std::os::raw::c_int,
2262 ) -> HapiResult;
2263}
2264unsafe extern "C" {
2265 pub fn HAPI_QueryNodeOutputConnectedCount(
2266 session: *const HAPI_Session,
2267 node_id: HAPI_NodeId,
2268 output_idx: ::std::os::raw::c_int,
2269 into_subnets: HAPI_Bool,
2270 through_dots: HAPI_Bool,
2271 connected_count: *mut ::std::os::raw::c_int,
2272 ) -> HapiResult;
2273}
2274unsafe extern "C" {
2275 pub fn HAPI_QueryNodeOutputConnectedNodes(
2276 session: *const HAPI_Session,
2277 node_id: HAPI_NodeId,
2278 output_idx: ::std::os::raw::c_int,
2279 into_subnets: HAPI_Bool,
2280 through_dots: HAPI_Bool,
2281 connected_node_ids_array: *mut HAPI_NodeId,
2282 start: ::std::os::raw::c_int,
2283 length: ::std::os::raw::c_int,
2284 ) -> HapiResult;
2285}
2286unsafe extern "C" {
2287 pub fn HAPI_GetNodeOutputName(
2288 session: *const HAPI_Session,
2289 node_id: HAPI_NodeId,
2290 output_idx: ::std::os::raw::c_int,
2291 name: *mut HAPI_StringHandle,
2292 ) -> HapiResult;
2293}
2294unsafe extern "C" {
2295 pub fn HAPI_GetNodeFromPath(
2296 session: *const HAPI_Session,
2297 parent_node_id: HAPI_NodeId,
2298 path: *const ::std::os::raw::c_char,
2299 node_id: *mut HAPI_NodeId,
2300 ) -> HapiResult;
2301}
2302unsafe extern "C" {
2303 pub fn HAPI_GetOutputNodeId(
2304 session: *const HAPI_Session,
2305 node_id: HAPI_NodeId,
2306 output: ::std::os::raw::c_int,
2307 output_node_id: *mut HAPI_NodeId,
2308 ) -> HapiResult;
2309}
2310unsafe extern "C" {
2311 pub fn HAPI_GetParameters(
2312 session: *const HAPI_Session,
2313 node_id: HAPI_NodeId,
2314 parm_infos_array: *mut HAPI_ParmInfo,
2315 start: ::std::os::raw::c_int,
2316 length: ::std::os::raw::c_int,
2317 ) -> HapiResult;
2318}
2319unsafe extern "C" {
2320 pub fn HAPI_GetParmInfo(
2321 session: *const HAPI_Session,
2322 node_id: HAPI_NodeId,
2323 parm_id: HAPI_ParmId,
2324 parm_info: *mut HAPI_ParmInfo,
2325 ) -> HapiResult;
2326}
2327unsafe extern "C" {
2328 pub fn HAPI_GetParmIdFromName(
2329 session: *const HAPI_Session,
2330 node_id: HAPI_NodeId,
2331 parm_name: *const ::std::os::raw::c_char,
2332 parm_id: *mut HAPI_ParmId,
2333 ) -> HapiResult;
2334}
2335unsafe extern "C" {
2336 pub fn HAPI_GetParmInfoFromName(
2337 session: *const HAPI_Session,
2338 node_id: HAPI_NodeId,
2339 parm_name: *const ::std::os::raw::c_char,
2340 parm_info: *mut HAPI_ParmInfo,
2341 ) -> HapiResult;
2342}
2343unsafe extern "C" {
2344 pub fn HAPI_GetParmTagName(
2345 session: *const HAPI_Session,
2346 node_id: HAPI_NodeId,
2347 parm_id: HAPI_ParmId,
2348 tag_index: ::std::os::raw::c_int,
2349 tag_name: *mut HAPI_StringHandle,
2350 ) -> HapiResult;
2351}
2352unsafe extern "C" {
2353 pub fn HAPI_GetParmTagValue(
2354 session: *const HAPI_Session,
2355 node_id: HAPI_NodeId,
2356 parm_id: HAPI_ParmId,
2357 tag_name: *const ::std::os::raw::c_char,
2358 tag_value: *mut HAPI_StringHandle,
2359 ) -> HapiResult;
2360}
2361unsafe extern "C" {
2362 pub fn HAPI_ParmHasTag(
2363 session: *const HAPI_Session,
2364 node_id: HAPI_NodeId,
2365 parm_id: HAPI_ParmId,
2366 tag_name: *const ::std::os::raw::c_char,
2367 has_tag: *mut HAPI_Bool,
2368 ) -> HapiResult;
2369}
2370unsafe extern "C" {
2371 pub fn HAPI_ParmHasExpression(
2372 session: *const HAPI_Session,
2373 node_id: HAPI_NodeId,
2374 parm_name: *const ::std::os::raw::c_char,
2375 index: ::std::os::raw::c_int,
2376 has_expression: *mut HAPI_Bool,
2377 ) -> HapiResult;
2378}
2379unsafe extern "C" {
2380 pub fn HAPI_GetParmWithTag(
2381 session: *const HAPI_Session,
2382 node_id: HAPI_NodeId,
2383 tag_name: *const ::std::os::raw::c_char,
2384 parm_id: *mut HAPI_ParmId,
2385 ) -> HapiResult;
2386}
2387unsafe extern "C" {
2388 pub fn HAPI_GetParmExpression(
2389 session: *const HAPI_Session,
2390 node_id: HAPI_NodeId,
2391 parm_name: *const ::std::os::raw::c_char,
2392 index: ::std::os::raw::c_int,
2393 value: *mut HAPI_StringHandle,
2394 ) -> HapiResult;
2395}
2396unsafe extern "C" {
2397 pub fn HAPI_RevertParmToDefault(
2398 session: *const HAPI_Session,
2399 node_id: HAPI_NodeId,
2400 parm_name: *const ::std::os::raw::c_char,
2401 index: ::std::os::raw::c_int,
2402 ) -> HapiResult;
2403}
2404unsafe extern "C" {
2405 pub fn HAPI_RevertParmToDefaults(
2406 session: *const HAPI_Session,
2407 node_id: HAPI_NodeId,
2408 parm_name: *const ::std::os::raw::c_char,
2409 ) -> HapiResult;
2410}
2411unsafe extern "C" {
2412 pub fn HAPI_SetParmExpression(
2413 session: *const HAPI_Session,
2414 node_id: HAPI_NodeId,
2415 value: *const ::std::os::raw::c_char,
2416 parm_id: HAPI_ParmId,
2417 index: ::std::os::raw::c_int,
2418 ) -> HapiResult;
2419}
2420unsafe extern "C" {
2421 pub fn HAPI_RemoveParmExpression(
2422 session: *const HAPI_Session,
2423 node_id: HAPI_NodeId,
2424 parm_id: HAPI_ParmId,
2425 index: ::std::os::raw::c_int,
2426 ) -> HapiResult;
2427}
2428unsafe extern "C" {
2429 pub fn HAPI_GetParmIntValue(
2430 session: *const HAPI_Session,
2431 node_id: HAPI_NodeId,
2432 parm_name: *const ::std::os::raw::c_char,
2433 index: ::std::os::raw::c_int,
2434 value: *mut ::std::os::raw::c_int,
2435 ) -> HapiResult;
2436}
2437unsafe extern "C" {
2438 pub fn HAPI_GetParmIntValues(
2439 session: *const HAPI_Session,
2440 node_id: HAPI_NodeId,
2441 values_array: *mut ::std::os::raw::c_int,
2442 start: ::std::os::raw::c_int,
2443 length: ::std::os::raw::c_int,
2444 ) -> HapiResult;
2445}
2446unsafe extern "C" {
2447 pub fn HAPI_GetParmFloatValue(
2448 session: *const HAPI_Session,
2449 node_id: HAPI_NodeId,
2450 parm_name: *const ::std::os::raw::c_char,
2451 index: ::std::os::raw::c_int,
2452 value: *mut f32,
2453 ) -> HapiResult;
2454}
2455unsafe extern "C" {
2456 pub fn HAPI_GetParmFloatValues(
2457 session: *const HAPI_Session,
2458 node_id: HAPI_NodeId,
2459 values_array: *mut f32,
2460 start: ::std::os::raw::c_int,
2461 length: ::std::os::raw::c_int,
2462 ) -> HapiResult;
2463}
2464unsafe extern "C" {
2465 pub fn HAPI_GetParmStringValue(
2466 session: *const HAPI_Session,
2467 node_id: HAPI_NodeId,
2468 parm_name: *const ::std::os::raw::c_char,
2469 index: ::std::os::raw::c_int,
2470 evaluate: HAPI_Bool,
2471 value: *mut HAPI_StringHandle,
2472 ) -> HapiResult;
2473}
2474unsafe extern "C" {
2475 pub fn HAPI_GetParmStringValues(
2476 session: *const HAPI_Session,
2477 node_id: HAPI_NodeId,
2478 evaluate: HAPI_Bool,
2479 values_array: *mut HAPI_StringHandle,
2480 start: ::std::os::raw::c_int,
2481 length: ::std::os::raw::c_int,
2482 ) -> HapiResult;
2483}
2484unsafe extern "C" {
2485 pub fn HAPI_GetParmNodeValue(
2486 session: *const HAPI_Session,
2487 node_id: HAPI_NodeId,
2488 parm_name: *const ::std::os::raw::c_char,
2489 value: *mut HAPI_NodeId,
2490 ) -> HapiResult;
2491}
2492unsafe extern "C" {
2493 pub fn HAPI_GetParmFile(
2494 session: *const HAPI_Session,
2495 node_id: HAPI_NodeId,
2496 parm_name: *const ::std::os::raw::c_char,
2497 destination_directory: *const ::std::os::raw::c_char,
2498 destination_file_name: *const ::std::os::raw::c_char,
2499 ) -> HapiResult;
2500}
2501unsafe extern "C" {
2502 pub fn HAPI_GetParmChoiceLists(
2503 session: *const HAPI_Session,
2504 node_id: HAPI_NodeId,
2505 parm_choices_array: *mut HAPI_ParmChoiceInfo,
2506 start: ::std::os::raw::c_int,
2507 length: ::std::os::raw::c_int,
2508 ) -> HapiResult;
2509}
2510unsafe extern "C" {
2511 pub fn HAPI_SetParmIntValue(
2512 session: *const HAPI_Session,
2513 node_id: HAPI_NodeId,
2514 parm_name: *const ::std::os::raw::c_char,
2515 index: ::std::os::raw::c_int,
2516 value: ::std::os::raw::c_int,
2517 ) -> HapiResult;
2518}
2519unsafe extern "C" {
2520 pub fn HAPI_SetParmIntValues(
2521 session: *const HAPI_Session,
2522 node_id: HAPI_NodeId,
2523 values_array: *const ::std::os::raw::c_int,
2524 start: ::std::os::raw::c_int,
2525 length: ::std::os::raw::c_int,
2526 ) -> HapiResult;
2527}
2528unsafe extern "C" {
2529 pub fn HAPI_SetParmFloatValue(
2530 session: *const HAPI_Session,
2531 node_id: HAPI_NodeId,
2532 parm_name: *const ::std::os::raw::c_char,
2533 index: ::std::os::raw::c_int,
2534 value: f32,
2535 ) -> HapiResult;
2536}
2537unsafe extern "C" {
2538 pub fn HAPI_SetParmFloatValues(
2539 session: *const HAPI_Session,
2540 node_id: HAPI_NodeId,
2541 values_array: *const f32,
2542 start: ::std::os::raw::c_int,
2543 length: ::std::os::raw::c_int,
2544 ) -> HapiResult;
2545}
2546unsafe extern "C" {
2547 pub fn HAPI_SetParmStringValue(
2548 session: *const HAPI_Session,
2549 node_id: HAPI_NodeId,
2550 value: *const ::std::os::raw::c_char,
2551 parm_id: HAPI_ParmId,
2552 index: ::std::os::raw::c_int,
2553 ) -> HapiResult;
2554}
2555unsafe extern "C" {
2556 pub fn HAPI_SetParmNodeValue(
2557 session: *const HAPI_Session,
2558 node_id: HAPI_NodeId,
2559 parm_name: *const ::std::os::raw::c_char,
2560 value: HAPI_NodeId,
2561 ) -> HapiResult;
2562}
2563unsafe extern "C" {
2564 pub fn HAPI_InsertMultiparmInstance(
2565 session: *const HAPI_Session,
2566 node_id: HAPI_NodeId,
2567 parm_id: HAPI_ParmId,
2568 instance_position: ::std::os::raw::c_int,
2569 ) -> HapiResult;
2570}
2571unsafe extern "C" {
2572 pub fn HAPI_RemoveMultiparmInstance(
2573 session: *const HAPI_Session,
2574 node_id: HAPI_NodeId,
2575 parm_id: HAPI_ParmId,
2576 instance_position: ::std::os::raw::c_int,
2577 ) -> HapiResult;
2578}
2579unsafe extern "C" {
2580 pub fn HAPI_GetHandleInfo(
2581 session: *const HAPI_Session,
2582 node_id: HAPI_NodeId,
2583 handle_infos_array: *mut HAPI_HandleInfo,
2584 start: ::std::os::raw::c_int,
2585 length: ::std::os::raw::c_int,
2586 ) -> HapiResult;
2587}
2588unsafe extern "C" {
2589 pub fn HAPI_GetHandleBindingInfo(
2590 session: *const HAPI_Session,
2591 node_id: HAPI_NodeId,
2592 handle_index: ::std::os::raw::c_int,
2593 handle_binding_infos_array: *mut HAPI_HandleBindingInfo,
2594 start: ::std::os::raw::c_int,
2595 length: ::std::os::raw::c_int,
2596 ) -> HapiResult;
2597}
2598unsafe extern "C" {
2599 pub fn HAPI_GetPresetBufLength(
2600 session: *const HAPI_Session,
2601 node_id: HAPI_NodeId,
2602 preset_type: PresetType,
2603 preset_name: *const ::std::os::raw::c_char,
2604 buffer_length: *mut ::std::os::raw::c_int,
2605 ) -> HapiResult;
2606}
2607unsafe extern "C" {
2608 pub fn HAPI_GetPreset(
2609 session: *const HAPI_Session,
2610 node_id: HAPI_NodeId,
2611 buffer: *mut ::std::os::raw::c_char,
2612 buffer_length: ::std::os::raw::c_int,
2613 ) -> HapiResult;
2614}
2615unsafe extern "C" {
2616 pub fn HAPI_SetPreset(
2617 session: *const HAPI_Session,
2618 node_id: HAPI_NodeId,
2619 preset_type: PresetType,
2620 preset_name: *const ::std::os::raw::c_char,
2621 buffer: *const ::std::os::raw::c_char,
2622 buffer_length: ::std::os::raw::c_int,
2623 ) -> HapiResult;
2624}
2625unsafe extern "C" {
2626 pub fn HAPI_GetPresetCount(
2627 session: *const HAPI_Session,
2628 buffer: *const ::std::os::raw::c_char,
2629 buffer_length: ::std::os::raw::c_int,
2630 count: *mut ::std::os::raw::c_int,
2631 ) -> HapiResult;
2632}
2633unsafe extern "C" {
2634 pub fn HAPI_GetPresetNames(
2635 session: *const HAPI_Session,
2636 buffer: *const ::std::os::raw::c_char,
2637 buffer_length: ::std::os::raw::c_int,
2638 preset_names_array: *mut HAPI_StringHandle,
2639 preset_names_count: ::std::os::raw::c_int,
2640 ) -> HapiResult;
2641}
2642unsafe extern "C" {
2643 pub fn HAPI_GetObjectInfo(
2644 session: *const HAPI_Session,
2645 node_id: HAPI_NodeId,
2646 object_info: *mut HAPI_ObjectInfo,
2647 ) -> HapiResult;
2648}
2649unsafe extern "C" {
2650 pub fn HAPI_GetObjectTransform(
2651 session: *const HAPI_Session,
2652 node_id: HAPI_NodeId,
2653 relative_to_node_id: HAPI_NodeId,
2654 rst_order: RSTOrder,
2655 transform: *mut HAPI_Transform,
2656 ) -> HapiResult;
2657}
2658unsafe extern "C" {
2659 pub fn HAPI_ComposeObjectList(
2660 session: *const HAPI_Session,
2661 parent_node_id: HAPI_NodeId,
2662 categories: *const ::std::os::raw::c_char,
2663 object_count: *mut ::std::os::raw::c_int,
2664 ) -> HapiResult;
2665}
2666unsafe extern "C" {
2667 pub fn HAPI_GetComposedObjectList(
2668 session: *const HAPI_Session,
2669 parent_node_id: HAPI_NodeId,
2670 object_infos_array: *mut HAPI_ObjectInfo,
2671 start: ::std::os::raw::c_int,
2672 length: ::std::os::raw::c_int,
2673 ) -> HapiResult;
2674}
2675unsafe extern "C" {
2676 pub fn HAPI_GetComposedObjectTransforms(
2677 session: *const HAPI_Session,
2678 parent_node_id: HAPI_NodeId,
2679 rst_order: RSTOrder,
2680 transform_array: *mut HAPI_Transform,
2681 start: ::std::os::raw::c_int,
2682 length: ::std::os::raw::c_int,
2683 ) -> HapiResult;
2684}
2685unsafe extern "C" {
2686 pub fn HAPI_GetInstancedObjectIds(
2687 session: *const HAPI_Session,
2688 object_node_id: HAPI_NodeId,
2689 instanced_node_id_array: *mut HAPI_NodeId,
2690 start: ::std::os::raw::c_int,
2691 length: ::std::os::raw::c_int,
2692 ) -> HapiResult;
2693}
2694unsafe extern "C" {
2695 pub fn HAPI_GetInstanceTransformsOnPart(
2696 session: *const HAPI_Session,
2697 node_id: HAPI_NodeId,
2698 part_id: HAPI_PartId,
2699 rst_order: RSTOrder,
2700 transforms_array: *mut HAPI_Transform,
2701 start: ::std::os::raw::c_int,
2702 length: ::std::os::raw::c_int,
2703 ) -> HapiResult;
2704}
2705unsafe extern "C" {
2706 pub fn HAPI_SetObjectTransform(
2707 session: *const HAPI_Session,
2708 node_id: HAPI_NodeId,
2709 trans: *const HAPI_TransformEuler,
2710 ) -> HapiResult;
2711}
2712unsafe extern "C" {
2713 pub fn HAPI_GetDisplayGeoInfo(
2714 session: *const HAPI_Session,
2715 object_node_id: HAPI_NodeId,
2716 geo_info: *mut HAPI_GeoInfo,
2717 ) -> HapiResult;
2718}
2719unsafe extern "C" {
2720 pub fn HAPI_GetOutputGeoCount(
2721 session: *const HAPI_Session,
2722 node_id: HAPI_NodeId,
2723 count: *mut ::std::os::raw::c_int,
2724 ) -> HapiResult;
2725}
2726unsafe extern "C" {
2727 pub fn HAPI_GetOutputGeoInfos(
2728 session: *const HAPI_Session,
2729 node_id: HAPI_NodeId,
2730 geo_infos_array: *mut HAPI_GeoInfo,
2731 count: ::std::os::raw::c_int,
2732 ) -> HapiResult;
2733}
2734unsafe extern "C" {
2735 pub fn HAPI_GetGeoInfo(
2736 session: *const HAPI_Session,
2737 node_id: HAPI_NodeId,
2738 geo_info: *mut HAPI_GeoInfo,
2739 ) -> HapiResult;
2740}
2741unsafe extern "C" {
2742 pub fn HAPI_GetPartInfo(
2743 session: *const HAPI_Session,
2744 node_id: HAPI_NodeId,
2745 part_id: HAPI_PartId,
2746 part_info: *mut HAPI_PartInfo,
2747 ) -> HapiResult;
2748}
2749unsafe extern "C" {
2750 pub fn HAPI_GetEdgeCountOfEdgeGroup(
2751 session: *const HAPI_Session,
2752 node_id: HAPI_NodeId,
2753 part_id: HAPI_PartId,
2754 group_name: *const ::std::os::raw::c_char,
2755 edge_count: *mut ::std::os::raw::c_int,
2756 ) -> HapiResult;
2757}
2758unsafe extern "C" {
2759 pub fn HAPI_GetFaceCounts(
2760 session: *const HAPI_Session,
2761 node_id: HAPI_NodeId,
2762 part_id: HAPI_PartId,
2763 face_counts_array: *mut ::std::os::raw::c_int,
2764 start: ::std::os::raw::c_int,
2765 length: ::std::os::raw::c_int,
2766 ) -> HapiResult;
2767}
2768unsafe extern "C" {
2769 pub fn HAPI_GetVertexList(
2770 session: *const HAPI_Session,
2771 node_id: HAPI_NodeId,
2772 part_id: HAPI_PartId,
2773 vertex_list_array: *mut ::std::os::raw::c_int,
2774 start: ::std::os::raw::c_int,
2775 length: ::std::os::raw::c_int,
2776 ) -> HapiResult;
2777}
2778unsafe extern "C" {
2779 pub fn HAPI_GetAttributeInfo(
2780 session: *const HAPI_Session,
2781 node_id: HAPI_NodeId,
2782 part_id: HAPI_PartId,
2783 name: *const ::std::os::raw::c_char,
2784 owner: AttributeOwner,
2785 attr_info: *mut HAPI_AttributeInfo,
2786 ) -> HapiResult;
2787}
2788unsafe extern "C" {
2789 pub fn HAPI_GetAttributeNames(
2790 session: *const HAPI_Session,
2791 node_id: HAPI_NodeId,
2792 part_id: HAPI_PartId,
2793 owner: AttributeOwner,
2794 attribute_names_array: *mut HAPI_StringHandle,
2795 count: ::std::os::raw::c_int,
2796 ) -> HapiResult;
2797}
2798unsafe extern "C" {
2799 pub fn HAPI_GetAttributeIntData(
2800 session: *const HAPI_Session,
2801 node_id: HAPI_NodeId,
2802 part_id: HAPI_PartId,
2803 name: *const ::std::os::raw::c_char,
2804 attr_info: *mut HAPI_AttributeInfo,
2805 stride: ::std::os::raw::c_int,
2806 data_array: *mut ::std::os::raw::c_int,
2807 start: ::std::os::raw::c_int,
2808 length: ::std::os::raw::c_int,
2809 ) -> HapiResult;
2810}
2811unsafe extern "C" {
2812 pub fn HAPI_GetAttributeIntArrayData(
2813 session: *const HAPI_Session,
2814 node_id: HAPI_NodeId,
2815 part_id: HAPI_PartId,
2816 name: *const ::std::os::raw::c_char,
2817 attr_info: *mut HAPI_AttributeInfo,
2818 data_fixed_array: *mut ::std::os::raw::c_int,
2819 data_fixed_length: ::std::os::raw::c_int,
2820 sizes_fixed_array: *mut ::std::os::raw::c_int,
2821 start: ::std::os::raw::c_int,
2822 sizes_fixed_length: ::std::os::raw::c_int,
2823 ) -> HapiResult;
2824}
2825unsafe extern "C" {
2826 pub fn HAPI_GetAttributeUInt8Data(
2827 session: *const HAPI_Session,
2828 node_id: HAPI_NodeId,
2829 part_id: HAPI_PartId,
2830 name: *const ::std::os::raw::c_char,
2831 attr_info: *mut HAPI_AttributeInfo,
2832 stride: ::std::os::raw::c_int,
2833 data_array: *mut HAPI_UInt8,
2834 start: ::std::os::raw::c_int,
2835 length: ::std::os::raw::c_int,
2836 ) -> HapiResult;
2837}
2838unsafe extern "C" {
2839 pub fn HAPI_GetAttributeUInt8ArrayData(
2840 session: *const HAPI_Session,
2841 node_id: HAPI_NodeId,
2842 part_id: HAPI_PartId,
2843 name: *const ::std::os::raw::c_char,
2844 attr_info: *mut HAPI_AttributeInfo,
2845 data_fixed_array: *mut HAPI_UInt8,
2846 data_fixed_length: ::std::os::raw::c_int,
2847 sizes_fixed_array: *mut ::std::os::raw::c_int,
2848 start: ::std::os::raw::c_int,
2849 sizes_fixed_length: ::std::os::raw::c_int,
2850 ) -> HapiResult;
2851}
2852unsafe extern "C" {
2853 pub fn HAPI_GetAttributeInt8Data(
2854 session: *const HAPI_Session,
2855 node_id: HAPI_NodeId,
2856 part_id: HAPI_PartId,
2857 name: *const ::std::os::raw::c_char,
2858 attr_info: *mut HAPI_AttributeInfo,
2859 stride: ::std::os::raw::c_int,
2860 data_array: *mut HAPI_Int8,
2861 start: ::std::os::raw::c_int,
2862 length: ::std::os::raw::c_int,
2863 ) -> HapiResult;
2864}
2865unsafe extern "C" {
2866 pub fn HAPI_GetAttributeInt8ArrayData(
2867 session: *const HAPI_Session,
2868 node_id: HAPI_NodeId,
2869 part_id: HAPI_PartId,
2870 name: *const ::std::os::raw::c_char,
2871 attr_info: *mut HAPI_AttributeInfo,
2872 data_fixed_array: *mut HAPI_Int8,
2873 data_fixed_length: ::std::os::raw::c_int,
2874 sizes_fixed_array: *mut ::std::os::raw::c_int,
2875 start: ::std::os::raw::c_int,
2876 sizes_fixed_length: ::std::os::raw::c_int,
2877 ) -> HapiResult;
2878}
2879unsafe extern "C" {
2880 pub fn HAPI_GetAttributeInt16Data(
2881 session: *const HAPI_Session,
2882 node_id: HAPI_NodeId,
2883 part_id: HAPI_PartId,
2884 name: *const ::std::os::raw::c_char,
2885 attr_info: *mut HAPI_AttributeInfo,
2886 stride: ::std::os::raw::c_int,
2887 data_array: *mut HAPI_Int16,
2888 start: ::std::os::raw::c_int,
2889 length: ::std::os::raw::c_int,
2890 ) -> HapiResult;
2891}
2892unsafe extern "C" {
2893 pub fn HAPI_GetAttributeInt16ArrayData(
2894 session: *const HAPI_Session,
2895 node_id: HAPI_NodeId,
2896 part_id: HAPI_PartId,
2897 name: *const ::std::os::raw::c_char,
2898 attr_info: *mut HAPI_AttributeInfo,
2899 data_fixed_array: *mut HAPI_Int16,
2900 data_fixed_length: ::std::os::raw::c_int,
2901 sizes_fixed_array: *mut ::std::os::raw::c_int,
2902 start: ::std::os::raw::c_int,
2903 sizes_fixed_length: ::std::os::raw::c_int,
2904 ) -> HapiResult;
2905}
2906unsafe extern "C" {
2907 pub fn HAPI_GetAttributeInt64Data(
2908 session: *const HAPI_Session,
2909 node_id: HAPI_NodeId,
2910 part_id: HAPI_PartId,
2911 name: *const ::std::os::raw::c_char,
2912 attr_info: *mut HAPI_AttributeInfo,
2913 stride: ::std::os::raw::c_int,
2914 data_array: *mut HAPI_Int64,
2915 start: ::std::os::raw::c_int,
2916 length: ::std::os::raw::c_int,
2917 ) -> HapiResult;
2918}
2919unsafe extern "C" {
2920 pub fn HAPI_GetAttributeInt64ArrayData(
2921 session: *const HAPI_Session,
2922 node_id: HAPI_NodeId,
2923 part_id: HAPI_PartId,
2924 name: *const ::std::os::raw::c_char,
2925 attr_info: *mut HAPI_AttributeInfo,
2926 data_fixed_array: *mut HAPI_Int64,
2927 data_fixed_length: ::std::os::raw::c_int,
2928 sizes_fixed_array: *mut ::std::os::raw::c_int,
2929 start: ::std::os::raw::c_int,
2930 sizes_fixed_length: ::std::os::raw::c_int,
2931 ) -> HapiResult;
2932}
2933unsafe extern "C" {
2934 pub fn HAPI_GetAttributeFloatData(
2935 session: *const HAPI_Session,
2936 node_id: HAPI_NodeId,
2937 part_id: HAPI_PartId,
2938 name: *const ::std::os::raw::c_char,
2939 attr_info: *mut HAPI_AttributeInfo,
2940 stride: ::std::os::raw::c_int,
2941 data_array: *mut f32,
2942 start: ::std::os::raw::c_int,
2943 length: ::std::os::raw::c_int,
2944 ) -> HapiResult;
2945}
2946unsafe extern "C" {
2947 pub fn HAPI_GetAttributeFloatArrayData(
2948 session: *const HAPI_Session,
2949 node_id: HAPI_NodeId,
2950 part_id: HAPI_PartId,
2951 name: *const ::std::os::raw::c_char,
2952 attr_info: *mut HAPI_AttributeInfo,
2953 data_fixed_array: *mut f32,
2954 data_fixed_length: ::std::os::raw::c_int,
2955 sizes_fixed_array: *mut ::std::os::raw::c_int,
2956 start: ::std::os::raw::c_int,
2957 sizes_fixed_length: ::std::os::raw::c_int,
2958 ) -> HapiResult;
2959}
2960unsafe extern "C" {
2961 pub fn HAPI_GetAttributeFloat64Data(
2962 session: *const HAPI_Session,
2963 node_id: HAPI_NodeId,
2964 part_id: HAPI_PartId,
2965 name: *const ::std::os::raw::c_char,
2966 attr_info: *mut HAPI_AttributeInfo,
2967 stride: ::std::os::raw::c_int,
2968 data_array: *mut f64,
2969 start: ::std::os::raw::c_int,
2970 length: ::std::os::raw::c_int,
2971 ) -> HapiResult;
2972}
2973unsafe extern "C" {
2974 pub fn HAPI_GetAttributeFloat64ArrayData(
2975 session: *const HAPI_Session,
2976 node_id: HAPI_NodeId,
2977 part_id: HAPI_PartId,
2978 name: *const ::std::os::raw::c_char,
2979 attr_info: *mut HAPI_AttributeInfo,
2980 data_fixed_array: *mut f64,
2981 data_fixed_length: ::std::os::raw::c_int,
2982 sizes_fixed_array: *mut ::std::os::raw::c_int,
2983 start: ::std::os::raw::c_int,
2984 sizes_fixed_length: ::std::os::raw::c_int,
2985 ) -> HapiResult;
2986}
2987unsafe extern "C" {
2988 pub fn HAPI_GetAttributeStringData(
2989 session: *const HAPI_Session,
2990 node_id: HAPI_NodeId,
2991 part_id: HAPI_PartId,
2992 name: *const ::std::os::raw::c_char,
2993 attr_info: *mut HAPI_AttributeInfo,
2994 data_array: *mut HAPI_StringHandle,
2995 start: ::std::os::raw::c_int,
2996 length: ::std::os::raw::c_int,
2997 ) -> HapiResult;
2998}
2999unsafe extern "C" {
3000 pub fn HAPI_GetAttributeStringArrayData(
3001 session: *const HAPI_Session,
3002 node_id: HAPI_NodeId,
3003 part_id: HAPI_PartId,
3004 name: *const ::std::os::raw::c_char,
3005 attr_info: *mut HAPI_AttributeInfo,
3006 data_fixed_array: *mut HAPI_StringHandle,
3007 data_fixed_length: ::std::os::raw::c_int,
3008 sizes_fixed_array: *mut ::std::os::raw::c_int,
3009 start: ::std::os::raw::c_int,
3010 sizes_fixed_length: ::std::os::raw::c_int,
3011 ) -> HapiResult;
3012}
3013unsafe extern "C" {
3014 pub fn HAPI_GetAttributeDictionaryData(
3015 session: *const HAPI_Session,
3016 node_id: HAPI_NodeId,
3017 part_id: HAPI_PartId,
3018 name: *const ::std::os::raw::c_char,
3019 attr_info: *mut HAPI_AttributeInfo,
3020 data_array: *mut HAPI_StringHandle,
3021 start: ::std::os::raw::c_int,
3022 length: ::std::os::raw::c_int,
3023 ) -> HapiResult;
3024}
3025unsafe extern "C" {
3026 pub fn HAPI_GetAttributeDictionaryArrayData(
3027 session: *const HAPI_Session,
3028 node_id: HAPI_NodeId,
3029 part_id: HAPI_PartId,
3030 name: *const ::std::os::raw::c_char,
3031 attr_info: *mut HAPI_AttributeInfo,
3032 data_fixed_array: *mut HAPI_StringHandle,
3033 data_fixed_length: ::std::os::raw::c_int,
3034 sizes_fixed_array: *mut ::std::os::raw::c_int,
3035 start: ::std::os::raw::c_int,
3036 sizes_fixed_length: ::std::os::raw::c_int,
3037 ) -> HapiResult;
3038}
3039unsafe extern "C" {
3040 pub fn HAPI_GetAttributeIntDataAsync(
3041 session: *const HAPI_Session,
3042 node_id: HAPI_NodeId,
3043 part_id: HAPI_PartId,
3044 name: *const ::std::os::raw::c_char,
3045 attr_info: *mut HAPI_AttributeInfo,
3046 stride: ::std::os::raw::c_int,
3047 data_array: *mut ::std::os::raw::c_int,
3048 start: ::std::os::raw::c_int,
3049 length: ::std::os::raw::c_int,
3050 job_id: *mut ::std::os::raw::c_int,
3051 ) -> HapiResult;
3052}
3053unsafe extern "C" {
3054 pub fn HAPI_GetAttributeUInt8DataAsync(
3055 session: *const HAPI_Session,
3056 node_id: HAPI_NodeId,
3057 part_id: HAPI_PartId,
3058 name: *const ::std::os::raw::c_char,
3059 attr_info: *mut HAPI_AttributeInfo,
3060 stride: ::std::os::raw::c_int,
3061 data_array: *mut HAPI_UInt8,
3062 start: ::std::os::raw::c_int,
3063 length: ::std::os::raw::c_int,
3064 job_id: *mut ::std::os::raw::c_int,
3065 ) -> HapiResult;
3066}
3067unsafe extern "C" {
3068 pub fn HAPI_GetAttributeInt8DataAsync(
3069 session: *const HAPI_Session,
3070 node_id: HAPI_NodeId,
3071 part_id: HAPI_PartId,
3072 name: *const ::std::os::raw::c_char,
3073 attr_info: *mut HAPI_AttributeInfo,
3074 stride: ::std::os::raw::c_int,
3075 data_array: *mut HAPI_Int8,
3076 start: ::std::os::raw::c_int,
3077 length: ::std::os::raw::c_int,
3078 job_id: *mut ::std::os::raw::c_int,
3079 ) -> HapiResult;
3080}
3081unsafe extern "C" {
3082 pub fn HAPI_GetAttributeInt16DataAsync(
3083 session: *const HAPI_Session,
3084 node_id: HAPI_NodeId,
3085 part_id: HAPI_PartId,
3086 name: *const ::std::os::raw::c_char,
3087 attr_info: *mut HAPI_AttributeInfo,
3088 stride: ::std::os::raw::c_int,
3089 data_array: *mut HAPI_Int16,
3090 start: ::std::os::raw::c_int,
3091 length: ::std::os::raw::c_int,
3092 job_id: *mut ::std::os::raw::c_int,
3093 ) -> HapiResult;
3094}
3095unsafe extern "C" {
3096 pub fn HAPI_GetAttributeInt64DataAsync(
3097 session: *const HAPI_Session,
3098 node_id: HAPI_NodeId,
3099 part_id: HAPI_PartId,
3100 name: *const ::std::os::raw::c_char,
3101 attr_info: *mut HAPI_AttributeInfo,
3102 stride: ::std::os::raw::c_int,
3103 data_array: *mut HAPI_Int64,
3104 start: ::std::os::raw::c_int,
3105 length: ::std::os::raw::c_int,
3106 job_id: *mut ::std::os::raw::c_int,
3107 ) -> HapiResult;
3108}
3109unsafe extern "C" {
3110 pub fn HAPI_GetAttributeFloatDataAsync(
3111 session: *const HAPI_Session,
3112 node_id: HAPI_NodeId,
3113 part_id: HAPI_PartId,
3114 name: *const ::std::os::raw::c_char,
3115 attr_info: *mut HAPI_AttributeInfo,
3116 stride: ::std::os::raw::c_int,
3117 data_array: *mut f32,
3118 start: ::std::os::raw::c_int,
3119 length: ::std::os::raw::c_int,
3120 job_id: *mut ::std::os::raw::c_int,
3121 ) -> HapiResult;
3122}
3123unsafe extern "C" {
3124 pub fn HAPI_GetAttributeFloat64DataAsync(
3125 session: *const HAPI_Session,
3126 node_id: HAPI_NodeId,
3127 part_id: HAPI_PartId,
3128 name: *const ::std::os::raw::c_char,
3129 attr_info: *mut HAPI_AttributeInfo,
3130 stride: ::std::os::raw::c_int,
3131 data_array: *mut f64,
3132 start: ::std::os::raw::c_int,
3133 length: ::std::os::raw::c_int,
3134 job_id: *mut ::std::os::raw::c_int,
3135 ) -> HapiResult;
3136}
3137unsafe extern "C" {
3138 pub fn HAPI_GetAttributeStringDataAsync(
3139 session: *const HAPI_Session,
3140 node_id: HAPI_NodeId,
3141 part_id: HAPI_PartId,
3142 name: *const ::std::os::raw::c_char,
3143 attr_info: *mut HAPI_AttributeInfo,
3144 data_array: *mut HAPI_StringHandle,
3145 start: ::std::os::raw::c_int,
3146 length: ::std::os::raw::c_int,
3147 job_id: *mut ::std::os::raw::c_int,
3148 ) -> HapiResult;
3149}
3150unsafe extern "C" {
3151 pub fn HAPI_GetAttributeDictionaryDataAsync(
3152 session: *const HAPI_Session,
3153 node_id: HAPI_NodeId,
3154 part_id: HAPI_PartId,
3155 name: *const ::std::os::raw::c_char,
3156 attr_info: *mut HAPI_AttributeInfo,
3157 data_array: *mut HAPI_StringHandle,
3158 start: ::std::os::raw::c_int,
3159 length: ::std::os::raw::c_int,
3160 job_id: *mut ::std::os::raw::c_int,
3161 ) -> HapiResult;
3162}
3163unsafe extern "C" {
3164 pub fn HAPI_GetAttributeIntArrayDataAsync(
3165 session: *const HAPI_Session,
3166 node_id: HAPI_NodeId,
3167 part_id: HAPI_PartId,
3168 attr_name: *const ::std::os::raw::c_char,
3169 attr_info: *mut HAPI_AttributeInfo,
3170 data_fixed_array: *mut ::std::os::raw::c_int,
3171 data_fixed_length: ::std::os::raw::c_int,
3172 sizes_fixed_array: *mut ::std::os::raw::c_int,
3173 start: ::std::os::raw::c_int,
3174 sizes_fixed_length: ::std::os::raw::c_int,
3175 job_id: *mut ::std::os::raw::c_int,
3176 ) -> HapiResult;
3177}
3178unsafe extern "C" {
3179 pub fn HAPI_GetAttributeUInt8ArrayDataAsync(
3180 session: *const HAPI_Session,
3181 node_id: HAPI_NodeId,
3182 part_id: HAPI_PartId,
3183 attr_name: *const ::std::os::raw::c_char,
3184 attr_info: *mut HAPI_AttributeInfo,
3185 data_fixed_array: *mut HAPI_UInt8,
3186 data_fixed_length: ::std::os::raw::c_int,
3187 sizes_fixed_array: *mut ::std::os::raw::c_int,
3188 start: ::std::os::raw::c_int,
3189 sizes_fixed_length: ::std::os::raw::c_int,
3190 job_id: *mut ::std::os::raw::c_int,
3191 ) -> HapiResult;
3192}
3193unsafe extern "C" {
3194 pub fn HAPI_GetAttributeInt8ArrayDataAsync(
3195 session: *const HAPI_Session,
3196 node_id: HAPI_NodeId,
3197 part_id: HAPI_PartId,
3198 attr_name: *const ::std::os::raw::c_char,
3199 attr_info: *mut HAPI_AttributeInfo,
3200 data_fixed_array: *mut HAPI_Int8,
3201 data_fixed_length: ::std::os::raw::c_int,
3202 sizes_fixed_array: *mut ::std::os::raw::c_int,
3203 start: ::std::os::raw::c_int,
3204 sizes_fixed_length: ::std::os::raw::c_int,
3205 job_id: *mut ::std::os::raw::c_int,
3206 ) -> HapiResult;
3207}
3208unsafe extern "C" {
3209 pub fn HAPI_GetAttributeInt16ArrayDataAsync(
3210 session: *const HAPI_Session,
3211 node_id: HAPI_NodeId,
3212 part_id: HAPI_PartId,
3213 attr_name: *const ::std::os::raw::c_char,
3214 attr_info: *mut HAPI_AttributeInfo,
3215 data_fixed_array: *mut HAPI_Int16,
3216 data_fixed_length: ::std::os::raw::c_int,
3217 sizes_fixed_array: *mut ::std::os::raw::c_int,
3218 start: ::std::os::raw::c_int,
3219 sizes_fixed_length: ::std::os::raw::c_int,
3220 job_id: *mut ::std::os::raw::c_int,
3221 ) -> HapiResult;
3222}
3223unsafe extern "C" {
3224 pub fn HAPI_GetAttributeInt64ArrayDataAsync(
3225 session: *const HAPI_Session,
3226 node_id: HAPI_NodeId,
3227 part_id: HAPI_PartId,
3228 attr_name: *const ::std::os::raw::c_char,
3229 attr_info: *mut HAPI_AttributeInfo,
3230 data_fixed_array: *mut HAPI_Int64,
3231 data_fixed_length: ::std::os::raw::c_int,
3232 sizes_fixed_array: *mut ::std::os::raw::c_int,
3233 start: ::std::os::raw::c_int,
3234 sizes_fixed_length: ::std::os::raw::c_int,
3235 job_id: *mut ::std::os::raw::c_int,
3236 ) -> HapiResult;
3237}
3238unsafe extern "C" {
3239 pub fn HAPI_GetAttributeFloatArrayDataAsync(
3240 session: *const HAPI_Session,
3241 node_id: HAPI_NodeId,
3242 part_id: HAPI_PartId,
3243 attr_name: *const ::std::os::raw::c_char,
3244 attr_info: *mut HAPI_AttributeInfo,
3245 data_fixed_array: *mut f32,
3246 data_fixed_length: ::std::os::raw::c_int,
3247 sizes_fixed_array: *mut ::std::os::raw::c_int,
3248 start: ::std::os::raw::c_int,
3249 sizes_fixed_length: ::std::os::raw::c_int,
3250 job_id: *mut ::std::os::raw::c_int,
3251 ) -> HapiResult;
3252}
3253unsafe extern "C" {
3254 pub fn HAPI_GetAttributeFloat64ArrayDataAsync(
3255 session: *const HAPI_Session,
3256 node_id: HAPI_NodeId,
3257 part_id: HAPI_PartId,
3258 attr_name: *const ::std::os::raw::c_char,
3259 attr_info: *mut HAPI_AttributeInfo,
3260 data_fixed_array: *mut f64,
3261 data_fixed_length: ::std::os::raw::c_int,
3262 sizes_fixed_array: *mut ::std::os::raw::c_int,
3263 start: ::std::os::raw::c_int,
3264 sizes_fixed_length: ::std::os::raw::c_int,
3265 job_id: *mut ::std::os::raw::c_int,
3266 ) -> HapiResult;
3267}
3268unsafe extern "C" {
3269 pub fn HAPI_GetAttributeStringArrayDataAsync(
3270 session: *const HAPI_Session,
3271 node_id: HAPI_NodeId,
3272 part_id: HAPI_PartId,
3273 attr_name: *const ::std::os::raw::c_char,
3274 attr_info: *mut HAPI_AttributeInfo,
3275 data_fixed_array: *mut HAPI_StringHandle,
3276 data_fixed_length: ::std::os::raw::c_int,
3277 sizes_fixed_array: *mut ::std::os::raw::c_int,
3278 start: ::std::os::raw::c_int,
3279 sizes_fixed_length: ::std::os::raw::c_int,
3280 job_id: *mut ::std::os::raw::c_int,
3281 ) -> HapiResult;
3282}
3283unsafe extern "C" {
3284 pub fn HAPI_GetAttributeDictionaryArrayDataAsync(
3285 session: *const HAPI_Session,
3286 node_id: HAPI_NodeId,
3287 part_id: HAPI_PartId,
3288 attr_name: *const ::std::os::raw::c_char,
3289 attr_info: *mut HAPI_AttributeInfo,
3290 data_fixed_array: *mut HAPI_StringHandle,
3291 data_fixed_length: ::std::os::raw::c_int,
3292 sizes_fixed_array: *mut ::std::os::raw::c_int,
3293 start: ::std::os::raw::c_int,
3294 sizes_fixed_length: ::std::os::raw::c_int,
3295 job_id: *mut ::std::os::raw::c_int,
3296 ) -> HapiResult;
3297}
3298unsafe extern "C" {
3299 pub fn HAPI_GetJobStatus(
3300 session: *const HAPI_Session,
3301 job_id: ::std::os::raw::c_int,
3302 job_status: *mut JobStatus,
3303 ) -> HapiResult;
3304}
3305unsafe extern "C" {
3306 pub fn HAPI_GetGroupNames(
3307 session: *const HAPI_Session,
3308 node_id: HAPI_NodeId,
3309 group_type: GroupType,
3310 group_names_array: *mut HAPI_StringHandle,
3311 group_count: ::std::os::raw::c_int,
3312 ) -> HapiResult;
3313}
3314unsafe extern "C" {
3315 pub fn HAPI_GetGroupMembership(
3316 session: *const HAPI_Session,
3317 node_id: HAPI_NodeId,
3318 part_id: HAPI_PartId,
3319 group_type: GroupType,
3320 group_name: *const ::std::os::raw::c_char,
3321 membership_array_all_equal: *mut HAPI_Bool,
3322 membership_array: *mut ::std::os::raw::c_int,
3323 start: ::std::os::raw::c_int,
3324 length: ::std::os::raw::c_int,
3325 ) -> HapiResult;
3326}
3327unsafe extern "C" {
3328 pub fn HAPI_GetGroupCountOnPackedInstancePart(
3329 session: *const HAPI_Session,
3330 node_id: HAPI_NodeId,
3331 part_id: HAPI_PartId,
3332 pointGroupCount: *mut ::std::os::raw::c_int,
3333 primitiveGroupCount: *mut ::std::os::raw::c_int,
3334 ) -> HapiResult;
3335}
3336unsafe extern "C" {
3337 pub fn HAPI_GetGroupNamesOnPackedInstancePart(
3338 session: *const HAPI_Session,
3339 node_id: HAPI_NodeId,
3340 part_id: HAPI_PartId,
3341 group_type: GroupType,
3342 group_names_array: *mut HAPI_StringHandle,
3343 group_count: ::std::os::raw::c_int,
3344 ) -> HapiResult;
3345}
3346unsafe extern "C" {
3347 pub fn HAPI_GetGroupMembershipOnPackedInstancePart(
3348 session: *const HAPI_Session,
3349 node_id: HAPI_NodeId,
3350 part_id: HAPI_PartId,
3351 group_type: GroupType,
3352 group_name: *const ::std::os::raw::c_char,
3353 membership_array_all_equal: *mut HAPI_Bool,
3354 membership_array: *mut ::std::os::raw::c_int,
3355 start: ::std::os::raw::c_int,
3356 length: ::std::os::raw::c_int,
3357 ) -> HapiResult;
3358}
3359unsafe extern "C" {
3360 pub fn HAPI_GetInstancedPartIds(
3361 session: *const HAPI_Session,
3362 node_id: HAPI_NodeId,
3363 part_id: HAPI_PartId,
3364 instanced_parts_array: *mut HAPI_PartId,
3365 start: ::std::os::raw::c_int,
3366 length: ::std::os::raw::c_int,
3367 ) -> HapiResult;
3368}
3369unsafe extern "C" {
3370 pub fn HAPI_GetInstancerPartTransforms(
3371 session: *const HAPI_Session,
3372 node_id: HAPI_NodeId,
3373 part_id: HAPI_PartId,
3374 rst_order: RSTOrder,
3375 transforms_array: *mut HAPI_Transform,
3376 start: ::std::os::raw::c_int,
3377 length: ::std::os::raw::c_int,
3378 ) -> HapiResult;
3379}
3380unsafe extern "C" {
3381 pub fn HAPI_SetPartInfo(
3382 session: *const HAPI_Session,
3383 node_id: HAPI_NodeId,
3384 part_id: HAPI_PartId,
3385 part_info: *const HAPI_PartInfo,
3386 ) -> HapiResult;
3387}
3388unsafe extern "C" {
3389 pub fn HAPI_SetFaceCounts(
3390 session: *const HAPI_Session,
3391 node_id: HAPI_NodeId,
3392 part_id: HAPI_PartId,
3393 face_counts_array: *const ::std::os::raw::c_int,
3394 start: ::std::os::raw::c_int,
3395 length: ::std::os::raw::c_int,
3396 ) -> HapiResult;
3397}
3398unsafe extern "C" {
3399 pub fn HAPI_SetVertexList(
3400 session: *const HAPI_Session,
3401 node_id: HAPI_NodeId,
3402 part_id: HAPI_PartId,
3403 vertex_list_array: *const ::std::os::raw::c_int,
3404 start: ::std::os::raw::c_int,
3405 length: ::std::os::raw::c_int,
3406 ) -> HapiResult;
3407}
3408unsafe extern "C" {
3409 pub fn HAPI_AddAttribute(
3410 session: *const HAPI_Session,
3411 node_id: HAPI_NodeId,
3412 part_id: HAPI_PartId,
3413 name: *const ::std::os::raw::c_char,
3414 attr_info: *const HAPI_AttributeInfo,
3415 ) -> HapiResult;
3416}
3417unsafe extern "C" {
3418 pub fn HAPI_DeleteAttribute(
3419 session: *const HAPI_Session,
3420 node_id: HAPI_NodeId,
3421 part_id: HAPI_PartId,
3422 name: *const ::std::os::raw::c_char,
3423 attr_info: *const HAPI_AttributeInfo,
3424 ) -> HapiResult;
3425}
3426unsafe extern "C" {
3427 pub fn HAPI_SetAttributeIntData(
3428 session: *const HAPI_Session,
3429 node_id: HAPI_NodeId,
3430 part_id: HAPI_PartId,
3431 name: *const ::std::os::raw::c_char,
3432 attr_info: *const HAPI_AttributeInfo,
3433 data_array: *const ::std::os::raw::c_int,
3434 start: ::std::os::raw::c_int,
3435 length: ::std::os::raw::c_int,
3436 ) -> HapiResult;
3437}
3438unsafe extern "C" {
3439 pub fn HAPI_SetAttributeUInt8Data(
3440 session: *const HAPI_Session,
3441 node_id: HAPI_NodeId,
3442 part_id: HAPI_PartId,
3443 name: *const ::std::os::raw::c_char,
3444 attr_info: *const HAPI_AttributeInfo,
3445 data_array: *const HAPI_UInt8,
3446 start: ::std::os::raw::c_int,
3447 length: ::std::os::raw::c_int,
3448 ) -> HapiResult;
3449}
3450unsafe extern "C" {
3451 pub fn HAPI_SetAttributeInt8Data(
3452 session: *const HAPI_Session,
3453 node_id: HAPI_NodeId,
3454 part_id: HAPI_PartId,
3455 name: *const ::std::os::raw::c_char,
3456 attr_info: *const HAPI_AttributeInfo,
3457 data_array: *const HAPI_Int8,
3458 start: ::std::os::raw::c_int,
3459 length: ::std::os::raw::c_int,
3460 ) -> HapiResult;
3461}
3462unsafe extern "C" {
3463 pub fn HAPI_SetAttributeInt16Data(
3464 session: *const HAPI_Session,
3465 node_id: HAPI_NodeId,
3466 part_id: HAPI_PartId,
3467 name: *const ::std::os::raw::c_char,
3468 attr_info: *const HAPI_AttributeInfo,
3469 data_array: *const HAPI_Int16,
3470 start: ::std::os::raw::c_int,
3471 length: ::std::os::raw::c_int,
3472 ) -> HapiResult;
3473}
3474unsafe extern "C" {
3475 pub fn HAPI_SetAttributeInt64Data(
3476 session: *const HAPI_Session,
3477 node_id: HAPI_NodeId,
3478 part_id: HAPI_PartId,
3479 name: *const ::std::os::raw::c_char,
3480 attr_info: *const HAPI_AttributeInfo,
3481 data_array: *const HAPI_Int64,
3482 start: ::std::os::raw::c_int,
3483 length: ::std::os::raw::c_int,
3484 ) -> HapiResult;
3485}
3486unsafe extern "C" {
3487 pub fn HAPI_SetAttributeFloatData(
3488 session: *const HAPI_Session,
3489 node_id: HAPI_NodeId,
3490 part_id: HAPI_PartId,
3491 name: *const ::std::os::raw::c_char,
3492 attr_info: *const HAPI_AttributeInfo,
3493 data_array: *const f32,
3494 start: ::std::os::raw::c_int,
3495 length: ::std::os::raw::c_int,
3496 ) -> HapiResult;
3497}
3498unsafe extern "C" {
3499 pub fn HAPI_SetAttributeFloat64Data(
3500 session: *const HAPI_Session,
3501 node_id: HAPI_NodeId,
3502 part_id: HAPI_PartId,
3503 name: *const ::std::os::raw::c_char,
3504 attr_info: *const HAPI_AttributeInfo,
3505 data_array: *const f64,
3506 start: ::std::os::raw::c_int,
3507 length: ::std::os::raw::c_int,
3508 ) -> HapiResult;
3509}
3510unsafe extern "C" {
3511 pub fn HAPI_SetAttributeStringData(
3512 session: *const HAPI_Session,
3513 node_id: HAPI_NodeId,
3514 part_id: HAPI_PartId,
3515 name: *const ::std::os::raw::c_char,
3516 attr_info: *const HAPI_AttributeInfo,
3517 data_array: *mut *const ::std::os::raw::c_char,
3518 start: ::std::os::raw::c_int,
3519 length: ::std::os::raw::c_int,
3520 ) -> HapiResult;
3521}
3522unsafe extern "C" {
3523 pub fn HAPI_SetAttributeIndexedStringData(
3524 session: *const HAPI_Session,
3525 node_id: HAPI_NodeId,
3526 part_id: HAPI_PartId,
3527 name: *const ::std::os::raw::c_char,
3528 attr_info: *const HAPI_AttributeInfo,
3529 string_array: *mut *const ::std::os::raw::c_char,
3530 string_count: ::std::os::raw::c_int,
3531 indices_array: *const ::std::os::raw::c_int,
3532 indices_start: ::std::os::raw::c_int,
3533 indices_length: ::std::os::raw::c_int,
3534 ) -> HapiResult;
3535}
3536unsafe extern "C" {
3537 pub fn HAPI_SetAttributeStringUniqueData(
3538 session: *const HAPI_Session,
3539 node_id: HAPI_NodeId,
3540 part_id: HAPI_PartId,
3541 name: *const ::std::os::raw::c_char,
3542 attr_info: *const HAPI_AttributeInfo,
3543 data_array: *const ::std::os::raw::c_char,
3544 data_length: ::std::os::raw::c_int,
3545 start_index: ::std::os::raw::c_int,
3546 num_indices: ::std::os::raw::c_int,
3547 ) -> HapiResult;
3548}
3549unsafe extern "C" {
3550 pub fn HAPI_SetAttributeIntUniqueData(
3551 session: *const HAPI_Session,
3552 node_id: HAPI_NodeId,
3553 part_id: HAPI_PartId,
3554 name: *const ::std::os::raw::c_char,
3555 attr_info: *const HAPI_AttributeInfo,
3556 data_array: *const ::std::os::raw::c_int,
3557 data_length: ::std::os::raw::c_int,
3558 start_index: ::std::os::raw::c_int,
3559 num_indices: ::std::os::raw::c_int,
3560 ) -> HapiResult;
3561}
3562unsafe extern "C" {
3563 pub fn HAPI_SetAttributeUInt8UniqueData(
3564 session: *const HAPI_Session,
3565 node_id: HAPI_NodeId,
3566 part_id: HAPI_PartId,
3567 name: *const ::std::os::raw::c_char,
3568 attr_info: *const HAPI_AttributeInfo,
3569 data_array: *const HAPI_UInt8,
3570 data_length: ::std::os::raw::c_int,
3571 start_index: ::std::os::raw::c_int,
3572 num_indices: ::std::os::raw::c_int,
3573 ) -> HapiResult;
3574}
3575unsafe extern "C" {
3576 pub fn HAPI_SetAttributeInt8UniqueData(
3577 session: *const HAPI_Session,
3578 node_id: HAPI_NodeId,
3579 part_id: HAPI_PartId,
3580 name: *const ::std::os::raw::c_char,
3581 attr_info: *const HAPI_AttributeInfo,
3582 data_array: *const HAPI_Int8,
3583 data_length: ::std::os::raw::c_int,
3584 start_index: ::std::os::raw::c_int,
3585 num_indices: ::std::os::raw::c_int,
3586 ) -> HapiResult;
3587}
3588unsafe extern "C" {
3589 pub fn HAPI_SetAttributeInt16UniqueData(
3590 session: *const HAPI_Session,
3591 node_id: HAPI_NodeId,
3592 part_id: HAPI_PartId,
3593 name: *const ::std::os::raw::c_char,
3594 attr_info: *const HAPI_AttributeInfo,
3595 data_array: *const HAPI_Int16,
3596 data_length: ::std::os::raw::c_int,
3597 start_index: ::std::os::raw::c_int,
3598 num_indices: ::std::os::raw::c_int,
3599 ) -> HapiResult;
3600}
3601unsafe extern "C" {
3602 pub fn HAPI_SetAttributeInt64UniqueData(
3603 session: *const HAPI_Session,
3604 node_id: HAPI_NodeId,
3605 part_id: HAPI_PartId,
3606 name: *const ::std::os::raw::c_char,
3607 attr_info: *const HAPI_AttributeInfo,
3608 data_array: *const HAPI_Int64,
3609 data_length: ::std::os::raw::c_int,
3610 start_index: ::std::os::raw::c_int,
3611 num_indices: ::std::os::raw::c_int,
3612 ) -> HapiResult;
3613}
3614unsafe extern "C" {
3615 pub fn HAPI_SetAttributeFloatUniqueData(
3616 session: *const HAPI_Session,
3617 node_id: HAPI_NodeId,
3618 part_id: HAPI_PartId,
3619 name: *const ::std::os::raw::c_char,
3620 attr_info: *const HAPI_AttributeInfo,
3621 data_array: *const f32,
3622 data_length: ::std::os::raw::c_int,
3623 start_index: ::std::os::raw::c_int,
3624 num_indices: ::std::os::raw::c_int,
3625 ) -> HapiResult;
3626}
3627unsafe extern "C" {
3628 pub fn HAPI_SetAttributeFloat64UniqueData(
3629 session: *const HAPI_Session,
3630 node_id: HAPI_NodeId,
3631 part_id: HAPI_PartId,
3632 name: *const ::std::os::raw::c_char,
3633 attr_info: *const HAPI_AttributeInfo,
3634 data_array: *const f64,
3635 data_length: ::std::os::raw::c_int,
3636 start_index: ::std::os::raw::c_int,
3637 num_indices: ::std::os::raw::c_int,
3638 ) -> HapiResult;
3639}
3640unsafe extern "C" {
3641 pub fn HAPI_SetAttributeDictionaryData(
3642 session: *const HAPI_Session,
3643 node_id: HAPI_NodeId,
3644 part_id: HAPI_PartId,
3645 name: *const ::std::os::raw::c_char,
3646 attr_info: *const HAPI_AttributeInfo,
3647 data_array: *mut *const ::std::os::raw::c_char,
3648 start: ::std::os::raw::c_int,
3649 length: ::std::os::raw::c_int,
3650 ) -> HapiResult;
3651}
3652unsafe extern "C" {
3653 pub fn HAPI_SetAttributeIntArrayData(
3654 session: *const HAPI_Session,
3655 node_id: HAPI_NodeId,
3656 part_id: HAPI_PartId,
3657 name: *const ::std::os::raw::c_char,
3658 attr_info: *const HAPI_AttributeInfo,
3659 data_fixed_array: *const ::std::os::raw::c_int,
3660 data_fixed_length: ::std::os::raw::c_int,
3661 sizes_fixed_array: *const ::std::os::raw::c_int,
3662 start: ::std::os::raw::c_int,
3663 sizes_fixed_length: ::std::os::raw::c_int,
3664 ) -> HapiResult;
3665}
3666unsafe extern "C" {
3667 pub fn HAPI_SetAttributeUInt8ArrayData(
3668 session: *const HAPI_Session,
3669 node_id: HAPI_NodeId,
3670 part_id: HAPI_PartId,
3671 name: *const ::std::os::raw::c_char,
3672 attr_info: *const HAPI_AttributeInfo,
3673 data_fixed_array: *const HAPI_UInt8,
3674 data_fixed_length: ::std::os::raw::c_int,
3675 sizes_fixed_array: *const ::std::os::raw::c_int,
3676 start: ::std::os::raw::c_int,
3677 sizes_fixed_length: ::std::os::raw::c_int,
3678 ) -> HapiResult;
3679}
3680unsafe extern "C" {
3681 pub fn HAPI_SetAttributeInt8ArrayData(
3682 session: *const HAPI_Session,
3683 node_id: HAPI_NodeId,
3684 part_id: HAPI_PartId,
3685 name: *const ::std::os::raw::c_char,
3686 attr_info: *const HAPI_AttributeInfo,
3687 data_fixed_array: *const HAPI_Int8,
3688 data_fixed_length: ::std::os::raw::c_int,
3689 sizes_fixed_array: *const ::std::os::raw::c_int,
3690 start: ::std::os::raw::c_int,
3691 sizes_fixed_length: ::std::os::raw::c_int,
3692 ) -> HapiResult;
3693}
3694unsafe extern "C" {
3695 pub fn HAPI_SetAttributeInt16ArrayData(
3696 session: *const HAPI_Session,
3697 node_id: HAPI_NodeId,
3698 part_id: HAPI_PartId,
3699 name: *const ::std::os::raw::c_char,
3700 attr_info: *const HAPI_AttributeInfo,
3701 data_fixed_array: *const HAPI_Int16,
3702 data_fixed_length: ::std::os::raw::c_int,
3703 sizes_fixed_array: *const ::std::os::raw::c_int,
3704 start: ::std::os::raw::c_int,
3705 sizes_fixed_length: ::std::os::raw::c_int,
3706 ) -> HapiResult;
3707}
3708unsafe extern "C" {
3709 pub fn HAPI_SetAttributeInt64ArrayData(
3710 session: *const HAPI_Session,
3711 node_id: HAPI_NodeId,
3712 part_id: HAPI_PartId,
3713 name: *const ::std::os::raw::c_char,
3714 attr_info: *const HAPI_AttributeInfo,
3715 data_fixed_array: *const HAPI_Int64,
3716 data_fixed_length: ::std::os::raw::c_int,
3717 sizes_fixed_array: *const ::std::os::raw::c_int,
3718 start: ::std::os::raw::c_int,
3719 sizes_fixed_length: ::std::os::raw::c_int,
3720 ) -> HapiResult;
3721}
3722unsafe extern "C" {
3723 pub fn HAPI_SetAttributeFloatArrayData(
3724 session: *const HAPI_Session,
3725 node_id: HAPI_NodeId,
3726 part_id: HAPI_PartId,
3727 name: *const ::std::os::raw::c_char,
3728 attr_info: *const HAPI_AttributeInfo,
3729 data_fixed_array: *const f32,
3730 data_fixed_length: ::std::os::raw::c_int,
3731 sizes_fixed_array: *const ::std::os::raw::c_int,
3732 start: ::std::os::raw::c_int,
3733 sizes_fixed_length: ::std::os::raw::c_int,
3734 ) -> HapiResult;
3735}
3736unsafe extern "C" {
3737 pub fn HAPI_SetAttributeFloat64ArrayData(
3738 session: *const HAPI_Session,
3739 node_id: HAPI_NodeId,
3740 part_id: HAPI_PartId,
3741 name: *const ::std::os::raw::c_char,
3742 attr_info: *const HAPI_AttributeInfo,
3743 data_fixed_array: *const f64,
3744 data_fixed_length: ::std::os::raw::c_int,
3745 sizes_fixed_array: *const ::std::os::raw::c_int,
3746 start: ::std::os::raw::c_int,
3747 sizes_fixed_length: ::std::os::raw::c_int,
3748 ) -> HapiResult;
3749}
3750unsafe extern "C" {
3751 pub fn HAPI_SetAttributeStringArrayData(
3752 session: *const HAPI_Session,
3753 node_id: HAPI_NodeId,
3754 part_id: HAPI_PartId,
3755 name: *const ::std::os::raw::c_char,
3756 attr_info: *const HAPI_AttributeInfo,
3757 data_fixed_array: *mut *const ::std::os::raw::c_char,
3758 data_fixed_length: ::std::os::raw::c_int,
3759 sizes_fixed_array: *const ::std::os::raw::c_int,
3760 start: ::std::os::raw::c_int,
3761 sizes_fixed_length: ::std::os::raw::c_int,
3762 ) -> HapiResult;
3763}
3764unsafe extern "C" {
3765 pub fn HAPI_SetAttributeDictionaryArrayData(
3766 session: *const HAPI_Session,
3767 node_id: HAPI_NodeId,
3768 part_id: HAPI_PartId,
3769 name: *const ::std::os::raw::c_char,
3770 attr_info: *const HAPI_AttributeInfo,
3771 data_fixed_array: *mut *const ::std::os::raw::c_char,
3772 data_fixed_length: ::std::os::raw::c_int,
3773 sizes_fixed_array: *const ::std::os::raw::c_int,
3774 start: ::std::os::raw::c_int,
3775 sizes_fixed_length: ::std::os::raw::c_int,
3776 ) -> HapiResult;
3777}
3778unsafe extern "C" {
3779 pub fn HAPI_SetAttributeIntDataAsync(
3780 session: *const HAPI_Session,
3781 node_id: HAPI_NodeId,
3782 part_id: HAPI_PartId,
3783 name: *const ::std::os::raw::c_char,
3784 attr_info: *const HAPI_AttributeInfo,
3785 data_array: *const ::std::os::raw::c_int,
3786 start: ::std::os::raw::c_int,
3787 length: ::std::os::raw::c_int,
3788 job_id: *mut ::std::os::raw::c_int,
3789 ) -> HapiResult;
3790}
3791unsafe extern "C" {
3792 pub fn HAPI_SetAttributeUInt8DataAsync(
3793 session: *const HAPI_Session,
3794 node_id: HAPI_NodeId,
3795 part_id: HAPI_PartId,
3796 name: *const ::std::os::raw::c_char,
3797 attr_info: *const HAPI_AttributeInfo,
3798 data_array: *const HAPI_UInt8,
3799 start: ::std::os::raw::c_int,
3800 length: ::std::os::raw::c_int,
3801 job_id: *mut ::std::os::raw::c_int,
3802 ) -> HapiResult;
3803}
3804unsafe extern "C" {
3805 pub fn HAPI_SetAttributeInt8DataAsync(
3806 session: *const HAPI_Session,
3807 node_id: HAPI_NodeId,
3808 part_id: HAPI_PartId,
3809 name: *const ::std::os::raw::c_char,
3810 attr_info: *const HAPI_AttributeInfo,
3811 data_array: *const HAPI_Int8,
3812 start: ::std::os::raw::c_int,
3813 length: ::std::os::raw::c_int,
3814 job_id: *mut ::std::os::raw::c_int,
3815 ) -> HapiResult;
3816}
3817unsafe extern "C" {
3818 pub fn HAPI_SetAttributeInt16DataAsync(
3819 session: *const HAPI_Session,
3820 node_id: HAPI_NodeId,
3821 part_id: HAPI_PartId,
3822 name: *const ::std::os::raw::c_char,
3823 attr_info: *const HAPI_AttributeInfo,
3824 data_array: *const HAPI_Int16,
3825 start: ::std::os::raw::c_int,
3826 length: ::std::os::raw::c_int,
3827 job_id: *mut ::std::os::raw::c_int,
3828 ) -> HapiResult;
3829}
3830unsafe extern "C" {
3831 pub fn HAPI_SetAttributeInt64DataAsync(
3832 session: *const HAPI_Session,
3833 node_id: HAPI_NodeId,
3834 part_id: HAPI_PartId,
3835 name: *const ::std::os::raw::c_char,
3836 attr_info: *const HAPI_AttributeInfo,
3837 data_array: *const HAPI_Int64,
3838 start: ::std::os::raw::c_int,
3839 length: ::std::os::raw::c_int,
3840 job_id: *mut ::std::os::raw::c_int,
3841 ) -> HapiResult;
3842}
3843unsafe extern "C" {
3844 pub fn HAPI_SetAttributeFloatDataAsync(
3845 session: *const HAPI_Session,
3846 node_id: HAPI_NodeId,
3847 part_id: HAPI_PartId,
3848 name: *const ::std::os::raw::c_char,
3849 attr_info: *const HAPI_AttributeInfo,
3850 data_array: *const f32,
3851 start: ::std::os::raw::c_int,
3852 length: ::std::os::raw::c_int,
3853 job_id: *mut ::std::os::raw::c_int,
3854 ) -> HapiResult;
3855}
3856unsafe extern "C" {
3857 pub fn HAPI_SetAttributeFloat64DataAsync(
3858 session: *const HAPI_Session,
3859 node_id: HAPI_NodeId,
3860 part_id: HAPI_PartId,
3861 name: *const ::std::os::raw::c_char,
3862 attr_info: *const HAPI_AttributeInfo,
3863 data_array: *const f64,
3864 start: ::std::os::raw::c_int,
3865 length: ::std::os::raw::c_int,
3866 job_id: *mut ::std::os::raw::c_int,
3867 ) -> HapiResult;
3868}
3869unsafe extern "C" {
3870 pub fn HAPI_SetAttributeStringDataAsync(
3871 session: *const HAPI_Session,
3872 node_id: HAPI_NodeId,
3873 part_id: HAPI_PartId,
3874 name: *const ::std::os::raw::c_char,
3875 attr_info: *const HAPI_AttributeInfo,
3876 data_array: *mut *const ::std::os::raw::c_char,
3877 start: ::std::os::raw::c_int,
3878 length: ::std::os::raw::c_int,
3879 job_id: *mut ::std::os::raw::c_int,
3880 ) -> HapiResult;
3881}
3882unsafe extern "C" {
3883 pub fn HAPI_SetAttributeIndexedStringDataAsync(
3884 session: *const HAPI_Session,
3885 node_id: HAPI_NodeId,
3886 part_id: HAPI_PartId,
3887 name: *const ::std::os::raw::c_char,
3888 attr_info: *const HAPI_AttributeInfo,
3889 string_array: *mut *const ::std::os::raw::c_char,
3890 string_count: ::std::os::raw::c_int,
3891 indices_array: *const ::std::os::raw::c_int,
3892 indices_start: ::std::os::raw::c_int,
3893 indices_length: ::std::os::raw::c_int,
3894 job_id: *mut ::std::os::raw::c_int,
3895 ) -> HapiResult;
3896}
3897unsafe extern "C" {
3898 pub fn HAPI_SetAttributeStringUniqueDataAsync(
3899 session: *const HAPI_Session,
3900 node_id: HAPI_NodeId,
3901 part_id: HAPI_PartId,
3902 name: *const ::std::os::raw::c_char,
3903 attr_info: *const HAPI_AttributeInfo,
3904 data_array: *const ::std::os::raw::c_char,
3905 data_length: ::std::os::raw::c_int,
3906 start_index: ::std::os::raw::c_int,
3907 num_indices: ::std::os::raw::c_int,
3908 job_id: *mut ::std::os::raw::c_int,
3909 ) -> HapiResult;
3910}
3911unsafe extern "C" {
3912 pub fn HAPI_SetAttributeIntUniqueDataAsync(
3913 session: *const HAPI_Session,
3914 node_id: HAPI_NodeId,
3915 part_id: HAPI_PartId,
3916 name: *const ::std::os::raw::c_char,
3917 attr_info: *const HAPI_AttributeInfo,
3918 data_array: *const ::std::os::raw::c_int,
3919 data_length: ::std::os::raw::c_int,
3920 start_index: ::std::os::raw::c_int,
3921 num_indices: ::std::os::raw::c_int,
3922 job_id: *mut ::std::os::raw::c_int,
3923 ) -> HapiResult;
3924}
3925unsafe extern "C" {
3926 pub fn HAPI_SetAttributeUInt8UniqueDataAsync(
3927 session: *const HAPI_Session,
3928 node_id: HAPI_NodeId,
3929 part_id: HAPI_PartId,
3930 name: *const ::std::os::raw::c_char,
3931 attr_info: *const HAPI_AttributeInfo,
3932 data_array: *const HAPI_UInt8,
3933 data_length: ::std::os::raw::c_int,
3934 start_index: ::std::os::raw::c_int,
3935 num_indices: ::std::os::raw::c_int,
3936 job_id: *mut ::std::os::raw::c_int,
3937 ) -> HapiResult;
3938}
3939unsafe extern "C" {
3940 pub fn HAPI_SetAttributeInt8UniqueDataAsync(
3941 session: *const HAPI_Session,
3942 node_id: HAPI_NodeId,
3943 part_id: HAPI_PartId,
3944 name: *const ::std::os::raw::c_char,
3945 attr_info: *const HAPI_AttributeInfo,
3946 data_array: *const HAPI_Int8,
3947 data_length: ::std::os::raw::c_int,
3948 start_index: ::std::os::raw::c_int,
3949 num_indices: ::std::os::raw::c_int,
3950 job_id: *mut ::std::os::raw::c_int,
3951 ) -> HapiResult;
3952}
3953unsafe extern "C" {
3954 pub fn HAPI_SetAttributeInt16UniqueDataAsync(
3955 session: *const HAPI_Session,
3956 node_id: HAPI_NodeId,
3957 part_id: HAPI_PartId,
3958 name: *const ::std::os::raw::c_char,
3959 attr_info: *const HAPI_AttributeInfo,
3960 data_array: *const HAPI_Int16,
3961 data_length: ::std::os::raw::c_int,
3962 start_index: ::std::os::raw::c_int,
3963 num_indices: ::std::os::raw::c_int,
3964 job_id: *mut ::std::os::raw::c_int,
3965 ) -> HapiResult;
3966}
3967unsafe extern "C" {
3968 pub fn HAPI_SetAttributeInt64UniqueDataAsync(
3969 session: *const HAPI_Session,
3970 node_id: HAPI_NodeId,
3971 part_id: HAPI_PartId,
3972 name: *const ::std::os::raw::c_char,
3973 attr_info: *const HAPI_AttributeInfo,
3974 data_array: *const HAPI_Int64,
3975 data_length: ::std::os::raw::c_int,
3976 start_index: ::std::os::raw::c_int,
3977 num_indices: ::std::os::raw::c_int,
3978 job_id: *mut ::std::os::raw::c_int,
3979 ) -> HapiResult;
3980}
3981unsafe extern "C" {
3982 pub fn HAPI_SetAttributeFloatUniqueDataAsync(
3983 session: *const HAPI_Session,
3984 node_id: HAPI_NodeId,
3985 part_id: HAPI_PartId,
3986 name: *const ::std::os::raw::c_char,
3987 attr_info: *const HAPI_AttributeInfo,
3988 data_array: *const f32,
3989 data_length: ::std::os::raw::c_int,
3990 start_index: ::std::os::raw::c_int,
3991 num_indices: ::std::os::raw::c_int,
3992 job_id: *mut ::std::os::raw::c_int,
3993 ) -> HapiResult;
3994}
3995unsafe extern "C" {
3996 pub fn HAPI_SetAttributeFloat64UniqueDataAsync(
3997 session: *const HAPI_Session,
3998 node_id: HAPI_NodeId,
3999 part_id: HAPI_PartId,
4000 name: *const ::std::os::raw::c_char,
4001 attr_info: *const HAPI_AttributeInfo,
4002 data_array: *const f64,
4003 data_length: ::std::os::raw::c_int,
4004 start_index: ::std::os::raw::c_int,
4005 num_indices: ::std::os::raw::c_int,
4006 job_id: *mut ::std::os::raw::c_int,
4007 ) -> HapiResult;
4008}
4009unsafe extern "C" {
4010 pub fn HAPI_SetAttributeDictionaryDataAsync(
4011 session: *const HAPI_Session,
4012 node_id: HAPI_NodeId,
4013 part_id: HAPI_PartId,
4014 name: *const ::std::os::raw::c_char,
4015 attr_info: *const HAPI_AttributeInfo,
4016 data_array: *mut *const ::std::os::raw::c_char,
4017 start: ::std::os::raw::c_int,
4018 length: ::std::os::raw::c_int,
4019 job_id: *mut ::std::os::raw::c_int,
4020 ) -> HapiResult;
4021}
4022unsafe extern "C" {
4023 pub fn HAPI_SetAttributeIntArrayDataAsync(
4024 session: *const HAPI_Session,
4025 node_id: HAPI_NodeId,
4026 part_id: HAPI_PartId,
4027 name: *const ::std::os::raw::c_char,
4028 attr_info: *const HAPI_AttributeInfo,
4029 data_fixed_array: *const ::std::os::raw::c_int,
4030 data_fixed_length: ::std::os::raw::c_int,
4031 sizes_fixed_array: *const ::std::os::raw::c_int,
4032 start: ::std::os::raw::c_int,
4033 sizes_fixed_length: ::std::os::raw::c_int,
4034 job_id: *mut ::std::os::raw::c_int,
4035 ) -> HapiResult;
4036}
4037unsafe extern "C" {
4038 pub fn HAPI_SetAttributeUInt8ArrayDataAsync(
4039 session: *const HAPI_Session,
4040 node_id: HAPI_NodeId,
4041 part_id: HAPI_PartId,
4042 name: *const ::std::os::raw::c_char,
4043 attr_info: *const HAPI_AttributeInfo,
4044 data_fixed_array: *const HAPI_UInt8,
4045 data_fixed_length: ::std::os::raw::c_int,
4046 sizes_fixed_array: *const ::std::os::raw::c_int,
4047 start: ::std::os::raw::c_int,
4048 sizes_fixed_length: ::std::os::raw::c_int,
4049 job_id: *mut ::std::os::raw::c_int,
4050 ) -> HapiResult;
4051}
4052unsafe extern "C" {
4053 pub fn HAPI_SetAttributeInt8ArrayDataAsync(
4054 session: *const HAPI_Session,
4055 node_id: HAPI_NodeId,
4056 part_id: HAPI_PartId,
4057 name: *const ::std::os::raw::c_char,
4058 attr_info: *const HAPI_AttributeInfo,
4059 data_fixed_array: *const HAPI_Int8,
4060 data_fixed_length: ::std::os::raw::c_int,
4061 sizes_fixed_array: *const ::std::os::raw::c_int,
4062 start: ::std::os::raw::c_int,
4063 sizes_fixed_length: ::std::os::raw::c_int,
4064 job_id: *mut ::std::os::raw::c_int,
4065 ) -> HapiResult;
4066}
4067unsafe extern "C" {
4068 pub fn HAPI_SetAttributeInt16ArrayDataAsync(
4069 session: *const HAPI_Session,
4070 node_id: HAPI_NodeId,
4071 part_id: HAPI_PartId,
4072 name: *const ::std::os::raw::c_char,
4073 attr_info: *const HAPI_AttributeInfo,
4074 data_fixed_array: *const HAPI_Int16,
4075 data_fixed_length: ::std::os::raw::c_int,
4076 sizes_fixed_array: *const ::std::os::raw::c_int,
4077 start: ::std::os::raw::c_int,
4078 sizes_fixed_length: ::std::os::raw::c_int,
4079 job_id: *mut ::std::os::raw::c_int,
4080 ) -> HapiResult;
4081}
4082unsafe extern "C" {
4083 pub fn HAPI_SetAttributeInt64ArrayDataAsync(
4084 session: *const HAPI_Session,
4085 node_id: HAPI_NodeId,
4086 part_id: HAPI_PartId,
4087 name: *const ::std::os::raw::c_char,
4088 attr_info: *const HAPI_AttributeInfo,
4089 data_fixed_array: *const HAPI_Int64,
4090 data_fixed_length: ::std::os::raw::c_int,
4091 sizes_fixed_array: *const ::std::os::raw::c_int,
4092 start: ::std::os::raw::c_int,
4093 sizes_fixed_length: ::std::os::raw::c_int,
4094 job_id: *mut ::std::os::raw::c_int,
4095 ) -> HapiResult;
4096}
4097unsafe extern "C" {
4098 pub fn HAPI_SetAttributeFloatArrayDataAsync(
4099 session: *const HAPI_Session,
4100 node_id: HAPI_NodeId,
4101 part_id: HAPI_PartId,
4102 name: *const ::std::os::raw::c_char,
4103 attr_info: *const HAPI_AttributeInfo,
4104 data_fixed_array: *const f32,
4105 data_fixed_length: ::std::os::raw::c_int,
4106 sizes_fixed_array: *const ::std::os::raw::c_int,
4107 start: ::std::os::raw::c_int,
4108 sizes_fixed_length: ::std::os::raw::c_int,
4109 job_id: *mut ::std::os::raw::c_int,
4110 ) -> HapiResult;
4111}
4112unsafe extern "C" {
4113 pub fn HAPI_SetAttributeFloat64ArrayDataAsync(
4114 session: *const HAPI_Session,
4115 node_id: HAPI_NodeId,
4116 part_id: HAPI_PartId,
4117 name: *const ::std::os::raw::c_char,
4118 attr_info: *const HAPI_AttributeInfo,
4119 data_fixed_array: *const f64,
4120 data_fixed_length: ::std::os::raw::c_int,
4121 sizes_fixed_array: *const ::std::os::raw::c_int,
4122 start: ::std::os::raw::c_int,
4123 sizes_fixed_length: ::std::os::raw::c_int,
4124 job_id: *mut ::std::os::raw::c_int,
4125 ) -> HapiResult;
4126}
4127unsafe extern "C" {
4128 pub fn HAPI_SetAttributeStringArrayDataAsync(
4129 session: *const HAPI_Session,
4130 node_id: HAPI_NodeId,
4131 part_id: HAPI_PartId,
4132 name: *const ::std::os::raw::c_char,
4133 attr_info: *const HAPI_AttributeInfo,
4134 data_fixed_array: *mut *const ::std::os::raw::c_char,
4135 data_fixed_length: ::std::os::raw::c_int,
4136 sizes_fixed_array: *const ::std::os::raw::c_int,
4137 start: ::std::os::raw::c_int,
4138 sizes_fixed_length: ::std::os::raw::c_int,
4139 job_id: *mut ::std::os::raw::c_int,
4140 ) -> HapiResult;
4141}
4142unsafe extern "C" {
4143 pub fn HAPI_SetAttributeDictionaryArrayDataAsync(
4144 session: *const HAPI_Session,
4145 node_id: HAPI_NodeId,
4146 part_id: HAPI_PartId,
4147 name: *const ::std::os::raw::c_char,
4148 attr_info: *const HAPI_AttributeInfo,
4149 data_fixed_array: *mut *const ::std::os::raw::c_char,
4150 data_fixed_length: ::std::os::raw::c_int,
4151 sizes_fixed_array: *const ::std::os::raw::c_int,
4152 start: ::std::os::raw::c_int,
4153 sizes_fixed_length: ::std::os::raw::c_int,
4154 job_id: *mut ::std::os::raw::c_int,
4155 ) -> HapiResult;
4156}
4157unsafe extern "C" {
4158 pub fn HAPI_AddGroup(
4159 session: *const HAPI_Session,
4160 node_id: HAPI_NodeId,
4161 part_id: HAPI_PartId,
4162 group_type: GroupType,
4163 group_name: *const ::std::os::raw::c_char,
4164 ) -> HapiResult;
4165}
4166unsafe extern "C" {
4167 pub fn HAPI_DeleteGroup(
4168 session: *const HAPI_Session,
4169 node_id: HAPI_NodeId,
4170 part_id: HAPI_PartId,
4171 group_type: GroupType,
4172 group_name: *const ::std::os::raw::c_char,
4173 ) -> HapiResult;
4174}
4175unsafe extern "C" {
4176 pub fn HAPI_SetGroupMembership(
4177 session: *const HAPI_Session,
4178 node_id: HAPI_NodeId,
4179 part_id: HAPI_PartId,
4180 group_type: GroupType,
4181 group_name: *const ::std::os::raw::c_char,
4182 membership_array: *const ::std::os::raw::c_int,
4183 start: ::std::os::raw::c_int,
4184 length: ::std::os::raw::c_int,
4185 ) -> HapiResult;
4186}
4187unsafe extern "C" {
4188 pub fn HAPI_CommitGeo(session: *const HAPI_Session, node_id: HAPI_NodeId) -> HapiResult;
4189}
4190unsafe extern "C" {
4191 pub fn HAPI_RevertGeo(session: *const HAPI_Session, node_id: HAPI_NodeId) -> HapiResult;
4192}
4193unsafe extern "C" {
4194 pub fn HAPI_GetMaterialNodeIdsOnFaces(
4195 session: *const HAPI_Session,
4196 geometry_node_id: HAPI_NodeId,
4197 part_id: HAPI_PartId,
4198 are_all_the_same: *mut HAPI_Bool,
4199 material_ids_array: *mut HAPI_NodeId,
4200 start: ::std::os::raw::c_int,
4201 length: ::std::os::raw::c_int,
4202 ) -> HapiResult;
4203}
4204unsafe extern "C" {
4205 pub fn HAPI_GetMaterialInfo(
4206 session: *const HAPI_Session,
4207 material_node_id: HAPI_NodeId,
4208 material_info: *mut HAPI_MaterialInfo,
4209 ) -> HapiResult;
4210}
4211unsafe extern "C" {
4212 pub fn HAPI_RenderCOPToImage(
4213 session: *const HAPI_Session,
4214 cop_node_id: HAPI_NodeId,
4215 ) -> HapiResult;
4216}
4217unsafe extern "C" {
4218 pub fn HAPI_RenderTextureToImage(
4219 session: *const HAPI_Session,
4220 material_node_id: HAPI_NodeId,
4221 parm_id: HAPI_ParmId,
4222 ) -> HapiResult;
4223}
4224unsafe extern "C" {
4225 pub fn HAPI_GetImageInfo(
4226 session: *const HAPI_Session,
4227 material_node_id: HAPI_NodeId,
4228 image_info: *mut HAPI_ImageInfo,
4229 ) -> HapiResult;
4230}
4231unsafe extern "C" {
4232 pub fn HAPI_SetImageInfo(
4233 session: *const HAPI_Session,
4234 material_node_id: HAPI_NodeId,
4235 image_info: *const HAPI_ImageInfo,
4236 ) -> HapiResult;
4237}
4238unsafe extern "C" {
4239 pub fn HAPI_GetImagePlaneCount(
4240 session: *const HAPI_Session,
4241 material_node_id: HAPI_NodeId,
4242 image_plane_count: *mut ::std::os::raw::c_int,
4243 ) -> HapiResult;
4244}
4245unsafe extern "C" {
4246 pub fn HAPI_GetImagePlanes(
4247 session: *const HAPI_Session,
4248 material_node_id: HAPI_NodeId,
4249 image_planes_array: *mut HAPI_StringHandle,
4250 image_plane_count: ::std::os::raw::c_int,
4251 ) -> HapiResult;
4252}
4253unsafe extern "C" {
4254 pub fn HAPI_ExtractImageToFile(
4255 session: *const HAPI_Session,
4256 material_node_id: HAPI_NodeId,
4257 image_file_format_name: *const ::std::os::raw::c_char,
4258 image_planes: *const ::std::os::raw::c_char,
4259 destination_folder_path: *const ::std::os::raw::c_char,
4260 destination_file_name: *const ::std::os::raw::c_char,
4261 destination_file_path: *mut ::std::os::raw::c_int,
4262 ) -> HapiResult;
4263}
4264unsafe extern "C" {
4265 pub fn HAPI_GetImageFilePath(
4266 session: *const HAPI_Session,
4267 material_node_id: HAPI_NodeId,
4268 image_file_format_name: *const ::std::os::raw::c_char,
4269 image_planes: *const ::std::os::raw::c_char,
4270 destination_folder_path: *const ::std::os::raw::c_char,
4271 destination_file_name: *const ::std::os::raw::c_char,
4272 texture_parm_id: HAPI_ParmId,
4273 destination_file_path: *mut ::std::os::raw::c_int,
4274 ) -> HapiResult;
4275}
4276unsafe extern "C" {
4277 pub fn HAPI_ExtractImageToMemory(
4278 session: *const HAPI_Session,
4279 material_node_id: HAPI_NodeId,
4280 image_file_format_name: *const ::std::os::raw::c_char,
4281 image_planes: *const ::std::os::raw::c_char,
4282 buffer_size: *mut ::std::os::raw::c_int,
4283 ) -> HapiResult;
4284}
4285unsafe extern "C" {
4286 pub fn HAPI_GetImageMemoryBuffer(
4287 session: *const HAPI_Session,
4288 material_node_id: HAPI_NodeId,
4289 buffer: *mut ::std::os::raw::c_char,
4290 length: ::std::os::raw::c_int,
4291 ) -> HapiResult;
4292}
4293unsafe extern "C" {
4294 pub fn HAPI_GetSupportedImageFileFormatCount(
4295 session: *const HAPI_Session,
4296 file_format_count: *mut ::std::os::raw::c_int,
4297 ) -> HapiResult;
4298}
4299unsafe extern "C" {
4300 pub fn HAPI_GetSupportedImageFileFormats(
4301 session: *const HAPI_Session,
4302 formats_array: *mut HAPI_ImageFileFormat,
4303 file_format_count: ::std::os::raw::c_int,
4304 ) -> HapiResult;
4305}
4306unsafe extern "C" {
4307 pub fn HAPI_SetAnimCurve(
4308 session: *const HAPI_Session,
4309 node_id: HAPI_NodeId,
4310 parm_id: HAPI_ParmId,
4311 parm_index: ::std::os::raw::c_int,
4312 curve_keyframes_array: *const HAPI_Keyframe,
4313 keyframe_count: ::std::os::raw::c_int,
4314 ) -> HapiResult;
4315}
4316unsafe extern "C" {
4317 pub fn HAPI_SetTransformAnimCurve(
4318 session: *const HAPI_Session,
4319 node_id: HAPI_NodeId,
4320 trans_comp: TransformComponent,
4321 curve_keyframes_array: *const HAPI_Keyframe,
4322 keyframe_count: ::std::os::raw::c_int,
4323 ) -> HapiResult;
4324}
4325unsafe extern "C" {
4326 pub fn HAPI_ResetSimulation(session: *const HAPI_Session, node_id: HAPI_NodeId) -> HapiResult;
4327}
4328unsafe extern "C" {
4329 pub fn HAPI_GetVolumeInfo(
4330 session: *const HAPI_Session,
4331 node_id: HAPI_NodeId,
4332 part_id: HAPI_PartId,
4333 volume_info: *mut HAPI_VolumeInfo,
4334 ) -> HapiResult;
4335}
4336unsafe extern "C" {
4337 pub fn HAPI_GetFirstVolumeTile(
4338 session: *const HAPI_Session,
4339 node_id: HAPI_NodeId,
4340 part_id: HAPI_PartId,
4341 tile: *mut HAPI_VolumeTileInfo,
4342 ) -> HapiResult;
4343}
4344unsafe extern "C" {
4345 pub fn HAPI_GetNextVolumeTile(
4346 session: *const HAPI_Session,
4347 node_id: HAPI_NodeId,
4348 part_id: HAPI_PartId,
4349 tile: *mut HAPI_VolumeTileInfo,
4350 ) -> HapiResult;
4351}
4352unsafe extern "C" {
4353 pub fn HAPI_GetVolumeVoxelFloatData(
4354 session: *const HAPI_Session,
4355 node_id: HAPI_NodeId,
4356 part_id: HAPI_PartId,
4357 x_index: ::std::os::raw::c_int,
4358 y_index: ::std::os::raw::c_int,
4359 z_index: ::std::os::raw::c_int,
4360 values_array: *mut f32,
4361 value_count: ::std::os::raw::c_int,
4362 ) -> HapiResult;
4363}
4364unsafe extern "C" {
4365 pub fn HAPI_GetVolumeTileFloatData(
4366 session: *const HAPI_Session,
4367 node_id: HAPI_NodeId,
4368 part_id: HAPI_PartId,
4369 fill_value: f32,
4370 tile: *const HAPI_VolumeTileInfo,
4371 values_array: *mut f32,
4372 length: ::std::os::raw::c_int,
4373 ) -> HapiResult;
4374}
4375unsafe extern "C" {
4376 pub fn HAPI_GetVolumeVoxelIntData(
4377 session: *const HAPI_Session,
4378 node_id: HAPI_NodeId,
4379 part_id: HAPI_PartId,
4380 x_index: ::std::os::raw::c_int,
4381 y_index: ::std::os::raw::c_int,
4382 z_index: ::std::os::raw::c_int,
4383 values_array: *mut ::std::os::raw::c_int,
4384 value_count: ::std::os::raw::c_int,
4385 ) -> HapiResult;
4386}
4387unsafe extern "C" {
4388 pub fn HAPI_GetVolumeTileIntData(
4389 session: *const HAPI_Session,
4390 node_id: HAPI_NodeId,
4391 part_id: HAPI_PartId,
4392 fill_value: ::std::os::raw::c_int,
4393 tile: *const HAPI_VolumeTileInfo,
4394 values_array: *mut ::std::os::raw::c_int,
4395 length: ::std::os::raw::c_int,
4396 ) -> HapiResult;
4397}
4398unsafe extern "C" {
4399 pub fn HAPI_GetHeightFieldData(
4400 session: *const HAPI_Session,
4401 node_id: HAPI_NodeId,
4402 part_id: HAPI_PartId,
4403 values_array: *mut f32,
4404 start: ::std::os::raw::c_int,
4405 length: ::std::os::raw::c_int,
4406 ) -> HapiResult;
4407}
4408unsafe extern "C" {
4409 pub fn HAPI_SetVolumeInfo(
4410 session: *const HAPI_Session,
4411 node_id: HAPI_NodeId,
4412 part_id: HAPI_PartId,
4413 volume_info: *const HAPI_VolumeInfo,
4414 ) -> HapiResult;
4415}
4416unsafe extern "C" {
4417 pub fn HAPI_SetVolumeTileFloatData(
4418 session: *const HAPI_Session,
4419 node_id: HAPI_NodeId,
4420 part_id: HAPI_PartId,
4421 tile: *const HAPI_VolumeTileInfo,
4422 values_array: *const f32,
4423 length: ::std::os::raw::c_int,
4424 ) -> HapiResult;
4425}
4426unsafe extern "C" {
4427 pub fn HAPI_SetVolumeTileIntData(
4428 session: *const HAPI_Session,
4429 node_id: HAPI_NodeId,
4430 part_id: HAPI_PartId,
4431 tile: *const HAPI_VolumeTileInfo,
4432 values_array: *const ::std::os::raw::c_int,
4433 length: ::std::os::raw::c_int,
4434 ) -> HapiResult;
4435}
4436unsafe extern "C" {
4437 pub fn HAPI_SetVolumeVoxelFloatData(
4438 session: *const HAPI_Session,
4439 node_id: HAPI_NodeId,
4440 part_id: HAPI_PartId,
4441 x_index: ::std::os::raw::c_int,
4442 y_index: ::std::os::raw::c_int,
4443 z_index: ::std::os::raw::c_int,
4444 values_array: *const f32,
4445 value_count: ::std::os::raw::c_int,
4446 ) -> HapiResult;
4447}
4448unsafe extern "C" {
4449 pub fn HAPI_SetVolumeVoxelIntData(
4450 session: *const HAPI_Session,
4451 node_id: HAPI_NodeId,
4452 part_id: HAPI_PartId,
4453 x_index: ::std::os::raw::c_int,
4454 y_index: ::std::os::raw::c_int,
4455 z_index: ::std::os::raw::c_int,
4456 values_array: *const ::std::os::raw::c_int,
4457 value_count: ::std::os::raw::c_int,
4458 ) -> HapiResult;
4459}
4460unsafe extern "C" {
4461 pub fn HAPI_GetVolumeBounds(
4462 session: *const HAPI_Session,
4463 node_id: HAPI_NodeId,
4464 part_id: HAPI_PartId,
4465 x_min: *mut f32,
4466 y_min: *mut f32,
4467 z_min: *mut f32,
4468 x_max: *mut f32,
4469 y_max: *mut f32,
4470 z_max: *mut f32,
4471 x_center: *mut f32,
4472 y_center: *mut f32,
4473 z_center: *mut f32,
4474 ) -> HapiResult;
4475}
4476unsafe extern "C" {
4477 pub fn HAPI_SetHeightFieldData(
4478 session: *const HAPI_Session,
4479 node_id: HAPI_NodeId,
4480 part_id: HAPI_PartId,
4481 name: *const ::std::os::raw::c_char,
4482 values_array: *const f32,
4483 start: ::std::os::raw::c_int,
4484 length: ::std::os::raw::c_int,
4485 ) -> HapiResult;
4486}
4487unsafe extern "C" {
4488 pub fn HAPI_GetVolumeVisualInfo(
4489 session: *const HAPI_Session,
4490 node_id: HAPI_NodeId,
4491 part_id: HAPI_PartId,
4492 visual_info: *mut HAPI_VolumeVisualInfo,
4493 ) -> HapiResult;
4494}
4495unsafe extern "C" {
4496 pub fn HAPI_GetCurveInfo(
4497 session: *const HAPI_Session,
4498 node_id: HAPI_NodeId,
4499 part_id: HAPI_PartId,
4500 info: *mut HAPI_CurveInfo,
4501 ) -> HapiResult;
4502}
4503unsafe extern "C" {
4504 pub fn HAPI_GetCurveCounts(
4505 session: *const HAPI_Session,
4506 node_id: HAPI_NodeId,
4507 part_id: HAPI_PartId,
4508 counts_array: *mut ::std::os::raw::c_int,
4509 start: ::std::os::raw::c_int,
4510 length: ::std::os::raw::c_int,
4511 ) -> HapiResult;
4512}
4513unsafe extern "C" {
4514 pub fn HAPI_GetCurveOrders(
4515 session: *const HAPI_Session,
4516 node_id: HAPI_NodeId,
4517 part_id: HAPI_PartId,
4518 orders_array: *mut ::std::os::raw::c_int,
4519 start: ::std::os::raw::c_int,
4520 length: ::std::os::raw::c_int,
4521 ) -> HapiResult;
4522}
4523unsafe extern "C" {
4524 pub fn HAPI_GetCurveKnots(
4525 session: *const HAPI_Session,
4526 node_id: HAPI_NodeId,
4527 part_id: HAPI_PartId,
4528 knots_array: *mut f32,
4529 start: ::std::os::raw::c_int,
4530 length: ::std::os::raw::c_int,
4531 ) -> HapiResult;
4532}
4533unsafe extern "C" {
4534 pub fn HAPI_SetCurveInfo(
4535 session: *const HAPI_Session,
4536 node_id: HAPI_NodeId,
4537 part_id: HAPI_PartId,
4538 info: *const HAPI_CurveInfo,
4539 ) -> HapiResult;
4540}
4541unsafe extern "C" {
4542 pub fn HAPI_SetCurveCounts(
4543 session: *const HAPI_Session,
4544 node_id: HAPI_NodeId,
4545 part_id: HAPI_PartId,
4546 counts_array: *const ::std::os::raw::c_int,
4547 start: ::std::os::raw::c_int,
4548 length: ::std::os::raw::c_int,
4549 ) -> HapiResult;
4550}
4551unsafe extern "C" {
4552 pub fn HAPI_SetCurveOrders(
4553 session: *const HAPI_Session,
4554 node_id: HAPI_NodeId,
4555 part_id: HAPI_PartId,
4556 orders_array: *const ::std::os::raw::c_int,
4557 start: ::std::os::raw::c_int,
4558 length: ::std::os::raw::c_int,
4559 ) -> HapiResult;
4560}
4561unsafe extern "C" {
4562 pub fn HAPI_SetCurveKnots(
4563 session: *const HAPI_Session,
4564 node_id: HAPI_NodeId,
4565 part_id: HAPI_PartId,
4566 knots_array: *const f32,
4567 start: ::std::os::raw::c_int,
4568 length: ::std::os::raw::c_int,
4569 ) -> HapiResult;
4570}
4571unsafe extern "C" {
4572 pub fn HAPI_GetInputCurveInfo(
4573 session: *const HAPI_Session,
4574 node_id: HAPI_NodeId,
4575 part_id: HAPI_PartId,
4576 info: *mut HAPI_InputCurveInfo,
4577 ) -> HapiResult;
4578}
4579unsafe extern "C" {
4580 pub fn HAPI_SetInputCurveInfo(
4581 session: *const HAPI_Session,
4582 node_id: HAPI_NodeId,
4583 part_id: HAPI_PartId,
4584 info: *const HAPI_InputCurveInfo,
4585 ) -> HapiResult;
4586}
4587unsafe extern "C" {
4588 pub fn HAPI_SetInputCurvePositions(
4589 session: *const HAPI_Session,
4590 node_id: HAPI_NodeId,
4591 part_id: HAPI_PartId,
4592 positions_array: *const f32,
4593 start: ::std::os::raw::c_int,
4594 length: ::std::os::raw::c_int,
4595 ) -> HapiResult;
4596}
4597unsafe extern "C" {
4598 pub fn HAPI_SetInputCurvePositionsRotationsScales(
4599 session: *const HAPI_Session,
4600 node_id: HAPI_NodeId,
4601 part_id: HAPI_PartId,
4602 positions_array: *const f32,
4603 positions_start: ::std::os::raw::c_int,
4604 positions_length: ::std::os::raw::c_int,
4605 rotations_array: *const f32,
4606 rotations_start: ::std::os::raw::c_int,
4607 rotations_length: ::std::os::raw::c_int,
4608 scales_array: *const f32,
4609 scales_start: ::std::os::raw::c_int,
4610 scales_length: ::std::os::raw::c_int,
4611 ) -> HapiResult;
4612}
4613unsafe extern "C" {
4614 pub fn HAPI_GetBoxInfo(
4615 session: *const HAPI_Session,
4616 geo_node_id: HAPI_NodeId,
4617 part_id: HAPI_PartId,
4618 box_info: *mut HAPI_BoxInfo,
4619 ) -> HapiResult;
4620}
4621unsafe extern "C" {
4622 pub fn HAPI_GetSphereInfo(
4623 session: *const HAPI_Session,
4624 geo_node_id: HAPI_NodeId,
4625 part_id: HAPI_PartId,
4626 sphere_info: *mut HAPI_SphereInfo,
4627 ) -> HapiResult;
4628}
4629unsafe extern "C" {
4630 pub fn HAPI_GetActiveCacheCount(
4631 session: *const HAPI_Session,
4632 active_cache_count: *mut ::std::os::raw::c_int,
4633 ) -> HapiResult;
4634}
4635unsafe extern "C" {
4636 pub fn HAPI_GetActiveCacheNames(
4637 session: *const HAPI_Session,
4638 cache_names_array: *mut HAPI_StringHandle,
4639 active_cache_count: ::std::os::raw::c_int,
4640 ) -> HapiResult;
4641}
4642unsafe extern "C" {
4643 pub fn HAPI_GetCacheProperty(
4644 session: *const HAPI_Session,
4645 cache_name: *const ::std::os::raw::c_char,
4646 cache_property: CacheProperty,
4647 property_value: *mut ::std::os::raw::c_int,
4648 ) -> HapiResult;
4649}
4650unsafe extern "C" {
4651 pub fn HAPI_SetCacheProperty(
4652 session: *const HAPI_Session,
4653 cache_name: *const ::std::os::raw::c_char,
4654 cache_property: CacheProperty,
4655 property_value: ::std::os::raw::c_int,
4656 ) -> HapiResult;
4657}
4658unsafe extern "C" {
4659 pub fn HAPI_SaveGeoToFile(
4660 session: *const HAPI_Session,
4661 node_id: HAPI_NodeId,
4662 file_name: *const ::std::os::raw::c_char,
4663 ) -> HapiResult;
4664}
4665unsafe extern "C" {
4666 pub fn HAPI_LoadGeoFromFile(
4667 session: *const HAPI_Session,
4668 node_id: HAPI_NodeId,
4669 file_name: *const ::std::os::raw::c_char,
4670 ) -> HapiResult;
4671}
4672unsafe extern "C" {
4673 pub fn HAPI_SaveNodeToFile(
4674 session: *const HAPI_Session,
4675 node_id: HAPI_NodeId,
4676 file_name: *const ::std::os::raw::c_char,
4677 ) -> HapiResult;
4678}
4679unsafe extern "C" {
4680 pub fn HAPI_LoadNodeFromFile(
4681 session: *const HAPI_Session,
4682 file_name: *const ::std::os::raw::c_char,
4683 parent_node_id: HAPI_NodeId,
4684 node_label: *const ::std::os::raw::c_char,
4685 cook_on_load: HAPI_Bool,
4686 new_node_id: *mut HAPI_NodeId,
4687 ) -> HapiResult;
4688}
4689unsafe extern "C" {
4690 pub fn HAPI_GetGeoSize(
4691 session: *const HAPI_Session,
4692 node_id: HAPI_NodeId,
4693 format: *const ::std::os::raw::c_char,
4694 size: *mut ::std::os::raw::c_int,
4695 ) -> HapiResult;
4696}
4697unsafe extern "C" {
4698 pub fn HAPI_SaveGeoToMemory(
4699 session: *const HAPI_Session,
4700 node_id: HAPI_NodeId,
4701 buffer: *mut ::std::os::raw::c_char,
4702 length: ::std::os::raw::c_int,
4703 ) -> HapiResult;
4704}
4705unsafe extern "C" {
4706 pub fn HAPI_LoadGeoFromMemory(
4707 session: *const HAPI_Session,
4708 node_id: HAPI_NodeId,
4709 format: *const ::std::os::raw::c_char,
4710 buffer: *const ::std::os::raw::c_char,
4711 length: ::std::os::raw::c_int,
4712 ) -> HapiResult;
4713}
4714unsafe extern "C" {
4715 pub fn HAPI_SetNodeDisplay(
4716 session: *const HAPI_Session,
4717 node_id: HAPI_NodeId,
4718 onOff: ::std::os::raw::c_int,
4719 ) -> HapiResult;
4720}
4721unsafe extern "C" {
4722 pub fn HAPI_GetTotalCookCount(
4723 session: *const HAPI_Session,
4724 node_id: HAPI_NodeId,
4725 node_type_filter: HAPI_NodeTypeBits,
4726 node_flags_filter: HAPI_NodeFlagsBits,
4727 recursive: HAPI_Bool,
4728 count: *mut ::std::os::raw::c_int,
4729 ) -> HapiResult;
4730}
4731unsafe extern "C" {
4732 pub fn HAPI_SetSessionSync(session: *const HAPI_Session, enable: HAPI_Bool) -> HapiResult;
4733}
4734unsafe extern "C" {
4735 pub fn HAPI_GetViewport(
4736 session: *const HAPI_Session,
4737 viewport: *mut HAPI_Viewport,
4738 ) -> HapiResult;
4739}
4740unsafe extern "C" {
4741 pub fn HAPI_SetViewport(
4742 session: *const HAPI_Session,
4743 viewport: *const HAPI_Viewport,
4744 ) -> HapiResult;
4745}
4746unsafe extern "C" {
4747 pub fn HAPI_GetSessionSyncInfo(
4748 session: *const HAPI_Session,
4749 session_sync_info: *mut HAPI_SessionSyncInfo,
4750 ) -> HapiResult;
4751}
4752unsafe extern "C" {
4753 pub fn HAPI_SetSessionSyncInfo(
4754 session: *const HAPI_Session,
4755 session_sync_info: *const HAPI_SessionSyncInfo,
4756 ) -> HapiResult;
4757}
4758unsafe extern "C" {
4759 pub fn HAPI_GetPDGGraphContexts(
4760 session: *const HAPI_Session,
4761 context_names_array: *mut HAPI_StringHandle,
4762 context_id_array: *mut HAPI_PDG_GraphContextId,
4763 start: ::std::os::raw::c_int,
4764 length: ::std::os::raw::c_int,
4765 ) -> HapiResult;
4766}
4767unsafe extern "C" {
4768 pub fn HAPI_GetPDGGraphContextsCount(
4769 session: *const HAPI_Session,
4770 num_contexts: *mut ::std::os::raw::c_int,
4771 ) -> HapiResult;
4772}
4773unsafe extern "C" {
4774 pub fn HAPI_GetPDGGraphContextId(
4775 session: *const HAPI_Session,
4776 top_node_id: HAPI_NodeId,
4777 context_id: *mut HAPI_PDG_GraphContextId,
4778 ) -> HapiResult;
4779}
4780unsafe extern "C" {
4781 pub fn HAPI_CookPDG(
4782 session: *const HAPI_Session,
4783 cook_node_id: HAPI_NodeId,
4784 generate_only: ::std::os::raw::c_int,
4785 blocking: ::std::os::raw::c_int,
4786 ) -> HapiResult;
4787}
4788unsafe extern "C" {
4789 pub fn HAPI_CookPDGAllOutputs(
4790 session: *const HAPI_Session,
4791 cook_node_id: HAPI_NodeId,
4792 generate_only: ::std::os::raw::c_int,
4793 blocking: ::std::os::raw::c_int,
4794 ) -> HapiResult;
4795}
4796unsafe extern "C" {
4797 pub fn HAPI_GetPDGEvents(
4798 session: *const HAPI_Session,
4799 graph_context_id: HAPI_PDG_GraphContextId,
4800 event_array: *mut HAPI_PDG_EventInfo,
4801 length: ::std::os::raw::c_int,
4802 event_count: *mut ::std::os::raw::c_int,
4803 remaining_events: *mut ::std::os::raw::c_int,
4804 ) -> HapiResult;
4805}
4806unsafe extern "C" {
4807 pub fn HAPI_GetPDGState(
4808 session: *const HAPI_Session,
4809 graph_context_id: HAPI_PDG_GraphContextId,
4810 pdg_state: *mut ::std::os::raw::c_int,
4811 ) -> HapiResult;
4812}
4813unsafe extern "C" {
4814 pub fn HAPI_CreateWorkitem(
4815 session: *const HAPI_Session,
4816 node_id: HAPI_NodeId,
4817 workitem_id: *mut HAPI_PDG_WorkItemId,
4818 name: *const ::std::os::raw::c_char,
4819 index: ::std::os::raw::c_int,
4820 ) -> HapiResult;
4821}
4822unsafe extern "C" {
4823 pub fn HAPI_GetWorkitemInfo(
4824 session: *const HAPI_Session,
4825 graph_context_id: HAPI_PDG_GraphContextId,
4826 workitem_id: HAPI_PDG_WorkItemId,
4827 workitem_info: *mut HAPI_PDG_WorkItemInfo,
4828 ) -> HapiResult;
4829}
4830unsafe extern "C" {
4831 pub fn HAPI_SetWorkitemIntData(
4832 session: *const HAPI_Session,
4833 node_id: HAPI_NodeId,
4834 workitem_id: HAPI_PDG_WorkItemId,
4835 data_name: *const ::std::os::raw::c_char,
4836 values_array: *const ::std::os::raw::c_int,
4837 length: ::std::os::raw::c_int,
4838 ) -> HapiResult;
4839}
4840unsafe extern "C" {
4841 pub fn HAPI_SetWorkitemFloatData(
4842 session: *const HAPI_Session,
4843 node_id: HAPI_NodeId,
4844 workitem_id: HAPI_PDG_WorkItemId,
4845 data_name: *const ::std::os::raw::c_char,
4846 values_array: *const f32,
4847 length: ::std::os::raw::c_int,
4848 ) -> HapiResult;
4849}
4850unsafe extern "C" {
4851 pub fn HAPI_SetWorkitemStringData(
4852 session: *const HAPI_Session,
4853 node_id: HAPI_NodeId,
4854 workitem_id: HAPI_PDG_WorkItemId,
4855 data_name: *const ::std::os::raw::c_char,
4856 data_index: ::std::os::raw::c_int,
4857 value: *const ::std::os::raw::c_char,
4858 ) -> HapiResult;
4859}
4860unsafe extern "C" {
4861 pub fn HAPI_CommitWorkitems(session: *const HAPI_Session, node_id: HAPI_NodeId) -> HapiResult;
4862}
4863unsafe extern "C" {
4864 pub fn HAPI_GetNumWorkitems(
4865 session: *const HAPI_Session,
4866 node_id: HAPI_NodeId,
4867 num: *mut ::std::os::raw::c_int,
4868 ) -> HapiResult;
4869}
4870unsafe extern "C" {
4871 pub fn HAPI_GetWorkitems(
4872 session: *const HAPI_Session,
4873 node_id: HAPI_NodeId,
4874 workitem_ids_array: *mut ::std::os::raw::c_int,
4875 length: ::std::os::raw::c_int,
4876 ) -> HapiResult;
4877}
4878unsafe extern "C" {
4879 pub fn HAPI_GetWorkitemDataLength(
4880 session: *const HAPI_Session,
4881 node_id: HAPI_NodeId,
4882 workitem_id: HAPI_PDG_WorkItemId,
4883 data_name: *const ::std::os::raw::c_char,
4884 length: *mut ::std::os::raw::c_int,
4885 ) -> HapiResult;
4886}
4887unsafe extern "C" {
4888 pub fn HAPI_GetWorkitemIntData(
4889 session: *const HAPI_Session,
4890 node_id: HAPI_NodeId,
4891 workitem_id: HAPI_PDG_WorkItemId,
4892 data_name: *const ::std::os::raw::c_char,
4893 data_array: *mut ::std::os::raw::c_int,
4894 length: ::std::os::raw::c_int,
4895 ) -> HapiResult;
4896}
4897unsafe extern "C" {
4898 pub fn HAPI_GetWorkitemFloatData(
4899 session: *const HAPI_Session,
4900 node_id: HAPI_NodeId,
4901 workitem_id: HAPI_PDG_WorkItemId,
4902 data_name: *const ::std::os::raw::c_char,
4903 data_array: *mut f32,
4904 length: ::std::os::raw::c_int,
4905 ) -> HapiResult;
4906}
4907unsafe extern "C" {
4908 pub fn HAPI_GetWorkitemStringData(
4909 session: *const HAPI_Session,
4910 node_id: HAPI_NodeId,
4911 workitem_id: HAPI_PDG_WorkItemId,
4912 data_name: *const ::std::os::raw::c_char,
4913 data_array: *mut HAPI_StringHandle,
4914 length: ::std::os::raw::c_int,
4915 ) -> HapiResult;
4916}
4917unsafe extern "C" {
4918 pub fn HAPI_GetWorkitemResultInfo(
4919 session: *const HAPI_Session,
4920 node_id: HAPI_NodeId,
4921 workitem_id: HAPI_PDG_WorkItemId,
4922 resultinfo_array: *mut HAPI_PDG_WorkItemOutputFile,
4923 resultinfo_count: ::std::os::raw::c_int,
4924 ) -> HapiResult;
4925}
4926unsafe extern "C" {
4927 pub fn HAPI_CreateWorkItem(
4928 session: *const HAPI_Session,
4929 node_id: HAPI_NodeId,
4930 work_item_id: *mut HAPI_PDG_WorkItemId,
4931 name: *const ::std::os::raw::c_char,
4932 index: ::std::os::raw::c_int,
4933 ) -> HapiResult;
4934}
4935unsafe extern "C" {
4936 pub fn HAPI_GetWorkItemInfo(
4937 session: *const HAPI_Session,
4938 graph_context_id: HAPI_PDG_GraphContextId,
4939 work_item_id: HAPI_PDG_WorkItemId,
4940 work_item_info: *mut HAPI_PDG_WorkItemInfo,
4941 ) -> HapiResult;
4942}
4943unsafe extern "C" {
4944 pub fn HAPI_SetWorkItemIntAttribute(
4945 session: *const HAPI_Session,
4946 node_id: HAPI_NodeId,
4947 work_item_id: HAPI_PDG_WorkItemId,
4948 attribute_name: *const ::std::os::raw::c_char,
4949 values_array: *const ::std::os::raw::c_int,
4950 length: ::std::os::raw::c_int,
4951 ) -> HapiResult;
4952}
4953unsafe extern "C" {
4954 pub fn HAPI_SetWorkItemFloatAttribute(
4955 session: *const HAPI_Session,
4956 node_id: HAPI_NodeId,
4957 work_item_id: HAPI_PDG_WorkItemId,
4958 attribute_name: *const ::std::os::raw::c_char,
4959 values_array: *const f32,
4960 length: ::std::os::raw::c_int,
4961 ) -> HapiResult;
4962}
4963unsafe extern "C" {
4964 pub fn HAPI_SetWorkItemStringAttribute(
4965 session: *const HAPI_Session,
4966 node_id: HAPI_NodeId,
4967 work_item_id: HAPI_PDG_WorkItemId,
4968 attribute_name: *const ::std::os::raw::c_char,
4969 data_index: ::std::os::raw::c_int,
4970 value: *const ::std::os::raw::c_char,
4971 ) -> HapiResult;
4972}
4973unsafe extern "C" {
4974 pub fn HAPI_CommitWorkItems(session: *const HAPI_Session, node_id: HAPI_NodeId) -> HapiResult;
4975}
4976unsafe extern "C" {
4977 pub fn HAPI_GetNumWorkItems(
4978 session: *const HAPI_Session,
4979 node_id: HAPI_NodeId,
4980 num: *mut ::std::os::raw::c_int,
4981 ) -> HapiResult;
4982}
4983unsafe extern "C" {
4984 pub fn HAPI_GetWorkItems(
4985 session: *const HAPI_Session,
4986 node_id: HAPI_NodeId,
4987 work_item_ids_array: *mut ::std::os::raw::c_int,
4988 length: ::std::os::raw::c_int,
4989 ) -> HapiResult;
4990}
4991unsafe extern "C" {
4992 pub fn HAPI_GetWorkItemAttributeSize(
4993 session: *const HAPI_Session,
4994 node_id: HAPI_NodeId,
4995 work_item_id: HAPI_PDG_WorkItemId,
4996 attribute_name: *const ::std::os::raw::c_char,
4997 length: *mut ::std::os::raw::c_int,
4998 ) -> HapiResult;
4999}
5000unsafe extern "C" {
5001 pub fn HAPI_GetWorkItemIntAttribute(
5002 session: *const HAPI_Session,
5003 node_id: HAPI_NodeId,
5004 work_item_id: HAPI_PDG_WorkItemId,
5005 attribute_name: *const ::std::os::raw::c_char,
5006 data_array: *mut ::std::os::raw::c_int,
5007 length: ::std::os::raw::c_int,
5008 ) -> HapiResult;
5009}
5010unsafe extern "C" {
5011 pub fn HAPI_GetWorkItemFloatAttribute(
5012 session: *const HAPI_Session,
5013 node_id: HAPI_NodeId,
5014 work_item_id: HAPI_PDG_WorkItemId,
5015 attribute_name: *const ::std::os::raw::c_char,
5016 data_array: *mut f32,
5017 length: ::std::os::raw::c_int,
5018 ) -> HapiResult;
5019}
5020unsafe extern "C" {
5021 pub fn HAPI_GetWorkItemStringAttribute(
5022 session: *const HAPI_Session,
5023 node_id: HAPI_NodeId,
5024 work_item_id: HAPI_PDG_WorkItemId,
5025 attribute_name: *const ::std::os::raw::c_char,
5026 data_array: *mut HAPI_StringHandle,
5027 length: ::std::os::raw::c_int,
5028 ) -> HapiResult;
5029}
5030unsafe extern "C" {
5031 pub fn HAPI_GetWorkItemOutputFiles(
5032 session: *const HAPI_Session,
5033 node_id: HAPI_NodeId,
5034 work_item_id: HAPI_PDG_WorkItemId,
5035 resultinfo_array: *mut HAPI_PDG_WorkItemOutputFile,
5036 resultinfo_count: ::std::os::raw::c_int,
5037 ) -> HapiResult;
5038}
5039unsafe extern "C" {
5040 pub fn HAPI_DirtyPDGNode(
5041 session: *const HAPI_Session,
5042 node_id: HAPI_NodeId,
5043 clean_results: HAPI_Bool,
5044 ) -> HapiResult;
5045}
5046unsafe extern "C" {
5047 pub fn HAPI_PausePDGCook(
5048 session: *const HAPI_Session,
5049 graph_context_id: HAPI_PDG_GraphContextId,
5050 ) -> HapiResult;
5051}
5052unsafe extern "C" {
5053 pub fn HAPI_CancelPDGCook(
5054 session: *const HAPI_Session,
5055 graph_context_id: HAPI_PDG_GraphContextId,
5056 ) -> HapiResult;
5057}