@3dverse/api 0.8.19 → 0.8.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -94,7 +94,32 @@ export declare function updateUser({ user_id, username, }: {
94
94
  username: string;
95
95
  }, headers?: AxiosRequestHeaders): Promise<import("axios").AxiosResponse<any, any, {}>>;
96
96
  export type DeleteUser_Object = {
97
- deleted_assets?: DeleteUser_Object;
97
+ deleted_assets?: DeleteUser_AssetList;
98
+ };
99
+ export type DeleteUser_AssetList = {
100
+ action_maps?: Array<DeleteUser_Object>;
101
+ animation_graphs?: Array<DeleteUser_Object>;
102
+ animation_sequences?: Array<DeleteUser_Object>;
103
+ animation_sets?: Array<DeleteUser_Object>;
104
+ animations?: Array<DeleteUser_Object>;
105
+ collision_geometries?: Array<DeleteUser_Object>;
106
+ cubemaps?: Array<DeleteUser_Object>;
107
+ event_maps?: Array<DeleteUser_Object>;
108
+ materials?: Array<DeleteUser_Object>;
109
+ meshes?: Array<DeleteUser_Object>;
110
+ modules?: Array<DeleteUser_Object>;
111
+ point_clouds?: Array<DeleteUser_Object>;
112
+ render_graphs?: Array<DeleteUser_Object>;
113
+ scenes?: Array<DeleteUser_Object>;
114
+ scripts?: Array<DeleteUser_Object>;
115
+ shader_contexts?: Array<DeleteUser_Object>;
116
+ shaders?: Array<DeleteUser_Object>;
117
+ skeletons?: Array<DeleteUser_Object>;
118
+ sounds?: Array<DeleteUser_Object>;
119
+ textures?: Array<DeleteUser_Object>;
120
+ textures_1d?: Array<DeleteUser_Object>;
121
+ textures_3d?: Array<DeleteUser_Object>;
122
+ volume_materials?: Array<DeleteUser_Object>;
98
123
  };
99
124
  /**
100
125
  * Deletes the target user.
@@ -573,9 +598,11 @@ export type GetFolderAssets_Filters = {
573
598
  /** Look for assets containing the given name (case-insensitive) */
574
599
  asset_name?: string;
575
600
  /** @deprecated Deprecated. Use asset_types instead. Look for assets of the given type */
576
- asset_type?: (Array<'action_map' | 'animation' | 'animation_graph' | 'animation_sequence' | 'animation_set' | 'collision_geometry' | 'cubemap' | 'event_map' | 'material' | 'mesh' | 'module' | 'point_cloud' | 'render_graph' | 'scene' | 'script' | 'shader' | 'skeleton' | 'sound' | 'texture' | 'texture_1d' | 'texture_3d' | 'volume_material'> | 'action_map' | 'animation' | 'animation_graph' | 'animation_sequence' | 'animation_set' | 'collision_geometry' | 'cubemap' | 'event_map' | 'material' | 'mesh' | 'module' | 'point_cloud' | 'render_graph' | 'scene' | 'script' | 'shader' | 'skeleton' | 'sound' | 'texture' | 'texture_1d' | 'texture_3d' | 'volume_material') & any;
601
+ asset_type?: (Array<'action_map' | 'animation' | 'animation_graph' | 'animation_sequence' | 'animation_set' | 'collision_geometry' | 'cubemap' | 'event_map' | 'material' | 'mesh' | 'module' | 'point_cloud' | 'render_graph' | 'scene' | 'script' | 'shader' | 'shader_context' | 'skeleton' | 'sound' | 'texture' | 'texture_1d' | 'texture_3d' | 'volume_material'> | 'action_map' | 'animation' | 'animation_graph' | 'animation_sequence' | 'animation_set' | 'collision_geometry' | 'cubemap' | 'event_map' | 'material' | 'mesh' | 'module' | 'point_cloud' | 'render_graph' | 'scene' | 'script' | 'shader' | 'shader_context' | 'skeleton' | 'sound' | 'texture' | 'texture_1d' | 'texture_3d' | 'volume_material') & any;
577
602
  /** Look for assets of the given types */
578
- asset_types?: Array<'action_map' | 'animation' | 'animation_graph' | 'animation_sequence' | 'animation_set' | 'collision_geometry' | 'cubemap' | 'event_map' | 'material' | 'mesh' | 'module' | 'point_cloud' | 'render_graph' | 'scene' | 'script' | 'shader' | 'skeleton' | 'sound' | 'texture' | 'texture_1d' | 'texture_3d' | 'volume_material'>;
603
+ asset_types?: Array<'action_map' | 'animation' | 'animation_graph' | 'animation_sequence' | 'animation_set' | 'collision_geometry' | 'cubemap' | 'event_map' | 'material' | 'mesh' | 'module' | 'point_cloud' | 'render_graph' | 'scene' | 'script' | 'shader' | 'shader_context' | 'skeleton' | 'sound' | 'texture' | 'texture_1d' | 'texture_3d' | 'volume_material'>;
604
+ /** Look for assets associated with or without libraries */
605
+ library?: Array<string> | string | 'exclude';
579
606
  /** Look for assets associated with or without source files */
580
607
  source_file?: Array<string> | string | 'exclude';
581
608
  };
@@ -585,7 +612,7 @@ export type GetFolderAssets_AssetCount = {
585
612
  /** Total number of assets in target folder of specific type. */
586
613
  [asset_type: string]: number;
587
614
  };
588
- export type GetFolderAssets__index_AssetList_AssetList = {
615
+ export type GetFolderAssets_AssetList = {
589
616
  action_maps?: Array<GetFolderAssets_Object>;
590
617
  animation_graphs?: Array<GetFolderAssets_Object>;
591
618
  animation_sequences?: Array<GetFolderAssets_Object>;
@@ -601,6 +628,7 @@ export type GetFolderAssets__index_AssetList_AssetList = {
601
628
  render_graphs?: Array<GetFolderAssets_Object>;
602
629
  scenes?: Array<GetFolderAssets_Object>;
603
630
  scripts?: Array<GetFolderAssets_Object>;
631
+ shader_contexts?: Array<GetFolderAssets_Object>;
604
632
  shaders?: Array<GetFolderAssets_Object>;
605
633
  skeletons?: Array<GetFolderAssets_Object>;
606
634
  sounds?: Array<GetFolderAssets_Object>;
@@ -623,13 +651,13 @@ export declare function getFolderAssets({ folder_id, offset, limit, filter, recu
623
651
  limit?: number;
624
652
  filter?: GetFolderAssets_Filters;
625
653
  recursive?: boolean;
626
- }, headers?: AxiosRequestHeaders): AxiosPromise<GetFolderAssets__index_AssetList_AssetList>;
654
+ }, headers?: AxiosRequestHeaders): AxiosPromise<GetFolderAssets_AssetList>;
627
655
  export type CreateAsset_NewAsset = {
628
656
  asset_type: 'action_map' | 'animation_graph' | 'animation_sequence' | 'cubemap' | 'event_map' | 'material' | 'module' | 'render_graph' | 'scene' | 'script' | 'shader' | 'volume_material';
629
657
  name: string;
630
658
  };
631
659
  export type CreateAsset_AssetDuplication = {
632
- asset_type: 'action_map' | 'animation' | 'animation_graph' | 'animation_sequence' | 'animation_set' | 'collision_geometry' | 'cubemap' | 'event_map' | 'material' | 'mesh' | 'module' | 'point_cloud' | 'render_graph' | 'scene' | 'script' | 'shader' | 'skeleton' | 'sound' | 'texture' | 'texture_1d' | 'texture_3d' | 'volume_material';
660
+ asset_type: 'action_map' | 'animation' | 'animation_graph' | 'animation_sequence' | 'animation_set' | 'collision_geometry' | 'cubemap' | 'event_map' | 'material' | 'mesh' | 'module' | 'point_cloud' | 'render_graph' | 'scene' | 'script' | 'shader' | 'shader_context' | 'skeleton' | 'sound' | 'texture' | 'texture_1d' | 'texture_3d' | 'volume_material';
633
661
  /** Asset unique identifier */
634
662
  copy_from_asset_id: string;
635
663
  new_asset_name?: string;
@@ -638,7 +666,7 @@ export type CreateAsset_AssetDuplication = {
638
666
  };
639
667
  export type CreateAsset_DuplicationOptions = {
640
668
  /** Limits the duplication to the specified asset types */
641
- asset_types?: Array<'action_map' | 'animation' | 'animation_graph' | 'animation_sequence' | 'animation_set' | 'collision_geometry' | 'cubemap' | 'event_map' | 'material' | 'mesh' | 'module' | 'point_cloud' | 'render_graph' | 'scene' | 'script' | 'shader' | 'skeleton' | 'sound' | 'texture' | 'texture_1d' | 'texture_3d' | 'volume_material'>;
669
+ asset_types?: Array<'action_map' | 'animation' | 'animation_graph' | 'animation_sequence' | 'animation_set' | 'collision_geometry' | 'cubemap' | 'event_map' | 'material' | 'mesh' | 'module' | 'point_cloud' | 'render_graph' | 'scene' | 'script' | 'shader' | 'shader_context' | 'skeleton' | 'sound' | 'texture' | 'texture_1d' | 'texture_3d' | 'volume_material'>;
642
670
  /** Limits the depth level of the duplication process. */
643
671
  max_depth?: number;
644
672
  };
@@ -851,7 +879,7 @@ export declare function updateSourceFileDetails({ source_file_id, name, }: {
851
879
  /** Source file display name */
852
880
  name: string;
853
881
  }, headers?: AxiosRequestHeaders): Promise<import("axios").AxiosResponse<any, any, {}>>;
854
- export type GetSourceFileAssets__index_AssetList_AssetList = {
882
+ export type GetSourceFileAssets_AssetList = {
855
883
  action_maps?: Array<GetSourceFileAssets_Object>;
856
884
  animation_graphs?: Array<GetSourceFileAssets_Object>;
857
885
  animation_sequences?: Array<GetSourceFileAssets_Object>;
@@ -867,6 +895,7 @@ export type GetSourceFileAssets__index_AssetList_AssetList = {
867
895
  render_graphs?: Array<GetSourceFileAssets_Object>;
868
896
  scenes?: Array<GetSourceFileAssets_Object>;
869
897
  scripts?: Array<GetSourceFileAssets_Object>;
898
+ shader_contexts?: Array<GetSourceFileAssets_Object>;
870
899
  shaders?: Array<GetSourceFileAssets_Object>;
871
900
  skeletons?: Array<GetSourceFileAssets_Object>;
872
901
  sounds?: Array<GetSourceFileAssets_Object>;
@@ -885,7 +914,7 @@ export type GetSourceFileAssets_Object = {
885
914
  */
886
915
  export declare function getSourceFileAssets({ source_file_id, }: {
887
916
  source_file_id: string;
888
- }, headers?: AxiosRequestHeaders): AxiosPromise<GetSourceFileAssets__index_AssetList_AssetList>;
917
+ }, headers?: AxiosRequestHeaders): AxiosPromise<GetSourceFileAssets_AssetList>;
889
918
  /**
890
919
  * Lists all upload tasks. These upload tasks relate to uploaded source files.
891
920
  */
@@ -942,7 +971,7 @@ export declare function getConversionTaskMetadata<T extends 'arraybuffer' | 'str
942
971
  filename: string;
943
972
  }, headers?: AxiosRequestHeaders, responseType?: T): AxiosPromise<T extends 'arraybuffer' ? ArrayBuffer : T extends 'json' ? object : T extends 'text' ? string : T extends 'stream' ? ReadableStream : never>;
944
973
  export type SchedulePipeline_Object = {
945
- asset_type: 'action_map' | 'animation' | 'animation_graph' | 'animation_sequence' | 'animation_set' | 'collision_geometry' | 'cubemap' | 'event_map' | 'material' | 'mesh' | 'module' | 'point_cloud' | 'render_graph' | 'scene' | 'script' | 'shader' | 'skeleton' | 'sound' | 'texture' | 'texture_1d' | 'texture_3d' | 'volume_material';
974
+ asset_type: 'action_map' | 'animation' | 'animation_graph' | 'animation_sequence' | 'animation_set' | 'collision_geometry' | 'cubemap' | 'event_map' | 'material' | 'mesh' | 'module' | 'point_cloud' | 'render_graph' | 'scene' | 'script' | 'shader' | 'shader_context' | 'skeleton' | 'sound' | 'texture' | 'texture_1d' | 'texture_3d' | 'volume_material';
946
975
  /** Asset unique identifier */
947
976
  asset_id: string;
948
977
  };
@@ -1030,15 +1059,15 @@ export declare function getPipeline({ pipeline_id, }: {
1030
1059
  }, headers?: AxiosRequestHeaders): AxiosPromise<GetPipeline_Pipeline>;
1031
1060
  export type ListAssets_Filter = {
1032
1061
  /** @deprecated Deprecated. Use asset_types instead. Look for assets of the given type */
1033
- asset_type?: (Array<'action_map' | 'animation' | 'animation_graph' | 'animation_sequence' | 'animation_set' | 'collision_geometry' | 'cubemap' | 'event_map' | 'material' | 'mesh' | 'module' | 'point_cloud' | 'render_graph' | 'scene' | 'script' | 'shader' | 'skeleton' | 'sound' | 'texture' | 'texture_1d' | 'texture_3d' | 'volume_material'> | 'action_map' | 'animation' | 'animation_graph' | 'animation_sequence' | 'animation_set' | 'collision_geometry' | 'cubemap' | 'event_map' | 'material' | 'mesh' | 'module' | 'point_cloud' | 'render_graph' | 'scene' | 'script' | 'shader' | 'skeleton' | 'sound' | 'texture' | 'texture_1d' | 'texture_3d' | 'volume_material') & any;
1062
+ asset_type?: (Array<'action_map' | 'animation' | 'animation_graph' | 'animation_sequence' | 'animation_set' | 'collision_geometry' | 'cubemap' | 'event_map' | 'material' | 'mesh' | 'module' | 'point_cloud' | 'render_graph' | 'scene' | 'script' | 'shader' | 'shader_context' | 'skeleton' | 'sound' | 'texture' | 'texture_1d' | 'texture_3d' | 'volume_material'> | 'action_map' | 'animation' | 'animation_graph' | 'animation_sequence' | 'animation_set' | 'collision_geometry' | 'cubemap' | 'event_map' | 'material' | 'mesh' | 'module' | 'point_cloud' | 'render_graph' | 'scene' | 'script' | 'shader' | 'shader_context' | 'skeleton' | 'sound' | 'texture' | 'texture_1d' | 'texture_3d' | 'volume_material') & any;
1034
1063
  /** Look for assets of the given types */
1035
- asset_types?: Array<'action_map' | 'animation' | 'animation_graph' | 'animation_sequence' | 'animation_set' | 'collision_geometry' | 'cubemap' | 'event_map' | 'material' | 'mesh' | 'module' | 'point_cloud' | 'render_graph' | 'scene' | 'script' | 'shader' | 'skeleton' | 'sound' | 'texture' | 'texture_1d' | 'texture_3d' | 'volume_material'>;
1064
+ asset_types?: Array<'action_map' | 'animation' | 'animation_graph' | 'animation_sequence' | 'animation_set' | 'collision_geometry' | 'cubemap' | 'event_map' | 'material' | 'mesh' | 'module' | 'point_cloud' | 'render_graph' | 'scene' | 'script' | 'shader' | 'shader_context' | 'skeleton' | 'sound' | 'texture' | 'texture_1d' | 'texture_3d' | 'volume_material'>;
1036
1065
  /** Filter by asset name */
1037
1066
  asset_name?: string;
1038
1067
  /** Include assets coming from public libraries */
1039
1068
  include_public_assets?: boolean;
1040
1069
  };
1041
- export type ListAssets__index_AssetList_AssetList = {
1070
+ export type ListAssets_AssetList = {
1042
1071
  action_maps?: Array<ListAssets_Object>;
1043
1072
  animation_graphs?: Array<ListAssets_Object>;
1044
1073
  animation_sequences?: Array<ListAssets_Object>;
@@ -1054,6 +1083,7 @@ export type ListAssets__index_AssetList_AssetList = {
1054
1083
  render_graphs?: Array<ListAssets_Object>;
1055
1084
  scenes?: Array<ListAssets_Object>;
1056
1085
  scripts?: Array<ListAssets_Object>;
1086
+ shader_contexts?: Array<ListAssets_Object>;
1057
1087
  shaders?: Array<ListAssets_Object>;
1058
1088
  skeletons?: Array<ListAssets_Object>;
1059
1089
  sounds?: Array<ListAssets_Object>;
@@ -1074,7 +1104,7 @@ export declare function listAssets({ offset, limit, filter, }: {
1074
1104
  offset?: number;
1075
1105
  limit?: number;
1076
1106
  filter?: ListAssets_Filter;
1077
- }, headers?: AxiosRequestHeaders): AxiosPromise<ListAssets__index_AssetList_AssetList>;
1107
+ }, headers?: AxiosRequestHeaders): AxiosPromise<ListAssets_AssetList>;
1078
1108
  /**
1079
1109
  * Batch delete assets. You **MUST NOT** reference assets.
1080
1110
  */
@@ -1085,7 +1115,7 @@ export declare function deleteAssets({ asset_ids, }: {
1085
1115
  * Deletes the asset.
1086
1116
  */
1087
1117
  export declare function deleteAsset({ asset_container, asset_id, }: {
1088
- asset_container: 'action_maps' | 'animations' | 'animation_graphs' | 'animation_sequences' | 'animation_sets' | 'collision_geometries' | 'cubemaps' | 'event_maps' | 'materials' | 'meshes' | 'modules' | 'point_clouds' | 'render_graphs' | 'scenes' | 'scripts' | 'shaders' | 'skeletons' | 'sounds' | 'textures' | 'textures_1d' | 'textures_3d' | 'volume_materials';
1118
+ asset_container: 'action_maps' | 'animations' | 'animation_graphs' | 'animation_sequences' | 'animation_sets' | 'collision_geometries' | 'cubemaps' | 'event_maps' | 'materials' | 'meshes' | 'modules' | 'point_clouds' | 'render_graphs' | 'scenes' | 'scripts' | 'shaders' | 'shader_contexts' | 'skeletons' | 'sounds' | 'textures' | 'textures_1d' | 'textures_3d' | 'volume_materials';
1089
1119
  asset_id: string;
1090
1120
  }, headers?: AxiosRequestHeaders): Promise<import("axios").AxiosResponse<any, any, {}>>;
1091
1121
  export type GetAssetSourceFile_SourceFile = {
@@ -1102,7 +1132,7 @@ export type GetAssetSourceFile_SourceFile = {
1102
1132
  * Gets the source file of the specified asset.
1103
1133
  */
1104
1134
  export declare function getAssetSourceFile({ asset_container, asset_id, }: {
1105
- asset_container: 'action_maps' | 'animations' | 'animation_graphs' | 'animation_sequences' | 'animation_sets' | 'collision_geometries' | 'cubemaps' | 'event_maps' | 'materials' | 'meshes' | 'modules' | 'point_clouds' | 'render_graphs' | 'scenes' | 'scripts' | 'shaders' | 'skeletons' | 'sounds' | 'textures' | 'textures_1d' | 'textures_3d' | 'volume_materials';
1135
+ asset_container: 'action_maps' | 'animations' | 'animation_graphs' | 'animation_sequences' | 'animation_sets' | 'collision_geometries' | 'cubemaps' | 'event_maps' | 'materials' | 'meshes' | 'modules' | 'point_clouds' | 'render_graphs' | 'scenes' | 'scripts' | 'shaders' | 'shader_contexts' | 'skeletons' | 'sounds' | 'textures' | 'textures_1d' | 'textures_3d' | 'volume_materials';
1106
1136
  asset_id: string;
1107
1137
  }, headers?: AxiosRequestHeaders): AxiosPromise<GetAssetSourceFile_SourceFile>;
1108
1138
  export type GetAssetDetails__index_AssetDetails_AssetDetails = {
@@ -1121,7 +1151,7 @@ The user object lets you create or update user tokens that identify the useron t
1121
1151
  */
1122
1152
  last_edited_by?: GetAssetDetails_LastEditedBy;
1123
1153
  name: string;
1124
- type: 'action_map' | 'animation' | 'animation_graph' | 'animation_sequence' | 'animation_set' | 'collision_geometry' | 'cubemap' | 'event_map' | 'material' | 'mesh' | 'module' | 'point_cloud' | 'render_graph' | 'scene' | 'script' | 'shader' | 'skeleton' | 'sound' | 'texture' | 'texture_1d' | 'texture_3d' | 'volume_material';
1154
+ type: 'action_map' | 'animation' | 'animation_graph' | 'animation_sequence' | 'animation_set' | 'collision_geometry' | 'cubemap' | 'event_map' | 'material' | 'mesh' | 'module' | 'point_cloud' | 'render_graph' | 'scene' | 'script' | 'shader' | 'shader_context' | 'skeleton' | 'sound' | 'texture' | 'texture_1d' | 'texture_3d' | 'volume_material';
1125
1155
  };
1126
1156
  export type GetAssetDetails_Contributor = {
1127
1157
  contribution_count: number;
@@ -1151,7 +1181,7 @@ export type GetAssetDetails_LastEditedBy = {
1151
1181
  * Gets the asset details from the specified asset.
1152
1182
  */
1153
1183
  export declare function getAssetDetails({ asset_container, asset_id, }: {
1154
- asset_container: 'action_maps' | 'animations' | 'animation_graphs' | 'animation_sequences' | 'animation_sets' | 'collision_geometries' | 'cubemaps' | 'event_maps' | 'materials' | 'meshes' | 'modules' | 'point_clouds' | 'render_graphs' | 'scenes' | 'scripts' | 'shaders' | 'skeletons' | 'sounds' | 'textures' | 'textures_1d' | 'textures_3d' | 'volume_materials';
1184
+ asset_container: 'action_maps' | 'animations' | 'animation_graphs' | 'animation_sequences' | 'animation_sets' | 'collision_geometries' | 'cubemaps' | 'event_maps' | 'materials' | 'meshes' | 'modules' | 'point_clouds' | 'render_graphs' | 'scenes' | 'scripts' | 'shaders' | 'shader_contexts' | 'skeletons' | 'sounds' | 'textures' | 'textures_1d' | 'textures_3d' | 'volume_materials';
1155
1185
  asset_id: string;
1156
1186
  }, headers?: AxiosRequestHeaders): AxiosPromise<GetAssetDetails__index_AssetDetails_AssetDetails>;
1157
1187
  export type GetAssetFolder_Folder = {
@@ -1179,21 +1209,21 @@ export type GetAssetFolder_Object = {
1179
1209
  * Gets the asset folder from the specified asset.
1180
1210
  */
1181
1211
  export declare function getAssetFolder({ asset_container, asset_id, }: {
1182
- asset_container: 'action_maps' | 'animations' | 'animation_graphs' | 'animation_sequences' | 'animation_sets' | 'collision_geometries' | 'cubemaps' | 'event_maps' | 'materials' | 'meshes' | 'modules' | 'point_clouds' | 'render_graphs' | 'scenes' | 'scripts' | 'shaders' | 'skeletons' | 'sounds' | 'textures' | 'textures_1d' | 'textures_3d' | 'volume_materials';
1212
+ asset_container: 'action_maps' | 'animations' | 'animation_graphs' | 'animation_sequences' | 'animation_sets' | 'collision_geometries' | 'cubemaps' | 'event_maps' | 'materials' | 'meshes' | 'modules' | 'point_clouds' | 'render_graphs' | 'scenes' | 'scripts' | 'shaders' | 'shader_contexts' | 'skeletons' | 'sounds' | 'textures' | 'textures_1d' | 'textures_3d' | 'volume_materials';
1183
1213
  asset_id: string;
1184
1214
  }, headers?: AxiosRequestHeaders): AxiosPromise<GetAssetFolder_Folder>;
1185
1215
  export type GetAssetDependencies_Filter = {
1186
1216
  /** Filter dependencies by types */
1187
- with_asset_types?: Array<'action_map' | 'animation' | 'animation_graph' | 'animation_sequence' | 'animation_set' | 'collision_geometry' | 'cubemap' | 'event_map' | 'material' | 'mesh' | 'module' | 'point_cloud' | 'render_graph' | 'scene' | 'script' | 'shader' | 'skeleton' | 'sound' | 'texture' | 'texture_1d' | 'texture_3d' | 'volume_material'>;
1217
+ with_asset_types?: Array<'action_map' | 'animation' | 'animation_graph' | 'animation_sequence' | 'animation_set' | 'collision_geometry' | 'cubemap' | 'event_map' | 'material' | 'mesh' | 'module' | 'point_cloud' | 'render_graph' | 'scene' | 'script' | 'shader' | 'shader_context' | 'skeleton' | 'sound' | 'texture' | 'texture_1d' | 'texture_3d' | 'volume_material'>;
1188
1218
  /** Exclude dependencies by types */
1189
- without_asset_types?: Array<'action_map' | 'animation' | 'animation_graph' | 'animation_sequence' | 'animation_set' | 'collision_geometry' | 'cubemap' | 'event_map' | 'material' | 'mesh' | 'module' | 'point_cloud' | 'render_graph' | 'scene' | 'script' | 'shader' | 'skeleton' | 'sound' | 'texture' | 'texture_1d' | 'texture_3d' | 'volume_material'>;
1219
+ without_asset_types?: Array<'action_map' | 'animation' | 'animation_graph' | 'animation_sequence' | 'animation_set' | 'collision_geometry' | 'cubemap' | 'event_map' | 'material' | 'mesh' | 'module' | 'point_cloud' | 'render_graph' | 'scene' | 'script' | 'shader' | 'shader_context' | 'skeleton' | 'sound' | 'texture' | 'texture_1d' | 'texture_3d' | 'volume_material'>;
1190
1220
  /** Filter assets by public status */
1191
1221
  public?: 'include' | 'exclude' | 'restrict-to';
1192
1222
  };
1193
1223
  export type GetAssetDependencies_Asset = {
1194
1224
  /** Asset unique identifier */
1195
1225
  asset_id: string;
1196
- asset_type: 'action_map' | 'animation' | 'animation_graph' | 'animation_sequence' | 'animation_set' | 'collision_geometry' | 'cubemap' | 'event_map' | 'material' | 'mesh' | 'module' | 'point_cloud' | 'render_graph' | 'scene' | 'script' | 'shader' | 'skeleton' | 'sound' | 'texture' | 'texture_1d' | 'texture_3d' | 'volume_material';
1226
+ asset_type: 'action_map' | 'animation' | 'animation_graph' | 'animation_sequence' | 'animation_set' | 'collision_geometry' | 'cubemap' | 'event_map' | 'material' | 'mesh' | 'module' | 'point_cloud' | 'render_graph' | 'scene' | 'script' | 'shader' | 'shader_context' | 'skeleton' | 'sound' | 'texture' | 'texture_1d' | 'texture_3d' | 'volume_material';
1197
1227
  /** Additional properties of the asset */
1198
1228
  properties?: GetAssetDependencies_Object;
1199
1229
  };
@@ -1228,7 +1258,7 @@ export type GetAssetDependencies_Dependency = {
1228
1258
  * Gets the asset dependencies from the specified asset.
1229
1259
  */
1230
1260
  export declare function getAssetDependencies({ asset_container, asset_id, offset, limit, depth, filters, properties, }: {
1231
- asset_container: 'action_maps' | 'animations' | 'animation_graphs' | 'animation_sequences' | 'animation_sets' | 'collision_geometries' | 'cubemaps' | 'event_maps' | 'materials' | 'meshes' | 'modules' | 'point_clouds' | 'render_graphs' | 'scenes' | 'scripts' | 'shaders' | 'skeletons' | 'sounds' | 'textures' | 'textures_1d' | 'textures_3d' | 'volume_materials';
1261
+ asset_container: 'action_maps' | 'animations' | 'animation_graphs' | 'animation_sequences' | 'animation_sets' | 'collision_geometries' | 'cubemaps' | 'event_maps' | 'materials' | 'meshes' | 'modules' | 'point_clouds' | 'render_graphs' | 'scenes' | 'scripts' | 'shaders' | 'shader_contexts' | 'skeletons' | 'sounds' | 'textures' | 'textures_1d' | 'textures_3d' | 'volume_materials';
1232
1262
  asset_id: string;
1233
1263
  offset?: number;
1234
1264
  limit?: number;
@@ -1239,7 +1269,7 @@ export declare function getAssetDependencies({ asset_container, asset_id, offset
1239
1269
  export type GetAssetReferences_Asset = {
1240
1270
  /** Asset unique identifier */
1241
1271
  asset_id: string;
1242
- asset_type: 'action_map' | 'animation' | 'animation_graph' | 'animation_sequence' | 'animation_set' | 'collision_geometry' | 'cubemap' | 'event_map' | 'material' | 'mesh' | 'module' | 'point_cloud' | 'render_graph' | 'scene' | 'script' | 'shader' | 'skeleton' | 'sound' | 'texture' | 'texture_1d' | 'texture_3d' | 'volume_material';
1272
+ asset_type: 'action_map' | 'animation' | 'animation_graph' | 'animation_sequence' | 'animation_set' | 'collision_geometry' | 'cubemap' | 'event_map' | 'material' | 'mesh' | 'module' | 'point_cloud' | 'render_graph' | 'scene' | 'script' | 'shader' | 'shader_context' | 'skeleton' | 'sound' | 'texture' | 'texture_1d' | 'texture_3d' | 'volume_material';
1243
1273
  /** Additional properties of the asset */
1244
1274
  properties?: GetAssetReferences_Object;
1245
1275
  };
@@ -1254,7 +1284,7 @@ export type GetAssetReferences_Object = {
1254
1284
  * Gets the asset references from the specified asset.
1255
1285
  */
1256
1286
  export declare function getAssetReferences({ asset_container, asset_id, offset, limit, properties, }: {
1257
- asset_container: 'action_maps' | 'animations' | 'animation_graphs' | 'animation_sequences' | 'animation_sets' | 'collision_geometries' | 'cubemaps' | 'event_maps' | 'materials' | 'meshes' | 'modules' | 'point_clouds' | 'render_graphs' | 'scenes' | 'scripts' | 'shaders' | 'skeletons' | 'sounds' | 'textures' | 'textures_1d' | 'textures_3d' | 'volume_materials';
1287
+ asset_container: 'action_maps' | 'animations' | 'animation_graphs' | 'animation_sequences' | 'animation_sets' | 'collision_geometries' | 'cubemaps' | 'event_maps' | 'materials' | 'meshes' | 'modules' | 'point_clouds' | 'render_graphs' | 'scenes' | 'scripts' | 'shaders' | 'shader_contexts' | 'skeletons' | 'sounds' | 'textures' | 'textures_1d' | 'textures_3d' | 'volume_materials';
1258
1288
  asset_id: string;
1259
1289
  offset?: number;
1260
1290
  limit?: number;
@@ -1419,11 +1449,11 @@ export type GetAssetDescription_PointCloud = {
1419
1449
  bounds: GetAssetDescription_Aabb;
1420
1450
  /** Description of the per-point attributes (position, color, etc.) */
1421
1451
  channels: Array<GetAssetDescription_Channel>;
1422
- /** Number of layers in the kd-tree. The root node is at layer 0 */
1423
- layerCount: number;
1452
+ /** Size in bytes of each layer. A layer is a collection of nodes serialized into a single file. */
1453
+ layerSizes: Array<number>;
1424
1454
  /** Name of the asset */
1425
1455
  name: string;
1426
- /** Number of nodes in the kd-tree */
1456
+ /** Number of nodes in the acceleration structure. */
1427
1457
  nodeCount: number;
1428
1458
  /** Number of points in the original point cloud before any spatial partitioning or filtering was applied */
1429
1459
  originalPointCount: number;
@@ -1431,6 +1461,8 @@ export type GetAssetDescription_PointCloud = {
1431
1461
  pageSize: number;
1432
1462
  /** Total size in bytes of all attribute layer files. Sum of sizeof(payload.pointCloud.layer<N>-<attribute>.<uuid>) for all layers and attributes */
1433
1463
  payloadTotalSize: number;
1464
+ /** Size in bytes of the acceleration structure at bake time. */
1465
+ pcasSize: number;
1434
1466
  /** Total number of points across all nodes in the tree, including intermediary nodes. Greater than or equal to originalPointCount */
1435
1467
  totalPointCount: number;
1436
1468
  /** Unique identifier for the asset */
@@ -1445,6 +1477,8 @@ export type GetAssetDescription_Aabb = {
1445
1477
  export type GetAssetDescription_RenderGraph = {
1446
1478
  /** All blend states */
1447
1479
  blendStateDescriptions?: Array<GetAssetDescription_Object>;
1480
+ /** Descriptions of all buffers */
1481
+ bufferDescriptions?: Array<GetAssetDescription_Object>;
1448
1482
  /** Conditions referenced by conditionIndex */
1449
1483
  conditions?: Array<string>;
1450
1484
  /** The index of the render target to blit into the canvas */
@@ -1456,13 +1490,15 @@ export type GetAssetDescription_RenderGraph = {
1456
1490
  /** Name of the asset */
1457
1491
  name: string;
1458
1492
  /** Descriptions of all nodes */
1459
- nodeDataDescriptions: Array<StrictUnion<GetAssetDescription_Viewport | GetAssetDescription_DrawBatch | GetAssetDescription_DrawBatchWithMaterials | GetAssetDescription_DispatchCompute | GetAssetDescription_BlitImage | GetAssetDescription_CopyImage | GetAssetDescription_ResolveImage | GetAssetDescription_DrawFullscreen | GetAssetDescription_GenerateMipChain | GetAssetDescription_CopyToCubemapFace | GetAssetDescription_ClearImages | GetAssetDescription_FillBuffer | GetAssetDescription_DrawDebugLines | GetAssetDescription_DispatchDecalsCompute | GetAssetDescription_SetDepthBias | GetAssetDescription_DispatchRayTracing> & GetAssetDescription_Object>;
1493
+ nodeDataDescriptions: Array<StrictUnion<GetAssetDescription_Viewport | GetAssetDescription_DrawBatch | GetAssetDescription_DrawBatchWithMaterials | GetAssetDescription_DispatchCompute | GetAssetDescription_BlitImage | GetAssetDescription_DispatchPointClouds | GetAssetDescription_CopyImage | GetAssetDescription_ResolveImage | GetAssetDescription_DrawFullscreen | GetAssetDescription_GenerateMipChain | GetAssetDescription_CopyToCubemapFace | GetAssetDescription_ClearImages | GetAssetDescription_FillBuffer | GetAssetDescription_DrawDebugLines | GetAssetDescription_DispatchDecals | GetAssetDescription_SetDepthBias | GetAssetDescription_DispatchRayTracing> & GetAssetDescription_Object>;
1460
1494
  /** The index of the render target used for occlusion */
1461
1495
  occlusionInputDepthRenderTargetIndex?: number;
1462
1496
  /** Descriptions of all render passes */
1463
1497
  renderPassDescriptions: Array<GetAssetDescription_Object>;
1464
1498
  /** Descriptions of all render targets */
1465
1499
  renderTargetDescriptions: Array<GetAssetDescription_Object>;
1500
+ /** Data descriptors for the shader contexts referenced by shaderContextIndex */
1501
+ shaderContexts?: Array<Array<GetAssetDescription_ParameterDescriptor>>;
1466
1502
  /** All stencil states */
1467
1503
  stencilOpStateDescriptions?: Array<GetAssetDescription_Object>;
1468
1504
  /** Unique identifier for the asset */
@@ -1472,8 +1508,10 @@ export type GetAssetDescription_Viewport = {
1472
1508
  type?: 0;
1473
1509
  };
1474
1510
  export type GetAssetDescription_DrawBatch = {
1475
- /** Batch type bitmask (batch_flags). Combinable flags: opaque=1, transparent=2, static_meshes=4, static_textured_meshes=8, all_static_meshes=16, skinned=32, selected=64, do_not_use_material=128, double_sided=256, single_sided=512, pass_occlusion_test=1024, unselected=2048, cast_shadows=4096 */
1511
+ /** Batch type bitmask (batch_flags). Combinable flags: opaque=1, transparent=2, static_meshes=4, static_textured_meshes=8, all_static_meshes=16, skinned=32, selected=64, do_not_use_material=128, double_sided=256, single_sided=512, pass_occlusion_test=1024, unselected=2048, cast_shadows=4096, invalid_material=8192 */
1476
1512
  batchType?: number;
1513
+ /** Specialization constants values for the specified shader */
1514
+ constantsJson?: object;
1477
1515
  /** Data provided to the shader through the node data buffer */
1478
1516
  dataJson?: object;
1479
1517
  /** Description of a shader pipeline */
@@ -1483,17 +1521,21 @@ export type GetAssetDescription_DrawBatch = {
1483
1521
  type?: 1;
1484
1522
  };
1485
1523
  export type GetAssetDescription_DrawBatchWithMaterials = {
1486
- /** Batch type bitmask (batch_flags). Combinable flags: opaque=1, transparent=2, static_meshes=4, static_textured_meshes=8, all_static_meshes=16, skinned=32, selected=64, do_not_use_material=128, double_sided=256, single_sided=512, pass_occlusion_test=1024, unselected=2048, cast_shadows=4096 */
1524
+ /** Batch type bitmask (batch_flags). Combinable flags: opaque=1, transparent=2, static_meshes=4, static_textured_meshes=8, all_static_meshes=16, skinned=32, selected=64, do_not_use_material=128, double_sided=256, single_sided=512, pass_occlusion_test=1024, unselected=2048, cast_shadows=4096, invalid_material=8192 */
1487
1525
  batchType?: number;
1488
1526
  /** Data provided to the shader through the node data buffer */
1489
1527
  dataJson?: object;
1490
1528
  /** Description of a shader pipeline */
1491
1529
  pipelineDescription?: GetAssetDescription_Object;
1530
+ /** Index into shaderContexts of the descriptor providing the shader context data for this node */
1531
+ shaderContextIndex: number;
1492
1532
  type?: 2;
1493
1533
  };
1494
1534
  export type GetAssetDescription_DispatchCompute = {
1495
1535
  /** @deprecated Const data type */
1496
1536
  constDataType?: StrictUnion<0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24> & number;
1537
+ /** Specialization constants values for the specified shader */
1538
+ constantsJson?: object;
1497
1539
  /** Data provided to the shader through the node data buffer */
1498
1540
  dataJson?: object;
1499
1541
  /** Unique identifier for the asset */
@@ -1507,6 +1549,15 @@ export type GetAssetDescription_BlitImage = {
1507
1549
  outputRenderTargetIndices?: Array<number>;
1508
1550
  type?: 4;
1509
1551
  };
1552
+ export type GetAssetDescription_DispatchPointClouds = {
1553
+ /** Specialization constants values for the specified shader */
1554
+ constantsJson?: object;
1555
+ /** Data provided to the shader through the node data buffer */
1556
+ dataJson?: object;
1557
+ /** Unique identifier for the asset */
1558
+ shaderRef?: string;
1559
+ type?: 5;
1560
+ };
1510
1561
  export type GetAssetDescription_CopyImage = {
1511
1562
  /** Source render target */
1512
1563
  inputRenderTargetIndices?: Array<number>;
@@ -1522,6 +1573,8 @@ export type GetAssetDescription_ResolveImage = {
1522
1573
  type?: 7;
1523
1574
  };
1524
1575
  export type GetAssetDescription_DrawFullscreen = {
1576
+ /** Specialization constants values for the specified shader */
1577
+ constantsJson?: object;
1525
1578
  /** Data provided to the shader through the node data buffer */
1526
1579
  dataJson?: object;
1527
1580
  /** Description of a shader pipeline */
@@ -1559,6 +1612,8 @@ export type GetAssetDescription_FillBuffer = {
1559
1612
  type?: 15;
1560
1613
  };
1561
1614
  export type GetAssetDescription_DrawDebugLines = {
1615
+ /** Specialization constants values for the specified shader */
1616
+ constantsJson?: object;
1562
1617
  /** Data provided to the shader through the node data buffer */
1563
1618
  dataJson?: object;
1564
1619
  /** Description of a shader pipeline */
@@ -1567,9 +1622,11 @@ export type GetAssetDescription_DrawDebugLines = {
1567
1622
  shaderRef?: string;
1568
1623
  type?: 16;
1569
1624
  };
1570
- export type GetAssetDescription_DispatchDecalsCompute = {
1625
+ export type GetAssetDescription_DispatchDecals = {
1571
1626
  /** Data provided to the shader through the node data buffer */
1572
1627
  dataJson?: object;
1628
+ /** Index into shaderContexts of the descriptor providing the shader context data for this node */
1629
+ shaderContextIndex: number;
1573
1630
  type?: 17;
1574
1631
  };
1575
1632
  export type GetAssetDescription_SetDepthBias = {
@@ -1582,12 +1639,40 @@ export type GetAssetDescription_SetDepthBias = {
1582
1639
  type?: 18;
1583
1640
  };
1584
1641
  export type GetAssetDescription_DispatchRayTracing = {
1642
+ /** Specialization constants values for the specified shader */
1643
+ constantsJson?: object;
1585
1644
  /** Data provided to the shader through the node data buffer */
1586
1645
  dataJson?: object;
1587
1646
  /** Unique identifier for the asset */
1588
1647
  shaderRef?: string;
1589
1648
  type?: 19;
1590
1649
  };
1650
+ export type GetAssetDescription_ParameterDescriptor = {
1651
+ /** Additional properties for a parameter of type "buffer": how many elements it holds, the size of each element, and how the buffer is used. Absent for every other parameter type */
1652
+ bufferProperties?: GetAssetDescription_BufferProperties;
1653
+ /** Categories */
1654
+ categories?: Array<string>;
1655
+ /** Parameter default value */
1656
+ default?: StrictUnion<number | boolean | Array<number>>;
1657
+ /** Whether this parameter (a render target or buffer) is the resource used to compute the number of dispatched workgroups for a compute shader, i.e. DispatchedGroups = referenceResource.size / workgroupSize (see compute_shader_size_reference's reference_resource) */
1658
+ isReferenceResource?: boolean;
1659
+ /** Parameter name */
1660
+ name: string;
1661
+ /** Parameter native type */
1662
+ nativeType: 'vec4' | 'vec3' | 'vec2' | 'float' | 'int32_t' | 'texture2d_ref' | 'render_target_index' | 'buffer_reference';
1663
+ /** Parameter offset in bytes */
1664
+ offset: number;
1665
+ /** Parameter type */
1666
+ type: 'vec4' | 'ivec4' | 'quat' | 'vec3' | 'ivec3' | 'color' | 'vec2' | 'ivec2' | 'float' | 'int' | 'uint' | 'bool' | 'texture' | 'render_target_index' | 'buffer';
1667
+ };
1668
+ export type GetAssetDescription_BufferProperties = {
1669
+ /** Number of elements in the buffer, or a [x, y] pair of factors applied to the viewport width and height (each rounded up and clamped to a minimum of 1, then multiplied) to compute the element count */
1670
+ elementCount: StrictUnion<number | Array<number>>;
1671
+ /** Size in bytes of a single element in the buffer. If the buffer is declared as `T *buffer`, this is sizeof(T) */
1672
+ elementSize: number;
1673
+ /** How this buffer is going to be used */
1674
+ usage: number;
1675
+ };
1591
1676
  export type GetAssetDescription_Scene = {
1592
1677
  /** Bounding box in local space */
1593
1678
  aabb: GetAssetDescription_Aabb;
@@ -1617,24 +1702,106 @@ export type GetAssetDescription_Script = {
1617
1702
  export type GetAssetDescription_Shader = {
1618
1703
  /** The blend mode for the shader, used for batching purposes. Only valid for material shaders */
1619
1704
  blendMode?: StrictUnion<0 | 1 | 2 | 3>;
1705
+ /** Compute shader settings. Only valid for compute shaders */
1706
+ computeSettings?: GetAssetDescription_ComputeShaderSettings;
1707
+ /** Data descriptor for specialization constants */
1708
+ constantDescriptor?: Array<GetAssetDescription_SpecializationConstantDescriptor>;
1620
1709
  /** Data descriptor for material shaders */
1621
- materialDescriptor?: Array<GetAssetDescription_Object>;
1710
+ materialDescriptor?: Array<GetAssetDescription_ParameterDescriptor>;
1622
1711
  /** Descriptions of all modules that compose this shader */
1623
- moduleDescriptions: Array<GetAssetDescription_Object>;
1712
+ moduleDescriptions?: Array<GetAssetDescription_ShaderModuleDescription>;
1624
1713
  /** Name of the asset */
1625
1714
  name: string;
1626
1715
  /** Data descriptor for render graph node shaders */
1627
- nodeDataDescriptor?: Array<GetAssetDescription_Object>;
1628
- /** Compute shader settings. Only valid for compute shaders */
1629
- optComputeSettings?: GetAssetDescription_Object;
1630
- /** Vertex description. Only valid when a vertex shader module is present */
1631
- optVertexDescriptor?: Array<GetAssetDescription_Object>;
1716
+ nodeDataDescriptor?: Array<GetAssetDescription_ParameterDescriptor>;
1717
+ /** Hash of the node data descriptor, used to detect changes in the descriptor */
1718
+ nodeDataDescriptorHash?: number;
1632
1719
  /** The size in byte of the compiled shader code (accumulated size of all modules) */
1633
- payloadSize: number;
1720
+ payloadSize?: number;
1634
1721
  /** Vulkan bit mask of all shader stages present in this shader */
1635
1722
  shaderStages?: number;
1636
1723
  /** Unique identifier for the asset */
1637
1724
  uuid: string;
1725
+ /** Vertex description. Only valid when a vertex shader module is present */
1726
+ vertexDescriptor?: Array<GetAssetDescription_VertexAttributeDescriptor>;
1727
+ };
1728
+ export type GetAssetDescription_ComputeShaderSettings = {
1729
+ /** Global group reference */
1730
+ sizeReference?: StrictUnion<0 | 1 | 2>;
1731
+ /** Size of the workgroup */
1732
+ workgroupSize?: Array<number>;
1733
+ /** Scaling factor to apply to the total workgroup count */
1734
+ workloadScalingFactor?: Array<number>;
1735
+ };
1736
+ export type GetAssetDescription_SpecializationConstantDescriptor = {
1737
+ /** Constant default value */
1738
+ default: StrictUnion<number | boolean>;
1739
+ /** Description */
1740
+ description?: string;
1741
+ /** Display name */
1742
+ displayName?: string;
1743
+ /** Constant name */
1744
+ name: string;
1745
+ /** Constant type */
1746
+ type: 'bool' | 'int' | 'uint' | 'float';
1747
+ };
1748
+ export type GetAssetDescription_ShaderModuleDescription = {
1749
+ /** Names of the bindings used by this module */
1750
+ bindings?: Array<string>;
1751
+ /** Constants used by this module */
1752
+ constants?: GetAssetDescription_Object;
1753
+ /** Entry point of the shader module */
1754
+ entryPoint?: string;
1755
+ /** Outputs of this shader module (e.g. a fragment shader's color attachments, or the last stage's varying outputs), used to validate the module's compatibility with a render pipeline */
1756
+ outputs?: Array<GetAssetDescription_ShaderModuleOutputDescriptor>;
1757
+ /** Offset in byte in the shader payload buffer */
1758
+ payloadOffset: number;
1759
+ /** Size in byte of the compiled module */
1760
+ payloadSize: number;
1761
+ /** Push constant members used by this module, used to validate push constant layout compatibility across the pipeline's stages */
1762
+ pushConstants?: Array<GetAssetDescription_ShaderModulePushConstantDescriptor>;
1763
+ /** The shader stage */
1764
+ shaderStage: number;
1765
+ };
1766
+ export type GetAssetDescription_ShaderModuleOutputDescriptor = {
1767
+ /** Output location */
1768
+ location: number;
1769
+ /** Output variable name */
1770
+ name: string;
1771
+ /** Output variable type */
1772
+ type: 'bool' | 'int8' | 'int16' | 'int32' | 'int64' | 'uint8' | 'uint16' | 'uint32' | 'uint64' | 'float16' | 'float32' | 'float64' | 'vec2' | 'ivec2' | 'vec3' | 'ivec3' | 'vec4' | 'ivec4' | 'pointer';
1773
+ };
1774
+ export type GetAssetDescription_ShaderModulePushConstantDescriptor = {
1775
+ /** Push constant member name */
1776
+ name: string;
1777
+ /** Offset in byte within the push constant block */
1778
+ offset: number;
1779
+ /** Size in byte of the push constant member */
1780
+ size: number;
1781
+ /** Push constant member type */
1782
+ type: 'bool' | 'int8' | 'int16' | 'int32' | 'int64' | 'uint8' | 'uint16' | 'uint32' | 'uint64' | 'float16' | 'float32' | 'float64' | 'vec2' | 'ivec2' | 'vec3' | 'ivec3' | 'vec4' | 'ivec4' | 'pointer';
1783
+ };
1784
+ export type GetAssetDescription_VertexAttributeDescriptor = {
1785
+ /** Binding number */
1786
+ binding: number;
1787
+ /** Format */
1788
+ format: number;
1789
+ /** Location */
1790
+ location: number;
1791
+ /** Offset */
1792
+ offset: number;
1793
+ /** Semantic */
1794
+ semantic: StrictUnion<1 | 2 | 4 | 8 | 16 | 32> & number;
1795
+ /** Stride between consecutive elements within the buffer */
1796
+ stride: number;
1797
+ };
1798
+ export type GetAssetDescription_ShaderContext = {
1799
+ /** Data descriptor for this shader context */
1800
+ dataDescriptor?: Array<GetAssetDescription_ParameterDescriptor>;
1801
+ /** Name of the asset */
1802
+ name: string;
1803
+ /** Unique identifier for the asset */
1804
+ uuid: string;
1638
1805
  };
1639
1806
  export type GetAssetDescription_Skeleton = {
1640
1807
  /** Descriptions of all bones forming the skeleton */
@@ -1725,8 +1892,8 @@ export type GetAssetDescription_VolumeMaterial = {
1725
1892
  */
1726
1893
  export declare function getAssetDescription({ asset_id, asset_container, }: {
1727
1894
  asset_id: string;
1728
- asset_container: 'action_maps' | 'animations' | 'animation_graphs' | 'animation_sequences' | 'animation_sets' | 'collision_geometries' | 'cubemaps' | 'event_maps' | 'materials' | 'meshes' | 'modules' | 'point_clouds' | 'render_graphs' | 'scenes' | 'scripts' | 'shaders' | 'skeletons' | 'sounds' | 'textures' | 'textures_1d' | 'textures_3d' | 'volume_materials';
1729
- }, headers?: AxiosRequestHeaders): AxiosPromise<StrictUnion<GetAssetDescription_ActionMap | GetAssetDescription_Animation | GetAssetDescription_AnimationGraph | GetAssetDescription_AnimationSequence | GetAssetDescription_AnimationSet | GetAssetDescription_CollisionGeometry | GetAssetDescription_Cubemap | GetAssetDescription_EventMap | GetAssetDescription_Material | GetAssetDescription_Mesh | GetAssetDescription_Module | GetAssetDescription_PointCloud | GetAssetDescription_RenderGraph | GetAssetDescription_Scene | GetAssetDescription_Script | GetAssetDescription_Shader | GetAssetDescription_Skeleton | GetAssetDescription_Sound | GetAssetDescription_Texture | GetAssetDescription_Texture_1D | GetAssetDescription_Texture_3D | GetAssetDescription_VolumeMaterial>>;
1895
+ asset_container: 'action_maps' | 'animations' | 'animation_graphs' | 'animation_sequences' | 'animation_sets' | 'collision_geometries' | 'cubemaps' | 'event_maps' | 'materials' | 'meshes' | 'modules' | 'point_clouds' | 'render_graphs' | 'scenes' | 'scripts' | 'shaders' | 'shader_contexts' | 'skeletons' | 'sounds' | 'textures' | 'textures_1d' | 'textures_3d' | 'volume_materials';
1896
+ }, headers?: AxiosRequestHeaders): AxiosPromise<StrictUnion<GetAssetDescription_ActionMap | GetAssetDescription_Animation | GetAssetDescription_AnimationGraph | GetAssetDescription_AnimationSequence | GetAssetDescription_AnimationSet | GetAssetDescription_CollisionGeometry | GetAssetDescription_Cubemap | GetAssetDescription_EventMap | GetAssetDescription_Material | GetAssetDescription_Mesh | GetAssetDescription_Module | GetAssetDescription_PointCloud | GetAssetDescription_RenderGraph | GetAssetDescription_Scene | GetAssetDescription_Script | GetAssetDescription_Shader | GetAssetDescription_ShaderContext | GetAssetDescription_Skeleton | GetAssetDescription_Sound | GetAssetDescription_Texture | GetAssetDescription_Texture_1D | GetAssetDescription_Texture_3D | GetAssetDescription_VolumeMaterial>>;
1730
1897
  export type UpdateAssetDescription_Cubemap = {
1731
1898
  /** The 6 images forming the cube faces */
1732
1899
  faces: Array<string>;
@@ -1746,6 +1913,8 @@ export type UpdateAssetDescription_Material = {
1746
1913
  export type UpdateAssetDescription_RenderGraph = {
1747
1914
  /** All blend states */
1748
1915
  blendStateDescriptions?: Array<UpdateAssetDescription_Object>;
1916
+ /** Descriptions of all buffers */
1917
+ bufferDescriptions?: Array<UpdateAssetDescription_Object>;
1749
1918
  /** Conditions referenced by conditionIndex */
1750
1919
  conditions?: Array<string>;
1751
1920
  /** The index of the render target to blit into the canvas */
@@ -1757,13 +1926,15 @@ export type UpdateAssetDescription_RenderGraph = {
1757
1926
  /** Name of the asset */
1758
1927
  name: string;
1759
1928
  /** Descriptions of all nodes */
1760
- nodeDataDescriptions: Array<StrictUnion<UpdateAssetDescription_Viewport | UpdateAssetDescription_DrawBatch | UpdateAssetDescription_DrawBatchWithMaterials | UpdateAssetDescription_DispatchCompute | UpdateAssetDescription_BlitImage | UpdateAssetDescription_CopyImage | UpdateAssetDescription_ResolveImage | UpdateAssetDescription_DrawFullscreen | UpdateAssetDescription_GenerateMipChain | UpdateAssetDescription_CopyToCubemapFace | UpdateAssetDescription_ClearImages | UpdateAssetDescription_FillBuffer | UpdateAssetDescription_DrawDebugLines | UpdateAssetDescription_DispatchDecalsCompute | UpdateAssetDescription_SetDepthBias | UpdateAssetDescription_DispatchRayTracing> & UpdateAssetDescription_Object>;
1929
+ nodeDataDescriptions: Array<StrictUnion<UpdateAssetDescription_Viewport | UpdateAssetDescription_DrawBatch | UpdateAssetDescription_DrawBatchWithMaterials | UpdateAssetDescription_DispatchCompute | UpdateAssetDescription_BlitImage | UpdateAssetDescription_DispatchPointClouds | UpdateAssetDescription_CopyImage | UpdateAssetDescription_ResolveImage | UpdateAssetDescription_DrawFullscreen | UpdateAssetDescription_GenerateMipChain | UpdateAssetDescription_CopyToCubemapFace | UpdateAssetDescription_ClearImages | UpdateAssetDescription_FillBuffer | UpdateAssetDescription_DrawDebugLines | UpdateAssetDescription_DispatchDecals | UpdateAssetDescription_SetDepthBias | UpdateAssetDescription_DispatchRayTracing> & UpdateAssetDescription_Object>;
1761
1930
  /** The index of the render target used for occlusion */
1762
1931
  occlusionInputDepthRenderTargetIndex?: number;
1763
1932
  /** Descriptions of all render passes */
1764
1933
  renderPassDescriptions: Array<UpdateAssetDescription_Object>;
1765
1934
  /** Descriptions of all render targets */
1766
1935
  renderTargetDescriptions: Array<UpdateAssetDescription_Object>;
1936
+ /** Data descriptors for the shader contexts referenced by shaderContextIndex */
1937
+ shaderContexts?: Array<Array<UpdateAssetDescription_ParameterDescriptor>>;
1767
1938
  /** All stencil states */
1768
1939
  stencilOpStateDescriptions?: Array<UpdateAssetDescription_Object>;
1769
1940
  };
@@ -1789,8 +1960,10 @@ export type UpdateAssetDescription_Viewport = {
1789
1960
  type?: 0;
1790
1961
  };
1791
1962
  export type UpdateAssetDescription_DrawBatch = {
1792
- /** Batch type bitmask (batch_flags). Combinable flags: opaque=1, transparent=2, static_meshes=4, static_textured_meshes=8, all_static_meshes=16, skinned=32, selected=64, do_not_use_material=128, double_sided=256, single_sided=512, pass_occlusion_test=1024, unselected=2048, cast_shadows=4096 */
1963
+ /** Batch type bitmask (batch_flags). Combinable flags: opaque=1, transparent=2, static_meshes=4, static_textured_meshes=8, all_static_meshes=16, skinned=32, selected=64, do_not_use_material=128, double_sided=256, single_sided=512, pass_occlusion_test=1024, unselected=2048, cast_shadows=4096, invalid_material=8192 */
1793
1964
  batchType?: number;
1965
+ /** Specialization constants values for the specified shader */
1966
+ constantsJson?: object;
1794
1967
  /** Data provided to the shader through the node data buffer */
1795
1968
  dataJson?: object;
1796
1969
  /** Description of a shader pipeline */
@@ -1798,17 +1971,21 @@ export type UpdateAssetDescription_DrawBatch = {
1798
1971
  type?: 1;
1799
1972
  };
1800
1973
  export type UpdateAssetDescription_DrawBatchWithMaterials = {
1801
- /** Batch type bitmask (batch_flags). Combinable flags: opaque=1, transparent=2, static_meshes=4, static_textured_meshes=8, all_static_meshes=16, skinned=32, selected=64, do_not_use_material=128, double_sided=256, single_sided=512, pass_occlusion_test=1024, unselected=2048, cast_shadows=4096 */
1974
+ /** Batch type bitmask (batch_flags). Combinable flags: opaque=1, transparent=2, static_meshes=4, static_textured_meshes=8, all_static_meshes=16, skinned=32, selected=64, do_not_use_material=128, double_sided=256, single_sided=512, pass_occlusion_test=1024, unselected=2048, cast_shadows=4096, invalid_material=8192 */
1802
1975
  batchType?: number;
1803
1976
  /** Data provided to the shader through the node data buffer */
1804
1977
  dataJson?: object;
1805
1978
  /** Description of a shader pipeline */
1806
1979
  pipelineDescription?: UpdateAssetDescription_Object;
1980
+ /** Index into shaderContexts of the descriptor providing the shader context data for this node */
1981
+ shaderContextIndex: number;
1807
1982
  type?: 2;
1808
1983
  };
1809
1984
  export type UpdateAssetDescription_DispatchCompute = {
1810
1985
  /** @deprecated Const data type */
1811
1986
  constDataType?: StrictUnion<0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24> & number;
1987
+ /** Specialization constants values for the specified shader */
1988
+ constantsJson?: object;
1812
1989
  /** Data provided to the shader through the node data buffer */
1813
1990
  dataJson?: object;
1814
1991
  type?: 3;
@@ -1820,6 +1997,13 @@ export type UpdateAssetDescription_BlitImage = {
1820
1997
  outputRenderTargetIndices?: Array<number>;
1821
1998
  type?: 4;
1822
1999
  };
2000
+ export type UpdateAssetDescription_DispatchPointClouds = {
2001
+ /** Specialization constants values for the specified shader */
2002
+ constantsJson?: object;
2003
+ /** Data provided to the shader through the node data buffer */
2004
+ dataJson?: object;
2005
+ type?: 5;
2006
+ };
1823
2007
  export type UpdateAssetDescription_CopyImage = {
1824
2008
  /** Source render target */
1825
2009
  inputRenderTargetIndices?: Array<number>;
@@ -1835,6 +2019,8 @@ export type UpdateAssetDescription_ResolveImage = {
1835
2019
  type?: 7;
1836
2020
  };
1837
2021
  export type UpdateAssetDescription_DrawFullscreen = {
2022
+ /** Specialization constants values for the specified shader */
2023
+ constantsJson?: object;
1838
2024
  /** Data provided to the shader through the node data buffer */
1839
2025
  dataJson?: object;
1840
2026
  /** Description of a shader pipeline */
@@ -1870,15 +2056,19 @@ export type UpdateAssetDescription_FillBuffer = {
1870
2056
  type?: 15;
1871
2057
  };
1872
2058
  export type UpdateAssetDescription_DrawDebugLines = {
2059
+ /** Specialization constants values for the specified shader */
2060
+ constantsJson?: object;
1873
2061
  /** Data provided to the shader through the node data buffer */
1874
2062
  dataJson?: object;
1875
2063
  /** Description of a shader pipeline */
1876
2064
  pipelineDescription?: UpdateAssetDescription_Object;
1877
2065
  type?: 16;
1878
2066
  };
1879
- export type UpdateAssetDescription_DispatchDecalsCompute = {
2067
+ export type UpdateAssetDescription_DispatchDecals = {
1880
2068
  /** Data provided to the shader through the node data buffer */
1881
2069
  dataJson?: object;
2070
+ /** Index into shaderContexts of the descriptor providing the shader context data for this node */
2071
+ shaderContextIndex: number;
1882
2072
  type?: 17;
1883
2073
  };
1884
2074
  export type UpdateAssetDescription_SetDepthBias = {
@@ -1891,10 +2081,38 @@ export type UpdateAssetDescription_SetDepthBias = {
1891
2081
  type?: 18;
1892
2082
  };
1893
2083
  export type UpdateAssetDescription_DispatchRayTracing = {
2084
+ /** Specialization constants values for the specified shader */
2085
+ constantsJson?: object;
1894
2086
  /** Data provided to the shader through the node data buffer */
1895
2087
  dataJson?: object;
1896
2088
  type?: 19;
1897
2089
  };
2090
+ export type UpdateAssetDescription_ParameterDescriptor = {
2091
+ /** Additional properties for a parameter of type "buffer": how many elements it holds, the size of each element, and how the buffer is used. Absent for every other parameter type */
2092
+ bufferProperties?: UpdateAssetDescription_BufferProperties;
2093
+ /** Categories */
2094
+ categories?: Array<string>;
2095
+ /** Parameter default value */
2096
+ default?: StrictUnion<number | boolean | Array<number>>;
2097
+ /** Whether this parameter (a render target or buffer) is the resource used to compute the number of dispatched workgroups for a compute shader, i.e. DispatchedGroups = referenceResource.size / workgroupSize (see compute_shader_size_reference's reference_resource) */
2098
+ isReferenceResource?: boolean;
2099
+ /** Parameter name */
2100
+ name: string;
2101
+ /** Parameter native type */
2102
+ nativeType: 'vec4' | 'vec3' | 'vec2' | 'float' | 'int32_t' | 'texture2d_ref' | 'render_target_index' | 'buffer_reference';
2103
+ /** Parameter offset in bytes */
2104
+ offset: number;
2105
+ /** Parameter type */
2106
+ type: 'vec4' | 'ivec4' | 'quat' | 'vec3' | 'ivec3' | 'color' | 'vec2' | 'ivec2' | 'float' | 'int' | 'uint' | 'bool' | 'texture' | 'render_target_index' | 'buffer';
2107
+ };
2108
+ export type UpdateAssetDescription_BufferProperties = {
2109
+ /** Number of elements in the buffer, or a [x, y] pair of factors applied to the viewport width and height (each rounded up and clamped to a minimum of 1, then multiplied) to compute the element count */
2110
+ elementCount: StrictUnion<number | Array<number>>;
2111
+ /** Size in bytes of a single element in the buffer. If the buffer is declared as `T *buffer`, this is sizeof(T) */
2112
+ elementSize: number;
2113
+ /** How this buffer is going to be used */
2114
+ usage: number;
2115
+ };
1898
2116
  /**
1899
2117
  * Updates the description of the specified asset.
1900
2118
  */
@@ -1908,7 +2126,7 @@ export declare function updateAssetDescription({ asset_id, asset_container, asse
1908
2126
  */
1909
2127
  export declare function renameAsset({ asset_id, asset_container, name, }: {
1910
2128
  asset_id: string;
1911
- asset_container: 'action_maps' | 'animations' | 'animation_graphs' | 'animation_sequences' | 'animation_sets' | 'collision_geometries' | 'cubemaps' | 'event_maps' | 'materials' | 'meshes' | 'modules' | 'point_clouds' | 'render_graphs' | 'scenes' | 'scripts' | 'shaders' | 'skeletons' | 'sounds' | 'textures' | 'textures_1d' | 'textures_3d' | 'volume_materials';
2129
+ asset_container: 'action_maps' | 'animations' | 'animation_graphs' | 'animation_sequences' | 'animation_sets' | 'collision_geometries' | 'cubemaps' | 'event_maps' | 'materials' | 'meshes' | 'modules' | 'point_clouds' | 'render_graphs' | 'scenes' | 'scripts' | 'shaders' | 'shader_contexts' | 'skeletons' | 'sounds' | 'textures' | 'textures_1d' | 'textures_3d' | 'volume_materials';
1912
2130
  name?: string;
1913
2131
  }, headers?: AxiosRequestHeaders): Promise<import("axios").AxiosResponse<any, any, {}>>;
1914
2132
  /**
@@ -1943,14 +2161,14 @@ export declare function updateAssetGraph({ asset_container_with_graph, asset_id,
1943
2161
  * Gets the asset history from the specified asset.
1944
2162
  */
1945
2163
  export declare function getAssetHistory({ asset_container, asset_id, }: {
1946
- asset_container: 'action_maps' | 'animations' | 'animation_graphs' | 'animation_sequences' | 'animation_sets' | 'collision_geometries' | 'cubemaps' | 'event_maps' | 'materials' | 'meshes' | 'modules' | 'point_clouds' | 'render_graphs' | 'scenes' | 'scripts' | 'shaders' | 'skeletons' | 'sounds' | 'textures' | 'textures_1d' | 'textures_3d' | 'volume_materials';
2164
+ asset_container: 'action_maps' | 'animations' | 'animation_graphs' | 'animation_sequences' | 'animation_sets' | 'collision_geometries' | 'cubemaps' | 'event_maps' | 'materials' | 'meshes' | 'modules' | 'point_clouds' | 'render_graphs' | 'scenes' | 'scripts' | 'shaders' | 'shader_contexts' | 'skeletons' | 'sounds' | 'textures' | 'textures_1d' | 'textures_3d' | 'volume_materials';
1947
2165
  asset_id: string;
1948
2166
  }, headers?: AxiosRequestHeaders): AxiosPromise<object>;
1949
2167
  /**
1950
2168
  * Gets the asset metadata from the specified asset.
1951
2169
  */
1952
2170
  export declare function getAssetMeta({ asset_container, asset_id, }: {
1953
- asset_container: 'action_maps' | 'animations' | 'animation_graphs' | 'animation_sequences' | 'animation_sets' | 'collision_geometries' | 'cubemaps' | 'event_maps' | 'materials' | 'meshes' | 'modules' | 'point_clouds' | 'render_graphs' | 'scenes' | 'scripts' | 'shaders' | 'skeletons' | 'sounds' | 'textures' | 'textures_1d' | 'textures_3d' | 'volume_materials';
2171
+ asset_container: 'action_maps' | 'animations' | 'animation_graphs' | 'animation_sequences' | 'animation_sets' | 'collision_geometries' | 'cubemaps' | 'event_maps' | 'materials' | 'meshes' | 'modules' | 'point_clouds' | 'render_graphs' | 'scenes' | 'scripts' | 'shaders' | 'shader_contexts' | 'skeletons' | 'sounds' | 'textures' | 'textures_1d' | 'textures_3d' | 'volume_materials';
1954
2172
  asset_id: string;
1955
2173
  }, headers?: AxiosRequestHeaders): AxiosPromise<object>;
1956
2174
  /**
@@ -1964,7 +2182,7 @@ export declare function getAssetCode({ asset_container_with_code, asset_id, }: {
1964
2182
  * Gets the asset thumbnail from the specified asset.
1965
2183
  */
1966
2184
  export declare function getAssetThumbnail<T extends 'arraybuffer' | 'stream' | 'json' | 'text' = 'arraybuffer'>({ asset_container, asset_id, size, default_url, }: {
1967
- asset_container: 'action_maps' | 'animations' | 'animation_graphs' | 'animation_sequences' | 'animation_sets' | 'collision_geometries' | 'cubemaps' | 'event_maps' | 'materials' | 'meshes' | 'modules' | 'point_clouds' | 'render_graphs' | 'scenes' | 'scripts' | 'shaders' | 'skeletons' | 'sounds' | 'textures' | 'textures_1d' | 'textures_3d' | 'volume_materials';
2185
+ asset_container: 'action_maps' | 'animations' | 'animation_graphs' | 'animation_sequences' | 'animation_sets' | 'collision_geometries' | 'cubemaps' | 'event_maps' | 'materials' | 'meshes' | 'modules' | 'point_clouds' | 'render_graphs' | 'scenes' | 'scripts' | 'shaders' | 'shader_contexts' | 'skeletons' | 'sounds' | 'textures' | 'textures_1d' | 'textures_3d' | 'volume_materials';
1968
2186
  asset_id: string;
1969
2187
  size: 'large' | 'medium' | 'small' | 'tiny';
1970
2188
  default_url?: string;
@@ -1973,7 +2191,7 @@ export declare function getAssetThumbnail<T extends 'arraybuffer' | 'stream' | '
1973
2191
  * Assigns a thumbnail to the specified asset.
1974
2192
  */
1975
2193
  export declare function setAssetThumbnail({ asset_container, asset_id, body, }: {
1976
- asset_container: 'action_maps' | 'animations' | 'animation_graphs' | 'animation_sequences' | 'animation_sets' | 'collision_geometries' | 'cubemaps' | 'event_maps' | 'materials' | 'meshes' | 'modules' | 'point_clouds' | 'render_graphs' | 'scenes' | 'scripts' | 'shaders' | 'skeletons' | 'sounds' | 'textures' | 'textures_1d' | 'textures_3d' | 'volume_materials';
2194
+ asset_container: 'action_maps' | 'animations' | 'animation_graphs' | 'animation_sequences' | 'animation_sets' | 'collision_geometries' | 'cubemaps' | 'event_maps' | 'materials' | 'meshes' | 'modules' | 'point_clouds' | 'render_graphs' | 'scenes' | 'scripts' | 'shaders' | 'shader_contexts' | 'skeletons' | 'sounds' | 'textures' | 'textures_1d' | 'textures_3d' | 'volume_materials';
1977
2195
  asset_id: string;
1978
2196
  body: ArrayBuffer | ReadableStream;
1979
2197
  }, contentType: 'image/jpg' | 'image/png', headers?: AxiosRequestHeaders): Promise<import("axios").AxiosResponse<any, any, {}>>;
@@ -1988,7 +2206,7 @@ export declare function getAssetCustomTypes({ asset_container_with_custom_types,
1988
2206
  * Packages and downloads the target asset.
1989
2207
  */
1990
2208
  export declare function packageAsset<T extends 'arraybuffer' | 'stream' | 'json' | 'text' = 'arraybuffer'>({ asset_container, asset_id, }: {
1991
- asset_container: 'action_maps' | 'animations' | 'animation_graphs' | 'animation_sequences' | 'animation_sets' | 'collision_geometries' | 'cubemaps' | 'event_maps' | 'materials' | 'meshes' | 'modules' | 'point_clouds' | 'render_graphs' | 'scenes' | 'scripts' | 'shaders' | 'skeletons' | 'sounds' | 'textures' | 'textures_1d' | 'textures_3d' | 'volume_materials';
2209
+ asset_container: 'action_maps' | 'animations' | 'animation_graphs' | 'animation_sequences' | 'animation_sets' | 'collision_geometries' | 'cubemaps' | 'event_maps' | 'materials' | 'meshes' | 'modules' | 'point_clouds' | 'render_graphs' | 'scenes' | 'scripts' | 'shaders' | 'shader_contexts' | 'skeletons' | 'sounds' | 'textures' | 'textures_1d' | 'textures_3d' | 'volume_materials';
1992
2210
  asset_id: string;
1993
2211
  }, headers?: AxiosRequestHeaders, responseType?: T): AxiosPromise<T extends 'arraybuffer' ? ArrayBuffer : T extends 'json' ? object : T extends 'text' ? string : T extends 'stream' ? ReadableStream : never>;
1994
2212
  /**