diff --git a/Source/HoudiniEngineRuntime/Private/HoudiniApi.cpp b/Source/HoudiniEngineRuntime/Private/HoudiniApi.cpp index be5a9301c1..8fe2aecb96 100644 --- a/Source/HoudiniEngineRuntime/Private/HoudiniApi.cpp +++ b/Source/HoudiniEngineRuntime/Private/HoudiniApi.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) <2019> Side Effects Software Inc. * + * Copyright (c) <2020> Side Effects Software Inc. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights @@ -57,6 +57,9 @@ FHoudiniApi::CheckForSpecificErrors = &FHoudiniApi::CheckForSpecificErrorsEmptyS FHoudiniApi::CleanupFuncPtr FHoudiniApi::Cleanup = &FHoudiniApi::CleanupEmptyStub; +FHoudiniApi::ClearConnectionErrorFuncPtr +FHoudiniApi::ClearConnectionError = &FHoudiniApi::ClearConnectionErrorEmptyStub; + FHoudiniApi::CloseSessionFuncPtr FHoudiniApi::CloseSession = &FHoudiniApi::CloseSessionEmptyStub; @@ -111,8 +114,8 @@ FHoudiniApi::CookPDG = &FHoudiniApi::CookPDGEmptyStub; FHoudiniApi::CreateCustomSessionFuncPtr FHoudiniApi::CreateCustomSession = &FHoudiniApi::CreateCustomSessionEmptyStub; -FHoudiniApi::CreateHeightfieldInputNodeFuncPtr -FHoudiniApi::CreateHeightfieldInputNode = &FHoudiniApi::CreateHeightfieldInputNodeEmptyStub; +FHoudiniApi::CreateHeightFieldInputFuncPtr +FHoudiniApi::CreateHeightFieldInput = &FHoudiniApi::CreateHeightFieldInputEmptyStub; FHoudiniApi::CreateHeightfieldInputVolumeNodeFuncPtr FHoudiniApi::CreateHeightfieldInputVolumeNode = &FHoudiniApi::CreateHeightfieldInputVolumeNodeEmptyStub; @@ -180,27 +183,51 @@ FHoudiniApi::GetActiveCacheCount = &FHoudiniApi::GetActiveCacheCountEmptyStub; FHoudiniApi::GetActiveCacheNamesFuncPtr FHoudiniApi::GetActiveCacheNames = &FHoudiniApi::GetActiveCacheNamesEmptyStub; +FHoudiniApi::GetAssetDefinitionParmCountsFuncPtr +FHoudiniApi::GetAssetDefinitionParmCounts = &FHoudiniApi::GetAssetDefinitionParmCountsEmptyStub; + +FHoudiniApi::GetAssetDefinitionParmInfosFuncPtr +FHoudiniApi::GetAssetDefinitionParmInfos = &FHoudiniApi::GetAssetDefinitionParmInfosEmptyStub; + +FHoudiniApi::GetAssetDefinitionParmValuesFuncPtr +FHoudiniApi::GetAssetDefinitionParmValues = &FHoudiniApi::GetAssetDefinitionParmValuesEmptyStub; + FHoudiniApi::GetAssetInfoFuncPtr FHoudiniApi::GetAssetInfo = &FHoudiniApi::GetAssetInfoEmptyStub; +FHoudiniApi::GetAttributeFloat64ArrayDataFuncPtr +FHoudiniApi::GetAttributeFloat64ArrayData = &FHoudiniApi::GetAttributeFloat64ArrayDataEmptyStub; + FHoudiniApi::GetAttributeFloat64DataFuncPtr FHoudiniApi::GetAttributeFloat64Data = &FHoudiniApi::GetAttributeFloat64DataEmptyStub; +FHoudiniApi::GetAttributeFloatArrayDataFuncPtr +FHoudiniApi::GetAttributeFloatArrayData = &FHoudiniApi::GetAttributeFloatArrayDataEmptyStub; + FHoudiniApi::GetAttributeFloatDataFuncPtr FHoudiniApi::GetAttributeFloatData = &FHoudiniApi::GetAttributeFloatDataEmptyStub; FHoudiniApi::GetAttributeInfoFuncPtr FHoudiniApi::GetAttributeInfo = &FHoudiniApi::GetAttributeInfoEmptyStub; +FHoudiniApi::GetAttributeInt64ArrayDataFuncPtr +FHoudiniApi::GetAttributeInt64ArrayData = &FHoudiniApi::GetAttributeInt64ArrayDataEmptyStub; + FHoudiniApi::GetAttributeInt64DataFuncPtr FHoudiniApi::GetAttributeInt64Data = &FHoudiniApi::GetAttributeInt64DataEmptyStub; +FHoudiniApi::GetAttributeIntArrayDataFuncPtr +FHoudiniApi::GetAttributeIntArrayData = &FHoudiniApi::GetAttributeIntArrayDataEmptyStub; + FHoudiniApi::GetAttributeIntDataFuncPtr FHoudiniApi::GetAttributeIntData = &FHoudiniApi::GetAttributeIntDataEmptyStub; FHoudiniApi::GetAttributeNamesFuncPtr FHoudiniApi::GetAttributeNames = &FHoudiniApi::GetAttributeNamesEmptyStub; +FHoudiniApi::GetAttributeStringArrayDataFuncPtr +FHoudiniApi::GetAttributeStringArrayData = &FHoudiniApi::GetAttributeStringArrayDataEmptyStub; + FHoudiniApi::GetAttributeStringDataFuncPtr FHoudiniApi::GetAttributeStringData = &FHoudiniApi::GetAttributeStringDataEmptyStub; @@ -228,6 +255,12 @@ FHoudiniApi::GetComposedObjectList = &FHoudiniApi::GetComposedObjectListEmptyStu FHoudiniApi::GetComposedObjectTransformsFuncPtr FHoudiniApi::GetComposedObjectTransforms = &FHoudiniApi::GetComposedObjectTransformsEmptyStub; +FHoudiniApi::GetConnectionErrorFuncPtr +FHoudiniApi::GetConnectionError = &FHoudiniApi::GetConnectionErrorEmptyStub; + +FHoudiniApi::GetConnectionErrorLengthFuncPtr +FHoudiniApi::GetConnectionErrorLength = &FHoudiniApi::GetConnectionErrorLengthEmptyStub; + FHoudiniApi::GetCookingCurrentCountFuncPtr FHoudiniApi::GetCookingCurrentCount = &FHoudiniApi::GetCookingCurrentCountEmptyStub; @@ -279,6 +312,12 @@ FHoudiniApi::GetGroupNames = &FHoudiniApi::GetGroupNamesEmptyStub; FHoudiniApi::GetGroupNamesOnPackedInstancePartFuncPtr FHoudiniApi::GetGroupNamesOnPackedInstancePart = &FHoudiniApi::GetGroupNamesOnPackedInstancePartEmptyStub; +FHoudiniApi::GetHIPFileNodeCountFuncPtr +FHoudiniApi::GetHIPFileNodeCount = &FHoudiniApi::GetHIPFileNodeCountEmptyStub; + +FHoudiniApi::GetHIPFileNodeIdsFuncPtr +FHoudiniApi::GetHIPFileNodeIds = &FHoudiniApi::GetHIPFileNodeIdsEmptyStub; + FHoudiniApi::GetHandleBindingInfoFuncPtr FHoudiniApi::GetHandleBindingInfo = &FHoudiniApi::GetHandleBindingInfoEmptyStub; @@ -348,6 +387,9 @@ FHoudiniApi::GetObjectInfo = &FHoudiniApi::GetObjectInfoEmptyStub; FHoudiniApi::GetObjectTransformFuncPtr FHoudiniApi::GetObjectTransform = &FHoudiniApi::GetObjectTransformEmptyStub; +FHoudiniApi::GetOutputNodeIdFuncPtr +FHoudiniApi::GetOutputNodeId = &FHoudiniApi::GetOutputNodeIdEmptyStub; + FHoudiniApi::GetPDGEventsFuncPtr FHoudiniApi::GetPDGEvents = &FHoudiniApi::GetPDGEventsEmptyStub; @@ -435,6 +477,9 @@ FHoudiniApi::GetServerEnvVarList = &FHoudiniApi::GetServerEnvVarListEmptyStub; FHoudiniApi::GetSessionEnvIntFuncPtr FHoudiniApi::GetSessionEnvInt = &FHoudiniApi::GetSessionEnvIntEmptyStub; +FHoudiniApi::GetSessionSyncInfoFuncPtr +FHoudiniApi::GetSessionSyncInfo = &FHoudiniApi::GetSessionSyncInfoEmptyStub; + FHoudiniApi::GetSphereInfoFuncPtr FHoudiniApi::GetSphereInfo = &FHoudiniApi::GetSphereInfoEmptyStub; @@ -471,9 +516,18 @@ FHoudiniApi::GetTime = &FHoudiniApi::GetTimeEmptyStub; FHoudiniApi::GetTimelineOptionsFuncPtr FHoudiniApi::GetTimelineOptions = &FHoudiniApi::GetTimelineOptionsEmptyStub; +FHoudiniApi::GetTotalCookCountFuncPtr +FHoudiniApi::GetTotalCookCount = &FHoudiniApi::GetTotalCookCountEmptyStub; + +FHoudiniApi::GetUseHoudiniTimeFuncPtr +FHoudiniApi::GetUseHoudiniTime = &FHoudiniApi::GetUseHoudiniTimeEmptyStub; + FHoudiniApi::GetVertexListFuncPtr FHoudiniApi::GetVertexList = &FHoudiniApi::GetVertexListEmptyStub; +FHoudiniApi::GetViewportFuncPtr +FHoudiniApi::GetViewport = &FHoudiniApi::GetViewportEmptyStub; + FHoudiniApi::GetVolumeBoundsFuncPtr FHoudiniApi::GetVolumeBounds = &FHoudiniApi::GetVolumeBoundsEmptyStub; @@ -576,12 +630,18 @@ FHoudiniApi::LoadGeoFromMemory = &FHoudiniApi::LoadGeoFromMemoryEmptyStub; FHoudiniApi::LoadHIPFileFuncPtr FHoudiniApi::LoadHIPFile = &FHoudiniApi::LoadHIPFileEmptyStub; +FHoudiniApi::LoadNodeFromFileFuncPtr +FHoudiniApi::LoadNodeFromFile = &FHoudiniApi::LoadNodeFromFileEmptyStub; + FHoudiniApi::MaterialInfo_CreateFuncPtr FHoudiniApi::MaterialInfo_Create = &FHoudiniApi::MaterialInfo_CreateEmptyStub; FHoudiniApi::MaterialInfo_InitFuncPtr FHoudiniApi::MaterialInfo_Init = &FHoudiniApi::MaterialInfo_InitEmptyStub; +FHoudiniApi::MergeHIPFileFuncPtr +FHoudiniApi::MergeHIPFile = &FHoudiniApi::MergeHIPFileEmptyStub; + FHoudiniApi::NodeInfo_CreateFuncPtr FHoudiniApi::NodeInfo_Create = &FHoudiniApi::NodeInfo_CreateEmptyStub; @@ -708,6 +768,12 @@ FHoudiniApi::SaveGeoToMemory = &FHoudiniApi::SaveGeoToMemoryEmptyStub; FHoudiniApi::SaveHIPFileFuncPtr FHoudiniApi::SaveHIPFile = &FHoudiniApi::SaveHIPFileEmptyStub; +FHoudiniApi::SaveNodeToFileFuncPtr +FHoudiniApi::SaveNodeToFile = &FHoudiniApi::SaveNodeToFileEmptyStub; + +FHoudiniApi::SessionSyncInfo_CreateFuncPtr +FHoudiniApi::SessionSyncInfo_Create = &FHoudiniApi::SessionSyncInfo_CreateEmptyStub; + FHoudiniApi::SetAnimCurveFuncPtr FHoudiniApi::SetAnimCurve = &FHoudiniApi::SetAnimCurveEmptyStub; @@ -795,6 +861,12 @@ FHoudiniApi::SetServerEnvInt = &FHoudiniApi::SetServerEnvIntEmptyStub; FHoudiniApi::SetServerEnvStringFuncPtr FHoudiniApi::SetServerEnvString = &FHoudiniApi::SetServerEnvStringEmptyStub; +FHoudiniApi::SetSessionSyncFuncPtr +FHoudiniApi::SetSessionSync = &FHoudiniApi::SetSessionSyncEmptyStub; + +FHoudiniApi::SetSessionSyncInfoFuncPtr +FHoudiniApi::SetSessionSyncInfo = &FHoudiniApi::SetSessionSyncInfoEmptyStub; + FHoudiniApi::SetTimeFuncPtr FHoudiniApi::SetTime = &FHoudiniApi::SetTimeEmptyStub; @@ -804,9 +876,15 @@ FHoudiniApi::SetTimelineOptions = &FHoudiniApi::SetTimelineOptionsEmptyStub; FHoudiniApi::SetTransformAnimCurveFuncPtr FHoudiniApi::SetTransformAnimCurve = &FHoudiniApi::SetTransformAnimCurveEmptyStub; +FHoudiniApi::SetUseHoudiniTimeFuncPtr +FHoudiniApi::SetUseHoudiniTime = &FHoudiniApi::SetUseHoudiniTimeEmptyStub; + FHoudiniApi::SetVertexListFuncPtr FHoudiniApi::SetVertexList = &FHoudiniApi::SetVertexListEmptyStub; +FHoudiniApi::SetViewportFuncPtr +FHoudiniApi::SetViewport = &FHoudiniApi::SetViewportEmptyStub; + FHoudiniApi::SetVolumeInfoFuncPtr FHoudiniApi::SetVolumeInfo = &FHoudiniApi::SetVolumeInfoEmptyStub; @@ -855,6 +933,9 @@ FHoudiniApi::Transform_Create = &FHoudiniApi::Transform_CreateEmptyStub; FHoudiniApi::Transform_InitFuncPtr FHoudiniApi::Transform_Init = &FHoudiniApi::Transform_InitEmptyStub; +FHoudiniApi::Viewport_CreateFuncPtr +FHoudiniApi::Viewport_Create = &FHoudiniApi::Viewport_CreateEmptyStub; + FHoudiniApi::VolumeInfo_CreateFuncPtr FHoudiniApi::VolumeInfo_Create = &FHoudiniApi::VolumeInfo_CreateEmptyStub; @@ -883,6 +964,7 @@ FHoudiniApi::InitializeHAPI(void* LibraryHandle) FHoudiniApi::CancelPDGCook = (CancelPDGCookFuncPtr) FPlatformProcess::GetDllExport(LibraryHandle, TEXT("HAPI_CancelPDGCook")); FHoudiniApi::CheckForSpecificErrors = (CheckForSpecificErrorsFuncPtr) FPlatformProcess::GetDllExport(LibraryHandle, TEXT("HAPI_CheckForSpecificErrors")); FHoudiniApi::Cleanup = (CleanupFuncPtr) FPlatformProcess::GetDllExport(LibraryHandle, TEXT("HAPI_Cleanup")); + FHoudiniApi::ClearConnectionError = (ClearConnectionErrorFuncPtr) FPlatformProcess::GetDllExport(LibraryHandle, TEXT("HAPI_ClearConnectionError")); FHoudiniApi::CloseSession = (CloseSessionFuncPtr) FPlatformProcess::GetDllExport(LibraryHandle, TEXT("HAPI_CloseSession")); FHoudiniApi::CommitGeo = (CommitGeoFuncPtr) FPlatformProcess::GetDllExport(LibraryHandle, TEXT("HAPI_CommitGeo")); FHoudiniApi::CommitWorkitems = (CommitWorkitemsFuncPtr) FPlatformProcess::GetDllExport(LibraryHandle, TEXT("HAPI_CommitWorkitems")); @@ -901,7 +983,7 @@ FHoudiniApi::InitializeHAPI(void* LibraryHandle) FHoudiniApi::CookOptions_Init = (CookOptions_InitFuncPtr) FPlatformProcess::GetDllExport(LibraryHandle, TEXT("HAPI_CookOptions_Init")); FHoudiniApi::CookPDG = (CookPDGFuncPtr) FPlatformProcess::GetDllExport(LibraryHandle, TEXT("HAPI_CookPDG")); FHoudiniApi::CreateCustomSession = (CreateCustomSessionFuncPtr) FPlatformProcess::GetDllExport(LibraryHandle, TEXT("HAPI_CreateCustomSession")); - FHoudiniApi::CreateHeightfieldInputNode = (CreateHeightfieldInputNodeFuncPtr) FPlatformProcess::GetDllExport(LibraryHandle, TEXT("HAPI_CreateHeightfieldInputNode")); + FHoudiniApi::CreateHeightFieldInput = (CreateHeightFieldInputFuncPtr) FPlatformProcess::GetDllExport(LibraryHandle, TEXT("HAPI_CreateHeightFieldInput")); FHoudiniApi::CreateHeightfieldInputVolumeNode = (CreateHeightfieldInputVolumeNodeFuncPtr) FPlatformProcess::GetDllExport(LibraryHandle, TEXT("HAPI_CreateHeightfieldInputVolumeNode")); FHoudiniApi::CreateInProcessSession = (CreateInProcessSessionFuncPtr) FPlatformProcess::GetDllExport(LibraryHandle, TEXT("HAPI_CreateInProcessSession")); FHoudiniApi::CreateInputNode = (CreateInputNodeFuncPtr) FPlatformProcess::GetDllExport(LibraryHandle, TEXT("HAPI_CreateInputNode")); @@ -924,13 +1006,21 @@ FHoudiniApi::InitializeHAPI(void* LibraryHandle) FHoudiniApi::GeoInfo_Init = (GeoInfo_InitFuncPtr) FPlatformProcess::GetDllExport(LibraryHandle, TEXT("HAPI_GeoInfo_Init")); FHoudiniApi::GetActiveCacheCount = (GetActiveCacheCountFuncPtr) FPlatformProcess::GetDllExport(LibraryHandle, TEXT("HAPI_GetActiveCacheCount")); FHoudiniApi::GetActiveCacheNames = (GetActiveCacheNamesFuncPtr) FPlatformProcess::GetDllExport(LibraryHandle, TEXT("HAPI_GetActiveCacheNames")); + FHoudiniApi::GetAssetDefinitionParmCounts = (GetAssetDefinitionParmCountsFuncPtr) FPlatformProcess::GetDllExport(LibraryHandle, TEXT("HAPI_GetAssetDefinitionParmCounts")); + FHoudiniApi::GetAssetDefinitionParmInfos = (GetAssetDefinitionParmInfosFuncPtr) FPlatformProcess::GetDllExport(LibraryHandle, TEXT("HAPI_GetAssetDefinitionParmInfos")); + FHoudiniApi::GetAssetDefinitionParmValues = (GetAssetDefinitionParmValuesFuncPtr) FPlatformProcess::GetDllExport(LibraryHandle, TEXT("HAPI_GetAssetDefinitionParmValues")); FHoudiniApi::GetAssetInfo = (GetAssetInfoFuncPtr) FPlatformProcess::GetDllExport(LibraryHandle, TEXT("HAPI_GetAssetInfo")); + FHoudiniApi::GetAttributeFloat64ArrayData = (GetAttributeFloat64ArrayDataFuncPtr) FPlatformProcess::GetDllExport(LibraryHandle, TEXT("HAPI_GetAttributeFloat64ArrayData")); FHoudiniApi::GetAttributeFloat64Data = (GetAttributeFloat64DataFuncPtr) FPlatformProcess::GetDllExport(LibraryHandle, TEXT("HAPI_GetAttributeFloat64Data")); + FHoudiniApi::GetAttributeFloatArrayData = (GetAttributeFloatArrayDataFuncPtr) FPlatformProcess::GetDllExport(LibraryHandle, TEXT("HAPI_GetAttributeFloatArrayData")); FHoudiniApi::GetAttributeFloatData = (GetAttributeFloatDataFuncPtr) FPlatformProcess::GetDllExport(LibraryHandle, TEXT("HAPI_GetAttributeFloatData")); FHoudiniApi::GetAttributeInfo = (GetAttributeInfoFuncPtr) FPlatformProcess::GetDllExport(LibraryHandle, TEXT("HAPI_GetAttributeInfo")); + FHoudiniApi::GetAttributeInt64ArrayData = (GetAttributeInt64ArrayDataFuncPtr) FPlatformProcess::GetDllExport(LibraryHandle, TEXT("HAPI_GetAttributeInt64ArrayData")); FHoudiniApi::GetAttributeInt64Data = (GetAttributeInt64DataFuncPtr) FPlatformProcess::GetDllExport(LibraryHandle, TEXT("HAPI_GetAttributeInt64Data")); + FHoudiniApi::GetAttributeIntArrayData = (GetAttributeIntArrayDataFuncPtr) FPlatformProcess::GetDllExport(LibraryHandle, TEXT("HAPI_GetAttributeIntArrayData")); FHoudiniApi::GetAttributeIntData = (GetAttributeIntDataFuncPtr) FPlatformProcess::GetDllExport(LibraryHandle, TEXT("HAPI_GetAttributeIntData")); FHoudiniApi::GetAttributeNames = (GetAttributeNamesFuncPtr) FPlatformProcess::GetDllExport(LibraryHandle, TEXT("HAPI_GetAttributeNames")); + FHoudiniApi::GetAttributeStringArrayData = (GetAttributeStringArrayDataFuncPtr) FPlatformProcess::GetDllExport(LibraryHandle, TEXT("HAPI_GetAttributeStringArrayData")); FHoudiniApi::GetAttributeStringData = (GetAttributeStringDataFuncPtr) FPlatformProcess::GetDllExport(LibraryHandle, TEXT("HAPI_GetAttributeStringData")); FHoudiniApi::GetAvailableAssetCount = (GetAvailableAssetCountFuncPtr) FPlatformProcess::GetDllExport(LibraryHandle, TEXT("HAPI_GetAvailableAssetCount")); FHoudiniApi::GetAvailableAssets = (GetAvailableAssetsFuncPtr) FPlatformProcess::GetDllExport(LibraryHandle, TEXT("HAPI_GetAvailableAssets")); @@ -940,6 +1030,8 @@ FHoudiniApi::InitializeHAPI(void* LibraryHandle) FHoudiniApi::GetComposedNodeCookResult = (GetComposedNodeCookResultFuncPtr) FPlatformProcess::GetDllExport(LibraryHandle, TEXT("HAPI_GetComposedNodeCookResult")); FHoudiniApi::GetComposedObjectList = (GetComposedObjectListFuncPtr) FPlatformProcess::GetDllExport(LibraryHandle, TEXT("HAPI_GetComposedObjectList")); FHoudiniApi::GetComposedObjectTransforms = (GetComposedObjectTransformsFuncPtr) FPlatformProcess::GetDllExport(LibraryHandle, TEXT("HAPI_GetComposedObjectTransforms")); + FHoudiniApi::GetConnectionError = (GetConnectionErrorFuncPtr) FPlatformProcess::GetDllExport(LibraryHandle, TEXT("HAPI_GetConnectionError")); + FHoudiniApi::GetConnectionErrorLength = (GetConnectionErrorLengthFuncPtr) FPlatformProcess::GetDllExport(LibraryHandle, TEXT("HAPI_GetConnectionErrorLength")); FHoudiniApi::GetCookingCurrentCount = (GetCookingCurrentCountFuncPtr) FPlatformProcess::GetDllExport(LibraryHandle, TEXT("HAPI_GetCookingCurrentCount")); FHoudiniApi::GetCookingTotalCount = (GetCookingTotalCountFuncPtr) FPlatformProcess::GetDllExport(LibraryHandle, TEXT("HAPI_GetCookingTotalCount")); FHoudiniApi::GetCurveCounts = (GetCurveCountsFuncPtr) FPlatformProcess::GetDllExport(LibraryHandle, TEXT("HAPI_GetCurveCounts")); @@ -957,6 +1049,8 @@ FHoudiniApi::InitializeHAPI(void* LibraryHandle) FHoudiniApi::GetGroupMembershipOnPackedInstancePart = (GetGroupMembershipOnPackedInstancePartFuncPtr) FPlatformProcess::GetDllExport(LibraryHandle, TEXT("HAPI_GetGroupMembershipOnPackedInstancePart")); FHoudiniApi::GetGroupNames = (GetGroupNamesFuncPtr) FPlatformProcess::GetDllExport(LibraryHandle, TEXT("HAPI_GetGroupNames")); FHoudiniApi::GetGroupNamesOnPackedInstancePart = (GetGroupNamesOnPackedInstancePartFuncPtr) FPlatformProcess::GetDllExport(LibraryHandle, TEXT("HAPI_GetGroupNamesOnPackedInstancePart")); + FHoudiniApi::GetHIPFileNodeCount = (GetHIPFileNodeCountFuncPtr) FPlatformProcess::GetDllExport(LibraryHandle, TEXT("HAPI_GetHIPFileNodeCount")); + FHoudiniApi::GetHIPFileNodeIds = (GetHIPFileNodeIdsFuncPtr) FPlatformProcess::GetDllExport(LibraryHandle, TEXT("HAPI_GetHIPFileNodeIds")); FHoudiniApi::GetHandleBindingInfo = (GetHandleBindingInfoFuncPtr) FPlatformProcess::GetDllExport(LibraryHandle, TEXT("HAPI_GetHandleBindingInfo")); FHoudiniApi::GetHandleInfo = (GetHandleInfoFuncPtr) FPlatformProcess::GetDllExport(LibraryHandle, TEXT("HAPI_GetHandleInfo")); FHoudiniApi::GetHeightFieldData = (GetHeightFieldDataFuncPtr) FPlatformProcess::GetDllExport(LibraryHandle, TEXT("HAPI_GetHeightFieldData")); @@ -980,6 +1074,7 @@ FHoudiniApi::InitializeHAPI(void* LibraryHandle) FHoudiniApi::GetNumWorkitems = (GetNumWorkitemsFuncPtr) FPlatformProcess::GetDllExport(LibraryHandle, TEXT("HAPI_GetNumWorkitems")); FHoudiniApi::GetObjectInfo = (GetObjectInfoFuncPtr) FPlatformProcess::GetDllExport(LibraryHandle, TEXT("HAPI_GetObjectInfo")); FHoudiniApi::GetObjectTransform = (GetObjectTransformFuncPtr) FPlatformProcess::GetDllExport(LibraryHandle, TEXT("HAPI_GetObjectTransform")); + FHoudiniApi::GetOutputNodeId = (GetOutputNodeIdFuncPtr) FPlatformProcess::GetDllExport(LibraryHandle, TEXT("HAPI_GetOutputNodeId")); FHoudiniApi::GetPDGEvents = (GetPDGEventsFuncPtr) FPlatformProcess::GetDllExport(LibraryHandle, TEXT("HAPI_GetPDGEvents")); FHoudiniApi::GetPDGGraphContextId = (GetPDGGraphContextIdFuncPtr) FPlatformProcess::GetDllExport(LibraryHandle, TEXT("HAPI_GetPDGGraphContextId")); FHoudiniApi::GetPDGGraphContexts = (GetPDGGraphContextsFuncPtr) FPlatformProcess::GetDllExport(LibraryHandle, TEXT("HAPI_GetPDGGraphContexts")); @@ -1009,6 +1104,7 @@ FHoudiniApi::InitializeHAPI(void* LibraryHandle) FHoudiniApi::GetServerEnvVarCount = (GetServerEnvVarCountFuncPtr) FPlatformProcess::GetDllExport(LibraryHandle, TEXT("HAPI_GetServerEnvVarCount")); FHoudiniApi::GetServerEnvVarList = (GetServerEnvVarListFuncPtr) FPlatformProcess::GetDllExport(LibraryHandle, TEXT("HAPI_GetServerEnvVarList")); FHoudiniApi::GetSessionEnvInt = (GetSessionEnvIntFuncPtr) FPlatformProcess::GetDllExport(LibraryHandle, TEXT("HAPI_GetSessionEnvInt")); + FHoudiniApi::GetSessionSyncInfo = (GetSessionSyncInfoFuncPtr) FPlatformProcess::GetDllExport(LibraryHandle, TEXT("HAPI_GetSessionSyncInfo")); FHoudiniApi::GetSphereInfo = (GetSphereInfoFuncPtr) FPlatformProcess::GetDllExport(LibraryHandle, TEXT("HAPI_GetSphereInfo")); FHoudiniApi::GetStatus = (GetStatusFuncPtr) FPlatformProcess::GetDllExport(LibraryHandle, TEXT("HAPI_GetStatus")); FHoudiniApi::GetStatusString = (GetStatusStringFuncPtr) FPlatformProcess::GetDllExport(LibraryHandle, TEXT("HAPI_GetStatusString")); @@ -1021,7 +1117,10 @@ FHoudiniApi::InitializeHAPI(void* LibraryHandle) FHoudiniApi::GetSupportedImageFileFormats = (GetSupportedImageFileFormatsFuncPtr) FPlatformProcess::GetDllExport(LibraryHandle, TEXT("HAPI_GetSupportedImageFileFormats")); FHoudiniApi::GetTime = (GetTimeFuncPtr) FPlatformProcess::GetDllExport(LibraryHandle, TEXT("HAPI_GetTime")); FHoudiniApi::GetTimelineOptions = (GetTimelineOptionsFuncPtr) FPlatformProcess::GetDllExport(LibraryHandle, TEXT("HAPI_GetTimelineOptions")); + FHoudiniApi::GetTotalCookCount = (GetTotalCookCountFuncPtr) FPlatformProcess::GetDllExport(LibraryHandle, TEXT("HAPI_GetTotalCookCount")); + FHoudiniApi::GetUseHoudiniTime = (GetUseHoudiniTimeFuncPtr) FPlatformProcess::GetDllExport(LibraryHandle, TEXT("HAPI_GetUseHoudiniTime")); FHoudiniApi::GetVertexList = (GetVertexListFuncPtr) FPlatformProcess::GetDllExport(LibraryHandle, TEXT("HAPI_GetVertexList")); + FHoudiniApi::GetViewport = (GetViewportFuncPtr) FPlatformProcess::GetDllExport(LibraryHandle, TEXT("HAPI_GetViewport")); FHoudiniApi::GetVolumeBounds = (GetVolumeBoundsFuncPtr) FPlatformProcess::GetDllExport(LibraryHandle, TEXT("HAPI_GetVolumeBounds")); FHoudiniApi::GetVolumeInfo = (GetVolumeInfoFuncPtr) FPlatformProcess::GetDllExport(LibraryHandle, TEXT("HAPI_GetVolumeInfo")); FHoudiniApi::GetVolumeTileFloatData = (GetVolumeTileFloatDataFuncPtr) FPlatformProcess::GetDllExport(LibraryHandle, TEXT("HAPI_GetVolumeTileFloatData")); @@ -1056,8 +1155,10 @@ FHoudiniApi::InitializeHAPI(void* LibraryHandle) FHoudiniApi::LoadGeoFromFile = (LoadGeoFromFileFuncPtr) FPlatformProcess::GetDllExport(LibraryHandle, TEXT("HAPI_LoadGeoFromFile")); FHoudiniApi::LoadGeoFromMemory = (LoadGeoFromMemoryFuncPtr) FPlatformProcess::GetDllExport(LibraryHandle, TEXT("HAPI_LoadGeoFromMemory")); FHoudiniApi::LoadHIPFile = (LoadHIPFileFuncPtr) FPlatformProcess::GetDllExport(LibraryHandle, TEXT("HAPI_LoadHIPFile")); + FHoudiniApi::LoadNodeFromFile = (LoadNodeFromFileFuncPtr) FPlatformProcess::GetDllExport(LibraryHandle, TEXT("HAPI_LoadNodeFromFile")); FHoudiniApi::MaterialInfo_Create = (MaterialInfo_CreateFuncPtr) FPlatformProcess::GetDllExport(LibraryHandle, TEXT("HAPI_MaterialInfo_Create")); FHoudiniApi::MaterialInfo_Init = (MaterialInfo_InitFuncPtr) FPlatformProcess::GetDllExport(LibraryHandle, TEXT("HAPI_MaterialInfo_Init")); + FHoudiniApi::MergeHIPFile = (MergeHIPFileFuncPtr) FPlatformProcess::GetDllExport(LibraryHandle, TEXT("HAPI_MergeHIPFile")); FHoudiniApi::NodeInfo_Create = (NodeInfo_CreateFuncPtr) FPlatformProcess::GetDllExport(LibraryHandle, TEXT("HAPI_NodeInfo_Create")); FHoudiniApi::NodeInfo_Init = (NodeInfo_InitFuncPtr) FPlatformProcess::GetDllExport(LibraryHandle, TEXT("HAPI_NodeInfo_Init")); FHoudiniApi::ObjectInfo_Create = (ObjectInfo_CreateFuncPtr) FPlatformProcess::GetDllExport(LibraryHandle, TEXT("HAPI_ObjectInfo_Create")); @@ -1100,6 +1201,8 @@ FHoudiniApi::InitializeHAPI(void* LibraryHandle) FHoudiniApi::SaveGeoToFile = (SaveGeoToFileFuncPtr) FPlatformProcess::GetDllExport(LibraryHandle, TEXT("HAPI_SaveGeoToFile")); FHoudiniApi::SaveGeoToMemory = (SaveGeoToMemoryFuncPtr) FPlatformProcess::GetDllExport(LibraryHandle, TEXT("HAPI_SaveGeoToMemory")); FHoudiniApi::SaveHIPFile = (SaveHIPFileFuncPtr) FPlatformProcess::GetDllExport(LibraryHandle, TEXT("HAPI_SaveHIPFile")); + FHoudiniApi::SaveNodeToFile = (SaveNodeToFileFuncPtr) FPlatformProcess::GetDllExport(LibraryHandle, TEXT("HAPI_SaveNodeToFile")); + FHoudiniApi::SessionSyncInfo_Create = (SessionSyncInfo_CreateFuncPtr) FPlatformProcess::GetDllExport(LibraryHandle, TEXT("HAPI_SessionSyncInfo_Create")); FHoudiniApi::SetAnimCurve = (SetAnimCurveFuncPtr) FPlatformProcess::GetDllExport(LibraryHandle, TEXT("HAPI_SetAnimCurve")); FHoudiniApi::SetAttributeFloat64Data = (SetAttributeFloat64DataFuncPtr) FPlatformProcess::GetDllExport(LibraryHandle, TEXT("HAPI_SetAttributeFloat64Data")); FHoudiniApi::SetAttributeFloatData = (SetAttributeFloatDataFuncPtr) FPlatformProcess::GetDllExport(LibraryHandle, TEXT("HAPI_SetAttributeFloatData")); @@ -1129,10 +1232,14 @@ FHoudiniApi::InitializeHAPI(void* LibraryHandle) FHoudiniApi::SetPreset = (SetPresetFuncPtr) FPlatformProcess::GetDllExport(LibraryHandle, TEXT("HAPI_SetPreset")); FHoudiniApi::SetServerEnvInt = (SetServerEnvIntFuncPtr) FPlatformProcess::GetDllExport(LibraryHandle, TEXT("HAPI_SetServerEnvInt")); FHoudiniApi::SetServerEnvString = (SetServerEnvStringFuncPtr) FPlatformProcess::GetDllExport(LibraryHandle, TEXT("HAPI_SetServerEnvString")); + FHoudiniApi::SetSessionSync = (SetSessionSyncFuncPtr) FPlatformProcess::GetDllExport(LibraryHandle, TEXT("HAPI_SetSessionSync")); + FHoudiniApi::SetSessionSyncInfo = (SetSessionSyncInfoFuncPtr) FPlatformProcess::GetDllExport(LibraryHandle, TEXT("HAPI_SetSessionSyncInfo")); FHoudiniApi::SetTime = (SetTimeFuncPtr) FPlatformProcess::GetDllExport(LibraryHandle, TEXT("HAPI_SetTime")); FHoudiniApi::SetTimelineOptions = (SetTimelineOptionsFuncPtr) FPlatformProcess::GetDllExport(LibraryHandle, TEXT("HAPI_SetTimelineOptions")); FHoudiniApi::SetTransformAnimCurve = (SetTransformAnimCurveFuncPtr) FPlatformProcess::GetDllExport(LibraryHandle, TEXT("HAPI_SetTransformAnimCurve")); + FHoudiniApi::SetUseHoudiniTime = (SetUseHoudiniTimeFuncPtr) FPlatformProcess::GetDllExport(LibraryHandle, TEXT("HAPI_SetUseHoudiniTime")); FHoudiniApi::SetVertexList = (SetVertexListFuncPtr) FPlatformProcess::GetDllExport(LibraryHandle, TEXT("HAPI_SetVertexList")); + FHoudiniApi::SetViewport = (SetViewportFuncPtr) FPlatformProcess::GetDllExport(LibraryHandle, TEXT("HAPI_SetViewport")); FHoudiniApi::SetVolumeInfo = (SetVolumeInfoFuncPtr) FPlatformProcess::GetDllExport(LibraryHandle, TEXT("HAPI_SetVolumeInfo")); FHoudiniApi::SetVolumeTileFloatData = (SetVolumeTileFloatDataFuncPtr) FPlatformProcess::GetDllExport(LibraryHandle, TEXT("HAPI_SetVolumeTileFloatData")); FHoudiniApi::SetVolumeTileIntData = (SetVolumeTileIntDataFuncPtr) FPlatformProcess::GetDllExport(LibraryHandle, TEXT("HAPI_SetVolumeTileIntData")); @@ -1149,6 +1256,7 @@ FHoudiniApi::InitializeHAPI(void* LibraryHandle) FHoudiniApi::TransformEuler_Init = (TransformEuler_InitFuncPtr) FPlatformProcess::GetDllExport(LibraryHandle, TEXT("HAPI_TransformEuler_Init")); FHoudiniApi::Transform_Create = (Transform_CreateFuncPtr) FPlatformProcess::GetDllExport(LibraryHandle, TEXT("HAPI_Transform_Create")); FHoudiniApi::Transform_Init = (Transform_InitFuncPtr) FPlatformProcess::GetDllExport(LibraryHandle, TEXT("HAPI_Transform_Init")); + FHoudiniApi::Viewport_Create = (Viewport_CreateFuncPtr) FPlatformProcess::GetDllExport(LibraryHandle, TEXT("HAPI_Viewport_Create")); FHoudiniApi::VolumeInfo_Create = (VolumeInfo_CreateFuncPtr) FPlatformProcess::GetDllExport(LibraryHandle, TEXT("HAPI_VolumeInfo_Create")); FHoudiniApi::VolumeInfo_Init = (VolumeInfo_InitFuncPtr) FPlatformProcess::GetDllExport(LibraryHandle, TEXT("HAPI_VolumeInfo_Init")); FHoudiniApi::VolumeTileInfo_Create = (VolumeTileInfo_CreateFuncPtr) FPlatformProcess::GetDllExport(LibraryHandle, TEXT("HAPI_VolumeTileInfo_Create")); @@ -1169,6 +1277,7 @@ FHoudiniApi::FinalizeHAPI() FHoudiniApi::CancelPDGCook = &FHoudiniApi::CancelPDGCookEmptyStub; FHoudiniApi::CheckForSpecificErrors = &FHoudiniApi::CheckForSpecificErrorsEmptyStub; FHoudiniApi::Cleanup = &FHoudiniApi::CleanupEmptyStub; + FHoudiniApi::ClearConnectionError = &FHoudiniApi::ClearConnectionErrorEmptyStub; FHoudiniApi::CloseSession = &FHoudiniApi::CloseSessionEmptyStub; FHoudiniApi::CommitGeo = &FHoudiniApi::CommitGeoEmptyStub; FHoudiniApi::CommitWorkitems = &FHoudiniApi::CommitWorkitemsEmptyStub; @@ -1187,7 +1296,7 @@ FHoudiniApi::FinalizeHAPI() FHoudiniApi::CookOptions_Init = &FHoudiniApi::CookOptions_InitEmptyStub; FHoudiniApi::CookPDG = &FHoudiniApi::CookPDGEmptyStub; FHoudiniApi::CreateCustomSession = &FHoudiniApi::CreateCustomSessionEmptyStub; - FHoudiniApi::CreateHeightfieldInputNode = &FHoudiniApi::CreateHeightfieldInputNodeEmptyStub; + FHoudiniApi::CreateHeightFieldInput = &FHoudiniApi::CreateHeightFieldInputEmptyStub; FHoudiniApi::CreateHeightfieldInputVolumeNode = &FHoudiniApi::CreateHeightfieldInputVolumeNodeEmptyStub; FHoudiniApi::CreateInProcessSession = &FHoudiniApi::CreateInProcessSessionEmptyStub; FHoudiniApi::CreateInputNode = &FHoudiniApi::CreateInputNodeEmptyStub; @@ -1210,13 +1319,21 @@ FHoudiniApi::FinalizeHAPI() FHoudiniApi::GeoInfo_Init = &FHoudiniApi::GeoInfo_InitEmptyStub; FHoudiniApi::GetActiveCacheCount = &FHoudiniApi::GetActiveCacheCountEmptyStub; FHoudiniApi::GetActiveCacheNames = &FHoudiniApi::GetActiveCacheNamesEmptyStub; + FHoudiniApi::GetAssetDefinitionParmCounts = &FHoudiniApi::GetAssetDefinitionParmCountsEmptyStub; + FHoudiniApi::GetAssetDefinitionParmInfos = &FHoudiniApi::GetAssetDefinitionParmInfosEmptyStub; + FHoudiniApi::GetAssetDefinitionParmValues = &FHoudiniApi::GetAssetDefinitionParmValuesEmptyStub; FHoudiniApi::GetAssetInfo = &FHoudiniApi::GetAssetInfoEmptyStub; + FHoudiniApi::GetAttributeFloat64ArrayData = &FHoudiniApi::GetAttributeFloat64ArrayDataEmptyStub; FHoudiniApi::GetAttributeFloat64Data = &FHoudiniApi::GetAttributeFloat64DataEmptyStub; + FHoudiniApi::GetAttributeFloatArrayData = &FHoudiniApi::GetAttributeFloatArrayDataEmptyStub; FHoudiniApi::GetAttributeFloatData = &FHoudiniApi::GetAttributeFloatDataEmptyStub; FHoudiniApi::GetAttributeInfo = &FHoudiniApi::GetAttributeInfoEmptyStub; + FHoudiniApi::GetAttributeInt64ArrayData = &FHoudiniApi::GetAttributeInt64ArrayDataEmptyStub; FHoudiniApi::GetAttributeInt64Data = &FHoudiniApi::GetAttributeInt64DataEmptyStub; + FHoudiniApi::GetAttributeIntArrayData = &FHoudiniApi::GetAttributeIntArrayDataEmptyStub; FHoudiniApi::GetAttributeIntData = &FHoudiniApi::GetAttributeIntDataEmptyStub; FHoudiniApi::GetAttributeNames = &FHoudiniApi::GetAttributeNamesEmptyStub; + FHoudiniApi::GetAttributeStringArrayData = &FHoudiniApi::GetAttributeStringArrayDataEmptyStub; FHoudiniApi::GetAttributeStringData = &FHoudiniApi::GetAttributeStringDataEmptyStub; FHoudiniApi::GetAvailableAssetCount = &FHoudiniApi::GetAvailableAssetCountEmptyStub; FHoudiniApi::GetAvailableAssets = &FHoudiniApi::GetAvailableAssetsEmptyStub; @@ -1226,6 +1343,8 @@ FHoudiniApi::FinalizeHAPI() FHoudiniApi::GetComposedNodeCookResult = &FHoudiniApi::GetComposedNodeCookResultEmptyStub; FHoudiniApi::GetComposedObjectList = &FHoudiniApi::GetComposedObjectListEmptyStub; FHoudiniApi::GetComposedObjectTransforms = &FHoudiniApi::GetComposedObjectTransformsEmptyStub; + FHoudiniApi::GetConnectionError = &FHoudiniApi::GetConnectionErrorEmptyStub; + FHoudiniApi::GetConnectionErrorLength = &FHoudiniApi::GetConnectionErrorLengthEmptyStub; FHoudiniApi::GetCookingCurrentCount = &FHoudiniApi::GetCookingCurrentCountEmptyStub; FHoudiniApi::GetCookingTotalCount = &FHoudiniApi::GetCookingTotalCountEmptyStub; FHoudiniApi::GetCurveCounts = &FHoudiniApi::GetCurveCountsEmptyStub; @@ -1243,6 +1362,8 @@ FHoudiniApi::FinalizeHAPI() FHoudiniApi::GetGroupMembershipOnPackedInstancePart = &FHoudiniApi::GetGroupMembershipOnPackedInstancePartEmptyStub; FHoudiniApi::GetGroupNames = &FHoudiniApi::GetGroupNamesEmptyStub; FHoudiniApi::GetGroupNamesOnPackedInstancePart = &FHoudiniApi::GetGroupNamesOnPackedInstancePartEmptyStub; + FHoudiniApi::GetHIPFileNodeCount = &FHoudiniApi::GetHIPFileNodeCountEmptyStub; + FHoudiniApi::GetHIPFileNodeIds = &FHoudiniApi::GetHIPFileNodeIdsEmptyStub; FHoudiniApi::GetHandleBindingInfo = &FHoudiniApi::GetHandleBindingInfoEmptyStub; FHoudiniApi::GetHandleInfo = &FHoudiniApi::GetHandleInfoEmptyStub; FHoudiniApi::GetHeightFieldData = &FHoudiniApi::GetHeightFieldDataEmptyStub; @@ -1266,6 +1387,7 @@ FHoudiniApi::FinalizeHAPI() FHoudiniApi::GetNumWorkitems = &FHoudiniApi::GetNumWorkitemsEmptyStub; FHoudiniApi::GetObjectInfo = &FHoudiniApi::GetObjectInfoEmptyStub; FHoudiniApi::GetObjectTransform = &FHoudiniApi::GetObjectTransformEmptyStub; + FHoudiniApi::GetOutputNodeId = &FHoudiniApi::GetOutputNodeIdEmptyStub; FHoudiniApi::GetPDGEvents = &FHoudiniApi::GetPDGEventsEmptyStub; FHoudiniApi::GetPDGGraphContextId = &FHoudiniApi::GetPDGGraphContextIdEmptyStub; FHoudiniApi::GetPDGGraphContexts = &FHoudiniApi::GetPDGGraphContextsEmptyStub; @@ -1295,6 +1417,7 @@ FHoudiniApi::FinalizeHAPI() FHoudiniApi::GetServerEnvVarCount = &FHoudiniApi::GetServerEnvVarCountEmptyStub; FHoudiniApi::GetServerEnvVarList = &FHoudiniApi::GetServerEnvVarListEmptyStub; FHoudiniApi::GetSessionEnvInt = &FHoudiniApi::GetSessionEnvIntEmptyStub; + FHoudiniApi::GetSessionSyncInfo = &FHoudiniApi::GetSessionSyncInfoEmptyStub; FHoudiniApi::GetSphereInfo = &FHoudiniApi::GetSphereInfoEmptyStub; FHoudiniApi::GetStatus = &FHoudiniApi::GetStatusEmptyStub; FHoudiniApi::GetStatusString = &FHoudiniApi::GetStatusStringEmptyStub; @@ -1307,7 +1430,10 @@ FHoudiniApi::FinalizeHAPI() FHoudiniApi::GetSupportedImageFileFormats = &FHoudiniApi::GetSupportedImageFileFormatsEmptyStub; FHoudiniApi::GetTime = &FHoudiniApi::GetTimeEmptyStub; FHoudiniApi::GetTimelineOptions = &FHoudiniApi::GetTimelineOptionsEmptyStub; + FHoudiniApi::GetTotalCookCount = &FHoudiniApi::GetTotalCookCountEmptyStub; + FHoudiniApi::GetUseHoudiniTime = &FHoudiniApi::GetUseHoudiniTimeEmptyStub; FHoudiniApi::GetVertexList = &FHoudiniApi::GetVertexListEmptyStub; + FHoudiniApi::GetViewport = &FHoudiniApi::GetViewportEmptyStub; FHoudiniApi::GetVolumeBounds = &FHoudiniApi::GetVolumeBoundsEmptyStub; FHoudiniApi::GetVolumeInfo = &FHoudiniApi::GetVolumeInfoEmptyStub; FHoudiniApi::GetVolumeTileFloatData = &FHoudiniApi::GetVolumeTileFloatDataEmptyStub; @@ -1342,8 +1468,10 @@ FHoudiniApi::FinalizeHAPI() FHoudiniApi::LoadGeoFromFile = &FHoudiniApi::LoadGeoFromFileEmptyStub; FHoudiniApi::LoadGeoFromMemory = &FHoudiniApi::LoadGeoFromMemoryEmptyStub; FHoudiniApi::LoadHIPFile = &FHoudiniApi::LoadHIPFileEmptyStub; + FHoudiniApi::LoadNodeFromFile = &FHoudiniApi::LoadNodeFromFileEmptyStub; FHoudiniApi::MaterialInfo_Create = &FHoudiniApi::MaterialInfo_CreateEmptyStub; FHoudiniApi::MaterialInfo_Init = &FHoudiniApi::MaterialInfo_InitEmptyStub; + FHoudiniApi::MergeHIPFile = &FHoudiniApi::MergeHIPFileEmptyStub; FHoudiniApi::NodeInfo_Create = &FHoudiniApi::NodeInfo_CreateEmptyStub; FHoudiniApi::NodeInfo_Init = &FHoudiniApi::NodeInfo_InitEmptyStub; FHoudiniApi::ObjectInfo_Create = &FHoudiniApi::ObjectInfo_CreateEmptyStub; @@ -1386,6 +1514,8 @@ FHoudiniApi::FinalizeHAPI() FHoudiniApi::SaveGeoToFile = &FHoudiniApi::SaveGeoToFileEmptyStub; FHoudiniApi::SaveGeoToMemory = &FHoudiniApi::SaveGeoToMemoryEmptyStub; FHoudiniApi::SaveHIPFile = &FHoudiniApi::SaveHIPFileEmptyStub; + FHoudiniApi::SaveNodeToFile = &FHoudiniApi::SaveNodeToFileEmptyStub; + FHoudiniApi::SessionSyncInfo_Create = &FHoudiniApi::SessionSyncInfo_CreateEmptyStub; FHoudiniApi::SetAnimCurve = &FHoudiniApi::SetAnimCurveEmptyStub; FHoudiniApi::SetAttributeFloat64Data = &FHoudiniApi::SetAttributeFloat64DataEmptyStub; FHoudiniApi::SetAttributeFloatData = &FHoudiniApi::SetAttributeFloatDataEmptyStub; @@ -1415,10 +1545,14 @@ FHoudiniApi::FinalizeHAPI() FHoudiniApi::SetPreset = &FHoudiniApi::SetPresetEmptyStub; FHoudiniApi::SetServerEnvInt = &FHoudiniApi::SetServerEnvIntEmptyStub; FHoudiniApi::SetServerEnvString = &FHoudiniApi::SetServerEnvStringEmptyStub; + FHoudiniApi::SetSessionSync = &FHoudiniApi::SetSessionSyncEmptyStub; + FHoudiniApi::SetSessionSyncInfo = &FHoudiniApi::SetSessionSyncInfoEmptyStub; FHoudiniApi::SetTime = &FHoudiniApi::SetTimeEmptyStub; FHoudiniApi::SetTimelineOptions = &FHoudiniApi::SetTimelineOptionsEmptyStub; FHoudiniApi::SetTransformAnimCurve = &FHoudiniApi::SetTransformAnimCurveEmptyStub; + FHoudiniApi::SetUseHoudiniTime = &FHoudiniApi::SetUseHoudiniTimeEmptyStub; FHoudiniApi::SetVertexList = &FHoudiniApi::SetVertexListEmptyStub; + FHoudiniApi::SetViewport = &FHoudiniApi::SetViewportEmptyStub; FHoudiniApi::SetVolumeInfo = &FHoudiniApi::SetVolumeInfoEmptyStub; FHoudiniApi::SetVolumeTileFloatData = &FHoudiniApi::SetVolumeTileFloatDataEmptyStub; FHoudiniApi::SetVolumeTileIntData = &FHoudiniApi::SetVolumeTileIntDataEmptyStub; @@ -1435,6 +1569,7 @@ FHoudiniApi::FinalizeHAPI() FHoudiniApi::TransformEuler_Init = &FHoudiniApi::TransformEuler_InitEmptyStub; FHoudiniApi::Transform_Create = &FHoudiniApi::Transform_CreateEmptyStub; FHoudiniApi::Transform_Init = &FHoudiniApi::Transform_InitEmptyStub; + FHoudiniApi::Viewport_Create = &FHoudiniApi::Viewport_CreateEmptyStub; FHoudiniApi::VolumeInfo_Create = &FHoudiniApi::VolumeInfo_CreateEmptyStub; FHoudiniApi::VolumeInfo_Init = &FHoudiniApi::VolumeInfo_InitEmptyStub; FHoudiniApi::VolumeTileInfo_Create = &FHoudiniApi::VolumeTileInfo_CreateEmptyStub; @@ -1519,6 +1654,13 @@ FHoudiniApi::CleanupEmptyStub(const HAPI_Session * session) } +HAPI_Result +FHoudiniApi::ClearConnectionErrorEmptyStub() +{ + return HAPI_RESULT_FAILURE; +} + + HAPI_Result FHoudiniApi::CloseSessionEmptyStub(const HAPI_Session * session) { @@ -1646,7 +1788,7 @@ FHoudiniApi::CreateCustomSessionEmptyStub(HAPI_SessionType session_type, void * HAPI_Result -FHoudiniApi::CreateHeightfieldInputNodeEmptyStub(const HAPI_Session * session, HAPI_NodeId parent_node_id, const char * name, int xsize, int ysize, float voxelsize, HAPI_NodeId * heightfield_node_id, HAPI_NodeId * height_node_id, HAPI_NodeId * mask_node_id, HAPI_NodeId * merge_node_id) +FHoudiniApi::CreateHeightFieldInputEmptyStub(const HAPI_Session * session, HAPI_NodeId parent_node_id, const char * name, int xsize, int ysize, float voxelsize, HAPI_HeightFieldSampling sampling, HAPI_NodeId * heightfield_node_id, HAPI_NodeId * height_node_id, HAPI_NodeId * mask_node_id, HAPI_NodeId * merge_node_id) { return HAPI_RESULT_FAILURE; } @@ -1806,6 +1948,27 @@ FHoudiniApi::GetActiveCacheNamesEmptyStub(const HAPI_Session * session, HAPI_Str } +HAPI_Result +FHoudiniApi::GetAssetDefinitionParmCountsEmptyStub(const HAPI_Session * session, HAPI_AssetLibraryId library_id, const char * asset_name, int * parm_count, int * int_value_count, int * float_value_count, int * string_value_count, int * choice_value_count) +{ + return HAPI_RESULT_FAILURE; +} + + +HAPI_Result +FHoudiniApi::GetAssetDefinitionParmInfosEmptyStub(const HAPI_Session * session, HAPI_AssetLibraryId library_id, const char * asset_name, HAPI_ParmInfo * parm_infos_array, int start, int length) +{ + return HAPI_RESULT_FAILURE; +} + + +HAPI_Result +FHoudiniApi::GetAssetDefinitionParmValuesEmptyStub(const HAPI_Session * session, HAPI_AssetLibraryId library_id, const char * asset_name, int * int_values_array, int int_start, int int_length, float * float_values_array, int float_start, int float_length, HAPI_Bool string_evaluate, HAPI_StringHandle * string_values_array, int string_start, int string_length, HAPI_ParmChoiceInfo * choice_values_array, int choice_start, int choice_length) +{ + return HAPI_RESULT_FAILURE; +} + + HAPI_Result FHoudiniApi::GetAssetInfoEmptyStub(const HAPI_Session * session, HAPI_NodeId node_id, HAPI_AssetInfo * asset_info) { @@ -1813,6 +1976,13 @@ FHoudiniApi::GetAssetInfoEmptyStub(const HAPI_Session * session, HAPI_NodeId nod } +HAPI_Result +FHoudiniApi::GetAttributeFloat64ArrayDataEmptyStub(const HAPI_Session * session, HAPI_NodeId node_id, HAPI_PartId part_id, const char * name, HAPI_AttributeInfo * attr_info, double * data_fixed_array, int data_fixed_length, int * sizes_fixed_array, int start, int sizes_fixed_length) +{ + return HAPI_RESULT_FAILURE; +} + + HAPI_Result FHoudiniApi::GetAttributeFloat64DataEmptyStub(const HAPI_Session * session, HAPI_NodeId node_id, HAPI_PartId part_id, const char * name, HAPI_AttributeInfo * attr_info, int stride, double * data_array, int start, int length) { @@ -1820,6 +1990,13 @@ FHoudiniApi::GetAttributeFloat64DataEmptyStub(const HAPI_Session * session, HAPI } +HAPI_Result +FHoudiniApi::GetAttributeFloatArrayDataEmptyStub(const HAPI_Session * session, HAPI_NodeId node_id, HAPI_PartId part_id, const char * name, HAPI_AttributeInfo * attr_info, float * data_fixed_array, int data_fixed_length, int * sizes_fixed_array, int start, int sizes_fixed_length) +{ + return HAPI_RESULT_FAILURE; +} + + HAPI_Result FHoudiniApi::GetAttributeFloatDataEmptyStub(const HAPI_Session * session, HAPI_NodeId node_id, HAPI_PartId part_id, const char * name, HAPI_AttributeInfo * attr_info, int stride, float * data_array, int start, int length) { @@ -1834,6 +2011,13 @@ FHoudiniApi::GetAttributeInfoEmptyStub(const HAPI_Session * session, HAPI_NodeId } +HAPI_Result +FHoudiniApi::GetAttributeInt64ArrayDataEmptyStub(const HAPI_Session * session, HAPI_NodeId node_id, HAPI_PartId part_id, const char * name, HAPI_AttributeInfo * attr_info, HAPI_Int64 * data_fixed_array, int data_fixed_length, int * sizes_fixed_array, int start, int sizes_fixed_length) +{ + return HAPI_RESULT_FAILURE; +} + + HAPI_Result FHoudiniApi::GetAttributeInt64DataEmptyStub(const HAPI_Session * session, HAPI_NodeId node_id, HAPI_PartId part_id, const char * name, HAPI_AttributeInfo * attr_info, int stride, HAPI_Int64 * data_array, int start, int length) { @@ -1841,6 +2025,13 @@ FHoudiniApi::GetAttributeInt64DataEmptyStub(const HAPI_Session * session, HAPI_N } +HAPI_Result +FHoudiniApi::GetAttributeIntArrayDataEmptyStub(const HAPI_Session * session, HAPI_NodeId node_id, HAPI_PartId part_id, const char * name, HAPI_AttributeInfo * attr_info, int * data_fixed_array, int data_fixed_length, int * sizes_fixed_array, int start, int sizes_fixed_length) +{ + return HAPI_RESULT_FAILURE; +} + + HAPI_Result FHoudiniApi::GetAttributeIntDataEmptyStub(const HAPI_Session * session, HAPI_NodeId node_id, HAPI_PartId part_id, const char * name, HAPI_AttributeInfo * attr_info, int stride, int * data_array, int start, int length) { @@ -1855,6 +2046,13 @@ FHoudiniApi::GetAttributeNamesEmptyStub(const HAPI_Session * session, HAPI_NodeI } +HAPI_Result +FHoudiniApi::GetAttributeStringArrayDataEmptyStub(const HAPI_Session * session, HAPI_NodeId node_id, HAPI_PartId part_id, const char * name, HAPI_AttributeInfo * attr_info, HAPI_StringHandle * data_fixed_array, int data_fixed_length, int * sizes_fixed_array, int start, int sizes_fixed_length) +{ + return HAPI_RESULT_FAILURE; +} + + HAPI_Result FHoudiniApi::GetAttributeStringDataEmptyStub(const HAPI_Session * session, HAPI_NodeId node_id, HAPI_PartId part_id, const char * name, HAPI_AttributeInfo * attr_info, HAPI_StringHandle * data_array, int start, int length) { @@ -1918,6 +2116,20 @@ FHoudiniApi::GetComposedObjectTransformsEmptyStub(const HAPI_Session * session, } +HAPI_Result +FHoudiniApi::GetConnectionErrorEmptyStub(char * string_value, int length, HAPI_Bool clear) +{ + return HAPI_RESULT_FAILURE; +} + + +HAPI_Result +FHoudiniApi::GetConnectionErrorLengthEmptyStub(int * buffer_length) +{ + return HAPI_RESULT_FAILURE; +} + + HAPI_Result FHoudiniApi::GetCookingCurrentCountEmptyStub(const HAPI_Session * session, int * count) { @@ -2037,6 +2249,20 @@ FHoudiniApi::GetGroupNamesOnPackedInstancePartEmptyStub(const HAPI_Session * ses } +HAPI_Result +FHoudiniApi::GetHIPFileNodeCountEmptyStub(const HAPI_Session *session, HAPI_HIPFileId id, int * count) +{ + return HAPI_RESULT_FAILURE; +} + + +HAPI_Result +FHoudiniApi::GetHIPFileNodeIdsEmptyStub(const HAPI_Session *session, HAPI_HIPFileId id, HAPI_NodeId * node_ids, int length) +{ + return HAPI_RESULT_FAILURE; +} + + HAPI_Result FHoudiniApi::GetHandleBindingInfoEmptyStub(const HAPI_Session * session, HAPI_NodeId node_id, int handle_index, HAPI_HandleBindingInfo * handle_binding_infos_array, int start, int length) { @@ -2198,6 +2424,13 @@ FHoudiniApi::GetObjectTransformEmptyStub(const HAPI_Session * session, HAPI_Node } +HAPI_Result +FHoudiniApi::GetOutputNodeIdEmptyStub(const HAPI_Session * session, HAPI_NodeId node_id, int output, HAPI_NodeId * output_node_id) +{ + return HAPI_RESULT_FAILURE; +} + + HAPI_Result FHoudiniApi::GetPDGEventsEmptyStub(const HAPI_Session * session, HAPI_PDG_GraphContextId graph_context_id, HAPI_PDG_EventInfo * event_array, int length, int * event_count, int * remaining_events) { @@ -2401,6 +2634,13 @@ FHoudiniApi::GetSessionEnvIntEmptyStub(const HAPI_Session * session, HAPI_Sessio } +HAPI_Result +FHoudiniApi::GetSessionSyncInfoEmptyStub(const HAPI_Session * session, HAPI_SessionSyncInfo * session_sync_info) +{ + return HAPI_RESULT_FAILURE; +} + + HAPI_Result FHoudiniApi::GetSphereInfoEmptyStub(const HAPI_Session * session, HAPI_NodeId geo_node_id, HAPI_PartId part_id, HAPI_SphereInfo * sphere_info) { @@ -2437,7 +2677,7 @@ FHoudiniApi::GetStringEmptyStub(const HAPI_Session * session, HAPI_StringHandle HAPI_Result -FHoudiniApi::GetStringBatchEmptyStub(const HAPI_Session * session, char * char_array, int char_array_length) +FHoudiniApi::GetStringBatchEmptyStub(const HAPI_Session * session, char * char_buffer, int char_array_length) { return HAPI_RESULT_FAILURE; } @@ -2485,6 +2725,20 @@ FHoudiniApi::GetTimelineOptionsEmptyStub(const HAPI_Session * session, HAPI_Time } +HAPI_Result +FHoudiniApi::GetTotalCookCountEmptyStub(const HAPI_Session * session, HAPI_NodeId node_id, HAPI_NodeTypeBits node_type_filter, HAPI_NodeFlagsBits node_flags_filter, HAPI_Bool recursive, int * count) +{ + return HAPI_RESULT_FAILURE; +} + + +HAPI_Result +FHoudiniApi::GetUseHoudiniTimeEmptyStub(const HAPI_Session * session, HAPI_Bool * enabled) +{ + return HAPI_RESULT_FAILURE; +} + + HAPI_Result FHoudiniApi::GetVertexListEmptyStub(const HAPI_Session * session, HAPI_NodeId node_id, HAPI_PartId part_id, int * vertex_list_array, int start, int length) { @@ -2492,6 +2746,13 @@ FHoudiniApi::GetVertexListEmptyStub(const HAPI_Session * session, HAPI_NodeId no } +HAPI_Result +FHoudiniApi::GetViewportEmptyStub(const HAPI_Session * session, HAPI_Viewport * viewport) +{ + return HAPI_RESULT_FAILURE; +} + + HAPI_Result FHoudiniApi::GetVolumeBoundsEmptyStub(const HAPI_Session * session, HAPI_NodeId node_id, HAPI_PartId part_id, float * x_min, float * y_min, float * z_min, float * x_max, float * y_max, float * z_max, float * x_center, float * y_center, float * z_center) { @@ -2730,6 +2991,13 @@ FHoudiniApi::LoadHIPFileEmptyStub(const HAPI_Session * session, const char * fil } +HAPI_Result +FHoudiniApi::LoadNodeFromFileEmptyStub(const HAPI_Session * session, const char * file_name, HAPI_NodeId parent_node_id, const char * node_label, HAPI_Bool cook_on_load, HAPI_NodeId * new_node_id) +{ + return HAPI_RESULT_FAILURE; +} + + HAPI_MaterialInfo FHoudiniApi::MaterialInfo_CreateEmptyStub() { @@ -2744,6 +3012,13 @@ FHoudiniApi::MaterialInfo_InitEmptyStub(HAPI_MaterialInfo * in) } +HAPI_Result +FHoudiniApi::MergeHIPFileEmptyStub(const HAPI_Session * session, const char * file_name, HAPI_Bool cook_on_load, HAPI_HIPFileId * file_id) +{ + return HAPI_RESULT_FAILURE; +} + + HAPI_NodeInfo FHoudiniApi::NodeInfo_CreateEmptyStub() { @@ -3038,6 +3313,20 @@ FHoudiniApi::SaveHIPFileEmptyStub(const HAPI_Session * session, const char * fil } +HAPI_Result +FHoudiniApi::SaveNodeToFileEmptyStub(const HAPI_Session * session, HAPI_NodeId node_id, const char * file_name) +{ + return HAPI_RESULT_FAILURE; +} + + +HAPI_SessionSyncInfo +FHoudiniApi::SessionSyncInfo_CreateEmptyStub() +{ + return HAPI_SessionSyncInfo(); +} + + HAPI_Result FHoudiniApi::SetAnimCurveEmptyStub(const HAPI_Session * session, HAPI_NodeId node_id, HAPI_ParmId parm_id, int parm_index, const HAPI_Keyframe * curve_keyframes_array, int keyframe_count) { @@ -3241,6 +3530,20 @@ FHoudiniApi::SetServerEnvStringEmptyStub(const HAPI_Session * session, const cha } +HAPI_Result +FHoudiniApi::SetSessionSyncEmptyStub(const HAPI_Session * session, HAPI_Bool enable) +{ + return HAPI_RESULT_FAILURE; +} + + +HAPI_Result +FHoudiniApi::SetSessionSyncInfoEmptyStub(const HAPI_Session * session, const HAPI_SessionSyncInfo * session_sync_info) +{ + return HAPI_RESULT_FAILURE; +} + + HAPI_Result FHoudiniApi::SetTimeEmptyStub(const HAPI_Session * session, float time) { @@ -3262,6 +3565,13 @@ FHoudiniApi::SetTransformAnimCurveEmptyStub(const HAPI_Session * session, HAPI_N } +HAPI_Result +FHoudiniApi::SetUseHoudiniTimeEmptyStub(const HAPI_Session * session, HAPI_Bool enabled) +{ + return HAPI_RESULT_FAILURE; +} + + HAPI_Result FHoudiniApi::SetVertexListEmptyStub(const HAPI_Session * session, HAPI_NodeId node_id, HAPI_PartId part_id, const int * vertex_list_array, int start, int length) { @@ -3269,6 +3579,13 @@ FHoudiniApi::SetVertexListEmptyStub(const HAPI_Session * session, HAPI_NodeId no } +HAPI_Result +FHoudiniApi::SetViewportEmptyStub(const HAPI_Session * session, const HAPI_Viewport * viewport) +{ + return HAPI_RESULT_FAILURE; +} + + HAPI_Result FHoudiniApi::SetVolumeInfoEmptyStub(const HAPI_Session * session, HAPI_NodeId node_id, HAPI_PartId part_id, const HAPI_VolumeInfo * volume_info) { @@ -3381,6 +3698,13 @@ FHoudiniApi::Transform_InitEmptyStub(HAPI_Transform * in) } +HAPI_Viewport +FHoudiniApi::Viewport_CreateEmptyStub() +{ + return HAPI_Viewport(); +} + + HAPI_VolumeInfo FHoudiniApi::VolumeInfo_CreateEmptyStub() { diff --git a/Source/HoudiniEngineRuntime/Public/HoudiniApi.h b/Source/HoudiniEngineRuntime/Public/HoudiniApi.h index 997b97b84a..76c9c6c28f 100644 --- a/Source/HoudiniEngineRuntime/Public/HoudiniApi.h +++ b/Source/HoudiniEngineRuntime/Public/HoudiniApi.h @@ -1,5 +1,5 @@ /* - * Copyright (c) <2019> Side Effects Software Inc. * + * Copyright (c) <2020> Side Effects Software Inc. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights @@ -48,6 +48,7 @@ struct HOUDINIENGINERUNTIME_API FHoudiniApi typedef HAPI_Result (*CancelPDGCookFuncPtr)(const HAPI_Session * session, HAPI_PDG_GraphContextId graph_context_id); typedef HAPI_Result (*CheckForSpecificErrorsFuncPtr)(const HAPI_Session * session, HAPI_NodeId node_id, HAPI_ErrorCodeBits errors_to_look_for, HAPI_ErrorCodeBits * errors_found); typedef HAPI_Result (*CleanupFuncPtr)(const HAPI_Session * session); + typedef HAPI_Result (*ClearConnectionErrorFuncPtr)(); typedef HAPI_Result (*CloseSessionFuncPtr)(const HAPI_Session * session); typedef HAPI_Result (*CommitGeoFuncPtr)(const HAPI_Session * session, HAPI_NodeId node_id); typedef HAPI_Result (*CommitWorkitemsFuncPtr)(const HAPI_Session * session, HAPI_NodeId node_id); @@ -66,7 +67,7 @@ struct HOUDINIENGINERUNTIME_API FHoudiniApi typedef void (*CookOptions_InitFuncPtr)(HAPI_CookOptions * in); typedef HAPI_Result (*CookPDGFuncPtr)(const HAPI_Session * session, HAPI_NodeId cook_node_id, int generate_only, int blocking); typedef HAPI_Result (*CreateCustomSessionFuncPtr)(HAPI_SessionType session_type, void * session_info, HAPI_Session * session); - typedef HAPI_Result (*CreateHeightfieldInputNodeFuncPtr)(const HAPI_Session * session, HAPI_NodeId parent_node_id, const char * name, int xsize, int ysize, float voxelsize, HAPI_NodeId * heightfield_node_id, HAPI_NodeId * height_node_id, HAPI_NodeId * mask_node_id, HAPI_NodeId * merge_node_id); + typedef HAPI_Result (*CreateHeightFieldInputFuncPtr)(const HAPI_Session * session, HAPI_NodeId parent_node_id, const char * name, int xsize, int ysize, float voxelsize, HAPI_HeightFieldSampling sampling, HAPI_NodeId * heightfield_node_id, HAPI_NodeId * height_node_id, HAPI_NodeId * mask_node_id, HAPI_NodeId * merge_node_id); typedef HAPI_Result (*CreateHeightfieldInputVolumeNodeFuncPtr)(const HAPI_Session * session, HAPI_NodeId parent_node_id, HAPI_NodeId * new_node_id, const char * name, int xsize, int ysize, float voxelsize); typedef HAPI_Result (*CreateInProcessSessionFuncPtr)(HAPI_Session * session); typedef HAPI_Result (*CreateInputNodeFuncPtr)(const HAPI_Session * session, HAPI_NodeId * node_id, const char * name); @@ -89,13 +90,21 @@ struct HOUDINIENGINERUNTIME_API FHoudiniApi typedef void (*GeoInfo_InitFuncPtr)(HAPI_GeoInfo * in); typedef HAPI_Result (*GetActiveCacheCountFuncPtr)(const HAPI_Session * session, int * active_cache_count); typedef HAPI_Result (*GetActiveCacheNamesFuncPtr)(const HAPI_Session * session, HAPI_StringHandle * cache_names_array, int active_cache_count); + typedef HAPI_Result (*GetAssetDefinitionParmCountsFuncPtr)(const HAPI_Session * session, HAPI_AssetLibraryId library_id, const char * asset_name, int * parm_count, int * int_value_count, int * float_value_count, int * string_value_count, int * choice_value_count); + typedef HAPI_Result (*GetAssetDefinitionParmInfosFuncPtr)(const HAPI_Session * session, HAPI_AssetLibraryId library_id, const char * asset_name, HAPI_ParmInfo * parm_infos_array, int start, int length); + typedef HAPI_Result (*GetAssetDefinitionParmValuesFuncPtr)(const HAPI_Session * session, HAPI_AssetLibraryId library_id, const char * asset_name, int * int_values_array, int int_start, int int_length, float * float_values_array, int float_start, int float_length, HAPI_Bool string_evaluate, HAPI_StringHandle * string_values_array, int string_start, int string_length, HAPI_ParmChoiceInfo * choice_values_array, int choice_start, int choice_length); typedef HAPI_Result (*GetAssetInfoFuncPtr)(const HAPI_Session * session, HAPI_NodeId node_id, HAPI_AssetInfo * asset_info); + typedef HAPI_Result (*GetAttributeFloat64ArrayDataFuncPtr)(const HAPI_Session * session, HAPI_NodeId node_id, HAPI_PartId part_id, const char * name, HAPI_AttributeInfo * attr_info, double * data_fixed_array, int data_fixed_length, int * sizes_fixed_array, int start, int sizes_fixed_length); typedef HAPI_Result (*GetAttributeFloat64DataFuncPtr)(const HAPI_Session * session, HAPI_NodeId node_id, HAPI_PartId part_id, const char * name, HAPI_AttributeInfo * attr_info, int stride, double * data_array, int start, int length); + typedef HAPI_Result (*GetAttributeFloatArrayDataFuncPtr)(const HAPI_Session * session, HAPI_NodeId node_id, HAPI_PartId part_id, const char * name, HAPI_AttributeInfo * attr_info, float * data_fixed_array, int data_fixed_length, int * sizes_fixed_array, int start, int sizes_fixed_length); typedef HAPI_Result (*GetAttributeFloatDataFuncPtr)(const HAPI_Session * session, HAPI_NodeId node_id, HAPI_PartId part_id, const char * name, HAPI_AttributeInfo * attr_info, int stride, float * data_array, int start, int length); typedef HAPI_Result (*GetAttributeInfoFuncPtr)(const HAPI_Session * session, HAPI_NodeId node_id, HAPI_PartId part_id, const char * name, HAPI_AttributeOwner owner, HAPI_AttributeInfo * attr_info); + typedef HAPI_Result (*GetAttributeInt64ArrayDataFuncPtr)(const HAPI_Session * session, HAPI_NodeId node_id, HAPI_PartId part_id, const char * name, HAPI_AttributeInfo * attr_info, HAPI_Int64 * data_fixed_array, int data_fixed_length, int * sizes_fixed_array, int start, int sizes_fixed_length); typedef HAPI_Result (*GetAttributeInt64DataFuncPtr)(const HAPI_Session * session, HAPI_NodeId node_id, HAPI_PartId part_id, const char * name, HAPI_AttributeInfo * attr_info, int stride, HAPI_Int64 * data_array, int start, int length); + typedef HAPI_Result (*GetAttributeIntArrayDataFuncPtr)(const HAPI_Session * session, HAPI_NodeId node_id, HAPI_PartId part_id, const char * name, HAPI_AttributeInfo * attr_info, int * data_fixed_array, int data_fixed_length, int * sizes_fixed_array, int start, int sizes_fixed_length); typedef HAPI_Result (*GetAttributeIntDataFuncPtr)(const HAPI_Session * session, HAPI_NodeId node_id, HAPI_PartId part_id, const char * name, HAPI_AttributeInfo * attr_info, int stride, int * data_array, int start, int length); typedef HAPI_Result (*GetAttributeNamesFuncPtr)(const HAPI_Session * session, HAPI_NodeId node_id, HAPI_PartId part_id, HAPI_AttributeOwner owner, HAPI_StringHandle * attribute_names_array, int count); + typedef HAPI_Result (*GetAttributeStringArrayDataFuncPtr)(const HAPI_Session * session, HAPI_NodeId node_id, HAPI_PartId part_id, const char * name, HAPI_AttributeInfo * attr_info, HAPI_StringHandle * data_fixed_array, int data_fixed_length, int * sizes_fixed_array, int start, int sizes_fixed_length); typedef HAPI_Result (*GetAttributeStringDataFuncPtr)(const HAPI_Session * session, HAPI_NodeId node_id, HAPI_PartId part_id, const char * name, HAPI_AttributeInfo * attr_info, HAPI_StringHandle * data_array, int start, int length); typedef HAPI_Result (*GetAvailableAssetCountFuncPtr)(const HAPI_Session * session, HAPI_AssetLibraryId library_id, int * asset_count); typedef HAPI_Result (*GetAvailableAssetsFuncPtr)(const HAPI_Session * session, HAPI_AssetLibraryId library_id, HAPI_StringHandle * asset_names_array, int asset_count); @@ -105,6 +114,8 @@ struct HOUDINIENGINERUNTIME_API FHoudiniApi typedef HAPI_Result (*GetComposedNodeCookResultFuncPtr)(const HAPI_Session * session, char * string_value, int length); typedef HAPI_Result (*GetComposedObjectListFuncPtr)(const HAPI_Session * session, HAPI_NodeId parent_node_id, HAPI_ObjectInfo * object_infos_array, int start, int length); typedef HAPI_Result (*GetComposedObjectTransformsFuncPtr)(const HAPI_Session * session, HAPI_NodeId parent_node_id, HAPI_RSTOrder rst_order, HAPI_Transform * transform_array, int start, int length); + typedef HAPI_Result (*GetConnectionErrorFuncPtr)(char * string_value, int length, HAPI_Bool clear); + typedef HAPI_Result (*GetConnectionErrorLengthFuncPtr)(int * buffer_length); typedef HAPI_Result (*GetCookingCurrentCountFuncPtr)(const HAPI_Session * session, int * count); typedef HAPI_Result (*GetCookingTotalCountFuncPtr)(const HAPI_Session * session, int * count); typedef HAPI_Result (*GetCurveCountsFuncPtr)(const HAPI_Session * session, HAPI_NodeId node_id, HAPI_PartId part_id, int * counts_array, int start, int length); @@ -122,6 +133,8 @@ struct HOUDINIENGINERUNTIME_API FHoudiniApi typedef HAPI_Result (*GetGroupMembershipOnPackedInstancePartFuncPtr)(const HAPI_Session * session, HAPI_NodeId node_id, HAPI_PartId part_id, HAPI_GroupType group_type, const char * group_name, HAPI_Bool * membership_array_all_equal, int * membership_array, int start, int length); typedef HAPI_Result (*GetGroupNamesFuncPtr)(const HAPI_Session * session, HAPI_NodeId node_id, HAPI_GroupType group_type, HAPI_StringHandle * group_names_array, int group_count); typedef HAPI_Result (*GetGroupNamesOnPackedInstancePartFuncPtr)(const HAPI_Session * session, HAPI_NodeId node_id, HAPI_PartId part_id, HAPI_GroupType group_type, HAPI_StringHandle * group_names_array, int group_count); + typedef HAPI_Result (*GetHIPFileNodeCountFuncPtr)(const HAPI_Session *session, HAPI_HIPFileId id, int * count); + typedef HAPI_Result (*GetHIPFileNodeIdsFuncPtr)(const HAPI_Session *session, HAPI_HIPFileId id, HAPI_NodeId * node_ids, int length); typedef HAPI_Result (*GetHandleBindingInfoFuncPtr)(const HAPI_Session * session, HAPI_NodeId node_id, int handle_index, HAPI_HandleBindingInfo * handle_binding_infos_array, int start, int length); typedef HAPI_Result (*GetHandleInfoFuncPtr)(const HAPI_Session * session, HAPI_NodeId node_id, HAPI_HandleInfo * handle_infos_array, int start, int length); typedef HAPI_Result (*GetHeightFieldDataFuncPtr)(const HAPI_Session * session, HAPI_NodeId node_id, HAPI_PartId part_id, float * values_array, int start, int length); @@ -145,6 +158,7 @@ struct HOUDINIENGINERUNTIME_API FHoudiniApi typedef HAPI_Result (*GetNumWorkitemsFuncPtr)(const HAPI_Session * session, HAPI_NodeId node_id, int * num); typedef HAPI_Result (*GetObjectInfoFuncPtr)(const HAPI_Session * session, HAPI_NodeId node_id, HAPI_ObjectInfo * object_info); typedef HAPI_Result (*GetObjectTransformFuncPtr)(const HAPI_Session * session, HAPI_NodeId node_id, HAPI_NodeId relative_to_node_id, HAPI_RSTOrder rst_order, HAPI_Transform * transform); + typedef HAPI_Result (*GetOutputNodeIdFuncPtr)(const HAPI_Session * session, HAPI_NodeId node_id, int output, HAPI_NodeId * output_node_id); typedef HAPI_Result (*GetPDGEventsFuncPtr)(const HAPI_Session * session, HAPI_PDG_GraphContextId graph_context_id, HAPI_PDG_EventInfo * event_array, int length, int * event_count, int * remaining_events); typedef HAPI_Result (*GetPDGGraphContextIdFuncPtr)(const HAPI_Session * session, HAPI_NodeId top_node_id, HAPI_PDG_GraphContextId * context_id); typedef HAPI_Result (*GetPDGGraphContextsFuncPtr)(const HAPI_Session * session, int * num_contexts, HAPI_StringHandle * context_names_array, HAPI_PDG_GraphContextId * context_id_array, int count); @@ -174,19 +188,23 @@ struct HOUDINIENGINERUNTIME_API FHoudiniApi typedef HAPI_Result (*GetServerEnvVarCountFuncPtr)(const HAPI_Session * session, int * env_count); typedef HAPI_Result (*GetServerEnvVarListFuncPtr)(const HAPI_Session * session, HAPI_StringHandle * values_array, int start, int length); typedef HAPI_Result (*GetSessionEnvIntFuncPtr)(const HAPI_Session * session, HAPI_SessionEnvIntType int_type, int * value); + typedef HAPI_Result (*GetSessionSyncInfoFuncPtr)(const HAPI_Session * session, HAPI_SessionSyncInfo * session_sync_info); typedef HAPI_Result (*GetSphereInfoFuncPtr)(const HAPI_Session * session, HAPI_NodeId geo_node_id, HAPI_PartId part_id, HAPI_SphereInfo * sphere_info); typedef HAPI_Result (*GetStatusFuncPtr)(const HAPI_Session * session, HAPI_StatusType status_type, int * status); typedef HAPI_Result (*GetStatusStringFuncPtr)(const HAPI_Session * session, HAPI_StatusType status_type, char * string_value, int length); typedef HAPI_Result (*GetStatusStringBufLengthFuncPtr)(const HAPI_Session * session, HAPI_StatusType status_type, HAPI_StatusVerbosity verbosity, int * buffer_length); typedef HAPI_Result (*GetStringFuncPtr)(const HAPI_Session * session, HAPI_StringHandle string_handle, char * string_value, int length); - typedef HAPI_Result (*GetStringBatchFuncPtr)(const HAPI_Session * session, char * char_array, int char_array_length); + typedef HAPI_Result (*GetStringBatchFuncPtr)(const HAPI_Session * session, char * char_buffer, int char_array_length); typedef HAPI_Result (*GetStringBatchSizeFuncPtr)(const HAPI_Session * session, const int * string_handle_array, int string_handle_count, int* string_buffer_size); typedef HAPI_Result (*GetStringBufLengthFuncPtr)(const HAPI_Session * session, HAPI_StringHandle string_handle, int * buffer_length); typedef HAPI_Result (*GetSupportedImageFileFormatCountFuncPtr)(const HAPI_Session * session, int * file_format_count); typedef HAPI_Result (*GetSupportedImageFileFormatsFuncPtr)(const HAPI_Session * session, HAPI_ImageFileFormat * formats_array, int file_format_count); typedef HAPI_Result (*GetTimeFuncPtr)(const HAPI_Session * session, float * time); typedef HAPI_Result (*GetTimelineOptionsFuncPtr)(const HAPI_Session * session, HAPI_TimelineOptions * timeline_options); + typedef HAPI_Result (*GetTotalCookCountFuncPtr)(const HAPI_Session * session, HAPI_NodeId node_id, HAPI_NodeTypeBits node_type_filter, HAPI_NodeFlagsBits node_flags_filter, HAPI_Bool recursive, int * count); + typedef HAPI_Result (*GetUseHoudiniTimeFuncPtr)(const HAPI_Session * session, HAPI_Bool * enabled); typedef HAPI_Result (*GetVertexListFuncPtr)(const HAPI_Session * session, HAPI_NodeId node_id, HAPI_PartId part_id, int * vertex_list_array, int start, int length); + typedef HAPI_Result (*GetViewportFuncPtr)(const HAPI_Session * session, HAPI_Viewport * viewport); typedef HAPI_Result (*GetVolumeBoundsFuncPtr)(const HAPI_Session * session, HAPI_NodeId node_id, HAPI_PartId part_id, float * x_min, float * y_min, float * z_min, float * x_max, float * y_max, float * z_max, float * x_center, float * y_center, float * z_center); typedef HAPI_Result (*GetVolumeInfoFuncPtr)(const HAPI_Session * session, HAPI_NodeId node_id, HAPI_PartId part_id, HAPI_VolumeInfo * volume_info); typedef HAPI_Result (*GetVolumeTileFloatDataFuncPtr)(const HAPI_Session * session, HAPI_NodeId node_id, HAPI_PartId part_id, float fill_value, const HAPI_VolumeTileInfo * tile, float * values_array, int length); @@ -221,8 +239,10 @@ struct HOUDINIENGINERUNTIME_API FHoudiniApi typedef HAPI_Result (*LoadGeoFromFileFuncPtr)(const HAPI_Session * session, HAPI_NodeId node_id, const char * file_name); typedef HAPI_Result (*LoadGeoFromMemoryFuncPtr)(const HAPI_Session * session, HAPI_NodeId node_id, const char * format, const char * buffer, int length); typedef HAPI_Result (*LoadHIPFileFuncPtr)(const HAPI_Session * session, const char * file_name, HAPI_Bool cook_on_load); + typedef HAPI_Result (*LoadNodeFromFileFuncPtr)(const HAPI_Session * session, const char * file_name, HAPI_NodeId parent_node_id, const char * node_label, HAPI_Bool cook_on_load, HAPI_NodeId * new_node_id); typedef HAPI_MaterialInfo (*MaterialInfo_CreateFuncPtr)(); typedef void (*MaterialInfo_InitFuncPtr)(HAPI_MaterialInfo * in); + typedef HAPI_Result (*MergeHIPFileFuncPtr)(const HAPI_Session * session, const char * file_name, HAPI_Bool cook_on_load, HAPI_HIPFileId * file_id); typedef HAPI_NodeInfo (*NodeInfo_CreateFuncPtr)(); typedef void (*NodeInfo_InitFuncPtr)(HAPI_NodeInfo * in); typedef HAPI_ObjectInfo (*ObjectInfo_CreateFuncPtr)(); @@ -265,6 +285,8 @@ struct HOUDINIENGINERUNTIME_API FHoudiniApi typedef HAPI_Result (*SaveGeoToFileFuncPtr)(const HAPI_Session * session, HAPI_NodeId node_id, const char * file_name); typedef HAPI_Result (*SaveGeoToMemoryFuncPtr)(const HAPI_Session * session, HAPI_NodeId node_id, char * buffer, int length); typedef HAPI_Result (*SaveHIPFileFuncPtr)(const HAPI_Session * session, const char * file_path, HAPI_Bool lock_nodes); + typedef HAPI_Result (*SaveNodeToFileFuncPtr)(const HAPI_Session * session, HAPI_NodeId node_id, const char * file_name); + typedef HAPI_SessionSyncInfo (*SessionSyncInfo_CreateFuncPtr)(); typedef HAPI_Result (*SetAnimCurveFuncPtr)(const HAPI_Session * session, HAPI_NodeId node_id, HAPI_ParmId parm_id, int parm_index, const HAPI_Keyframe * curve_keyframes_array, int keyframe_count); typedef HAPI_Result (*SetAttributeFloat64DataFuncPtr)(const HAPI_Session * session, HAPI_NodeId node_id, HAPI_PartId part_id, const char * name, const HAPI_AttributeInfo * attr_info, const double * data_array, int start, int length); typedef HAPI_Result (*SetAttributeFloatDataFuncPtr)(const HAPI_Session * session, HAPI_NodeId node_id, HAPI_PartId part_id, const char * name, const HAPI_AttributeInfo * attr_info, const float * data_array, int start, int length); @@ -294,10 +316,14 @@ struct HOUDINIENGINERUNTIME_API FHoudiniApi typedef HAPI_Result (*SetPresetFuncPtr)(const HAPI_Session * session, HAPI_NodeId node_id, HAPI_PresetType preset_type, const char * preset_name, const char * buffer, int buffer_length); typedef HAPI_Result (*SetServerEnvIntFuncPtr)(const HAPI_Session * session, const char * variable_name, int value); typedef HAPI_Result (*SetServerEnvStringFuncPtr)(const HAPI_Session * session, const char * variable_name, const char * value); + typedef HAPI_Result (*SetSessionSyncFuncPtr)(const HAPI_Session * session, HAPI_Bool enable); + typedef HAPI_Result (*SetSessionSyncInfoFuncPtr)(const HAPI_Session * session, const HAPI_SessionSyncInfo * session_sync_info); typedef HAPI_Result (*SetTimeFuncPtr)(const HAPI_Session * session, float time); typedef HAPI_Result (*SetTimelineOptionsFuncPtr)(const HAPI_Session * session, const HAPI_TimelineOptions * timeline_options); typedef HAPI_Result (*SetTransformAnimCurveFuncPtr)(const HAPI_Session * session, HAPI_NodeId node_id, HAPI_TransformComponent trans_comp, const HAPI_Keyframe * curve_keyframes_array, int keyframe_count); + typedef HAPI_Result (*SetUseHoudiniTimeFuncPtr)(const HAPI_Session * session, HAPI_Bool enabled); typedef HAPI_Result (*SetVertexListFuncPtr)(const HAPI_Session * session, HAPI_NodeId node_id, HAPI_PartId part_id, const int * vertex_list_array, int start, int length); + typedef HAPI_Result (*SetViewportFuncPtr)(const HAPI_Session * session, const HAPI_Viewport * viewport); typedef HAPI_Result (*SetVolumeInfoFuncPtr)(const HAPI_Session * session, HAPI_NodeId node_id, HAPI_PartId part_id, const HAPI_VolumeInfo * volume_info); typedef HAPI_Result (*SetVolumeTileFloatDataFuncPtr)(const HAPI_Session * session, HAPI_NodeId node_id, HAPI_PartId part_id, const HAPI_VolumeTileInfo * tile, const float * values_array, int length); typedef HAPI_Result (*SetVolumeTileIntDataFuncPtr)(const HAPI_Session * session, HAPI_NodeId node_id, HAPI_PartId part_id, const HAPI_VolumeTileInfo * tile, const int * values_array, int length); @@ -314,6 +340,7 @@ struct HOUDINIENGINERUNTIME_API FHoudiniApi typedef void (*TransformEuler_InitFuncPtr)(HAPI_TransformEuler * in); typedef HAPI_Transform (*Transform_CreateFuncPtr)(); typedef void (*Transform_InitFuncPtr)(HAPI_Transform * in); + typedef HAPI_Viewport (*Viewport_CreateFuncPtr)(); typedef HAPI_VolumeInfo (*VolumeInfo_CreateFuncPtr)(); typedef void (*VolumeInfo_InitFuncPtr)(HAPI_VolumeInfo * in); typedef HAPI_VolumeTileInfo (*VolumeTileInfo_CreateFuncPtr)(); @@ -331,6 +358,7 @@ struct HOUDINIENGINERUNTIME_API FHoudiniApi static CancelPDGCookFuncPtr CancelPDGCook; static CheckForSpecificErrorsFuncPtr CheckForSpecificErrors; static CleanupFuncPtr Cleanup; + static ClearConnectionErrorFuncPtr ClearConnectionError; static CloseSessionFuncPtr CloseSession; static CommitGeoFuncPtr CommitGeo; static CommitWorkitemsFuncPtr CommitWorkitems; @@ -349,7 +377,7 @@ struct HOUDINIENGINERUNTIME_API FHoudiniApi static CookOptions_InitFuncPtr CookOptions_Init; static CookPDGFuncPtr CookPDG; static CreateCustomSessionFuncPtr CreateCustomSession; - static CreateHeightfieldInputNodeFuncPtr CreateHeightfieldInputNode; + static CreateHeightFieldInputFuncPtr CreateHeightFieldInput; static CreateHeightfieldInputVolumeNodeFuncPtr CreateHeightfieldInputVolumeNode; static CreateInProcessSessionFuncPtr CreateInProcessSession; static CreateInputNodeFuncPtr CreateInputNode; @@ -372,13 +400,21 @@ struct HOUDINIENGINERUNTIME_API FHoudiniApi static GeoInfo_InitFuncPtr GeoInfo_Init; static GetActiveCacheCountFuncPtr GetActiveCacheCount; static GetActiveCacheNamesFuncPtr GetActiveCacheNames; + static GetAssetDefinitionParmCountsFuncPtr GetAssetDefinitionParmCounts; + static GetAssetDefinitionParmInfosFuncPtr GetAssetDefinitionParmInfos; + static GetAssetDefinitionParmValuesFuncPtr GetAssetDefinitionParmValues; static GetAssetInfoFuncPtr GetAssetInfo; + static GetAttributeFloat64ArrayDataFuncPtr GetAttributeFloat64ArrayData; static GetAttributeFloat64DataFuncPtr GetAttributeFloat64Data; + static GetAttributeFloatArrayDataFuncPtr GetAttributeFloatArrayData; static GetAttributeFloatDataFuncPtr GetAttributeFloatData; static GetAttributeInfoFuncPtr GetAttributeInfo; + static GetAttributeInt64ArrayDataFuncPtr GetAttributeInt64ArrayData; static GetAttributeInt64DataFuncPtr GetAttributeInt64Data; + static GetAttributeIntArrayDataFuncPtr GetAttributeIntArrayData; static GetAttributeIntDataFuncPtr GetAttributeIntData; static GetAttributeNamesFuncPtr GetAttributeNames; + static GetAttributeStringArrayDataFuncPtr GetAttributeStringArrayData; static GetAttributeStringDataFuncPtr GetAttributeStringData; static GetAvailableAssetCountFuncPtr GetAvailableAssetCount; static GetAvailableAssetsFuncPtr GetAvailableAssets; @@ -388,6 +424,8 @@ struct HOUDINIENGINERUNTIME_API FHoudiniApi static GetComposedNodeCookResultFuncPtr GetComposedNodeCookResult; static GetComposedObjectListFuncPtr GetComposedObjectList; static GetComposedObjectTransformsFuncPtr GetComposedObjectTransforms; + static GetConnectionErrorFuncPtr GetConnectionError; + static GetConnectionErrorLengthFuncPtr GetConnectionErrorLength; static GetCookingCurrentCountFuncPtr GetCookingCurrentCount; static GetCookingTotalCountFuncPtr GetCookingTotalCount; static GetCurveCountsFuncPtr GetCurveCounts; @@ -405,6 +443,8 @@ struct HOUDINIENGINERUNTIME_API FHoudiniApi static GetGroupMembershipOnPackedInstancePartFuncPtr GetGroupMembershipOnPackedInstancePart; static GetGroupNamesFuncPtr GetGroupNames; static GetGroupNamesOnPackedInstancePartFuncPtr GetGroupNamesOnPackedInstancePart; + static GetHIPFileNodeCountFuncPtr GetHIPFileNodeCount; + static GetHIPFileNodeIdsFuncPtr GetHIPFileNodeIds; static GetHandleBindingInfoFuncPtr GetHandleBindingInfo; static GetHandleInfoFuncPtr GetHandleInfo; static GetHeightFieldDataFuncPtr GetHeightFieldData; @@ -428,6 +468,7 @@ struct HOUDINIENGINERUNTIME_API FHoudiniApi static GetNumWorkitemsFuncPtr GetNumWorkitems; static GetObjectInfoFuncPtr GetObjectInfo; static GetObjectTransformFuncPtr GetObjectTransform; + static GetOutputNodeIdFuncPtr GetOutputNodeId; static GetPDGEventsFuncPtr GetPDGEvents; static GetPDGGraphContextIdFuncPtr GetPDGGraphContextId; static GetPDGGraphContextsFuncPtr GetPDGGraphContexts; @@ -457,6 +498,7 @@ struct HOUDINIENGINERUNTIME_API FHoudiniApi static GetServerEnvVarCountFuncPtr GetServerEnvVarCount; static GetServerEnvVarListFuncPtr GetServerEnvVarList; static GetSessionEnvIntFuncPtr GetSessionEnvInt; + static GetSessionSyncInfoFuncPtr GetSessionSyncInfo; static GetSphereInfoFuncPtr GetSphereInfo; static GetStatusFuncPtr GetStatus; static GetStatusStringFuncPtr GetStatusString; @@ -469,7 +511,10 @@ struct HOUDINIENGINERUNTIME_API FHoudiniApi static GetSupportedImageFileFormatsFuncPtr GetSupportedImageFileFormats; static GetTimeFuncPtr GetTime; static GetTimelineOptionsFuncPtr GetTimelineOptions; + static GetTotalCookCountFuncPtr GetTotalCookCount; + static GetUseHoudiniTimeFuncPtr GetUseHoudiniTime; static GetVertexListFuncPtr GetVertexList; + static GetViewportFuncPtr GetViewport; static GetVolumeBoundsFuncPtr GetVolumeBounds; static GetVolumeInfoFuncPtr GetVolumeInfo; static GetVolumeTileFloatDataFuncPtr GetVolumeTileFloatData; @@ -504,8 +549,10 @@ struct HOUDINIENGINERUNTIME_API FHoudiniApi static LoadGeoFromFileFuncPtr LoadGeoFromFile; static LoadGeoFromMemoryFuncPtr LoadGeoFromMemory; static LoadHIPFileFuncPtr LoadHIPFile; + static LoadNodeFromFileFuncPtr LoadNodeFromFile; static MaterialInfo_CreateFuncPtr MaterialInfo_Create; static MaterialInfo_InitFuncPtr MaterialInfo_Init; + static MergeHIPFileFuncPtr MergeHIPFile; static NodeInfo_CreateFuncPtr NodeInfo_Create; static NodeInfo_InitFuncPtr NodeInfo_Init; static ObjectInfo_CreateFuncPtr ObjectInfo_Create; @@ -548,6 +595,8 @@ struct HOUDINIENGINERUNTIME_API FHoudiniApi static SaveGeoToFileFuncPtr SaveGeoToFile; static SaveGeoToMemoryFuncPtr SaveGeoToMemory; static SaveHIPFileFuncPtr SaveHIPFile; + static SaveNodeToFileFuncPtr SaveNodeToFile; + static SessionSyncInfo_CreateFuncPtr SessionSyncInfo_Create; static SetAnimCurveFuncPtr SetAnimCurve; static SetAttributeFloat64DataFuncPtr SetAttributeFloat64Data; static SetAttributeFloatDataFuncPtr SetAttributeFloatData; @@ -577,10 +626,14 @@ struct HOUDINIENGINERUNTIME_API FHoudiniApi static SetPresetFuncPtr SetPreset; static SetServerEnvIntFuncPtr SetServerEnvInt; static SetServerEnvStringFuncPtr SetServerEnvString; + static SetSessionSyncFuncPtr SetSessionSync; + static SetSessionSyncInfoFuncPtr SetSessionSyncInfo; static SetTimeFuncPtr SetTime; static SetTimelineOptionsFuncPtr SetTimelineOptions; static SetTransformAnimCurveFuncPtr SetTransformAnimCurve; + static SetUseHoudiniTimeFuncPtr SetUseHoudiniTime; static SetVertexListFuncPtr SetVertexList; + static SetViewportFuncPtr SetViewport; static SetVolumeInfoFuncPtr SetVolumeInfo; static SetVolumeTileFloatDataFuncPtr SetVolumeTileFloatData; static SetVolumeTileIntDataFuncPtr SetVolumeTileIntData; @@ -597,6 +650,7 @@ struct HOUDINIENGINERUNTIME_API FHoudiniApi static TransformEuler_InitFuncPtr TransformEuler_Init; static Transform_CreateFuncPtr Transform_Create; static Transform_InitFuncPtr Transform_Init; + static Viewport_CreateFuncPtr Viewport_Create; static VolumeInfo_CreateFuncPtr VolumeInfo_Create; static VolumeInfo_InitFuncPtr VolumeInfo_Init; static VolumeTileInfo_CreateFuncPtr VolumeTileInfo_Create; @@ -614,6 +668,7 @@ struct HOUDINIENGINERUNTIME_API FHoudiniApi static HAPI_Result CancelPDGCookEmptyStub(const HAPI_Session * session, HAPI_PDG_GraphContextId graph_context_id); static HAPI_Result CheckForSpecificErrorsEmptyStub(const HAPI_Session * session, HAPI_NodeId node_id, HAPI_ErrorCodeBits errors_to_look_for, HAPI_ErrorCodeBits * errors_found); static HAPI_Result CleanupEmptyStub(const HAPI_Session * session); + static HAPI_Result ClearConnectionErrorEmptyStub(); static HAPI_Result CloseSessionEmptyStub(const HAPI_Session * session); static HAPI_Result CommitGeoEmptyStub(const HAPI_Session * session, HAPI_NodeId node_id); static HAPI_Result CommitWorkitemsEmptyStub(const HAPI_Session * session, HAPI_NodeId node_id); @@ -632,7 +687,7 @@ struct HOUDINIENGINERUNTIME_API FHoudiniApi static void CookOptions_InitEmptyStub(HAPI_CookOptions * in); static HAPI_Result CookPDGEmptyStub(const HAPI_Session * session, HAPI_NodeId cook_node_id, int generate_only, int blocking); static HAPI_Result CreateCustomSessionEmptyStub(HAPI_SessionType session_type, void * session_info, HAPI_Session * session); - static HAPI_Result CreateHeightfieldInputNodeEmptyStub(const HAPI_Session * session, HAPI_NodeId parent_node_id, const char * name, int xsize, int ysize, float voxelsize, HAPI_NodeId * heightfield_node_id, HAPI_NodeId * height_node_id, HAPI_NodeId * mask_node_id, HAPI_NodeId * merge_node_id); + static HAPI_Result CreateHeightFieldInputEmptyStub(const HAPI_Session * session, HAPI_NodeId parent_node_id, const char * name, int xsize, int ysize, float voxelsize, HAPI_HeightFieldSampling sampling, HAPI_NodeId * heightfield_node_id, HAPI_NodeId * height_node_id, HAPI_NodeId * mask_node_id, HAPI_NodeId * merge_node_id); static HAPI_Result CreateHeightfieldInputVolumeNodeEmptyStub(const HAPI_Session * session, HAPI_NodeId parent_node_id, HAPI_NodeId * new_node_id, const char * name, int xsize, int ysize, float voxelsize); static HAPI_Result CreateInProcessSessionEmptyStub(HAPI_Session * session); static HAPI_Result CreateInputNodeEmptyStub(const HAPI_Session * session, HAPI_NodeId * node_id, const char * name); @@ -655,13 +710,21 @@ struct HOUDINIENGINERUNTIME_API FHoudiniApi static void GeoInfo_InitEmptyStub(HAPI_GeoInfo * in); static HAPI_Result GetActiveCacheCountEmptyStub(const HAPI_Session * session, int * active_cache_count); static HAPI_Result GetActiveCacheNamesEmptyStub(const HAPI_Session * session, HAPI_StringHandle * cache_names_array, int active_cache_count); + static HAPI_Result GetAssetDefinitionParmCountsEmptyStub(const HAPI_Session * session, HAPI_AssetLibraryId library_id, const char * asset_name, int * parm_count, int * int_value_count, int * float_value_count, int * string_value_count, int * choice_value_count); + static HAPI_Result GetAssetDefinitionParmInfosEmptyStub(const HAPI_Session * session, HAPI_AssetLibraryId library_id, const char * asset_name, HAPI_ParmInfo * parm_infos_array, int start, int length); + static HAPI_Result GetAssetDefinitionParmValuesEmptyStub(const HAPI_Session * session, HAPI_AssetLibraryId library_id, const char * asset_name, int * int_values_array, int int_start, int int_length, float * float_values_array, int float_start, int float_length, HAPI_Bool string_evaluate, HAPI_StringHandle * string_values_array, int string_start, int string_length, HAPI_ParmChoiceInfo * choice_values_array, int choice_start, int choice_length); static HAPI_Result GetAssetInfoEmptyStub(const HAPI_Session * session, HAPI_NodeId node_id, HAPI_AssetInfo * asset_info); + static HAPI_Result GetAttributeFloat64ArrayDataEmptyStub(const HAPI_Session * session, HAPI_NodeId node_id, HAPI_PartId part_id, const char * name, HAPI_AttributeInfo * attr_info, double * data_fixed_array, int data_fixed_length, int * sizes_fixed_array, int start, int sizes_fixed_length); static HAPI_Result GetAttributeFloat64DataEmptyStub(const HAPI_Session * session, HAPI_NodeId node_id, HAPI_PartId part_id, const char * name, HAPI_AttributeInfo * attr_info, int stride, double * data_array, int start, int length); + static HAPI_Result GetAttributeFloatArrayDataEmptyStub(const HAPI_Session * session, HAPI_NodeId node_id, HAPI_PartId part_id, const char * name, HAPI_AttributeInfo * attr_info, float * data_fixed_array, int data_fixed_length, int * sizes_fixed_array, int start, int sizes_fixed_length); static HAPI_Result GetAttributeFloatDataEmptyStub(const HAPI_Session * session, HAPI_NodeId node_id, HAPI_PartId part_id, const char * name, HAPI_AttributeInfo * attr_info, int stride, float * data_array, int start, int length); static HAPI_Result GetAttributeInfoEmptyStub(const HAPI_Session * session, HAPI_NodeId node_id, HAPI_PartId part_id, const char * name, HAPI_AttributeOwner owner, HAPI_AttributeInfo * attr_info); + static HAPI_Result GetAttributeInt64ArrayDataEmptyStub(const HAPI_Session * session, HAPI_NodeId node_id, HAPI_PartId part_id, const char * name, HAPI_AttributeInfo * attr_info, HAPI_Int64 * data_fixed_array, int data_fixed_length, int * sizes_fixed_array, int start, int sizes_fixed_length); static HAPI_Result GetAttributeInt64DataEmptyStub(const HAPI_Session * session, HAPI_NodeId node_id, HAPI_PartId part_id, const char * name, HAPI_AttributeInfo * attr_info, int stride, HAPI_Int64 * data_array, int start, int length); + static HAPI_Result GetAttributeIntArrayDataEmptyStub(const HAPI_Session * session, HAPI_NodeId node_id, HAPI_PartId part_id, const char * name, HAPI_AttributeInfo * attr_info, int * data_fixed_array, int data_fixed_length, int * sizes_fixed_array, int start, int sizes_fixed_length); static HAPI_Result GetAttributeIntDataEmptyStub(const HAPI_Session * session, HAPI_NodeId node_id, HAPI_PartId part_id, const char * name, HAPI_AttributeInfo * attr_info, int stride, int * data_array, int start, int length); static HAPI_Result GetAttributeNamesEmptyStub(const HAPI_Session * session, HAPI_NodeId node_id, HAPI_PartId part_id, HAPI_AttributeOwner owner, HAPI_StringHandle * attribute_names_array, int count); + static HAPI_Result GetAttributeStringArrayDataEmptyStub(const HAPI_Session * session, HAPI_NodeId node_id, HAPI_PartId part_id, const char * name, HAPI_AttributeInfo * attr_info, HAPI_StringHandle * data_fixed_array, int data_fixed_length, int * sizes_fixed_array, int start, int sizes_fixed_length); static HAPI_Result GetAttributeStringDataEmptyStub(const HAPI_Session * session, HAPI_NodeId node_id, HAPI_PartId part_id, const char * name, HAPI_AttributeInfo * attr_info, HAPI_StringHandle * data_array, int start, int length); static HAPI_Result GetAvailableAssetCountEmptyStub(const HAPI_Session * session, HAPI_AssetLibraryId library_id, int * asset_count); static HAPI_Result GetAvailableAssetsEmptyStub(const HAPI_Session * session, HAPI_AssetLibraryId library_id, HAPI_StringHandle * asset_names_array, int asset_count); @@ -671,6 +734,8 @@ struct HOUDINIENGINERUNTIME_API FHoudiniApi static HAPI_Result GetComposedNodeCookResultEmptyStub(const HAPI_Session * session, char * string_value, int length); static HAPI_Result GetComposedObjectListEmptyStub(const HAPI_Session * session, HAPI_NodeId parent_node_id, HAPI_ObjectInfo * object_infos_array, int start, int length); static HAPI_Result GetComposedObjectTransformsEmptyStub(const HAPI_Session * session, HAPI_NodeId parent_node_id, HAPI_RSTOrder rst_order, HAPI_Transform * transform_array, int start, int length); + static HAPI_Result GetConnectionErrorEmptyStub(char * string_value, int length, HAPI_Bool clear); + static HAPI_Result GetConnectionErrorLengthEmptyStub(int * buffer_length); static HAPI_Result GetCookingCurrentCountEmptyStub(const HAPI_Session * session, int * count); static HAPI_Result GetCookingTotalCountEmptyStub(const HAPI_Session * session, int * count); static HAPI_Result GetCurveCountsEmptyStub(const HAPI_Session * session, HAPI_NodeId node_id, HAPI_PartId part_id, int * counts_array, int start, int length); @@ -688,6 +753,8 @@ struct HOUDINIENGINERUNTIME_API FHoudiniApi static HAPI_Result GetGroupMembershipOnPackedInstancePartEmptyStub(const HAPI_Session * session, HAPI_NodeId node_id, HAPI_PartId part_id, HAPI_GroupType group_type, const char * group_name, HAPI_Bool * membership_array_all_equal, int * membership_array, int start, int length); static HAPI_Result GetGroupNamesEmptyStub(const HAPI_Session * session, HAPI_NodeId node_id, HAPI_GroupType group_type, HAPI_StringHandle * group_names_array, int group_count); static HAPI_Result GetGroupNamesOnPackedInstancePartEmptyStub(const HAPI_Session * session, HAPI_NodeId node_id, HAPI_PartId part_id, HAPI_GroupType group_type, HAPI_StringHandle * group_names_array, int group_count); + static HAPI_Result GetHIPFileNodeCountEmptyStub(const HAPI_Session *session, HAPI_HIPFileId id, int * count); + static HAPI_Result GetHIPFileNodeIdsEmptyStub(const HAPI_Session *session, HAPI_HIPFileId id, HAPI_NodeId * node_ids, int length); static HAPI_Result GetHandleBindingInfoEmptyStub(const HAPI_Session * session, HAPI_NodeId node_id, int handle_index, HAPI_HandleBindingInfo * handle_binding_infos_array, int start, int length); static HAPI_Result GetHandleInfoEmptyStub(const HAPI_Session * session, HAPI_NodeId node_id, HAPI_HandleInfo * handle_infos_array, int start, int length); static HAPI_Result GetHeightFieldDataEmptyStub(const HAPI_Session * session, HAPI_NodeId node_id, HAPI_PartId part_id, float * values_array, int start, int length); @@ -711,6 +778,7 @@ struct HOUDINIENGINERUNTIME_API FHoudiniApi static HAPI_Result GetNumWorkitemsEmptyStub(const HAPI_Session * session, HAPI_NodeId node_id, int * num); static HAPI_Result GetObjectInfoEmptyStub(const HAPI_Session * session, HAPI_NodeId node_id, HAPI_ObjectInfo * object_info); static HAPI_Result GetObjectTransformEmptyStub(const HAPI_Session * session, HAPI_NodeId node_id, HAPI_NodeId relative_to_node_id, HAPI_RSTOrder rst_order, HAPI_Transform * transform); + static HAPI_Result GetOutputNodeIdEmptyStub(const HAPI_Session * session, HAPI_NodeId node_id, int output, HAPI_NodeId * output_node_id); static HAPI_Result GetPDGEventsEmptyStub(const HAPI_Session * session, HAPI_PDG_GraphContextId graph_context_id, HAPI_PDG_EventInfo * event_array, int length, int * event_count, int * remaining_events); static HAPI_Result GetPDGGraphContextIdEmptyStub(const HAPI_Session * session, HAPI_NodeId top_node_id, HAPI_PDG_GraphContextId * context_id); static HAPI_Result GetPDGGraphContextsEmptyStub(const HAPI_Session * session, int * num_contexts, HAPI_StringHandle * context_names_array, HAPI_PDG_GraphContextId * context_id_array, int count); @@ -740,19 +808,23 @@ struct HOUDINIENGINERUNTIME_API FHoudiniApi static HAPI_Result GetServerEnvVarCountEmptyStub(const HAPI_Session * session, int * env_count); static HAPI_Result GetServerEnvVarListEmptyStub(const HAPI_Session * session, HAPI_StringHandle * values_array, int start, int length); static HAPI_Result GetSessionEnvIntEmptyStub(const HAPI_Session * session, HAPI_SessionEnvIntType int_type, int * value); + static HAPI_Result GetSessionSyncInfoEmptyStub(const HAPI_Session * session, HAPI_SessionSyncInfo * session_sync_info); static HAPI_Result GetSphereInfoEmptyStub(const HAPI_Session * session, HAPI_NodeId geo_node_id, HAPI_PartId part_id, HAPI_SphereInfo * sphere_info); static HAPI_Result GetStatusEmptyStub(const HAPI_Session * session, HAPI_StatusType status_type, int * status); static HAPI_Result GetStatusStringEmptyStub(const HAPI_Session * session, HAPI_StatusType status_type, char * string_value, int length); static HAPI_Result GetStatusStringBufLengthEmptyStub(const HAPI_Session * session, HAPI_StatusType status_type, HAPI_StatusVerbosity verbosity, int * buffer_length); static HAPI_Result GetStringEmptyStub(const HAPI_Session * session, HAPI_StringHandle string_handle, char * string_value, int length); - static HAPI_Result GetStringBatchEmptyStub(const HAPI_Session * session, char * char_array, int char_array_length); + static HAPI_Result GetStringBatchEmptyStub(const HAPI_Session * session, char * char_buffer, int char_array_length); static HAPI_Result GetStringBatchSizeEmptyStub(const HAPI_Session * session, const int * string_handle_array, int string_handle_count, int* string_buffer_size); static HAPI_Result GetStringBufLengthEmptyStub(const HAPI_Session * session, HAPI_StringHandle string_handle, int * buffer_length); static HAPI_Result GetSupportedImageFileFormatCountEmptyStub(const HAPI_Session * session, int * file_format_count); static HAPI_Result GetSupportedImageFileFormatsEmptyStub(const HAPI_Session * session, HAPI_ImageFileFormat * formats_array, int file_format_count); static HAPI_Result GetTimeEmptyStub(const HAPI_Session * session, float * time); static HAPI_Result GetTimelineOptionsEmptyStub(const HAPI_Session * session, HAPI_TimelineOptions * timeline_options); + static HAPI_Result GetTotalCookCountEmptyStub(const HAPI_Session * session, HAPI_NodeId node_id, HAPI_NodeTypeBits node_type_filter, HAPI_NodeFlagsBits node_flags_filter, HAPI_Bool recursive, int * count); + static HAPI_Result GetUseHoudiniTimeEmptyStub(const HAPI_Session * session, HAPI_Bool * enabled); static HAPI_Result GetVertexListEmptyStub(const HAPI_Session * session, HAPI_NodeId node_id, HAPI_PartId part_id, int * vertex_list_array, int start, int length); + static HAPI_Result GetViewportEmptyStub(const HAPI_Session * session, HAPI_Viewport * viewport); static HAPI_Result GetVolumeBoundsEmptyStub(const HAPI_Session * session, HAPI_NodeId node_id, HAPI_PartId part_id, float * x_min, float * y_min, float * z_min, float * x_max, float * y_max, float * z_max, float * x_center, float * y_center, float * z_center); static HAPI_Result GetVolumeInfoEmptyStub(const HAPI_Session * session, HAPI_NodeId node_id, HAPI_PartId part_id, HAPI_VolumeInfo * volume_info); static HAPI_Result GetVolumeTileFloatDataEmptyStub(const HAPI_Session * session, HAPI_NodeId node_id, HAPI_PartId part_id, float fill_value, const HAPI_VolumeTileInfo * tile, float * values_array, int length); @@ -787,8 +859,10 @@ struct HOUDINIENGINERUNTIME_API FHoudiniApi static HAPI_Result LoadGeoFromFileEmptyStub(const HAPI_Session * session, HAPI_NodeId node_id, const char * file_name); static HAPI_Result LoadGeoFromMemoryEmptyStub(const HAPI_Session * session, HAPI_NodeId node_id, const char * format, const char * buffer, int length); static HAPI_Result LoadHIPFileEmptyStub(const HAPI_Session * session, const char * file_name, HAPI_Bool cook_on_load); + static HAPI_Result LoadNodeFromFileEmptyStub(const HAPI_Session * session, const char * file_name, HAPI_NodeId parent_node_id, const char * node_label, HAPI_Bool cook_on_load, HAPI_NodeId * new_node_id); static HAPI_MaterialInfo MaterialInfo_CreateEmptyStub(); static void MaterialInfo_InitEmptyStub(HAPI_MaterialInfo * in); + static HAPI_Result MergeHIPFileEmptyStub(const HAPI_Session * session, const char * file_name, HAPI_Bool cook_on_load, HAPI_HIPFileId * file_id); static HAPI_NodeInfo NodeInfo_CreateEmptyStub(); static void NodeInfo_InitEmptyStub(HAPI_NodeInfo * in); static HAPI_ObjectInfo ObjectInfo_CreateEmptyStub(); @@ -831,6 +905,8 @@ struct HOUDINIENGINERUNTIME_API FHoudiniApi static HAPI_Result SaveGeoToFileEmptyStub(const HAPI_Session * session, HAPI_NodeId node_id, const char * file_name); static HAPI_Result SaveGeoToMemoryEmptyStub(const HAPI_Session * session, HAPI_NodeId node_id, char * buffer, int length); static HAPI_Result SaveHIPFileEmptyStub(const HAPI_Session * session, const char * file_path, HAPI_Bool lock_nodes); + static HAPI_Result SaveNodeToFileEmptyStub(const HAPI_Session * session, HAPI_NodeId node_id, const char * file_name); + static HAPI_SessionSyncInfo SessionSyncInfo_CreateEmptyStub(); static HAPI_Result SetAnimCurveEmptyStub(const HAPI_Session * session, HAPI_NodeId node_id, HAPI_ParmId parm_id, int parm_index, const HAPI_Keyframe * curve_keyframes_array, int keyframe_count); static HAPI_Result SetAttributeFloat64DataEmptyStub(const HAPI_Session * session, HAPI_NodeId node_id, HAPI_PartId part_id, const char * name, const HAPI_AttributeInfo * attr_info, const double * data_array, int start, int length); static HAPI_Result SetAttributeFloatDataEmptyStub(const HAPI_Session * session, HAPI_NodeId node_id, HAPI_PartId part_id, const char * name, const HAPI_AttributeInfo * attr_info, const float * data_array, int start, int length); @@ -860,10 +936,14 @@ struct HOUDINIENGINERUNTIME_API FHoudiniApi static HAPI_Result SetPresetEmptyStub(const HAPI_Session * session, HAPI_NodeId node_id, HAPI_PresetType preset_type, const char * preset_name, const char * buffer, int buffer_length); static HAPI_Result SetServerEnvIntEmptyStub(const HAPI_Session * session, const char * variable_name, int value); static HAPI_Result SetServerEnvStringEmptyStub(const HAPI_Session * session, const char * variable_name, const char * value); + static HAPI_Result SetSessionSyncEmptyStub(const HAPI_Session * session, HAPI_Bool enable); + static HAPI_Result SetSessionSyncInfoEmptyStub(const HAPI_Session * session, const HAPI_SessionSyncInfo * session_sync_info); static HAPI_Result SetTimeEmptyStub(const HAPI_Session * session, float time); static HAPI_Result SetTimelineOptionsEmptyStub(const HAPI_Session * session, const HAPI_TimelineOptions * timeline_options); static HAPI_Result SetTransformAnimCurveEmptyStub(const HAPI_Session * session, HAPI_NodeId node_id, HAPI_TransformComponent trans_comp, const HAPI_Keyframe * curve_keyframes_array, int keyframe_count); + static HAPI_Result SetUseHoudiniTimeEmptyStub(const HAPI_Session * session, HAPI_Bool enabled); static HAPI_Result SetVertexListEmptyStub(const HAPI_Session * session, HAPI_NodeId node_id, HAPI_PartId part_id, const int * vertex_list_array, int start, int length); + static HAPI_Result SetViewportEmptyStub(const HAPI_Session * session, const HAPI_Viewport * viewport); static HAPI_Result SetVolumeInfoEmptyStub(const HAPI_Session * session, HAPI_NodeId node_id, HAPI_PartId part_id, const HAPI_VolumeInfo * volume_info); static HAPI_Result SetVolumeTileFloatDataEmptyStub(const HAPI_Session * session, HAPI_NodeId node_id, HAPI_PartId part_id, const HAPI_VolumeTileInfo * tile, const float * values_array, int length); static HAPI_Result SetVolumeTileIntDataEmptyStub(const HAPI_Session * session, HAPI_NodeId node_id, HAPI_PartId part_id, const HAPI_VolumeTileInfo * tile, const int * values_array, int length); @@ -880,6 +960,7 @@ struct HOUDINIENGINERUNTIME_API FHoudiniApi static void TransformEuler_InitEmptyStub(HAPI_TransformEuler * in); static HAPI_Transform Transform_CreateEmptyStub(); static void Transform_InitEmptyStub(HAPI_Transform * in); + static HAPI_Viewport Viewport_CreateEmptyStub(); static HAPI_VolumeInfo VolumeInfo_CreateEmptyStub(); static void VolumeInfo_InitEmptyStub(HAPI_VolumeInfo * in); static HAPI_VolumeTileInfo VolumeTileInfo_CreateEmptyStub();