Skip to main content

hapi_rs/ffi/
bindings.rs

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