typescript-to-gdscript 0.1.0
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.
- package/LICENSE +21 -0
- package/README.md +324 -0
- package/dist/cache/index.d.ts +203 -0
- package/dist/cache/index.d.ts.map +1 -0
- package/dist/cache/index.js +609 -0
- package/dist/cache/index.js.map +1 -0
- package/dist/checker/godot-project.d.ts +15 -0
- package/dist/checker/godot-project.d.ts.map +1 -0
- package/dist/checker/godot-project.js +14 -0
- package/dist/checker/godot-project.js.map +1 -0
- package/dist/checker/index.d.ts +61 -0
- package/dist/checker/index.d.ts.map +1 -0
- package/dist/checker/index.js +229 -0
- package/dist/checker/index.js.map +1 -0
- package/dist/checker/ts-diagnostics.d.ts +11 -0
- package/dist/checker/ts-diagnostics.d.ts.map +1 -0
- package/dist/checker/ts-diagnostics.js +67 -0
- package/dist/checker/ts-diagnostics.js.map +1 -0
- package/dist/cli/clear-cache.d.ts +3 -0
- package/dist/cli/clear-cache.d.ts.map +1 -0
- package/dist/cli/clear-cache.js +42 -0
- package/dist/cli/clear-cache.js.map +1 -0
- package/dist/cli/convert-gd.d.ts +3 -0
- package/dist/cli/convert-gd.d.ts.map +1 -0
- package/dist/cli/convert-gd.js +148 -0
- package/dist/cli/convert-gd.js.map +1 -0
- package/dist/cli/convert.d.ts +3 -0
- package/dist/cli/convert.d.ts.map +1 -0
- package/dist/cli/convert.js +165 -0
- package/dist/cli/convert.js.map +1 -0
- package/dist/cli/generate-addon-typings.d.ts +3 -0
- package/dist/cli/generate-addon-typings.d.ts.map +1 -0
- package/dist/cli/generate-addon-typings.js +31 -0
- package/dist/cli/generate-addon-typings.js.map +1 -0
- package/dist/cli/generate-gdscript-global-typings.d.ts +3 -0
- package/dist/cli/generate-gdscript-global-typings.d.ts.map +1 -0
- package/dist/cli/generate-gdscript-global-typings.js +172 -0
- package/dist/cli/generate-gdscript-global-typings.js.map +1 -0
- package/dist/cli/generate-typings.d.ts +3 -0
- package/dist/cli/generate-typings.d.ts.map +1 -0
- package/dist/cli/generate-typings.js +48 -0
- package/dist/cli/generate-typings.js.map +1 -0
- package/dist/cli/helpers.d.ts +47 -0
- package/dist/cli/helpers.d.ts.map +1 -0
- package/dist/cli/helpers.js +180 -0
- package/dist/cli/helpers.js.map +1 -0
- package/dist/cli/index.d.ts +3 -0
- package/dist/cli/index.d.ts.map +1 -0
- package/dist/cli/index.js +35 -0
- package/dist/cli/index.js.map +1 -0
- package/dist/cli/init.d.ts +8 -0
- package/dist/cli/init.d.ts.map +1 -0
- package/dist/cli/init.js +222 -0
- package/dist/cli/init.js.map +1 -0
- package/dist/cli/initial-convert-gd-to-ts.d.ts +3 -0
- package/dist/cli/initial-convert-gd-to-ts.d.ts.map +1 -0
- package/dist/cli/initial-convert-gd-to-ts.js +149 -0
- package/dist/cli/initial-convert-gd-to-ts.js.map +1 -0
- package/dist/cli/lint.d.ts +3 -0
- package/dist/cli/lint.d.ts.map +1 -0
- package/dist/cli/lint.js +191 -0
- package/dist/cli/lint.js.map +1 -0
- package/dist/cli/open-editor.d.ts +21 -0
- package/dist/cli/open-editor.d.ts.map +1 -0
- package/dist/cli/open-editor.js +148 -0
- package/dist/cli/open-editor.js.map +1 -0
- package/dist/cli/set-latest.d.ts +3 -0
- package/dist/cli/set-latest.d.ts.map +1 -0
- package/dist/cli/set-latest.js +23 -0
- package/dist/cli/set-latest.js.map +1 -0
- package/dist/cli/validate-gd.d.ts +3 -0
- package/dist/cli/validate-gd.d.ts.map +1 -0
- package/dist/cli/validate-gd.js +37 -0
- package/dist/cli/validate-gd.js.map +1 -0
- package/dist/cli/watch.d.ts +3 -0
- package/dist/cli/watch.d.ts.map +1 -0
- package/dist/cli/watch.js +58 -0
- package/dist/cli/watch.js.map +1 -0
- package/dist/config/index.d.ts +142 -0
- package/dist/config/index.d.ts.map +1 -0
- package/dist/config/index.js +161 -0
- package/dist/config/index.js.map +1 -0
- package/dist/converter/common/index.d.ts +169 -0
- package/dist/converter/common/index.d.ts.map +1 -0
- package/dist/converter/common/index.js +298 -0
- package/dist/converter/common/index.js.map +1 -0
- package/dist/converter/gd-to-ts/class-scope.d.ts +80 -0
- package/dist/converter/gd-to-ts/class-scope.d.ts.map +1 -0
- package/dist/converter/gd-to-ts/class-scope.js +208 -0
- package/dist/converter/gd-to-ts/class-scope.js.map +1 -0
- package/dist/converter/gd-to-ts/context.d.ts +94 -0
- package/dist/converter/gd-to-ts/context.d.ts.map +1 -0
- package/dist/converter/gd-to-ts/context.js +71 -0
- package/dist/converter/gd-to-ts/context.js.map +1 -0
- package/dist/converter/gd-to-ts/expressions.d.ts +18 -0
- package/dist/converter/gd-to-ts/expressions.d.ts.map +1 -0
- package/dist/converter/gd-to-ts/expressions.js +535 -0
- package/dist/converter/gd-to-ts/expressions.js.map +1 -0
- package/dist/converter/gd-to-ts/file-scope-emitter.d.ts +34 -0
- package/dist/converter/gd-to-ts/file-scope-emitter.d.ts.map +1 -0
- package/dist/converter/gd-to-ts/file-scope-emitter.js +191 -0
- package/dist/converter/gd-to-ts/file-scope-emitter.js.map +1 -0
- package/dist/converter/gd-to-ts/functions.d.ts +20 -0
- package/dist/converter/gd-to-ts/functions.d.ts.map +1 -0
- package/dist/converter/gd-to-ts/functions.js +313 -0
- package/dist/converter/gd-to-ts/functions.js.map +1 -0
- package/dist/converter/gd-to-ts/helpers/explicit-convert.d.ts +42 -0
- package/dist/converter/gd-to-ts/helpers/explicit-convert.d.ts.map +1 -0
- package/dist/converter/gd-to-ts/helpers/explicit-convert.js +173 -0
- package/dist/converter/gd-to-ts/helpers/explicit-convert.js.map +1 -0
- package/dist/converter/gd-to-ts/helpers/nullable-return.d.ts +19 -0
- package/dist/converter/gd-to-ts/helpers/nullable-return.d.ts.map +1 -0
- package/dist/converter/gd-to-ts/helpers/nullable-return.js +116 -0
- package/dist/converter/gd-to-ts/helpers/nullable-return.js.map +1 -0
- package/dist/converter/gd-to-ts/helpers/nullable.d.ts +41 -0
- package/dist/converter/gd-to-ts/helpers/nullable.d.ts.map +1 -0
- package/dist/converter/gd-to-ts/helpers/nullable.js +526 -0
- package/dist/converter/gd-to-ts/helpers/nullable.js.map +1 -0
- package/dist/converter/gd-to-ts/helpers/operator-fix.d.ts +20 -0
- package/dist/converter/gd-to-ts/helpers/operator-fix.d.ts.map +1 -0
- package/dist/converter/gd-to-ts/helpers/operator-fix.js +114 -0
- package/dist/converter/gd-to-ts/helpers/operator-fix.js.map +1 -0
- package/dist/converter/gd-to-ts/helpers/ready-field-types.d.ts +48 -0
- package/dist/converter/gd-to-ts/helpers/ready-field-types.d.ts.map +1 -0
- package/dist/converter/gd-to-ts/helpers/ready-field-types.js +217 -0
- package/dist/converter/gd-to-ts/helpers/ready-field-types.js.map +1 -0
- package/dist/converter/gd-to-ts/helpers/unsafe-helpers.d.ts +64 -0
- package/dist/converter/gd-to-ts/helpers/unsafe-helpers.d.ts.map +1 -0
- package/dist/converter/gd-to-ts/helpers/unsafe-helpers.js +336 -0
- package/dist/converter/gd-to-ts/helpers/unsafe-helpers.js.map +1 -0
- package/dist/converter/gd-to-ts/imports.d.ts +47 -0
- package/dist/converter/gd-to-ts/imports.d.ts.map +1 -0
- package/dist/converter/gd-to-ts/imports.js +98 -0
- package/dist/converter/gd-to-ts/imports.js.map +1 -0
- package/dist/converter/gd-to-ts/index.d.ts +59 -0
- package/dist/converter/gd-to-ts/index.d.ts.map +1 -0
- package/dist/converter/gd-to-ts/index.js +189 -0
- package/dist/converter/gd-to-ts/index.js.map +1 -0
- package/dist/converter/gd-to-ts/inject-imports.d.ts +55 -0
- package/dist/converter/gd-to-ts/inject-imports.d.ts.map +1 -0
- package/dist/converter/gd-to-ts/inject-imports.js +161 -0
- package/dist/converter/gd-to-ts/inject-imports.js.map +1 -0
- package/dist/converter/gd-to-ts/members.d.ts +15 -0
- package/dist/converter/gd-to-ts/members.d.ts.map +1 -0
- package/dist/converter/gd-to-ts/members.js +397 -0
- package/dist/converter/gd-to-ts/members.js.map +1 -0
- package/dist/converter/gd-to-ts/source-emitter.d.ts +27 -0
- package/dist/converter/gd-to-ts/source-emitter.d.ts.map +1 -0
- package/dist/converter/gd-to-ts/source-emitter.js +420 -0
- package/dist/converter/gd-to-ts/source-emitter.js.map +1 -0
- package/dist/converter/gd-to-ts/statements.d.ts +6 -0
- package/dist/converter/gd-to-ts/statements.d.ts.map +1 -0
- package/dist/converter/gd-to-ts/statements.js +385 -0
- package/dist/converter/gd-to-ts/statements.js.map +1 -0
- package/dist/converter/gd-to-ts/ts-helpers.d.ts +49 -0
- package/dist/converter/gd-to-ts/ts-helpers.d.ts.map +1 -0
- package/dist/converter/gd-to-ts/ts-helpers.js +161 -0
- package/dist/converter/gd-to-ts/ts-helpers.js.map +1 -0
- package/dist/converter/gd-to-ts/type-inference.d.ts +41 -0
- package/dist/converter/gd-to-ts/type-inference.d.ts.map +1 -0
- package/dist/converter/gd-to-ts/type-inference.js +168 -0
- package/dist/converter/gd-to-ts/type-inference.js.map +1 -0
- package/dist/converter/ts-to-gd/class-body.d.ts +62 -0
- package/dist/converter/ts-to-gd/class-body.d.ts.map +1 -0
- package/dist/converter/ts-to-gd/class-body.js +290 -0
- package/dist/converter/ts-to-gd/class-body.js.map +1 -0
- package/dist/converter/ts-to-gd/class-members.d.ts +18 -0
- package/dist/converter/ts-to-gd/class-members.d.ts.map +1 -0
- package/dist/converter/ts-to-gd/class-members.js +246 -0
- package/dist/converter/ts-to-gd/class-members.js.map +1 -0
- package/dist/converter/ts-to-gd/diagnostics.d.ts +27 -0
- package/dist/converter/ts-to-gd/diagnostics.d.ts.map +1 -0
- package/dist/converter/ts-to-gd/diagnostics.js +95 -0
- package/dist/converter/ts-to-gd/diagnostics.js.map +1 -0
- package/dist/converter/ts-to-gd/emitter.d.ts +40 -0
- package/dist/converter/ts-to-gd/emitter.d.ts.map +1 -0
- package/dist/converter/ts-to-gd/emitter.js +88 -0
- package/dist/converter/ts-to-gd/emitter.js.map +1 -0
- package/dist/converter/ts-to-gd/expressions.d.ts +46 -0
- package/dist/converter/ts-to-gd/expressions.d.ts.map +1 -0
- package/dist/converter/ts-to-gd/expressions.js +793 -0
- package/dist/converter/ts-to-gd/expressions.js.map +1 -0
- package/dist/converter/ts-to-gd/file-scope.d.ts +42 -0
- package/dist/converter/ts-to-gd/file-scope.d.ts.map +1 -0
- package/dist/converter/ts-to-gd/file-scope.js +463 -0
- package/dist/converter/ts-to-gd/file-scope.js.map +1 -0
- package/dist/converter/ts-to-gd/gd-getset.d.ts +31 -0
- package/dist/converter/ts-to-gd/gd-getset.d.ts.map +1 -0
- package/dist/converter/ts-to-gd/gd-getset.js +219 -0
- package/dist/converter/ts-to-gd/gd-getset.js.map +1 -0
- package/dist/converter/ts-to-gd/gd-helpers.d.ts +44 -0
- package/dist/converter/ts-to-gd/gd-helpers.d.ts.map +1 -0
- package/dist/converter/ts-to-gd/gd-helpers.js +458 -0
- package/dist/converter/ts-to-gd/gd-helpers.js.map +1 -0
- package/dist/converter/ts-to-gd/imports.d.ts +67 -0
- package/dist/converter/ts-to-gd/imports.d.ts.map +1 -0
- package/dist/converter/ts-to-gd/imports.js +150 -0
- package/dist/converter/ts-to-gd/imports.js.map +1 -0
- package/dist/converter/ts-to-gd/index.d.ts +34 -0
- package/dist/converter/ts-to-gd/index.d.ts.map +1 -0
- package/dist/converter/ts-to-gd/index.js +52 -0
- package/dist/converter/ts-to-gd/index.js.map +1 -0
- package/dist/converter/ts-to-gd/parameters.d.ts +12 -0
- package/dist/converter/ts-to-gd/parameters.d.ts.map +1 -0
- package/dist/converter/ts-to-gd/parameters.js +100 -0
- package/dist/converter/ts-to-gd/parameters.js.map +1 -0
- package/dist/converter/ts-to-gd/statements.d.ts +12 -0
- package/dist/converter/ts-to-gd/statements.d.ts.map +1 -0
- package/dist/converter/ts-to-gd/statements.js +262 -0
- package/dist/converter/ts-to-gd/statements.js.map +1 -0
- package/dist/converter/ts-to-gd/transformer-types.d.ts +33 -0
- package/dist/converter/ts-to-gd/transformer-types.d.ts.map +1 -0
- package/dist/converter/ts-to-gd/transformer-types.js +2 -0
- package/dist/converter/ts-to-gd/transformer-types.js.map +1 -0
- package/dist/converter/ts-to-gd/transformer.d.ts +83 -0
- package/dist/converter/ts-to-gd/transformer.d.ts.map +1 -0
- package/dist/converter/ts-to-gd/transformer.js +344 -0
- package/dist/converter/ts-to-gd/transformer.js.map +1 -0
- package/dist/eslint/plugin.d.ts +11 -0
- package/dist/eslint/plugin.d.ts.map +1 -0
- package/dist/eslint/plugin.js +12 -0
- package/dist/eslint/plugin.js.map +1 -0
- package/dist/eslint/rules/convert.d.ts +4 -0
- package/dist/eslint/rules/convert.d.ts.map +1 -0
- package/dist/eslint/rules/convert.js +286 -0
- package/dist/eslint/rules/convert.js.map +1 -0
- package/dist/eslint/rules/no-in-variant.d.ts +10 -0
- package/dist/eslint/rules/no-in-variant.d.ts.map +1 -0
- package/dist/eslint/rules/no-in-variant.js +126 -0
- package/dist/eslint/rules/no-in-variant.js.map +1 -0
- package/dist/godot-validate/error-parser.d.ts +64 -0
- package/dist/godot-validate/error-parser.d.ts.map +1 -0
- package/dist/godot-validate/error-parser.js +170 -0
- package/dist/godot-validate/error-parser.js.map +1 -0
- package/dist/godot-validate/index.d.ts +76 -0
- package/dist/godot-validate/index.d.ts.map +1 -0
- package/dist/godot-validate/index.js +267 -0
- package/dist/godot-validate/index.js.map +1 -0
- package/dist/godot-validate/source-map-remap.d.ts +48 -0
- package/dist/godot-validate/source-map-remap.d.ts.map +1 -0
- package/dist/godot-validate/source-map-remap.js +195 -0
- package/dist/godot-validate/source-map-remap.js.map +1 -0
- package/dist/index.d.ts +13 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +12 -0
- package/dist/index.js.map +1 -0
- package/dist/parser/gdscript/generate-types.d.ts +7 -0
- package/dist/parser/gdscript/generate-types.d.ts.map +1 -0
- package/dist/parser/gdscript/generate-types.js +134 -0
- package/dist/parser/gdscript/generate-types.js.map +1 -0
- package/dist/parser/gdscript/index.d.ts +9 -0
- package/dist/parser/gdscript/index.d.ts.map +1 -0
- package/dist/parser/gdscript/index.js +17 -0
- package/dist/parser/gdscript/index.js.map +1 -0
- package/dist/parser/gdscript/types.d.ts +689 -0
- package/dist/parser/gdscript/types.d.ts.map +1 -0
- package/dist/parser/gdscript/types.js +89 -0
- package/dist/parser/gdscript/types.js.map +1 -0
- package/dist/parser/godot-resource/index.d.ts +7 -0
- package/dist/parser/godot-resource/index.d.ts.map +1 -0
- package/dist/parser/godot-resource/index.js +14 -0
- package/dist/parser/godot-resource/index.js.map +1 -0
- package/dist/parser/godot-resource/types.d.ts +330 -0
- package/dist/parser/godot-resource/types.d.ts.map +1 -0
- package/dist/parser/godot-resource/types.js +22 -0
- package/dist/parser/godot-resource/types.js.map +1 -0
- package/dist/parser/typescript/index.d.ts +12 -0
- package/dist/parser/typescript/index.d.ts.map +1 -0
- package/dist/parser/typescript/index.js +30 -0
- package/dist/parser/typescript/index.js.map +1 -0
- package/dist/sourcemap/index.d.ts +59 -0
- package/dist/sourcemap/index.d.ts.map +1 -0
- package/dist/sourcemap/index.js +85 -0
- package/dist/sourcemap/index.js.map +1 -0
- package/dist/ts-plugin/index.d.ts +47 -0
- package/dist/ts-plugin/index.d.ts.map +1 -0
- package/dist/ts-plugin/index.js +227 -0
- package/dist/ts-plugin/index.js.map +1 -0
- package/dist/ts-plugin/lint.d.ts +48 -0
- package/dist/ts-plugin/lint.d.ts.map +1 -0
- package/dist/ts-plugin/lint.js +424 -0
- package/dist/ts-plugin/lint.js.map +1 -0
- package/dist/ts-plugin/lru.d.ts +40 -0
- package/dist/ts-plugin/lru.d.ts.map +1 -0
- package/dist/ts-plugin/lru.js +82 -0
- package/dist/ts-plugin/lru.js.map +1 -0
- package/dist/ts-plugin/navigation.d.ts +58 -0
- package/dist/ts-plugin/navigation.d.ts.map +1 -0
- package/dist/ts-plugin/navigation.js +427 -0
- package/dist/ts-plugin/navigation.js.map +1 -0
- package/dist/ts-plugin/shadow-refs.d.ts +31 -0
- package/dist/ts-plugin/shadow-refs.d.ts.map +1 -0
- package/dist/ts-plugin/shadow-refs.js +76 -0
- package/dist/ts-plugin/shadow-refs.js.map +1 -0
- package/dist/ts-plugin/snapshot-transform.d.ts +61 -0
- package/dist/ts-plugin/snapshot-transform.d.ts.map +1 -0
- package/dist/ts-plugin/snapshot-transform.js +55 -0
- package/dist/ts-plugin/snapshot-transform.js.map +1 -0
- package/dist/typings/class-generator.d.ts +54 -0
- package/dist/typings/class-generator.d.ts.map +1 -0
- package/dist/typings/class-generator.js +524 -0
- package/dist/typings/class-generator.js.map +1 -0
- package/dist/typings/classes.d.ts +24 -0
- package/dist/typings/classes.d.ts.map +1 -0
- package/dist/typings/classes.js +139 -0
- package/dist/typings/classes.js.map +1 -0
- package/dist/typings/content-generators.d.ts +62 -0
- package/dist/typings/content-generators.d.ts.map +1 -0
- package/dist/typings/content-generators.js +536 -0
- package/dist/typings/content-generators.js.map +1 -0
- package/dist/typings/global-generator.d.ts +32 -0
- package/dist/typings/global-generator.d.ts.map +1 -0
- package/dist/typings/global-generator.js +242 -0
- package/dist/typings/global-generator.js.map +1 -0
- package/dist/typings/godot-docs.d.ts +27 -0
- package/dist/typings/godot-docs.d.ts.map +1 -0
- package/dist/typings/godot-docs.js +310 -0
- package/dist/typings/godot-docs.js.map +1 -0
- package/dist/typings/godot-registry.d.ts +123 -0
- package/dist/typings/godot-registry.d.ts.map +1 -0
- package/dist/typings/godot-registry.js +157 -0
- package/dist/typings/godot-registry.js.map +1 -0
- package/dist/typings/index.d.ts +4 -0
- package/dist/typings/index.d.ts.map +1 -0
- package/dist/typings/index.js +4 -0
- package/dist/typings/index.js.map +1 -0
- package/dist/typings/override-system.d.ts +36 -0
- package/dist/typings/override-system.d.ts.map +1 -0
- package/dist/typings/override-system.js +341 -0
- package/dist/typings/override-system.js.map +1 -0
- package/dist/typings/registry-generator.d.ts +44 -0
- package/dist/typings/registry-generator.d.ts.map +1 -0
- package/dist/typings/registry-generator.js +170 -0
- package/dist/typings/registry-generator.js.map +1 -0
- package/dist/typings/scene-parser.d.ts +113 -0
- package/dist/typings/scene-parser.d.ts.map +1 -0
- package/dist/typings/scene-parser.js +436 -0
- package/dist/typings/scene-parser.js.map +1 -0
- package/dist/typings/scene-tree.d.ts +33 -0
- package/dist/typings/scene-tree.d.ts.map +1 -0
- package/dist/typings/scene-tree.js +118 -0
- package/dist/typings/scene-tree.js.map +1 -0
- package/dist/typings/scene-utils.d.ts +131 -0
- package/dist/typings/scene-utils.d.ts.map +1 -0
- package/dist/typings/scene-utils.js +604 -0
- package/dist/typings/scene-utils.js.map +1 -0
- package/dist/typings/scenes.d.ts +96 -0
- package/dist/typings/scenes.d.ts.map +1 -0
- package/dist/typings/scenes.js +368 -0
- package/dist/typings/scenes.js.map +1 -0
- package/dist/typings/type-mapping.d.ts +76 -0
- package/dist/typings/type-mapping.d.ts.map +1 -0
- package/dist/typings/type-mapping.js +239 -0
- package/dist/typings/type-mapping.js.map +1 -0
- package/dist/typings/xml-parser.d.ts +91 -0
- package/dist/typings/xml-parser.d.ts.map +1 -0
- package/dist/typings/xml-parser.js +275 -0
- package/dist/typings/xml-parser.js.map +1 -0
- package/dist/watcher/index.d.ts +74 -0
- package/dist/watcher/index.d.ts.map +1 -0
- package/dist/watcher/index.js +410 -0
- package/dist/watcher/index.js.map +1 -0
- package/package.json +115 -0
- package/ts-plugin/index.js +9 -0
- package/ts-plugin/package.json +7 -0
- package/typings/classes/AABB.d.ts +177 -0
- package/typings/classes/AESContext.d.ts +34 -0
- package/typings/classes/AStar2D.d.ts +108 -0
- package/typings/classes/AStar3D.d.ts +108 -0
- package/typings/classes/AStarGrid2D.d.ts +184 -0
- package/typings/classes/AcceptDialog.d.ts +77 -0
- package/typings/classes/AccessibilityServer.d.ts +405 -0
- package/typings/classes/AimModifier3D.d.ts +40 -0
- package/typings/classes/AnimatableBody2D.d.ts +14 -0
- package/typings/classes/AnimatableBody3D.d.ts +14 -0
- package/typings/classes/AnimatedSprite2D.d.ts +108 -0
- package/typings/classes/AnimatedSprite3D.d.ts +89 -0
- package/typings/classes/AnimatedTexture.d.ts +54 -0
- package/typings/classes/Animation.d.ts +340 -0
- package/typings/classes/AnimationLibrary.d.ts +34 -0
- package/typings/classes/AnimationMixer.d.ts +226 -0
- package/typings/classes/AnimationNode.d.ts +116 -0
- package/typings/classes/AnimationNodeAdd2.d.ts +6 -0
- package/typings/classes/AnimationNodeAdd3.d.ts +6 -0
- package/typings/classes/AnimationNodeAnimation.d.ts +64 -0
- package/typings/classes/AnimationNodeBlend2.d.ts +6 -0
- package/typings/classes/AnimationNodeBlend3.d.ts +6 -0
- package/typings/classes/AnimationNodeBlendSpace1D.d.ts +79 -0
- package/typings/classes/AnimationNodeBlendSpace2D.d.ts +104 -0
- package/typings/classes/AnimationNodeBlendTree.d.ts +53 -0
- package/typings/classes/AnimationNodeExtension.d.ts +18 -0
- package/typings/classes/AnimationNodeOneShot.d.ts +78 -0
- package/typings/classes/AnimationNodeOutput.d.ts +6 -0
- package/typings/classes/AnimationNodeStateMachine.d.ts +80 -0
- package/typings/classes/AnimationNodeStateMachinePlayback.d.ts +67 -0
- package/typings/classes/AnimationNodeStateMachineTransition.d.ts +83 -0
- package/typings/classes/AnimationNodeSub2.d.ts +6 -0
- package/typings/classes/AnimationNodeSync.d.ts +13 -0
- package/typings/classes/AnimationNodeTimeScale.d.ts +6 -0
- package/typings/classes/AnimationNodeTimeSeek.d.ts +12 -0
- package/typings/classes/AnimationNodeTransition.d.ts +45 -0
- package/typings/classes/AnimationPlayer.d.ts +203 -0
- package/typings/classes/AnimationRootNode.d.ts +8 -0
- package/typings/classes/AnimationTree.d.ts +35 -0
- package/typings/classes/Area2D.d.ts +166 -0
- package/typings/classes/Area3D.d.ts +214 -0
- package/typings/classes/Array.d.ts +301 -0
- package/typings/classes/ArrayMesh.d.ts +94 -0
- package/typings/classes/ArrayOccluder3D.d.ts +23 -0
- package/typings/classes/AspectRatioContainer.d.ts +46 -0
- package/typings/classes/AtlasTexture.d.ts +32 -0
- package/typings/classes/AudioBusLayout.d.ts +6 -0
- package/typings/classes/AudioEffect.d.ts +11 -0
- package/typings/classes/AudioEffectAmplify.d.ts +19 -0
- package/typings/classes/AudioEffectBandLimitFilter.d.ts +6 -0
- package/typings/classes/AudioEffectBandPassFilter.d.ts +6 -0
- package/typings/classes/AudioEffectCapture.d.ts +35 -0
- package/typings/classes/AudioEffectChorus.d.ts +108 -0
- package/typings/classes/AudioEffectCompressor.d.ts +47 -0
- package/typings/classes/AudioEffectDelay.d.ts +71 -0
- package/typings/classes/AudioEffectDistortion.d.ts +55 -0
- package/typings/classes/AudioEffectEQ.d.ts +15 -0
- package/typings/classes/AudioEffectEQ10.d.ts +9 -0
- package/typings/classes/AudioEffectEQ21.d.ts +9 -0
- package/typings/classes/AudioEffectEQ6.d.ts +9 -0
- package/typings/classes/AudioEffectFilter.d.ts +50 -0
- package/typings/classes/AudioEffectHardLimiter.d.ts +24 -0
- package/typings/classes/AudioEffectHighPassFilter.d.ts +6 -0
- package/typings/classes/AudioEffectHighShelfFilter.d.ts +6 -0
- package/typings/classes/AudioEffectInstance.d.ts +16 -0
- package/typings/classes/AudioEffectLimiter.d.ts +26 -0
- package/typings/classes/AudioEffectLowPassFilter.d.ts +6 -0
- package/typings/classes/AudioEffectLowShelfFilter.d.ts +6 -0
- package/typings/classes/AudioEffectNotchFilter.d.ts +6 -0
- package/typings/classes/AudioEffectPanner.d.ts +15 -0
- package/typings/classes/AudioEffectPhaser.d.ts +37 -0
- package/typings/classes/AudioEffectPitchShift.d.ts +47 -0
- package/typings/classes/AudioEffectRecord.d.ts +19 -0
- package/typings/classes/AudioEffectReverb.d.ts +55 -0
- package/typings/classes/AudioEffectSpectrumAnalyzer.d.ts +40 -0
- package/typings/classes/AudioEffectSpectrumAnalyzerInstance.d.ts +17 -0
- package/typings/classes/AudioEffectStereoEnhance.d.ts +27 -0
- package/typings/classes/AudioListener2D.d.ts +15 -0
- package/typings/classes/AudioListener3D.d.ts +37 -0
- package/typings/classes/AudioSample.d.ts +6 -0
- package/typings/classes/AudioSamplePlayback.d.ts +6 -0
- package/typings/classes/AudioServer.d.ts +199 -0
- package/typings/classes/AudioStream.d.ts +66 -0
- package/typings/classes/AudioStreamGenerator.d.ts +38 -0
- package/typings/classes/AudioStreamGeneratorPlayback.d.ts +28 -0
- package/typings/classes/AudioStreamMicrophone.d.ts +6 -0
- package/typings/classes/AudioStreamPlayback.d.ts +69 -0
- package/typings/classes/AudioStreamPlaybackPolyphonic.d.ts +32 -0
- package/typings/classes/AudioStreamPlaybackResampled.d.ts +16 -0
- package/typings/classes/AudioStreamPlayer.d.ts +110 -0
- package/typings/classes/AudioStreamPlayer2D.d.ts +96 -0
- package/typings/classes/AudioStreamPlayer3D.d.ts +162 -0
- package/typings/classes/AudioStreamPolyphonic.d.ts +12 -0
- package/typings/classes/AudioStreamRandomizer.d.ts +67 -0
- package/typings/classes/AudioStreamWAV.d.ts +87 -0
- package/typings/classes/AwaitTweener.d.ts +10 -0
- package/typings/classes/BackBufferCopy.d.ts +26 -0
- package/typings/classes/BaseButton.d.ts +116 -0
- package/typings/classes/BaseMaterial3D.d.ts +1021 -0
- package/typings/classes/Basis.d.ts +225 -0
- package/typings/classes/BitMap.d.ts +42 -0
- package/typings/classes/BlitMaterial.d.ts +22 -0
- package/typings/classes/Bone2D.d.ts +45 -0
- package/typings/classes/BoneAttachment3D.d.ts +39 -0
- package/typings/classes/BoneConstraint3D.d.ts +67 -0
- package/typings/classes/BoneMap.d.ts +39 -0
- package/typings/classes/BoneTwistDisperser3D.d.ts +126 -0
- package/typings/classes/BoxContainer.d.ts +36 -0
- package/typings/classes/BoxMesh.d.ts +22 -0
- package/typings/classes/BoxOccluder3D.d.ts +10 -0
- package/typings/classes/BoxShape3D.d.ts +10 -0
- package/typings/classes/Button.d.ts +75 -0
- package/typings/classes/ButtonGroup.d.ts +21 -0
- package/typings/classes/CCDIK3D.d.ts +6 -0
- package/typings/classes/CPUParticles2D.d.ts +397 -0
- package/typings/classes/CPUParticles3D.d.ts +421 -0
- package/typings/classes/Callable.d.ts +203 -0
- package/typings/classes/CallbackTweener.d.ts +11 -0
- package/typings/classes/Camera2D.d.ts +214 -0
- package/typings/classes/Camera3D.d.ts +207 -0
- package/typings/classes/CameraAttributes.d.ts +35 -0
- package/typings/classes/CameraAttributesPhysical.d.ts +61 -0
- package/typings/classes/CameraAttributesPractical.d.ts +64 -0
- package/typings/classes/CameraFeed.d.ts +81 -0
- package/typings/classes/CameraServer.d.ts +44 -0
- package/typings/classes/CameraTexture.d.ts +19 -0
- package/typings/classes/CanvasGroup.d.ts +24 -0
- package/typings/classes/CanvasItem.d.ts +503 -0
- package/typings/classes/CanvasItemMaterial.d.ts +61 -0
- package/typings/classes/CanvasLayer.d.ts +74 -0
- package/typings/classes/CanvasModulate.d.ts +10 -0
- package/typings/classes/CanvasTexture.d.ts +42 -0
- package/typings/classes/CapsuleMesh.d.ts +28 -0
- package/typings/classes/CapsuleShape2D.d.ts +26 -0
- package/typings/classes/CapsuleShape3D.d.ts +26 -0
- package/typings/classes/CenterContainer.d.ts +10 -0
- package/typings/classes/ChainIK3D.d.ts +50 -0
- package/typings/classes/CharFXTransform.d.ts +88 -0
- package/typings/classes/CharacterBody2D.d.ts +199 -0
- package/typings/classes/CharacterBody3D.d.ts +201 -0
- package/typings/classes/CheckBox.d.ts +8 -0
- package/typings/classes/CheckButton.d.ts +8 -0
- package/typings/classes/CircleShape2D.d.ts +10 -0
- package/typings/classes/ClassDB.d.ts +110 -0
- package/typings/classes/CodeEdit.d.ts +402 -0
- package/typings/classes/CodeHighlighter.d.ts +81 -0
- package/typings/classes/CollisionObject2D.d.ts +171 -0
- package/typings/classes/CollisionObject3D.d.ts +141 -0
- package/typings/classes/CollisionPolygon2D.d.ts +51 -0
- package/typings/classes/CollisionPolygon3D.d.ts +39 -0
- package/typings/classes/CollisionShape2D.d.ts +41 -0
- package/typings/classes/CollisionShape3D.d.ts +36 -0
- package/typings/classes/Color.d.ts +517 -0
- package/typings/classes/ColorPalette.d.ts +12 -0
- package/typings/classes/ColorPicker.d.ts +118 -0
- package/typings/classes/ColorPickerButton.d.ts +37 -0
- package/typings/classes/ColorRect.d.ts +10 -0
- package/typings/classes/Compositor.d.ts +12 -0
- package/typings/classes/CompositorEffect.d.ts +76 -0
- package/typings/classes/CompressedCubemap.d.ts +6 -0
- package/typings/classes/CompressedCubemapArray.d.ts +6 -0
- package/typings/classes/CompressedTexture2D.d.ts +13 -0
- package/typings/classes/CompressedTexture2DArray.d.ts +6 -0
- package/typings/classes/CompressedTexture3D.d.ts +12 -0
- package/typings/classes/CompressedTextureLayered.d.ts +12 -0
- package/typings/classes/ConcavePolygonShape2D.d.ts +12 -0
- package/typings/classes/ConcavePolygonShape3D.d.ts +21 -0
- package/typings/classes/ConeTwistJoint3D.d.ts +63 -0
- package/typings/classes/ConfigFile.d.ts +71 -0
- package/typings/classes/ConfirmationDialog.d.ts +19 -0
- package/typings/classes/Container.d.ts +42 -0
- package/typings/classes/Control.d.ts +1125 -0
- package/typings/classes/ConvertTransformModifier3D.d.ts +65 -0
- package/typings/classes/ConvexPolygonShape2D.d.ts +18 -0
- package/typings/classes/ConvexPolygonShape3D.d.ts +10 -0
- package/typings/classes/CopyTransformModifier3D.d.ts +117 -0
- package/typings/classes/Crypto.d.ts +41 -0
- package/typings/classes/CryptoKey.d.ts +26 -0
- package/typings/classes/Cubemap.d.ts +8 -0
- package/typings/classes/CubemapArray.d.ts +8 -0
- package/typings/classes/Curve.d.ts +96 -0
- package/typings/classes/Curve2D.d.ts +97 -0
- package/typings/classes/Curve3D.d.ts +129 -0
- package/typings/classes/CurveTexture.d.ts +30 -0
- package/typings/classes/CurveXYZTexture.d.ts +25 -0
- package/typings/classes/CylinderMesh.d.ts +48 -0
- package/typings/classes/CylinderShape3D.d.ts +14 -0
- package/typings/classes/DPITexture.d.ts +48 -0
- package/typings/classes/DTLSServer.d.ts +13 -0
- package/typings/classes/DampedSpringJoint2D.d.ts +28 -0
- package/typings/classes/Decal.d.ts +120 -0
- package/typings/classes/Dictionary.d.ts +181 -0
- package/typings/classes/DirAccess.d.ts +199 -0
- package/typings/classes/DirectionalLight2D.d.ts +16 -0
- package/typings/classes/DirectionalLight3D.d.ts +71 -0
- package/typings/classes/DisplayServer.d.ts +2153 -0
- package/typings/classes/DrawableTexture2D.d.ts +47 -0
- package/typings/classes/EditorCommandPalette.d.ts +21 -0
- package/typings/classes/EditorContextMenuPlugin.d.ts +59 -0
- package/typings/classes/EditorDebuggerPlugin.d.ts +33 -0
- package/typings/classes/EditorDebuggerSession.d.ts +41 -0
- package/typings/classes/EditorDock.d.ts +141 -0
- package/typings/classes/EditorExportPlatform.d.ts +125 -0
- package/typings/classes/EditorExportPlatformAppleEmbedded.d.ts +6 -0
- package/typings/classes/EditorExportPlatformExtension.d.ts +131 -0
- package/typings/classes/EditorExportPlatformPC.d.ts +6 -0
- package/typings/classes/EditorExportPlugin.d.ts +207 -0
- package/typings/classes/EditorExportPreset.d.ts +83 -0
- package/typings/classes/EditorFeatureProfile.d.ts +90 -0
- package/typings/classes/EditorFileDialog.d.ts +15 -0
- package/typings/classes/EditorFileSystem.d.ts +48 -0
- package/typings/classes/EditorFileSystemDirectory.d.ts +42 -0
- package/typings/classes/EditorFileSystemImportFormatSupportQuery.d.ts +12 -0
- package/typings/classes/EditorImportPlugin.d.ts +67 -0
- package/typings/classes/EditorInspector.d.ts +54 -0
- package/typings/classes/EditorInspectorPlugin.d.ts +34 -0
- package/typings/classes/EditorInterface.d.ts +254 -0
- package/typings/classes/EditorNode3DGizmo.d.ts +104 -0
- package/typings/classes/EditorNode3DGizmoPlugin.d.ts +103 -0
- package/typings/classes/EditorPaths.d.ts +52 -0
- package/typings/classes/EditorPlugin.d.ts +384 -0
- package/typings/classes/EditorProperty.d.ts +133 -0
- package/typings/classes/EditorResourceConversionPlugin.d.ts +20 -0
- package/typings/classes/EditorResourcePicker.d.ts +47 -0
- package/typings/classes/EditorResourcePreview.d.ts +25 -0
- package/typings/classes/EditorResourcePreviewGenerator.d.ts +34 -0
- package/typings/classes/EditorResourceTooltipPlugin.d.ts +20 -0
- package/typings/classes/EditorSceneFormatImporter.d.ts +36 -0
- package/typings/classes/EditorScenePostImport.d.ts +10 -0
- package/typings/classes/EditorScenePostImportPlugin.d.ts +57 -0
- package/typings/classes/EditorScript.d.ts +18 -0
- package/typings/classes/EditorScriptPicker.d.ts +10 -0
- package/typings/classes/EditorSelection.d.ts +29 -0
- package/typings/classes/EditorSettings.d.ts +1821 -0
- package/typings/classes/EditorSpinSlider.d.ts +65 -0
- package/typings/classes/EditorSyntaxHighlighter.d.ts +12 -0
- package/typings/classes/EditorToaster.d.ts +16 -0
- package/typings/classes/EditorTranslationParserPlugin.d.ts +12 -0
- package/typings/classes/EditorUndoRedoManager.d.ts +86 -0
- package/typings/classes/EditorVCSInterface.d.ts +121 -0
- package/typings/classes/EncodedObjectAsID.d.ts +12 -0
- package/typings/classes/Engine.d.ts +202 -0
- package/typings/classes/EngineDebugger.d.ts +66 -0
- package/typings/classes/EngineProfiler.d.ts +14 -0
- package/typings/classes/Environment.d.ts +720 -0
- package/typings/classes/Expression.d.ts +20 -0
- package/typings/classes/ExternalTexture.d.ts +22 -0
- package/typings/classes/FABRIK3D.d.ts +6 -0
- package/typings/classes/FileAccess.d.ts +411 -0
- package/typings/classes/FileDialog.d.ts +277 -0
- package/typings/classes/FileSystemDock.d.ts +35 -0
- package/typings/classes/FlowContainer.d.ts +64 -0
- package/typings/classes/FogMaterial.d.ts +43 -0
- package/typings/classes/FogVolume.d.ts +26 -0
- package/typings/classes/FoldableContainer.d.ts +65 -0
- package/typings/classes/FoldableGroup.d.ts +21 -0
- package/typings/classes/Font.d.ts +144 -0
- package/typings/classes/FontFile.d.ts +286 -0
- package/typings/classes/FontVariation.d.ts +56 -0
- package/typings/classes/FramebufferCacheRD.d.ts +10 -0
- package/typings/classes/GDExtension.d.ts +26 -0
- package/typings/classes/GDExtensionManager.d.ts +60 -0
- package/typings/classes/GPUParticles2D.d.ts +220 -0
- package/typings/classes/GPUParticles3D.d.ts +239 -0
- package/typings/classes/GPUParticlesAttractor3D.d.ts +33 -0
- package/typings/classes/GPUParticlesAttractorBox3D.d.ts +10 -0
- package/typings/classes/GPUParticlesAttractorSphere3D.d.ts +13 -0
- package/typings/classes/GPUParticlesAttractorVectorField3D.d.ts +19 -0
- package/typings/classes/GPUParticlesCollision3D.d.ts +14 -0
- package/typings/classes/GPUParticlesCollisionBox3D.d.ts +10 -0
- package/typings/classes/GPUParticlesCollisionHeightField3D.d.ts +75 -0
- package/typings/classes/GPUParticlesCollisionSDF3D.d.ts +59 -0
- package/typings/classes/GPUParticlesCollisionSphere3D.d.ts +10 -0
- package/typings/classes/Generic6DOFJoint3D.d.ts +241 -0
- package/typings/classes/Geometry2D.d.ts +147 -0
- package/typings/classes/Geometry3D.d.ts +67 -0
- package/typings/classes/GeometryInstance3D.d.ts +183 -0
- package/typings/classes/GodotInstance.d.ts +20 -0
- package/typings/classes/Gradient.d.ts +74 -0
- package/typings/classes/GradientTexture1D.d.ts +18 -0
- package/typings/classes/GradientTexture2D.d.ts +64 -0
- package/typings/classes/GraphEdit.d.ts +306 -0
- package/typings/classes/GraphElement.d.ts +56 -0
- package/typings/classes/GraphFrame.d.ts +46 -0
- package/typings/classes/GraphNode.d.ts +132 -0
- package/typings/classes/GridContainer.d.ts +12 -0
- package/typings/classes/GrooveJoint2D.d.ts +18 -0
- package/typings/classes/HBoxContainer.d.ts +6 -0
- package/typings/classes/HFlowContainer.d.ts +6 -0
- package/typings/classes/HMACContext.d.ts +16 -0
- package/typings/classes/HScrollBar.d.ts +6 -0
- package/typings/classes/HSeparator.d.ts +6 -0
- package/typings/classes/HSlider.d.ts +6 -0
- package/typings/classes/HSplitContainer.d.ts +8 -0
- package/typings/classes/HTTPClient.d.ts +384 -0
- package/typings/classes/HTTPRequest.d.ts +124 -0
- package/typings/classes/HashingContext.d.ts +22 -0
- package/typings/classes/HeightMapShape3D.d.ts +36 -0
- package/typings/classes/HingeJoint3D.d.ts +66 -0
- package/typings/classes/IKModifier3D.d.ts +22 -0
- package/typings/classes/IP.d.ts +71 -0
- package/typings/classes/Image.d.ts +567 -0
- package/typings/classes/ImageFormatLoader.d.ts +11 -0
- package/typings/classes/ImageFormatLoaderExtension.d.ts +20 -0
- package/typings/classes/ImageTexture.d.ts +25 -0
- package/typings/classes/ImageTexture3D.d.ts +14 -0
- package/typings/classes/ImageTextureLayered.d.ts +20 -0
- package/typings/classes/ImmediateMesh.d.ts +31 -0
- package/typings/classes/ImporterMesh.d.ts +84 -0
- package/typings/classes/ImporterMeshInstance3D.d.ts +35 -0
- package/typings/classes/Input.d.ts +504 -0
- package/typings/classes/InputEvent.d.ts +85 -0
- package/typings/classes/InputEventAction.d.ts +27 -0
- package/typings/classes/InputEventFromWindow.d.ts +10 -0
- package/typings/classes/InputEventGesture.d.ts +11 -0
- package/typings/classes/InputEventJoypadButton.d.ts +16 -0
- package/typings/classes/InputEventJoypadMotion.d.ts +16 -0
- package/typings/classes/InputEventKey.d.ts +86 -0
- package/typings/classes/InputEventMIDI.d.ts +59 -0
- package/typings/classes/InputEventMagnifyGesture.d.ts +12 -0
- package/typings/classes/InputEventMouse.d.ts +25 -0
- package/typings/classes/InputEventMouseButton.d.ts +26 -0
- package/typings/classes/InputEventMouseMotion.d.ts +54 -0
- package/typings/classes/InputEventPanGesture.d.ts +10 -0
- package/typings/classes/InputEventScreenDrag.d.ts +54 -0
- package/typings/classes/InputEventScreenTouch.d.ts +24 -0
- package/typings/classes/InputEventShortcut.d.ts +12 -0
- package/typings/classes/InputEventWithModifiers.d.ts +37 -0
- package/typings/classes/InputMap.d.ts +50 -0
- package/typings/classes/InstancePlaceholder.d.ts +20 -0
- package/typings/classes/IntervalTweener.d.ts +6 -0
- package/typings/classes/ItemList.d.ts +277 -0
- package/typings/classes/IterateIK3D.d.ts +85 -0
- package/typings/classes/JNISingleton.d.ts +8 -0
- package/typings/classes/JSON.d.ts +53 -0
- package/typings/classes/JSONRPC.d.ts +59 -0
- package/typings/classes/JacobianIK3D.d.ts +6 -0
- package/typings/classes/JavaClass.d.ts +16 -0
- package/typings/classes/JavaClassWrapper.d.ts +20 -0
- package/typings/classes/JavaObject.d.ts +10 -0
- package/typings/classes/JavaScriptBridge.d.ts +62 -0
- package/typings/classes/JavaScriptObject.d.ts +6 -0
- package/typings/classes/Joint2D.d.ts +28 -0
- package/typings/classes/Joint3D.d.ts +34 -0
- package/typings/classes/JointLimitation3D.d.ts +6 -0
- package/typings/classes/JointLimitationCone3D.d.ts +13 -0
- package/typings/classes/KinematicCollision2D.d.ts +36 -0
- package/typings/classes/KinematicCollision3D.d.ts +50 -0
- package/typings/classes/Label.d.ts +134 -0
- package/typings/classes/Label3D.d.ts +202 -0
- package/typings/classes/LabelSettings.d.ts +93 -0
- package/typings/classes/Light2D.d.ts +109 -0
- package/typings/classes/Light3D.d.ts +227 -0
- package/typings/classes/LightOccluder2D.d.ts +22 -0
- package/typings/classes/LightmapGI.d.ts +225 -0
- package/typings/classes/LightmapGIData.d.ts +50 -0
- package/typings/classes/LightmapProbe.d.ts +6 -0
- package/typings/classes/Lightmapper.d.ts +6 -0
- package/typings/classes/LightmapperRD.d.ts +6 -0
- package/typings/classes/LimitAngularVelocityModifier3D.d.ts +50 -0
- package/typings/classes/Line2D.d.ts +127 -0
- package/typings/classes/LineEdit.d.ts +370 -0
- package/typings/classes/LinkButton.d.ts +54 -0
- package/typings/classes/Logger.d.ts +31 -0
- package/typings/classes/LookAtModifier3D.d.ts +196 -0
- package/typings/classes/MainLoop.d.ts +80 -0
- package/typings/classes/MarginContainer.d.ts +6 -0
- package/typings/classes/Marker2D.d.ts +10 -0
- package/typings/classes/Marker3D.d.ts +10 -0
- package/typings/classes/Marshalls.d.ts +27 -0
- package/typings/classes/Material.d.ts +50 -0
- package/typings/classes/MenuBar.d.ts +64 -0
- package/typings/classes/MenuButton.d.ts +35 -0
- package/typings/classes/Mesh.d.ts +255 -0
- package/typings/classes/MeshConvexDecompositionSettings.d.ts +68 -0
- package/typings/classes/MeshDataTool.d.ts +99 -0
- package/typings/classes/MeshInstance2D.d.ts +19 -0
- package/typings/classes/MeshInstance3D.d.ts +87 -0
- package/typings/classes/MeshLibrary.d.ts +68 -0
- package/typings/classes/MeshTexture.d.ts +19 -0
- package/typings/classes/MethodTweener.d.ts +18 -0
- package/typings/classes/MissingNode.d.ts +26 -0
- package/typings/classes/MissingResource.d.ts +16 -0
- package/typings/classes/ModifierBoneTarget3D.d.ts +14 -0
- package/typings/classes/MovieWriter.d.ts +36 -0
- package/typings/classes/MultiMesh.d.ts +138 -0
- package/typings/classes/MultiMeshInstance2D.d.ts +19 -0
- package/typings/classes/MultiMeshInstance3D.d.ts +12 -0
- package/typings/classes/MultiplayerAPI.d.ts +93 -0
- package/typings/classes/MultiplayerAPIExtension.d.ts +24 -0
- package/typings/classes/MultiplayerPeer.d.ts +90 -0
- package/typings/classes/MultiplayerPeerExtension.d.ts +90 -0
- package/typings/classes/Mutex.d.ts +22 -0
- package/typings/classes/NativeMenu.d.ts +428 -0
- package/typings/classes/NavigationAgent2D.d.ts +292 -0
- package/typings/classes/NavigationAgent3D.d.ts +311 -0
- package/typings/classes/NavigationLink2D.d.ts +77 -0
- package/typings/classes/NavigationLink3D.d.ts +77 -0
- package/typings/classes/NavigationMesh.d.ts +207 -0
- package/typings/classes/NavigationMeshGenerator.d.ts +22 -0
- package/typings/classes/NavigationMeshSourceGeometryData2D.d.ts +52 -0
- package/typings/classes/NavigationMeshSourceGeometryData3D.d.ts +64 -0
- package/typings/classes/NavigationObstacle2D.d.ts +67 -0
- package/typings/classes/NavigationObstacle3D.d.ts +80 -0
- package/typings/classes/NavigationPathQueryParameters2D.d.ts +114 -0
- package/typings/classes/NavigationPathQueryParameters3D.d.ts +114 -0
- package/typings/classes/NavigationPathQueryResult2D.d.ts +41 -0
- package/typings/classes/NavigationPathQueryResult3D.d.ts +41 -0
- package/typings/classes/NavigationPolygon.d.ts +150 -0
- package/typings/classes/NavigationRegion2D.d.ts +74 -0
- package/typings/classes/NavigationRegion3D.d.ts +72 -0
- package/typings/classes/NavigationServer2D.d.ts +443 -0
- package/typings/classes/NavigationServer2DManager.d.ts +16 -0
- package/typings/classes/NavigationServer3D.d.ts +499 -0
- package/typings/classes/NavigationServer3DManager.d.ts +16 -0
- package/typings/classes/NinePatchRect.d.ts +65 -0
- package/typings/classes/Node.d.ts +1021 -0
- package/typings/classes/Node2D.d.ts +107 -0
- package/typings/classes/Node3D.d.ts +331 -0
- package/typings/classes/Node3DGizmo.d.ts +6 -0
- package/typings/classes/NodePath.d.ts +107 -0
- package/typings/classes/ORMMaterial3D.d.ts +6 -0
- package/typings/classes/OS.d.ts +556 -0
- package/typings/classes/Object.d.ts +434 -0
- package/typings/classes/Occluder3D.d.ts +10 -0
- package/typings/classes/OccluderInstance3D.d.ts +39 -0
- package/typings/classes/OccluderPolygon2D.d.ts +28 -0
- package/typings/classes/OmniLight3D.d.ts +31 -0
- package/typings/classes/OptimizedTranslation.d.ts +12 -0
- package/typings/classes/OptionButton.d.ts +136 -0
- package/typings/classes/PCKPacker.d.ts +27 -0
- package/typings/classes/PackedByteArray.d.ts +327 -0
- package/typings/classes/PackedColorArray.d.ts +125 -0
- package/typings/classes/PackedDataContainer.d.ts +13 -0
- package/typings/classes/PackedDataContainerRef.d.ts +8 -0
- package/typings/classes/PackedFloat32Array.d.ts +140 -0
- package/typings/classes/PackedFloat64Array.d.ts +140 -0
- package/typings/classes/PackedInt32Array.d.ts +127 -0
- package/typings/classes/PackedInt64Array.d.ts +127 -0
- package/typings/classes/PackedScene.d.ts +40 -0
- package/typings/classes/PackedStringArray.d.ts +124 -0
- package/typings/classes/PackedVector2Array.d.ts +139 -0
- package/typings/classes/PackedVector3Array.d.ts +139 -0
- package/typings/classes/PackedVector4Array.d.ts +138 -0
- package/typings/classes/PacketPeer.d.ts +33 -0
- package/typings/classes/PacketPeerDTLS.d.ts +34 -0
- package/typings/classes/PacketPeerExtension.d.ts +9 -0
- package/typings/classes/PacketPeerStream.d.ts +16 -0
- package/typings/classes/PacketPeerUDP.d.ts +61 -0
- package/typings/classes/Panel.d.ts +6 -0
- package/typings/classes/PanelContainer.d.ts +7 -0
- package/typings/classes/PanoramaSkyMaterial.d.ts +18 -0
- package/typings/classes/Parallax2D.d.ts +63 -0
- package/typings/classes/ParallaxBackground.d.ts +37 -0
- package/typings/classes/ParallaxLayer.d.ts +26 -0
- package/typings/classes/ParticleProcessMaterial.d.ts +595 -0
- package/typings/classes/Path2D.d.ts +10 -0
- package/typings/classes/Path3D.d.ts +21 -0
- package/typings/classes/PathFollow2D.d.ts +45 -0
- package/typings/classes/PathFollow3D.d.ts +76 -0
- package/typings/classes/Performance.d.ts +229 -0
- package/typings/classes/PhysicalBone2D.d.ts +44 -0
- package/typings/classes/PhysicalBone3D.d.ts +130 -0
- package/typings/classes/PhysicalBoneSimulator3D.d.ts +29 -0
- package/typings/classes/PhysicalSkyMaterial.d.ts +66 -0
- package/typings/classes/PhysicsBody2D.d.ts +34 -0
- package/typings/classes/PhysicsBody3D.d.ts +51 -0
- package/typings/classes/PhysicsDirectBodyState2D.d.ts +162 -0
- package/typings/classes/PhysicsDirectBodyState2DExtension.d.ts +132 -0
- package/typings/classes/PhysicsDirectBodyState3D.d.ts +165 -0
- package/typings/classes/PhysicsDirectBodyState3DExtension.d.ts +58 -0
- package/typings/classes/PhysicsDirectSpaceState2D.d.ts +58 -0
- package/typings/classes/PhysicsDirectSpaceState2DExtension.d.ts +15 -0
- package/typings/classes/PhysicsDirectSpaceState3D.d.ts +62 -0
- package/typings/classes/PhysicsDirectSpaceState3DExtension.d.ts +16 -0
- package/typings/classes/PhysicsMaterial.d.ts +27 -0
- package/typings/classes/PhysicsPointQueryParameters2D.d.ts +38 -0
- package/typings/classes/PhysicsPointQueryParameters3D.d.ts +31 -0
- package/typings/classes/PhysicsRayQueryParameters2D.d.ts +46 -0
- package/typings/classes/PhysicsRayQueryParameters3D.d.ts +52 -0
- package/typings/classes/PhysicsServer2D.d.ts +739 -0
- package/typings/classes/PhysicsServer2DExtension.d.ts +354 -0
- package/typings/classes/PhysicsServer2DManager.d.ts +16 -0
- package/typings/classes/PhysicsServer3D.d.ts +1028 -0
- package/typings/classes/PhysicsServer3DExtension.d.ts +204 -0
- package/typings/classes/PhysicsServer3DManager.d.ts +16 -0
- package/typings/classes/PhysicsServer3DRenderingServerHandler.d.ts +26 -0
- package/typings/classes/PhysicsShapeQueryParameters2D.d.ts +51 -0
- package/typings/classes/PhysicsShapeQueryParameters3D.d.ts +51 -0
- package/typings/classes/PhysicsTestMotionParameters2D.d.ts +46 -0
- package/typings/classes/PhysicsTestMotionParameters3D.d.ts +52 -0
- package/typings/classes/PhysicsTestMotionResult2D.d.ts +38 -0
- package/typings/classes/PhysicsTestMotionResult3D.d.ts +54 -0
- package/typings/classes/PinJoint2D.d.ts +34 -0
- package/typings/classes/PinJoint3D.d.ts +35 -0
- package/typings/classes/PlaceholderCubemap.d.ts +6 -0
- package/typings/classes/PlaceholderCubemapArray.d.ts +6 -0
- package/typings/classes/PlaceholderMaterial.d.ts +6 -0
- package/typings/classes/PlaceholderMesh.d.ts +9 -0
- package/typings/classes/PlaceholderTexture2D.d.ts +11 -0
- package/typings/classes/PlaceholderTexture2DArray.d.ts +6 -0
- package/typings/classes/PlaceholderTexture3D.d.ts +10 -0
- package/typings/classes/PlaceholderTextureLayered.d.ts +13 -0
- package/typings/classes/Plane.d.ts +143 -0
- package/typings/classes/PlaneMesh.d.ts +38 -0
- package/typings/classes/PointLight2D.d.ts +22 -0
- package/typings/classes/PointMesh.d.ts +6 -0
- package/typings/classes/Polygon2D.d.ts +101 -0
- package/typings/classes/PolygonOccluder3D.d.ts +13 -0
- package/typings/classes/PolygonPathFinder.d.ts +18 -0
- package/typings/classes/Popup.d.ts +18 -0
- package/typings/classes/PopupMenu.d.ts +349 -0
- package/typings/classes/PopupPanel.d.ts +10 -0
- package/typings/classes/PortableCompressedTexture2D.d.ts +47 -0
- package/typings/classes/PrimitiveMesh.d.ts +48 -0
- package/typings/classes/PrismMesh.d.ts +28 -0
- package/typings/classes/ProceduralSkyMaterial.d.ts +68 -0
- package/typings/classes/ProgressBar.d.ts +38 -0
- package/typings/classes/ProjectSettings.d.ts +3818 -0
- package/typings/classes/Projection.d.ts +193 -0
- package/typings/classes/PropertyTweener.d.ts +38 -0
- package/typings/classes/QuadMesh.d.ts +8 -0
- package/typings/classes/QuadOccluder3D.d.ts +10 -0
- package/typings/classes/Quaternion.d.ts +188 -0
- package/typings/classes/RDAttachmentFormat.d.ts +18 -0
- package/typings/classes/RDFramebufferPass.d.ts +33 -0
- package/typings/classes/RDPipelineColorBlendState.d.ts +22 -0
- package/typings/classes/RDPipelineColorBlendStateAttachment.d.ts +61 -0
- package/typings/classes/RDPipelineDepthStencilState.d.ts +102 -0
- package/typings/classes/RDPipelineMultisampleState.d.ts +42 -0
- package/typings/classes/RDPipelineRasterizationState.d.ts +64 -0
- package/typings/classes/RDPipelineSpecializationConstant.d.ts +18 -0
- package/typings/classes/RDSamplerState.d.ts +91 -0
- package/typings/classes/RDShaderFile.d.ts +21 -0
- package/typings/classes/RDShaderSPIRV.d.ts +85 -0
- package/typings/classes/RDShaderSource.d.ts +40 -0
- package/typings/classes/RDTextureFormat.d.ts +62 -0
- package/typings/classes/RDTextureView.d.ts +28 -0
- package/typings/classes/RDUniform.d.ts +23 -0
- package/typings/classes/RDVertexAttribute.d.ts +35 -0
- package/typings/classes/RID.d.ts +65 -0
- package/typings/classes/RandomNumberGenerator.d.ts +45 -0
- package/typings/classes/Range.d.ts +76 -0
- package/typings/classes/RayCast2D.d.ts +90 -0
- package/typings/classes/RayCast3D.d.ts +113 -0
- package/typings/classes/Rect2.d.ts +135 -0
- package/typings/classes/Rect2i.d.ts +127 -0
- package/typings/classes/RectangleShape2D.d.ts +10 -0
- package/typings/classes/RefCounted.d.ts +23 -0
- package/typings/classes/ReferenceRect.d.ts +22 -0
- package/typings/classes/ReflectionProbe.d.ts +118 -0
- package/typings/classes/RemoteTransform2D.d.ts +33 -0
- package/typings/classes/RemoteTransform3D.d.ts +33 -0
- package/typings/classes/RenderData.d.ts +20 -0
- package/typings/classes/RenderDataExtension.d.ts +18 -0
- package/typings/classes/RenderDataRD.d.ts +6 -0
- package/typings/classes/RenderSceneBuffers.d.ts +10 -0
- package/typings/classes/RenderSceneBuffersConfiguration.d.ts +48 -0
- package/typings/classes/RenderSceneBuffersExtension.d.ts +16 -0
- package/typings/classes/RenderSceneBuffersRD.d.ts +85 -0
- package/typings/classes/RenderSceneData.d.ts +29 -0
- package/typings/classes/RenderSceneDataExtension.d.ts +20 -0
- package/typings/classes/RenderSceneDataRD.d.ts +6 -0
- package/typings/classes/RenderingDevice.d.ts +2373 -0
- package/typings/classes/RenderingServer.d.ts +3501 -0
- package/typings/classes/Resource.d.ts +130 -0
- package/typings/classes/ResourceFormatLoader.d.ts +73 -0
- package/typings/classes/ResourceFormatSaver.d.ts +26 -0
- package/typings/classes/ResourceImporter.d.ts +18 -0
- package/typings/classes/ResourceImporterBMFont.d.ts +14 -0
- package/typings/classes/ResourceImporterBitMap.d.ts +16 -0
- package/typings/classes/ResourceImporterCSVTranslation.d.ts +23 -0
- package/typings/classes/ResourceImporterDynamicFont.d.ts +96 -0
- package/typings/classes/ResourceImporterImage.d.ts +6 -0
- package/typings/classes/ResourceImporterImageFont.d.ts +46 -0
- package/typings/classes/ResourceImporterLayeredTexture.d.ts +65 -0
- package/typings/classes/ResourceImporterOBJ.d.ts +38 -0
- package/typings/classes/ResourceImporterSVG.d.ts +24 -0
- package/typings/classes/ResourceImporterScene.d.ts +114 -0
- package/typings/classes/ResourceImporterShaderFile.d.ts +6 -0
- package/typings/classes/ResourceImporterTexture.d.ts +188 -0
- package/typings/classes/ResourceImporterTextureAtlas.d.ts +27 -0
- package/typings/classes/ResourceImporterWAV.d.ts +57 -0
- package/typings/classes/ResourceLoader.d.ts +106 -0
- package/typings/classes/ResourcePreloader.d.ts +20 -0
- package/typings/classes/ResourceSaver.d.ts +53 -0
- package/typings/classes/ResourceUID.d.ts +59 -0
- package/typings/classes/RetargetModifier3D.d.ts +51 -0
- package/typings/classes/RibbonTrailMesh.d.ts +42 -0
- package/typings/classes/RichTextEffect.d.ts +10 -0
- package/typings/classes/RichTextLabel.d.ts +524 -0
- package/typings/classes/RigidBody2D.d.ts +280 -0
- package/typings/classes/RigidBody3D.d.ts +271 -0
- package/typings/classes/RootMotionView.d.ts +30 -0
- package/typings/classes/SceneState.d.ts +93 -0
- package/typings/classes/SceneTree.d.ts +257 -0
- package/typings/classes/SceneTreeTimer.d.ts +13 -0
- package/typings/classes/Script.d.ts +64 -0
- package/typings/classes/ScriptBacktrace.d.ts +63 -0
- package/typings/classes/ScriptCreateDialog.d.ts +17 -0
- package/typings/classes/ScriptEditor.d.ts +60 -0
- package/typings/classes/ScriptEditorBase.d.ts +39 -0
- package/typings/classes/ScriptExtension.d.ts +48 -0
- package/typings/classes/ScriptLanguage.d.ts +12 -0
- package/typings/classes/ScriptLanguageExtension.d.ts +110 -0
- package/typings/classes/ScrollBar.d.ts +19 -0
- package/typings/classes/ScrollContainer.d.ts +120 -0
- package/typings/classes/SegmentShape2D.d.ts +14 -0
- package/typings/classes/Semaphore.d.ts +14 -0
- package/typings/classes/SeparationRayShape2D.d.ts +17 -0
- package/typings/classes/SeparationRayShape3D.d.ts +17 -0
- package/typings/classes/Separator.d.ts +6 -0
- package/typings/classes/Shader.d.ts +48 -0
- package/typings/classes/ShaderGlobalsOverride.d.ts +6 -0
- package/typings/classes/ShaderInclude.d.ts +12 -0
- package/typings/classes/ShaderIncludeDB.d.ts +14 -0
- package/typings/classes/ShaderMaterial.d.ts +19 -0
- package/typings/classes/Shape2D.d.ts +44 -0
- package/typings/classes/Shape3D.d.ts +24 -0
- package/typings/classes/ShapeCast2D.d.ts +107 -0
- package/typings/classes/ShapeCast3D.d.ts +116 -0
- package/typings/classes/Shortcut.d.ts +22 -0
- package/typings/classes/Signal.d.ts +86 -0
- package/typings/classes/Skeleton2D.d.ts +35 -0
- package/typings/classes/Skeleton3D.d.ts +225 -0
- package/typings/classes/SkeletonIK3D.d.ts +83 -0
- package/typings/classes/SkeletonModification2D.d.ts +52 -0
- package/typings/classes/SkeletonModification2DCCDIK.d.ts +64 -0
- package/typings/classes/SkeletonModification2DFABRIK.d.ts +40 -0
- package/typings/classes/SkeletonModification2DJiggle.d.ts +97 -0
- package/typings/classes/SkeletonModification2DLookAt.d.ts +48 -0
- package/typings/classes/SkeletonModification2DPhysicalBones.d.ts +32 -0
- package/typings/classes/SkeletonModification2DStackHolder.d.ts +12 -0
- package/typings/classes/SkeletonModification2DTwoBoneIK.d.ts +57 -0
- package/typings/classes/SkeletonModificationStack2D.d.ts +46 -0
- package/typings/classes/SkeletonModifier3D.d.ts +101 -0
- package/typings/classes/SkeletonProfile.d.ts +119 -0
- package/typings/classes/SkeletonProfileHumanoid.d.ts +10 -0
- package/typings/classes/Skin.d.ts +16 -0
- package/typings/classes/SkinReference.d.ts +15 -0
- package/typings/classes/Sky.d.ts +61 -0
- package/typings/classes/Slider.d.ts +49 -0
- package/typings/classes/SliderJoint3D.d.ts +166 -0
- package/typings/classes/SocketServer.d.ts +14 -0
- package/typings/classes/SoftBody3D.d.ts +136 -0
- package/typings/classes/SphereMesh.d.ts +29 -0
- package/typings/classes/SphereOccluder3D.d.ts +10 -0
- package/typings/classes/SphereShape3D.d.ts +10 -0
- package/typings/classes/SpinBox.d.ts +60 -0
- package/typings/classes/SplineIK3D.d.ts +37 -0
- package/typings/classes/SplitContainer.d.ts +114 -0
- package/typings/classes/SpotLight3D.d.ts +28 -0
- package/typings/classes/SpringArm3D.d.ts +47 -0
- package/typings/classes/SpringBoneCollision3D.d.ts +25 -0
- package/typings/classes/SpringBoneCollisionCapsule3D.d.ts +30 -0
- package/typings/classes/SpringBoneCollisionPlane3D.d.ts +6 -0
- package/typings/classes/SpringBoneCollisionSphere3D.d.ts +14 -0
- package/typings/classes/SpringBoneSimulator3D.d.ts +283 -0
- package/typings/classes/Sprite2D.d.ts +88 -0
- package/typings/classes/Sprite3D.d.ts +51 -0
- package/typings/classes/SpriteBase3D.d.ts +147 -0
- package/typings/classes/SpriteFrames.d.ts +57 -0
- package/typings/classes/StandardMaterial3D.d.ts +6 -0
- package/typings/classes/StaticBody2D.d.ts +27 -0
- package/typings/classes/StaticBody3D.d.ts +27 -0
- package/typings/classes/StatusIndicator.d.ts +36 -0
- package/typings/classes/StreamPeer.d.ts +102 -0
- package/typings/classes/StreamPeerBuffer.d.ts +23 -0
- package/typings/classes/StreamPeerExtension.d.ts +10 -0
- package/typings/classes/StreamPeerGZIP.d.ts +21 -0
- package/typings/classes/StreamPeerSocket.d.ts +22 -0
- package/typings/classes/StreamPeerTCP.d.ts +26 -0
- package/typings/classes/StreamPeerTLS.d.ts +40 -0
- package/typings/classes/StreamPeerUDS.d.ts +15 -0
- package/typings/classes/String.d.ts +475 -0
- package/typings/classes/StringName.d.ts +4 -0
- package/typings/classes/StyleBox.d.ts +64 -0
- package/typings/classes/StyleBoxEmpty.d.ts +6 -0
- package/typings/classes/StyleBoxFlat.d.ts +120 -0
- package/typings/classes/StyleBoxLine.d.ts +30 -0
- package/typings/classes/StyleBoxTexture.d.ts +99 -0
- package/typings/classes/SubViewport.d.ts +57 -0
- package/typings/classes/SubViewportContainer.d.ts +33 -0
- package/typings/classes/SubtweenTweener.d.ts +10 -0
- package/typings/classes/SurfaceTool.d.ts +178 -0
- package/typings/classes/SyntaxHighlighter.d.ts +33 -0
- package/typings/classes/SystemFont.d.ts +94 -0
- package/typings/classes/TCPServer.d.ts +17 -0
- package/typings/classes/TLSOptions.d.ts +38 -0
- package/typings/classes/TabBar.d.ts +203 -0
- package/typings/classes/TabContainer.d.ts +184 -0
- package/typings/classes/TextEdit.d.ts +877 -0
- package/typings/classes/TextLine.d.ts +100 -0
- package/typings/classes/TextMesh.d.ts +103 -0
- package/typings/classes/TextParagraph.d.ts +160 -0
- package/typings/classes/TextServer.d.ts +1006 -0
- package/typings/classes/TextServerDummy.d.ts +6 -0
- package/typings/classes/TextServerExtension.d.ts +586 -0
- package/typings/classes/TextServerManager.d.ts +31 -0
- package/typings/classes/Texture.d.ts +6 -0
- package/typings/classes/Texture2D.d.ts +69 -0
- package/typings/classes/Texture2DArray.d.ts +10 -0
- package/typings/classes/Texture2DArrayRD.d.ts +6 -0
- package/typings/classes/Texture2DRD.d.ts +11 -0
- package/typings/classes/Texture3D.d.ts +36 -0
- package/typings/classes/Texture3DRD.d.ts +10 -0
- package/typings/classes/TextureButton.d.ts +80 -0
- package/typings/classes/TextureCubemapArrayRD.d.ts +6 -0
- package/typings/classes/TextureCubemapRD.d.ts +6 -0
- package/typings/classes/TextureLayered.d.ts +46 -0
- package/typings/classes/TextureLayeredRD.d.ts +10 -0
- package/typings/classes/TextureProgressBar.d.ts +120 -0
- package/typings/classes/TextureRect.d.ts +69 -0
- package/typings/classes/Theme.d.ts +335 -0
- package/typings/classes/ThemeDB.d.ts +58 -0
- package/typings/classes/Thread.d.ts +55 -0
- package/typings/classes/TileData.d.ts +155 -0
- package/typings/classes/TileMap.d.ts +303 -0
- package/typings/classes/TileMapLayer.d.ts +244 -0
- package/typings/classes/TileMapPattern.d.ts +26 -0
- package/typings/classes/TileSet.d.ts +348 -0
- package/typings/classes/TileSetAtlasSource.d.ts +160 -0
- package/typings/classes/TileSetScenesCollectionSource.d.ts +37 -0
- package/typings/classes/TileSetSource.d.ts +24 -0
- package/typings/classes/Time.d.ts +149 -0
- package/typings/classes/Timer.d.ts +71 -0
- package/typings/classes/TorusMesh.d.ts +22 -0
- package/typings/classes/TouchScreenButton.d.ts +61 -0
- package/typings/classes/Transform2D.d.ts +207 -0
- package/typings/classes/Transform3D.d.ts +173 -0
- package/typings/classes/Translation.d.ts +51 -0
- package/typings/classes/TranslationDomain.d.ts +115 -0
- package/typings/classes/TranslationServer.d.ts +117 -0
- package/typings/classes/Tree.d.ts +298 -0
- package/typings/classes/TreeItem.d.ts +374 -0
- package/typings/classes/TriangleMesh.d.ts +33 -0
- package/typings/classes/TubeTrailMesh.d.ts +50 -0
- package/typings/classes/Tween.d.ts +218 -0
- package/typings/classes/Tweener.d.ts +11 -0
- package/typings/classes/TwoBoneIK3D.d.ts +87 -0
- package/typings/classes/UDPServer.d.ts +35 -0
- package/typings/classes/UDSServer.d.ts +13 -0
- package/typings/classes/UndoRedo.d.ts +92 -0
- package/typings/classes/UniformSetCacheRD.d.ts +8 -0
- package/typings/classes/VBoxContainer.d.ts +6 -0
- package/typings/classes/VFlowContainer.d.ts +6 -0
- package/typings/classes/VScrollBar.d.ts +8 -0
- package/typings/classes/VSeparator.d.ts +6 -0
- package/typings/classes/VSlider.d.ts +8 -0
- package/typings/classes/VSplitContainer.d.ts +8 -0
- package/typings/classes/Variant.d.ts +6 -0
- package/typings/classes/Vector2.d.ts +298 -0
- package/typings/classes/Vector2i.d.ts +166 -0
- package/typings/classes/Vector3.d.ts +309 -0
- package/typings/classes/Vector3i.d.ts +172 -0
- package/typings/classes/Vector4.d.ts +216 -0
- package/typings/classes/Vector4i.d.ts +164 -0
- package/typings/classes/VehicleBody3D.d.ts +26 -0
- package/typings/classes/VehicleWheel3D.d.ts +112 -0
- package/typings/classes/VideoStream.d.ts +18 -0
- package/typings/classes/VideoStreamPlayback.d.ts +52 -0
- package/typings/classes/VideoStreamPlayer.d.ts +82 -0
- package/typings/classes/Viewport.d.ts +815 -0
- package/typings/classes/ViewportTexture.d.ts +13 -0
- package/typings/classes/VirtualJoystick.d.ts +94 -0
- package/typings/classes/VisibleOnScreenEnabler2D.d.ts +26 -0
- package/typings/classes/VisibleOnScreenEnabler3D.d.ts +26 -0
- package/typings/classes/VisibleOnScreenNotifier2D.d.ts +27 -0
- package/typings/classes/VisibleOnScreenNotifier3D.d.ts +20 -0
- package/typings/classes/VisualInstance3D.d.ts +53 -0
- package/typings/classes/VisualShader.d.ts +112 -0
- package/typings/classes/VisualShaderNode.d.ts +63 -0
- package/typings/classes/VisualShaderNodeBillboard.d.ts +28 -0
- package/typings/classes/VisualShaderNodeBooleanConstant.d.ts +10 -0
- package/typings/classes/VisualShaderNodeBooleanParameter.d.ts +14 -0
- package/typings/classes/VisualShaderNodeClamp.d.ts +26 -0
- package/typings/classes/VisualShaderNodeColorConstant.d.ts +10 -0
- package/typings/classes/VisualShaderNodeColorFunc.d.ts +32 -0
- package/typings/classes/VisualShaderNodeColorOp.d.ts +32 -0
- package/typings/classes/VisualShaderNodeColorParameter.d.ts +14 -0
- package/typings/classes/VisualShaderNodeComment.d.ts +12 -0
- package/typings/classes/VisualShaderNodeCompare.d.ts +68 -0
- package/typings/classes/VisualShaderNodeConstant.d.ts +6 -0
- package/typings/classes/VisualShaderNodeCubemap.d.ts +43 -0
- package/typings/classes/VisualShaderNodeCubemapParameter.d.ts +6 -0
- package/typings/classes/VisualShaderNodeCurveTexture.d.ts +10 -0
- package/typings/classes/VisualShaderNodeCurveXYZTexture.d.ts +10 -0
- package/typings/classes/VisualShaderNodeCustom.d.ts +122 -0
- package/typings/classes/VisualShaderNodeDerivativeFunc.d.ts +56 -0
- package/typings/classes/VisualShaderNodeDeterminant.d.ts +6 -0
- package/typings/classes/VisualShaderNodeDistanceFade.d.ts +6 -0
- package/typings/classes/VisualShaderNodeDotProduct.d.ts +6 -0
- package/typings/classes/VisualShaderNodeExpression.d.ts +12 -0
- package/typings/classes/VisualShaderNodeFaceForward.d.ts +8 -0
- package/typings/classes/VisualShaderNodeFloatConstant.d.ts +10 -0
- package/typings/classes/VisualShaderNodeFloatFunc.d.ts +108 -0
- package/typings/classes/VisualShaderNodeFloatOp.d.ts +36 -0
- package/typings/classes/VisualShaderNodeFloatParameter.d.ts +52 -0
- package/typings/classes/VisualShaderNodeFrame.d.ts +35 -0
- package/typings/classes/VisualShaderNodeFresnel.d.ts +6 -0
- package/typings/classes/VisualShaderNodeGlobalExpression.d.ts +6 -0
- package/typings/classes/VisualShaderNodeGroupBase.d.ts +60 -0
- package/typings/classes/VisualShaderNodeIf.d.ts +8 -0
- package/typings/classes/VisualShaderNodeInput.d.ts +20 -0
- package/typings/classes/VisualShaderNodeIntConstant.d.ts +10 -0
- package/typings/classes/VisualShaderNodeIntFunc.d.ts +24 -0
- package/typings/classes/VisualShaderNodeIntOp.d.ts +48 -0
- package/typings/classes/VisualShaderNodeIntParameter.d.ts +58 -0
- package/typings/classes/VisualShaderNodeIs.d.ts +18 -0
- package/typings/classes/VisualShaderNodeLinearSceneDepth.d.ts +6 -0
- package/typings/classes/VisualShaderNodeMix.d.ts +28 -0
- package/typings/classes/VisualShaderNodeMultiplyAdd.d.ts +22 -0
- package/typings/classes/VisualShaderNodeOuterProduct.d.ts +6 -0
- package/typings/classes/VisualShaderNodeOutput.d.ts +6 -0
- package/typings/classes/VisualShaderNodeParameter.d.ts +32 -0
- package/typings/classes/VisualShaderNodeParameterRef.d.ts +10 -0
- package/typings/classes/VisualShaderNodeParticleAccelerator.d.ts +20 -0
- package/typings/classes/VisualShaderNodeParticleBoxEmitter.d.ts +6 -0
- package/typings/classes/VisualShaderNodeParticleConeVelocity.d.ts +6 -0
- package/typings/classes/VisualShaderNodeParticleEmit.d.ts +22 -0
- package/typings/classes/VisualShaderNodeParticleEmitter.d.ts +12 -0
- package/typings/classes/VisualShaderNodeParticleMeshEmitter.d.ts +20 -0
- package/typings/classes/VisualShaderNodeParticleMultiplyByAxisAngle.d.ts +10 -0
- package/typings/classes/VisualShaderNodeParticleOutput.d.ts +6 -0
- package/typings/classes/VisualShaderNodeParticleRandomness.d.ts +22 -0
- package/typings/classes/VisualShaderNodeParticleRingEmitter.d.ts +6 -0
- package/typings/classes/VisualShaderNodeParticleSphereEmitter.d.ts +6 -0
- package/typings/classes/VisualShaderNodeProximityFade.d.ts +6 -0
- package/typings/classes/VisualShaderNodeRandomRange.d.ts +6 -0
- package/typings/classes/VisualShaderNodeRemap.d.ts +33 -0
- package/typings/classes/VisualShaderNodeReroute.d.ts +8 -0
- package/typings/classes/VisualShaderNodeResizableBase.d.ts +10 -0
- package/typings/classes/VisualShaderNodeRotationByAxis.d.ts +6 -0
- package/typings/classes/VisualShaderNodeSDFRaymarch.d.ts +6 -0
- package/typings/classes/VisualShaderNodeSDFToScreenUV.d.ts +8 -0
- package/typings/classes/VisualShaderNodeSample3D.d.ts +18 -0
- package/typings/classes/VisualShaderNodeScreenNormalWorldSpace.d.ts +6 -0
- package/typings/classes/VisualShaderNodeScreenUVToSDF.d.ts +8 -0
- package/typings/classes/VisualShaderNodeSmoothStep.d.ts +28 -0
- package/typings/classes/VisualShaderNodeStep.d.ts +28 -0
- package/typings/classes/VisualShaderNodeSwitch.d.ts +30 -0
- package/typings/classes/VisualShaderNodeTexture.d.ts +57 -0
- package/typings/classes/VisualShaderNodeTexture2DArray.d.ts +12 -0
- package/typings/classes/VisualShaderNodeTexture2DArrayParameter.d.ts +6 -0
- package/typings/classes/VisualShaderNodeTexture2DParameter.d.ts +6 -0
- package/typings/classes/VisualShaderNodeTexture3D.d.ts +12 -0
- package/typings/classes/VisualShaderNodeTexture3DParameter.d.ts +6 -0
- package/typings/classes/VisualShaderNodeTextureParameter.d.ts +104 -0
- package/typings/classes/VisualShaderNodeTextureParameterTriplanar.d.ts +6 -0
- package/typings/classes/VisualShaderNodeTextureSDF.d.ts +6 -0
- package/typings/classes/VisualShaderNodeTextureSDFNormal.d.ts +6 -0
- package/typings/classes/VisualShaderNodeTransformCompose.d.ts +6 -0
- package/typings/classes/VisualShaderNodeTransformConstant.d.ts +10 -0
- package/typings/classes/VisualShaderNodeTransformDecompose.d.ts +6 -0
- package/typings/classes/VisualShaderNodeTransformFunc.d.ts +18 -0
- package/typings/classes/VisualShaderNodeTransformOp.d.ts +32 -0
- package/typings/classes/VisualShaderNodeTransformParameter.d.ts +14 -0
- package/typings/classes/VisualShaderNodeTransformVecMult.d.ts +22 -0
- package/typings/classes/VisualShaderNodeUIntConstant.d.ts +10 -0
- package/typings/classes/VisualShaderNodeUIntFunc.d.ts +20 -0
- package/typings/classes/VisualShaderNodeUIntOp.d.ts +48 -0
- package/typings/classes/VisualShaderNodeUIntParameter.d.ts +16 -0
- package/typings/classes/VisualShaderNodeUVFunc.d.ts +22 -0
- package/typings/classes/VisualShaderNodeUVPolarCoord.d.ts +6 -0
- package/typings/classes/VisualShaderNodeVarying.d.ts +14 -0
- package/typings/classes/VisualShaderNodeVaryingGetter.d.ts +6 -0
- package/typings/classes/VisualShaderNodeVaryingSetter.d.ts +6 -0
- package/typings/classes/VisualShaderNodeVec2Constant.d.ts +10 -0
- package/typings/classes/VisualShaderNodeVec2Parameter.d.ts +14 -0
- package/typings/classes/VisualShaderNodeVec3Constant.d.ts +10 -0
- package/typings/classes/VisualShaderNodeVec3Parameter.d.ts +14 -0
- package/typings/classes/VisualShaderNodeVec4Constant.d.ts +10 -0
- package/typings/classes/VisualShaderNodeVec4Parameter.d.ts +14 -0
- package/typings/classes/VisualShaderNodeVectorBase.d.ts +20 -0
- package/typings/classes/VisualShaderNodeVectorCompose.d.ts +8 -0
- package/typings/classes/VisualShaderNodeVectorDecompose.d.ts +8 -0
- package/typings/classes/VisualShaderNodeVectorDistance.d.ts +6 -0
- package/typings/classes/VisualShaderNodeVectorFunc.d.ts +84 -0
- package/typings/classes/VisualShaderNodeVectorLen.d.ts +6 -0
- package/typings/classes/VisualShaderNodeVectorOp.d.ts +42 -0
- package/typings/classes/VisualShaderNodeVectorRefract.d.ts +8 -0
- package/typings/classes/VisualShaderNodeWorldPositionFromDepth.d.ts +8 -0
- package/typings/classes/VoxelGI.d.ts +54 -0
- package/typings/classes/VoxelGIData.d.ts +70 -0
- package/typings/classes/WeakRef.d.ts +12 -0
- package/typings/classes/Window.d.ts +790 -0
- package/typings/classes/WorkerThreadPool.d.ts +55 -0
- package/typings/classes/World2D.d.ts +24 -0
- package/typings/classes/World3D.d.ts +32 -0
- package/typings/classes/WorldBoundaryShape2D.d.ts +19 -0
- package/typings/classes/WorldBoundaryShape3D.d.ts +10 -0
- package/typings/classes/WorldEnvironment.d.ts +22 -0
- package/typings/classes/X509Certificate.d.ts +16 -0
- package/typings/classes/XMLParser.d.ts +74 -0
- package/typings/classes/XRAnchor3D.d.ts +12 -0
- package/typings/classes/XRBodyModifier3D.d.ts +35 -0
- package/typings/classes/XRBodyTracker.d.ts +218 -0
- package/typings/classes/XRCamera3D.d.ts +7 -0
- package/typings/classes/XRController3D.d.ts +39 -0
- package/typings/classes/XRControllerTracker.d.ts +7 -0
- package/typings/classes/XRFaceModifier3D.d.ts +14 -0
- package/typings/classes/XRFaceTracker.d.ts +308 -0
- package/typings/classes/XRHandModifier3D.d.ts +24 -0
- package/typings/classes/XRHandTracker.d.ts +127 -0
- package/typings/classes/XRInterface.d.ts +181 -0
- package/typings/classes/XRInterfaceExtension.d.ts +94 -0
- package/typings/classes/XRNode3D.d.ts +46 -0
- package/typings/classes/XROrigin3D.d.ts +18 -0
- package/typings/classes/XRPose.d.ts +55 -0
- package/typings/classes/XRPositionalTracker.d.ts +64 -0
- package/typings/classes/XRServer.d.ts +130 -0
- package/typings/classes/XRTracker.d.ts +27 -0
- package/typings/classes/XRVRS.d.ts +28 -0
- package/typings/classes/_globals.d.ts +2243 -0
- package/typings/classes/_number-ops.d.ts +19 -0
- package/typings/classes/index.d.ts +915 -0
- package/typings/globals/gd-helpers.d.ts +354 -0
- package/typings/globals/globals.d.ts +511 -0
- package/typings/godot-class-registry.json +61322 -0
- package/typings/index.d.ts +3 -0
- package/typings-overrides/_globals.d.ts +114 -0
- package/typings-overrides/array.d.ts +54 -0
- package/typings-overrides/callable-function.d.ts +92 -0
- package/typings-overrides/class-db.d.ts +19 -0
- package/typings-overrides/dictionary.d.ts +26 -0
- package/typings-overrides/function.d.ts +29 -0
- package/typings-overrides/godot-object.d.ts +32 -0
- package/typings-overrides/node.d.ts +9 -0
- package/typings-overrides/non-nullable.json +117 -0
- package/typings-overrides/packed-scene.d.ts +7 -0
- package/typings-overrides/project-settings.d.ts +73 -0
- package/typings-overrides/property-tweener.d.ts +8 -0
- package/typings-overrides/resource.d.ts +3 -0
- package/typings-overrides/scene-tree.d.ts +54 -0
- package/typings-overrides/signal.d.ts +10 -0
- package/typings-overrides/tween.d.ts +18 -0
|
@@ -0,0 +1,2373 @@
|
|
|
1
|
+
// AUTO-GENERATED from Godot class documentation.
|
|
2
|
+
// Manual overrides applied from typings-overrides/*.d.ts
|
|
3
|
+
|
|
4
|
+
/** Abstraction for working with modern low-level graphics APIs. */
|
|
5
|
+
declare class RenderingDevice extends GodotObject {
|
|
6
|
+
/** Builds the `acceleration_structure`. */
|
|
7
|
+
acceleration_structure_build(acceleration_structure: RID): int;
|
|
8
|
+
/** This method does nothing. */
|
|
9
|
+
barrier(from_: int, to: int): void;
|
|
10
|
+
/**
|
|
11
|
+
* Creates a new Bottom Level Acceleration Structure. It can be accessed with the RID that is returned.
|
|
12
|
+
* Once finished with your RID, you will want to free the RID using the RenderingDevice's {@link free_rid} method.
|
|
13
|
+
* `position_attribute_location` selects which vertex attribute location supplies the position data (default is 0).
|
|
14
|
+
*/
|
|
15
|
+
blas_create(vertex_array: RID, index_array: RID, geometry_bits: int, position_attribute_location?: int): RID;
|
|
16
|
+
/**
|
|
17
|
+
* Clears the contents of the `buffer`, clearing `size_bytes` bytes, starting at `offset`.
|
|
18
|
+
* Prints an error if:
|
|
19
|
+
* - the size isn't a multiple of four
|
|
20
|
+
* - the region specified by `offset` + `size_bytes` exceeds the buffer
|
|
21
|
+
* - a draw list is currently active (created by {@link draw_list_begin})
|
|
22
|
+
* - a compute list is currently active (created by {@link compute_list_begin})
|
|
23
|
+
*/
|
|
24
|
+
buffer_clear(buffer: RID, offset: int, size_bytes: int): int;
|
|
25
|
+
/**
|
|
26
|
+
* Copies `size` bytes from the `src_buffer` at `src_offset` into `dst_buffer` at `dst_offset`.
|
|
27
|
+
* Prints an error if:
|
|
28
|
+
* - `size` exceeds the size of either `src_buffer` or `dst_buffer` at their corresponding offsets
|
|
29
|
+
* - a draw list is currently active (created by {@link draw_list_begin})
|
|
30
|
+
* - a compute list is currently active (created by {@link compute_list_begin})
|
|
31
|
+
*/
|
|
32
|
+
buffer_copy(src_buffer: RID, dst_buffer: RID, src_offset: int, dst_offset: int, size: int): int;
|
|
33
|
+
/**
|
|
34
|
+
* Returns a copy of the data of the specified `buffer`, optionally `offset_bytes` and `size_bytes` can be set to copy only a portion of the buffer.
|
|
35
|
+
* **Note:** This method will block the GPU from working until the data is retrieved. Refer to {@link buffer_get_data_async} for an alternative that returns the data in more performant way.
|
|
36
|
+
*/
|
|
37
|
+
buffer_get_data(buffer: RID, offset_bytes?: int, size_bytes?: int): PackedByteArray;
|
|
38
|
+
/**
|
|
39
|
+
* Asynchronous version of {@link buffer_get_data}. RenderingDevice will call `callback` in a certain amount of frames with the data the buffer had at the time of the request.
|
|
40
|
+
* **Note:** At the moment, the delay corresponds to the amount of frames specified by {@link ProjectSettings.rendering/rendering_device/vsync/frame_queue_size}.
|
|
41
|
+
* **Note:** Downloading large buffers can have a prohibitive cost for real-time even when using the asynchronous method due to hardware bandwidth limitations. When dealing with large resources, you can adjust settings such as {@link ProjectSettings.rendering/rendering_device/staging_buffer/block_size_kb} to improve the transfer speed at the cost of extra memory.
|
|
42
|
+
*/
|
|
43
|
+
buffer_get_data_async(buffer: RID, callback: Callable, offset_bytes?: int, size_bytes?: int): int;
|
|
44
|
+
/**
|
|
45
|
+
* Returns the address of the given `buffer` which can be passed to shaders in any way to access underlying data. Buffer must have been created with this feature enabled.
|
|
46
|
+
* **Note:** You must check that the GPU supports this functionality by calling {@link has_feature} with {@link SUPPORTS_BUFFER_DEVICE_ADDRESS} as a parameter.
|
|
47
|
+
*/
|
|
48
|
+
buffer_get_device_address(buffer: RID): int;
|
|
49
|
+
/**
|
|
50
|
+
* Updates a region of `size_bytes` bytes, starting at `offset`, in the buffer, with the specified `data`.
|
|
51
|
+
* Prints an error if:
|
|
52
|
+
* - the region specified by `offset` + `size_bytes` exceeds the buffer
|
|
53
|
+
* - a draw list is currently active (created by {@link draw_list_begin})
|
|
54
|
+
* - a compute list is currently active (created by {@link compute_list_begin})
|
|
55
|
+
*/
|
|
56
|
+
buffer_update(buffer: RID, offset: int, size_bytes: int, data: PackedByteArray | Array<unknown>): int;
|
|
57
|
+
/**
|
|
58
|
+
* Creates a timestamp marker with the specified `name`. This is used for performance reporting with the {@link get_captured_timestamp_cpu_time}, {@link get_captured_timestamp_gpu_time} and {@link get_captured_timestamp_name} methods.
|
|
59
|
+
*/
|
|
60
|
+
capture_timestamp(name: string | NodePath): void;
|
|
61
|
+
/** Raises a Vulkan compute barrier in the specified `compute_list`. */
|
|
62
|
+
compute_list_add_barrier(compute_list: int): void;
|
|
63
|
+
/**
|
|
64
|
+
* Starts a list of compute commands created with the `compute_*` methods. The returned value should be passed to other `compute_list_*` functions.
|
|
65
|
+
* Multiple compute lists cannot be created at the same time; you must finish the previous compute list first using {@link compute_list_end}.
|
|
66
|
+
* A simple compute operation might look like this (code is not a complete example):
|
|
67
|
+
*/
|
|
68
|
+
compute_list_begin(): int;
|
|
69
|
+
/**
|
|
70
|
+
* Tells the GPU what compute pipeline to use when processing the compute list. If the shader has changed since the last time this function was called, Godot will unbind all descriptor sets and will re-bind them inside {@link compute_list_dispatch}.
|
|
71
|
+
*/
|
|
72
|
+
compute_list_bind_compute_pipeline(compute_list: int, compute_pipeline: RID): void;
|
|
73
|
+
/**
|
|
74
|
+
* Binds the `uniform_set` to this `compute_list`. Godot ensures that all textures in the uniform set have the correct Vulkan access masks. If Godot had to change access masks of textures, it will raise a Vulkan image memory barrier.
|
|
75
|
+
*/
|
|
76
|
+
compute_list_bind_uniform_set(compute_list: int, uniform_set: RID, set_index: int): void;
|
|
77
|
+
/**
|
|
78
|
+
* Submits the compute list for processing on the GPU. This is the compute equivalent to {@link draw_list_draw}.
|
|
79
|
+
*/
|
|
80
|
+
compute_list_dispatch(compute_list: int, x_groups: int, y_groups: int, z_groups: int): void;
|
|
81
|
+
/**
|
|
82
|
+
* Submits the compute list for processing on the GPU with the given group counts stored in the `buffer` at `offset`. Buffer must have been created with {@link STORAGE_BUFFER_USAGE_DISPATCH_INDIRECT} flag.
|
|
83
|
+
*/
|
|
84
|
+
compute_list_dispatch_indirect(compute_list: int, buffer: RID, offset: int): void;
|
|
85
|
+
/** Finishes a list of compute commands created with the `compute_*` methods. */
|
|
86
|
+
compute_list_end(): void;
|
|
87
|
+
/**
|
|
88
|
+
* Sets the push constant data to `buffer` for the specified `compute_list`. The shader determines how this binary data is used. The buffer's size in bytes must also be specified in `size_bytes` (this can be obtained by calling the {@link PackedByteArray.size} method on the passed `buffer`).
|
|
89
|
+
*/
|
|
90
|
+
compute_list_set_push_constant(compute_list: int, buffer: PackedByteArray | Array<unknown>, size_bytes: int): void;
|
|
91
|
+
/**
|
|
92
|
+
* Creates a new compute pipeline. It can be accessed with the RID that is returned.
|
|
93
|
+
* Once finished with your RID, you will want to free the RID using the RenderingDevice's {@link free_rid} method.
|
|
94
|
+
* This will be freed automatically when the `shader` is freed.
|
|
95
|
+
*/
|
|
96
|
+
compute_pipeline_create(shader: RID, specialization_constants?: Array<RDPipelineSpecializationConstant>): RID;
|
|
97
|
+
/**
|
|
98
|
+
* Returns `true` if the compute pipeline specified by the `compute_pipeline` RID is valid, `false` otherwise.
|
|
99
|
+
*/
|
|
100
|
+
compute_pipeline_is_valid(compute_pipeline: RID): boolean;
|
|
101
|
+
/**
|
|
102
|
+
* Create a new local {@link RenderingDevice}. This is most useful for performing compute operations on the GPU independently from the rest of the engine.
|
|
103
|
+
*/
|
|
104
|
+
create_local_device(): RenderingDevice | null;
|
|
105
|
+
/**
|
|
106
|
+
* Create a command buffer debug label region that can be displayed in third-party tools such as RenderDoc (https://renderdoc.org/). All regions must be ended with a {@link draw_command_end_label} call. When viewed from the linear series of submissions to a single queue, calls to {@link draw_command_begin_label} and {@link draw_command_end_label} must be matched and balanced.
|
|
107
|
+
* The `VK_EXT_DEBUG_UTILS_EXTENSION_NAME` Vulkan extension must be available and enabled for command buffer debug label region to work. See also {@link draw_command_end_label}.
|
|
108
|
+
*/
|
|
109
|
+
draw_command_begin_label(name: string | NodePath, color: Color): void;
|
|
110
|
+
/** Ends the command buffer debug label region started by a {@link draw_command_begin_label} call. */
|
|
111
|
+
draw_command_end_label(): void;
|
|
112
|
+
/** This method does nothing. */
|
|
113
|
+
draw_command_insert_label(name: string | NodePath, color: Color): void;
|
|
114
|
+
/**
|
|
115
|
+
* Starts a list of raster drawing commands created with the `draw_*` methods. The returned value should be passed to other `draw_list_*` functions.
|
|
116
|
+
* Multiple draw lists cannot be created at the same time; you must finish the previous draw list first using {@link draw_list_end}.
|
|
117
|
+
* A simple drawing operation might look like this (code is not a complete example):
|
|
118
|
+
* The `draw_flags` indicates if the texture attachments of the framebuffer should be cleared or ignored. Only one of the two flags can be used for each individual attachment. Ignoring an attachment means that any contents that existed before the draw list will be completely discarded, reducing the memory bandwidth used by the render pass but producing garbage results if the pixels aren't replaced. The default behavior allows the engine to figure out the right operation to use if the texture is discardable, which can result in increased performance. See {@link RDTextureFormat} or {@link texture_set_discardable}.
|
|
119
|
+
* The `breadcrumb` parameter can be an arbitrary 32-bit integer that is useful to diagnose GPU crashes. If Godot is built in dev or debug mode; when the GPU crashes Godot will dump all shaders that were being executed at the time of the crash and the breadcrumb is useful to diagnose what passes did those shaders belong to.
|
|
120
|
+
* It does not affect rendering behavior and can be set to 0. It is recommended to use {@link BreadcrumbMarker} enumerations for consistency but it's not required. It is also possible to use bitwise operations to add extra data. e.g.
|
|
121
|
+
*/
|
|
122
|
+
draw_list_begin(framebuffer: RID, draw_flags: int, clear_color_values?: PackedColorArray | Array<unknown>, clear_depth_value?: float, clear_stencil_value?: int, region?: Rect2 | Rect2i, breadcrumb?: int): int;
|
|
123
|
+
/**
|
|
124
|
+
* High-level variant of {@link draw_list_begin}, with the parameters automatically being adjusted for drawing onto the window specified by the `screen` ID.
|
|
125
|
+
* **Note:** Cannot be used with local RenderingDevices, as these don't have a screen. If called on a local RenderingDevice, {@link draw_list_begin_for_screen} returns {@link INVALID_ID}.
|
|
126
|
+
*/
|
|
127
|
+
draw_list_begin_for_screen(screen?: int, clear_color?: Color): int;
|
|
128
|
+
/** This method does nothing and always returns an empty {@link PackedInt64Array}. */
|
|
129
|
+
draw_list_begin_split(framebuffer: RID, splits: int, initial_color_action: int, final_color_action: int, initial_depth_action: int, final_depth_action: int, clear_color_values?: PackedColorArray | Array<unknown>, clear_depth?: float, clear_stencil?: int, region?: Rect2 | Rect2i, storage_textures?: Array<RID>): PackedInt64Array;
|
|
130
|
+
/** Binds `index_array` to the specified `draw_list`. */
|
|
131
|
+
draw_list_bind_index_array(draw_list: int, index_array: RID): void;
|
|
132
|
+
/** Binds `render_pipeline` to the specified `draw_list`. */
|
|
133
|
+
draw_list_bind_render_pipeline(draw_list: int, render_pipeline: RID): void;
|
|
134
|
+
/**
|
|
135
|
+
* Binds `uniform_set` to the specified `draw_list`. A `set_index` must also be specified, which is an identifier starting from `0` that must match the one expected by the draw list.
|
|
136
|
+
*/
|
|
137
|
+
draw_list_bind_uniform_set(draw_list: int, uniform_set: RID, set_index: int): void;
|
|
138
|
+
/** Binds `vertex_array` to the specified `draw_list`. */
|
|
139
|
+
draw_list_bind_vertex_array(draw_list: int, vertex_array: RID): void;
|
|
140
|
+
/**
|
|
141
|
+
* Binds a set of `vertex_buffers` directly to the specified `draw_list` using `vertex_format` without creating a vertex array RID. Provide the number of vertices in `vertex_count`; optional per-buffer byte `offsets` may also be supplied.
|
|
142
|
+
*/
|
|
143
|
+
draw_list_bind_vertex_buffers_format(draw_list: int, vertex_format: int, vertex_count: int, vertex_buffers: Array<RID>, offsets?: PackedInt64Array | Array<unknown>): void;
|
|
144
|
+
/**
|
|
145
|
+
* Removes and disables the scissor rectangle for the specified `draw_list`. See also {@link draw_list_enable_scissor}.
|
|
146
|
+
*/
|
|
147
|
+
draw_list_disable_scissor(draw_list: int): void;
|
|
148
|
+
/**
|
|
149
|
+
* Submits `draw_list` for rendering on the GPU. This is the raster equivalent to {@link compute_list_dispatch}.
|
|
150
|
+
*/
|
|
151
|
+
draw_list_draw(draw_list: int, use_indices: boolean, instances: int, procedural_vertex_count?: int): void;
|
|
152
|
+
/**
|
|
153
|
+
* Submits `draw_list` for rendering on the GPU with the given parameters stored in the `buffer` at `offset`. Parameters being integers: vertex count, instance count, first vertex, first instance. And when using indices: index count, instance count, first index, vertex offset, first instance. Buffer must have been created with {@link STORAGE_BUFFER_USAGE_DISPATCH_INDIRECT} flag.
|
|
154
|
+
*/
|
|
155
|
+
draw_list_draw_indirect(draw_list: int, use_indices: boolean, buffer: RID, offset?: int, draw_count?: int, stride?: int): void;
|
|
156
|
+
/**
|
|
157
|
+
* Creates a scissor rectangle and enables it for the specified `draw_list`. Scissor rectangles are used for clipping by discarding fragments that fall outside a specified rectangular portion of the screen. See also {@link draw_list_disable_scissor}.
|
|
158
|
+
* **Note:** The specified `rect` is automatically intersected with the screen's dimensions, which means it cannot exceed the screen's dimensions.
|
|
159
|
+
*/
|
|
160
|
+
draw_list_enable_scissor(draw_list: int, rect?: Rect2 | Rect2i): void;
|
|
161
|
+
/** Finishes a list of raster drawing commands created with the `draw_*` methods. */
|
|
162
|
+
draw_list_end(): void;
|
|
163
|
+
/**
|
|
164
|
+
* Sets blend constants for the specified `draw_list` to `color`. Blend constants are used only if the graphics pipeline is created with {@link DYNAMIC_STATE_BLEND_CONSTANTS} flag set.
|
|
165
|
+
*/
|
|
166
|
+
draw_list_set_blend_constants(draw_list: int, color: Color): void;
|
|
167
|
+
/**
|
|
168
|
+
* Sets the push constant data to `buffer` for the specified `draw_list`. The shader determines how this binary data is used. The buffer's size in bytes must also be specified in `size_bytes` (this can be obtained by calling the {@link PackedByteArray.size} method on the passed `buffer`).
|
|
169
|
+
*/
|
|
170
|
+
draw_list_set_push_constant(draw_list: int, buffer: PackedByteArray | Array<unknown>, size_bytes: int): void;
|
|
171
|
+
/** Switches to the next draw pass. */
|
|
172
|
+
draw_list_switch_to_next_pass(): int;
|
|
173
|
+
/** This method does nothing and always returns an empty {@link PackedInt64Array}. */
|
|
174
|
+
draw_list_switch_to_next_pass_split(splits: int): PackedInt64Array;
|
|
175
|
+
/**
|
|
176
|
+
* Creates a new framebuffer. It can be accessed with the RID that is returned.
|
|
177
|
+
* Once finished with your RID, you will want to free the RID using the RenderingDevice's {@link free_rid} method.
|
|
178
|
+
* This will be freed automatically when any of the `textures` is freed.
|
|
179
|
+
*/
|
|
180
|
+
framebuffer_create(textures: Array<RID>, validate_with_format?: int, view_count?: int): RID;
|
|
181
|
+
/**
|
|
182
|
+
* Creates a new empty framebuffer. It can be accessed with the RID that is returned.
|
|
183
|
+
* Once finished with your RID, you will want to free the RID using the RenderingDevice's {@link free_rid} method.
|
|
184
|
+
*/
|
|
185
|
+
framebuffer_create_empty(size: Vector2i | Vector2, samples: int, validate_with_format?: int): RID;
|
|
186
|
+
/**
|
|
187
|
+
* Creates a new multipass framebuffer. It can be accessed with the RID that is returned.
|
|
188
|
+
* Once finished with your RID, you will want to free the RID using the RenderingDevice's {@link free_rid} method.
|
|
189
|
+
* This will be freed automatically when any of the `textures` is freed.
|
|
190
|
+
*/
|
|
191
|
+
framebuffer_create_multipass(textures: Array<RID>, passes: Array<RDFramebufferPass>, validate_with_format?: int, view_count?: int): RID;
|
|
192
|
+
/**
|
|
193
|
+
* Creates a new framebuffer format with the specified `attachments` and `view_count`. Returns the new framebuffer's unique framebuffer format ID.
|
|
194
|
+
* If `view_count` is greater than or equal to `2`, enables multiview which is used for VR rendering. This requires support for the Vulkan multiview extension.
|
|
195
|
+
*/
|
|
196
|
+
framebuffer_format_create(attachments: Array<RDAttachmentFormat>, view_count?: int): int;
|
|
197
|
+
/** Creates a new empty framebuffer format with the specified number of `samples` and returns its ID. */
|
|
198
|
+
framebuffer_format_create_empty(samples: int): int;
|
|
199
|
+
/**
|
|
200
|
+
* Creates a multipass framebuffer format with the specified `attachments`, `passes` and `view_count` and returns its ID. If `view_count` is greater than or equal to `2`, enables multiview which is used for VR rendering. This requires support for the Vulkan multiview extension.
|
|
201
|
+
*/
|
|
202
|
+
framebuffer_format_create_multipass(attachments: Array<RDAttachmentFormat>, passes: Array<RDFramebufferPass>, view_count?: int): int;
|
|
203
|
+
/**
|
|
204
|
+
* Returns the number of texture samples used for the given framebuffer `format` ID (returned by {@link framebuffer_get_format}).
|
|
205
|
+
*/
|
|
206
|
+
framebuffer_format_get_texture_samples(format: int, render_pass?: int): int;
|
|
207
|
+
/**
|
|
208
|
+
* Returns the format ID of the framebuffer specified by the `framebuffer` RID. This ID is guaranteed to be unique for the same formats and does not need to be freed.
|
|
209
|
+
*/
|
|
210
|
+
framebuffer_get_format(framebuffer: RID): int;
|
|
211
|
+
/** Returns `true` if the framebuffer specified by the `framebuffer` RID is valid, `false` otherwise. */
|
|
212
|
+
framebuffer_is_valid(framebuffer: RID): boolean;
|
|
213
|
+
/**
|
|
214
|
+
* Tries to free an object in the RenderingDevice. To avoid memory leaks, this should be called after using an object as memory management does not occur automatically when using RenderingDevice directly.
|
|
215
|
+
*/
|
|
216
|
+
free_rid(rid: RID): void;
|
|
217
|
+
/** This method does nothing. */
|
|
218
|
+
full_barrier(): void;
|
|
219
|
+
/**
|
|
220
|
+
* Returns the timestamp in CPU time for the rendering step specified by `index` (in microseconds since the engine started). See also {@link get_captured_timestamp_gpu_time} and {@link capture_timestamp}.
|
|
221
|
+
*/
|
|
222
|
+
get_captured_timestamp_cpu_time(index: int): int;
|
|
223
|
+
/**
|
|
224
|
+
* Returns the timestamp in GPU time for the rendering step specified by `index` (in microseconds since the engine started). See also {@link get_captured_timestamp_cpu_time} and {@link capture_timestamp}.
|
|
225
|
+
*/
|
|
226
|
+
get_captured_timestamp_gpu_time(index: int): int;
|
|
227
|
+
/**
|
|
228
|
+
* Returns the timestamp's name for the rendering step specified by `index`. See also {@link capture_timestamp}.
|
|
229
|
+
*/
|
|
230
|
+
get_captured_timestamp_name(index: int): string;
|
|
231
|
+
/** Returns the total number of timestamps (rendering steps) available for profiling. */
|
|
232
|
+
get_captured_timestamps_count(): int;
|
|
233
|
+
/** Returns the index of the last frame rendered that has rendering timestamps available for querying. */
|
|
234
|
+
get_captured_timestamps_frame(): int;
|
|
235
|
+
/**
|
|
236
|
+
* Returns how many allocations the GPU has performed for internal driver structures.
|
|
237
|
+
* This is only used by Vulkan in debug builds and can return 0 when this information is not tracked or unknown.
|
|
238
|
+
*/
|
|
239
|
+
get_device_allocation_count(): int;
|
|
240
|
+
/**
|
|
241
|
+
* Same as {@link get_device_allocation_count} but filtered for a given object type.
|
|
242
|
+
* The type argument must be in range `[0; get_tracked_object_type_count - 1]`. If {@link get_tracked_object_type_count} is 0, then type argument is ignored and always returns 0.
|
|
243
|
+
* This is only used by Vulkan in debug builds and can return 0 when this information is not tracked or unknown.
|
|
244
|
+
*/
|
|
245
|
+
get_device_allocs_by_object_type(type_: int): int;
|
|
246
|
+
/**
|
|
247
|
+
* Same as {@link get_device_total_memory} but filtered for a given object type.
|
|
248
|
+
* The type argument must be in range `[0; get_tracked_object_type_count - 1]`. If {@link get_tracked_object_type_count} is 0, then type argument is ignored and always returns 0.
|
|
249
|
+
* This is only used by Vulkan in debug builds and can return 0 when this information is not tracked or unknown.
|
|
250
|
+
*/
|
|
251
|
+
get_device_memory_by_object_type(type_: int): int;
|
|
252
|
+
/**
|
|
253
|
+
* Returns the name of the video adapter (e.g. "GeForce GTX 1080/PCIe/SSE2"). Equivalent to {@link RenderingServer.get_video_adapter_name}. See also {@link get_device_vendor_name}.
|
|
254
|
+
*/
|
|
255
|
+
get_device_name(): string;
|
|
256
|
+
/**
|
|
257
|
+
* Returns the universally unique identifier for the pipeline cache. This is used to cache shader files on disk, which avoids shader recompilations on subsequent engine runs. This UUID varies depending on the graphics card model, but also the driver version. Therefore, updating graphics drivers will invalidate the shader cache.
|
|
258
|
+
*/
|
|
259
|
+
get_device_pipeline_cache_uuid(): string;
|
|
260
|
+
/**
|
|
261
|
+
* Returns how much bytes the GPU is using.
|
|
262
|
+
* This is only used by Vulkan in debug builds and can return 0 when this information is not tracked or unknown.
|
|
263
|
+
*/
|
|
264
|
+
get_device_total_memory(): int;
|
|
265
|
+
/**
|
|
266
|
+
* Returns the vendor of the video adapter (e.g. "NVIDIA Corporation"). Equivalent to {@link RenderingServer.get_video_adapter_vendor}. See also {@link get_device_name}.
|
|
267
|
+
*/
|
|
268
|
+
get_device_vendor_name(): string;
|
|
269
|
+
/**
|
|
270
|
+
* Returns how many allocations the GPU driver has performed for internal driver structures.
|
|
271
|
+
* This is only used by Vulkan in debug builds and can return 0 when this information is not tracked or unknown.
|
|
272
|
+
*/
|
|
273
|
+
get_driver_allocation_count(): int;
|
|
274
|
+
/**
|
|
275
|
+
* Same as {@link get_driver_allocation_count} but filtered for a given object type.
|
|
276
|
+
* The type argument must be in range `[0; get_tracked_object_type_count - 1]`. If {@link get_tracked_object_type_count} is 0, then type argument is ignored and always returns 0.
|
|
277
|
+
* This is only used by Vulkan in debug builds and can return 0 when this information is not tracked or unknown.
|
|
278
|
+
*/
|
|
279
|
+
get_driver_allocs_by_object_type(type_: int): int;
|
|
280
|
+
/**
|
|
281
|
+
* Returns string report in CSV format using the following methods:
|
|
282
|
+
* - {@link get_tracked_object_name}
|
|
283
|
+
* - {@link get_tracked_object_type_count}
|
|
284
|
+
* - {@link get_driver_total_memory}
|
|
285
|
+
* - {@link get_driver_allocation_count}
|
|
286
|
+
* - {@link get_driver_memory_by_object_type}
|
|
287
|
+
* - {@link get_driver_allocs_by_object_type}
|
|
288
|
+
* - {@link get_device_total_memory}
|
|
289
|
+
* - {@link get_device_allocation_count}
|
|
290
|
+
* - {@link get_device_memory_by_object_type}
|
|
291
|
+
* - {@link get_device_allocs_by_object_type}
|
|
292
|
+
* This is only used by Vulkan in debug builds. Godot must also be started with the `--extra-gpu-memory-tracking` command line argument ($DOCS_URL/tutorials/editor/command_line_tutorial.html).
|
|
293
|
+
*/
|
|
294
|
+
get_driver_and_device_memory_report(): string;
|
|
295
|
+
/**
|
|
296
|
+
* Same as {@link get_driver_total_memory} but filtered for a given object type.
|
|
297
|
+
* The type argument must be in range `[0; get_tracked_object_type_count - 1]`. If {@link get_tracked_object_type_count} is 0, then type argument is ignored and always returns 0.
|
|
298
|
+
* This is only used by Vulkan in debug builds and can return 0 when this information is not tracked or unknown.
|
|
299
|
+
*/
|
|
300
|
+
get_driver_memory_by_object_type(type_: int): int;
|
|
301
|
+
/**
|
|
302
|
+
* Returns the unique identifier of the driver `resource` for the specified `rid`. Some driver resource types ignore the specified `rid`. `index` is always ignored but must be specified anyway.
|
|
303
|
+
*/
|
|
304
|
+
get_driver_resource(resource: int, rid: RID, index: int): int;
|
|
305
|
+
/**
|
|
306
|
+
* Returns how much bytes the GPU driver is using for internal driver structures.
|
|
307
|
+
* This is only used by Vulkan in debug builds and can return 0 when this information is not tracked or unknown.
|
|
308
|
+
*/
|
|
309
|
+
get_driver_total_memory(): int;
|
|
310
|
+
/**
|
|
311
|
+
* Returns the frame count kept by the graphics API. Higher values result in higher input lag, but with more consistent throughput. For the main {@link RenderingDevice}, frames are cycled (usually 3 with triple-buffered V-Sync enabled). However, local {@link RenderingDevice}s only have 1 frame.
|
|
312
|
+
*/
|
|
313
|
+
get_frame_delay(): int;
|
|
314
|
+
/**
|
|
315
|
+
* Returns the memory usage in bytes corresponding to the given `type`. When using Vulkan, these statistics are calculated by Vulkan Memory Allocator (https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator).
|
|
316
|
+
*/
|
|
317
|
+
get_memory_usage(type_: int): int;
|
|
318
|
+
/** Returns a string with a performance report from the past frame. Updates every frame. */
|
|
319
|
+
get_perf_report(): string;
|
|
320
|
+
/**
|
|
321
|
+
* Returns the name of the type of object for the given `type_index`. This value must be in range `[0; get_tracked_object_type_count - 1]`. If {@link get_tracked_object_type_count} is 0, then type argument is ignored and always returns the same string.
|
|
322
|
+
* The return value is important because it gives meaning to the types passed to {@link get_driver_memory_by_object_type}, {@link get_driver_allocs_by_object_type}, {@link get_device_memory_by_object_type}, and {@link get_device_allocs_by_object_type}. Examples of strings it can return (not exhaustive):
|
|
323
|
+
* - DEVICE_MEMORY
|
|
324
|
+
* - PIPELINE_CACHE
|
|
325
|
+
* - SWAPCHAIN_KHR
|
|
326
|
+
* - COMMAND_POOL
|
|
327
|
+
* Thus if e.g. `get_tracked_object_name(5)` returns "COMMAND_POOL", then `get_device_memory_by_object_type(5)` returns the bytes used by the GPU for command pools.
|
|
328
|
+
* This is only used by Vulkan in debug builds. Godot must also be started with the `--extra-gpu-memory-tracking` command line argument ($DOCS_URL/tutorials/editor/command_line_tutorial.html).
|
|
329
|
+
*/
|
|
330
|
+
get_tracked_object_name(type_index: int): string;
|
|
331
|
+
/**
|
|
332
|
+
* Returns how many types of trackable objects there are.
|
|
333
|
+
* This is only used by Vulkan in debug builds. Godot must also be started with the `--extra-gpu-memory-tracking` command line argument ($DOCS_URL/tutorials/editor/command_line_tutorial.html).
|
|
334
|
+
*/
|
|
335
|
+
get_tracked_object_type_count(): int;
|
|
336
|
+
/** Returns `true` if the `feature` is supported by the GPU. */
|
|
337
|
+
has_feature(feature: int): boolean;
|
|
338
|
+
/**
|
|
339
|
+
* Creates a new index array. It can be accessed with the RID that is returned.
|
|
340
|
+
* Once finished with your RID, you will want to free the RID using the RenderingDevice's {@link free_rid} method.
|
|
341
|
+
* This will be freed automatically when the `index_buffer` is freed.
|
|
342
|
+
*/
|
|
343
|
+
index_array_create(index_buffer: RID, index_offset: int, index_count: int): RID;
|
|
344
|
+
/**
|
|
345
|
+
* Creates a new index buffer. It can be accessed with the RID that is returned.
|
|
346
|
+
* Once finished with your RID, you will want to free the RID using the RenderingDevice's {@link free_rid} method.
|
|
347
|
+
*/
|
|
348
|
+
index_buffer_create(size_indices: int, format: int, data?: PackedByteArray | Array<unknown>, use_restart_indices?: boolean, creation_bits?: int): RID;
|
|
349
|
+
/**
|
|
350
|
+
* Returns the value of the specified `limit`. This limit varies depending on the current graphics hardware (and sometimes the driver version). If the given limit is exceeded, rendering errors will occur.
|
|
351
|
+
* Limits for various graphics hardware can be found in the Vulkan Hardware Database (https://vulkan.gpuinfo.org/).
|
|
352
|
+
*/
|
|
353
|
+
limit_get(limit: int): int;
|
|
354
|
+
/**
|
|
355
|
+
* Starts a list of raytracing commands. The returned value should be passed to other `raytracing_list_*` functions.
|
|
356
|
+
* Multiple raytracing lists cannot be created at the same time; you must finish the previous raytracing list first using {@link raytracing_list_end}.
|
|
357
|
+
* A simple raytracing operation might look like this (code is not a complete example):
|
|
358
|
+
*/
|
|
359
|
+
raytracing_list_begin(): int;
|
|
360
|
+
/** Binds `raytracing_pipeline` to the specified `raytracing_list`. */
|
|
361
|
+
raytracing_list_bind_raytracing_pipeline(raytracing_list: int, raytracing_pipeline: RID): void;
|
|
362
|
+
/** Binds the `uniform_set` to this `raytracing_list`. */
|
|
363
|
+
raytracing_list_bind_uniform_set(raytracing_list: int, uniform_set: RID, set_index: int): void;
|
|
364
|
+
/** Finishes a list of raytracing commands created with the `raytracing_*` methods. */
|
|
365
|
+
raytracing_list_end(): void;
|
|
366
|
+
/**
|
|
367
|
+
* Sets the push constant data to `buffer` for the specified `raytracing_list`. The shader determines how this binary data is used. The buffer's size in bytes must also be specified in `size_bytes` (this can be obtained by calling the {@link PackedByteArray.size} method on the passed `buffer`).
|
|
368
|
+
*/
|
|
369
|
+
raytracing_list_set_push_constant(raytracing_list: int, buffer: PackedByteArray | Array<unknown>, size_bytes: int): void;
|
|
370
|
+
/**
|
|
371
|
+
* Initializes a ray tracing dispatch for the specified `raytracing_list` assembling a group of `width` x `height` rays.
|
|
372
|
+
*/
|
|
373
|
+
raytracing_list_trace_rays(raytracing_list: int, width: int, height: int): void;
|
|
374
|
+
/**
|
|
375
|
+
* Creates a new raytracing pipeline. It can be accessed with the RID that is returned.
|
|
376
|
+
* Once finished with your RID, you will want to free the RID using the RenderingDevice's {@link free_rid} method.
|
|
377
|
+
* **Note:**: Recursive raytracing is not permitted.
|
|
378
|
+
*/
|
|
379
|
+
raytracing_pipeline_create(shader: RID, specialization_constants?: Array<RDPipelineSpecializationConstant>): RID;
|
|
380
|
+
/**
|
|
381
|
+
* Returns `true` if the raytracing pipeline specified by the `raytracing_pipeline` RID is valid, `false` otherwise.
|
|
382
|
+
*/
|
|
383
|
+
raytracing_pipeline_is_valid(raytracing_pipeline: RID): boolean;
|
|
384
|
+
/**
|
|
385
|
+
* Creates a new render pipeline. It can be accessed with the RID that is returned.
|
|
386
|
+
* Once finished with your RID, you will want to free the RID using the RenderingDevice's {@link free_rid} method.
|
|
387
|
+
* This will be freed automatically when the `shader` is freed.
|
|
388
|
+
*/
|
|
389
|
+
render_pipeline_create(shader: RID, framebuffer_format: int, vertex_format: int, primitive: int, rasterization_state: RDPipelineRasterizationState, multisample_state: RDPipelineMultisampleState, stencil_state: RDPipelineDepthStencilState, color_blend_state: RDPipelineColorBlendState, dynamic_state_flags: int, for_render_pass?: int, specialization_constants?: Array<RDPipelineSpecializationConstant>): RID;
|
|
390
|
+
/**
|
|
391
|
+
* Returns `true` if the render pipeline specified by the `render_pipeline` RID is valid, `false` otherwise.
|
|
392
|
+
*/
|
|
393
|
+
render_pipeline_is_valid(render_pipeline: RID): boolean;
|
|
394
|
+
/**
|
|
395
|
+
* Creates a new sampler. It can be accessed with the RID that is returned.
|
|
396
|
+
* Once finished with your RID, you will want to free the RID using the RenderingDevice's {@link free_rid} method.
|
|
397
|
+
*/
|
|
398
|
+
sampler_create(state: RDSamplerState): RID;
|
|
399
|
+
/**
|
|
400
|
+
* Returns `true` if implementation supports using a texture of `format` with the given `sampler_filter`.
|
|
401
|
+
*/
|
|
402
|
+
sampler_is_format_supported_for_filter(format: int, sampler_filter: int): boolean;
|
|
403
|
+
/**
|
|
404
|
+
* Returns the framebuffer format of the given screen.
|
|
405
|
+
* **Note:** Only the main {@link RenderingDevice} returned by {@link RenderingServer.get_rendering_device} has a format. If called on a local {@link RenderingDevice}, this method prints an error and returns {@link INVALID_ID}.
|
|
406
|
+
*/
|
|
407
|
+
screen_get_framebuffer_format(screen?: int): int;
|
|
408
|
+
/**
|
|
409
|
+
* Returns the window height matching the graphics API context for the given window ID (in pixels). Despite the parameter being named `screen`, this returns the *window* size. See also {@link screen_get_width}.
|
|
410
|
+
* **Note:** Only the main {@link RenderingDevice} returned by {@link RenderingServer.get_rendering_device} has a height. If called on a local {@link RenderingDevice}, this method prints an error and returns {@link INVALID_ID}.
|
|
411
|
+
*/
|
|
412
|
+
screen_get_height(screen?: int): int;
|
|
413
|
+
/**
|
|
414
|
+
* Returns the window width matching the graphics API context for the given window ID (in pixels). Despite the parameter being named `screen`, this returns the *window* size. See also {@link screen_get_height}.
|
|
415
|
+
* **Note:** Only the main {@link RenderingDevice} returned by {@link RenderingServer.get_rendering_device} has a width. If called on a local {@link RenderingDevice}, this method prints an error and returns {@link INVALID_ID}.
|
|
416
|
+
*/
|
|
417
|
+
screen_get_width(screen?: int): int;
|
|
418
|
+
/**
|
|
419
|
+
* Sets the resource name for `id` to `name`. This is used for debugging with third-party tools such as RenderDoc (https://renderdoc.org/).
|
|
420
|
+
* The following types of resources can be named: texture, sampler, vertex buffer, index buffer, uniform buffer, texture buffer, storage buffer, uniform set buffer, shader, render pipeline and compute pipeline. Framebuffers cannot be named. Attempting to name an incompatible resource type will print an error.
|
|
421
|
+
* **Note:** Resource names are only set when the engine runs in verbose mode ({@link OS.is_stdout_verbose} = `true`), or when using an engine build compiled with the `dev_mode=yes` SCons option. The graphics driver must also support the `VK_EXT_DEBUG_UTILS_EXTENSION_NAME` Vulkan extension for named resources to work.
|
|
422
|
+
*/
|
|
423
|
+
set_resource_name(id: RID, name: string | NodePath): void;
|
|
424
|
+
/**
|
|
425
|
+
* Compiles a binary shader from `spirv_data` and returns the compiled binary data as a {@link PackedByteArray}. This compiled shader is specific to the GPU model and driver version used; it will not work on different GPU models or even different driver versions. See also {@link shader_compile_spirv_from_source}.
|
|
426
|
+
* `name` is an optional human-readable name that can be given to the compiled shader for organizational purposes.
|
|
427
|
+
*/
|
|
428
|
+
shader_compile_binary_from_spirv(spirv_data: RDShaderSPIRV, name?: string | NodePath): PackedByteArray;
|
|
429
|
+
/**
|
|
430
|
+
* Compiles a SPIR-V from the shader source code in `shader_source` and returns the SPIR-V as an {@link RDShaderSPIRV}. This intermediate language shader is portable across different GPU models and driver versions, but cannot be run directly by GPUs until compiled into a binary shader using {@link shader_compile_binary_from_spirv}.
|
|
431
|
+
* If `allow_cache` is `true`, make use of the shader cache generated by Godot. This avoids a potentially lengthy shader compilation step if the shader is already in cache. If `allow_cache` is `false`, Godot's shader cache is ignored and the shader will always be recompiled.
|
|
432
|
+
*/
|
|
433
|
+
shader_compile_spirv_from_source(shader_source: RDShaderSource, allow_cache?: boolean): RDShaderSPIRV | null;
|
|
434
|
+
/**
|
|
435
|
+
* Creates a new shader instance from a binary compiled shader. It can be accessed with the RID that is returned.
|
|
436
|
+
* Once finished with your RID, you will want to free the RID using the RenderingDevice's {@link free_rid} method. See also {@link shader_compile_binary_from_spirv} and {@link shader_create_from_spirv}.
|
|
437
|
+
*/
|
|
438
|
+
shader_create_from_bytecode(binary_data: PackedByteArray | Array<unknown>, placeholder_rid?: RID): RID;
|
|
439
|
+
/**
|
|
440
|
+
* Creates a new shader instance from SPIR-V intermediate code. It can be accessed with the RID that is returned.
|
|
441
|
+
* Once finished with your RID, you will want to free the RID using the RenderingDevice's {@link free_rid} method. See also {@link shader_compile_spirv_from_source} and {@link shader_create_from_bytecode}.
|
|
442
|
+
*/
|
|
443
|
+
shader_create_from_spirv(spirv_data: RDShaderSPIRV, name?: string | NodePath): RID;
|
|
444
|
+
/**
|
|
445
|
+
* Create a placeholder RID by allocating an RID without initializing it for use in {@link shader_create_from_bytecode}. This allows you to create an RID for a shader and pass it around, but defer compiling the shader to a later time.
|
|
446
|
+
*/
|
|
447
|
+
shader_create_placeholder(): RID;
|
|
448
|
+
/**
|
|
449
|
+
* Returns the internal vertex input mask. Internally, the vertex input mask is an unsigned integer consisting of the locations (specified in GLSL via. `layout(location = ...)`) of the input variables (specified in GLSL by the `in` keyword).
|
|
450
|
+
*/
|
|
451
|
+
shader_get_vertex_input_attribute_mask(shader: RID): int;
|
|
452
|
+
/**
|
|
453
|
+
* Creates a storage buffer (https://vkguide.dev/docs/chapter-4/storage_buffers/) with the specified `data` and `usage`. It can be accessed with the RID that is returned.
|
|
454
|
+
* Once finished with your RID, you will want to free the RID using the RenderingDevice's {@link free_rid} method.
|
|
455
|
+
*/
|
|
456
|
+
storage_buffer_create(size_bytes: int, data?: PackedByteArray | Array<unknown>, usage?: int, creation_bits?: int): RID;
|
|
457
|
+
/**
|
|
458
|
+
* Pushes the frame setup and draw command buffers then marks the local device as currently processing (which allows calling {@link sync}).
|
|
459
|
+
* **Note:** Only available in local RenderingDevices.
|
|
460
|
+
*/
|
|
461
|
+
submit(): void;
|
|
462
|
+
/**
|
|
463
|
+
* Forces a synchronization between the CPU and GPU, which may be required in certain cases. Only call this when needed, as CPU-GPU synchronization has a performance cost.
|
|
464
|
+
* **Note:** Only available in local RenderingDevices.
|
|
465
|
+
* **Note:** {@link sync} can only be called after a {@link submit}.
|
|
466
|
+
*/
|
|
467
|
+
sync(): void;
|
|
468
|
+
/**
|
|
469
|
+
* Creates a new texture buffer. It can be accessed with the RID that is returned.
|
|
470
|
+
* Once finished with your RID, you will want to free the RID using the RenderingDevice's {@link free_rid} method.
|
|
471
|
+
*/
|
|
472
|
+
texture_buffer_create(size_bytes: int, format: int, data?: PackedByteArray | Array<unknown>): RID;
|
|
473
|
+
/**
|
|
474
|
+
* Clears the specified `texture` by replacing all of its pixels with the specified `color`. `base_mipmap` and `mipmap_count` determine which mipmaps of the texture are affected by this clear operation, while `base_layer` and `layer_count` determine which layers of a 3D texture (or texture array) are affected by this clear operation. For 2D textures (which only have one layer by design), `base_layer` must be `0` and `layer_count` must be `1`.
|
|
475
|
+
* **Note:** `texture` can't be cleared while a draw list that uses it as part of a framebuffer is being created. Ensure the draw list is finalized (and that the color/depth texture using it is not set to {@link FINAL_ACTION_CONTINUE}) to clear this texture.
|
|
476
|
+
*/
|
|
477
|
+
texture_clear(texture: RID, color: Color, base_mipmap: int, mipmap_count: int, base_layer: int, layer_count: int): int;
|
|
478
|
+
/**
|
|
479
|
+
* Copies the `from_texture` to `to_texture` with the specified `from_pos`, `to_pos` and `size` coordinates. The Z axis of the `from_pos`, `to_pos` and `size` must be `0` for 2-dimensional textures. Source and destination mipmaps/layers must also be specified, with these parameters being `0` for textures without mipmaps or single-layer textures. Returns {@link @GlobalScope.OK} if the texture copy was successful or {@link @GlobalScope.ERR_INVALID_PARAMETER} otherwise.
|
|
480
|
+
* **Note:** `from_texture` texture can't be copied while a draw list that uses it as part of a framebuffer is being created. Ensure the draw list is finalized (and that the color/depth texture using it is not set to {@link FINAL_ACTION_CONTINUE}) to copy this texture.
|
|
481
|
+
* **Note:** `from_texture` texture requires the {@link TEXTURE_USAGE_CAN_COPY_FROM_BIT} to be retrieved.
|
|
482
|
+
* **Note:** `to_texture` can't be copied while a draw list that uses it as part of a framebuffer is being created. Ensure the draw list is finalized (and that the color/depth texture using it is not set to {@link FINAL_ACTION_CONTINUE}) to copy this texture.
|
|
483
|
+
* **Note:** `to_texture` requires the {@link TEXTURE_USAGE_CAN_COPY_TO_BIT} to be retrieved.
|
|
484
|
+
* **Note:** `from_texture` and `to_texture` must be of the same type (color or depth).
|
|
485
|
+
*/
|
|
486
|
+
texture_copy(from_texture: RID, to_texture: RID, from_pos: Vector3 | Vector3i, to_pos: Vector3 | Vector3i, size: Vector3 | Vector3i, src_mipmap: int, dst_mipmap: int, src_layer: int, dst_layer: int): int;
|
|
487
|
+
/**
|
|
488
|
+
* Creates a new texture. It can be accessed with the RID that is returned.
|
|
489
|
+
* Once finished with your RID, you will want to free the RID using the RenderingDevice's {@link free_rid} method.
|
|
490
|
+
* **Note:** `data` takes an {@link Array} of {@link PackedByteArray}s. For {@link TEXTURE_TYPE_1D}, {@link TEXTURE_TYPE_2D}, and {@link TEXTURE_TYPE_3D} types, this array should only have one element, a {@link PackedByteArray} containing all the data for the texture. For `_ARRAY` and `_CUBE` types, the length should be the same as the number of {@link RDTextureFormat.array_layers} in `format`.
|
|
491
|
+
* **Note:** Not to be confused with {@link RenderingServer.texture_2d_create}, which creates the Godot-specific {@link Texture2D} resource as opposed to the graphics API's own texture type.
|
|
492
|
+
*/
|
|
493
|
+
texture_create(format: RDTextureFormat, view: RDTextureView, data?: Array<PackedByteArray>): RID;
|
|
494
|
+
/**
|
|
495
|
+
* Returns an RID for an existing `image` (`VkImage`) with the given `type`, `format`, `samples`, `usage_flags`, `width`, `height`, `depth`, `layers`, and `mipmaps`. This can be used to allow Godot to render onto foreign images.
|
|
496
|
+
*/
|
|
497
|
+
texture_create_from_extension(type_: int, format: int, samples: int, usage_flags: int, image: int, width: int, height: int, depth: int, layers: int, mipmaps?: int): RID;
|
|
498
|
+
/**
|
|
499
|
+
* Creates a shared texture using the specified `view` and the texture information from `with_texture`.
|
|
500
|
+
* This will be freed automatically when the `with_texture` is freed.
|
|
501
|
+
*/
|
|
502
|
+
texture_create_shared(view: RDTextureView, with_texture: RID): RID;
|
|
503
|
+
/**
|
|
504
|
+
* Creates a shared texture using the specified `view` and the texture information from `with_texture`'s `layer` and `mipmap`. The number of included mipmaps from the original texture can be controlled using the `mipmaps` parameter. Only relevant for textures with multiple layers, such as 3D textures, texture arrays and cubemaps. For single-layer textures, use {@link texture_create_shared}.
|
|
505
|
+
* For 2D textures (which only have one layer), `layer` must be `0`.
|
|
506
|
+
* **Note:** Layer slicing is only supported for 2D texture arrays, not 3D textures or cubemaps.
|
|
507
|
+
* This will be freed automatically when the `with_texture` is freed.
|
|
508
|
+
*/
|
|
509
|
+
texture_create_shared_from_slice(view: RDTextureView, with_texture: RID, layer: int, mipmap: int, mipmaps?: int, slice_type?: int): RID;
|
|
510
|
+
/**
|
|
511
|
+
* Returns the `texture` data for the specified `layer` as raw binary data. For 2D textures (which only have one layer), `layer` must be `0`.
|
|
512
|
+
* **Note:** `texture` can't be retrieved while a draw list that uses it as part of a framebuffer is being created. Ensure the draw list is finalized (and that the color/depth texture using it is not set to {@link FINAL_ACTION_CONTINUE}) to retrieve this texture. Otherwise, an error is printed and an empty {@link PackedByteArray} is returned.
|
|
513
|
+
* **Note:** `texture` requires the {@link TEXTURE_USAGE_CAN_COPY_FROM_BIT} to be retrieved. Otherwise, an error is printed and an empty {@link PackedByteArray} is returned.
|
|
514
|
+
* **Note:** This method will block the GPU from working until the data is retrieved. Refer to {@link texture_get_data_async} for an alternative that returns the data in more performant way.
|
|
515
|
+
*/
|
|
516
|
+
texture_get_data(texture: RID, layer: int): PackedByteArray;
|
|
517
|
+
/**
|
|
518
|
+
* Asynchronous version of {@link texture_get_data}. RenderingDevice will call `callback` in a certain amount of frames with the data the texture had at the time of the request.
|
|
519
|
+
* **Note:** At the moment, the delay corresponds to the amount of frames specified by {@link ProjectSettings.rendering/rendering_device/vsync/frame_queue_size}.
|
|
520
|
+
* **Note:** Downloading large textures can have a prohibitive cost for real-time even when using the asynchronous method due to hardware bandwidth limitations. When dealing with large resources, you can adjust settings such as {@link ProjectSettings.rendering/rendering_device/staging_buffer/texture_download_region_size_px} and {@link ProjectSettings.rendering/rendering_device/staging_buffer/block_size_kb} to improve the transfer speed at the cost of extra memory.
|
|
521
|
+
*/
|
|
522
|
+
texture_get_data_async(texture: RID, layer: int, callback: Callable): int;
|
|
523
|
+
/** Returns the data format used to create this texture. */
|
|
524
|
+
texture_get_format(texture: RID): RDTextureFormat | null;
|
|
525
|
+
/**
|
|
526
|
+
* Returns the internal graphics handle for this texture object. For use when communicating with third-party APIs mostly with GDExtension.
|
|
527
|
+
* **Note:** This function returns a `uint64_t` which internally maps to a `GLuint` (OpenGL) or `VkImage` (Vulkan).
|
|
528
|
+
*/
|
|
529
|
+
texture_get_native_handle(texture: RID): int;
|
|
530
|
+
/**
|
|
531
|
+
* Returns `true` if the `texture` is discardable, `false` otherwise. See {@link RDTextureFormat} or {@link texture_set_discardable}.
|
|
532
|
+
*/
|
|
533
|
+
texture_is_discardable(texture: RID): boolean;
|
|
534
|
+
/**
|
|
535
|
+
* Returns `true` if the specified `format` is supported for the given `usage_flags`, `false` otherwise.
|
|
536
|
+
*/
|
|
537
|
+
texture_is_format_supported_for_usage(format: int, usage_flags: int): boolean;
|
|
538
|
+
/** Returns `true` if the `texture` is shared, `false` otherwise. See {@link RDTextureView}. */
|
|
539
|
+
texture_is_shared(texture: RID): boolean;
|
|
540
|
+
/** Returns `true` if the `texture` is valid, `false` otherwise. */
|
|
541
|
+
texture_is_valid(texture: RID): boolean;
|
|
542
|
+
/**
|
|
543
|
+
* Resolves the `from_texture` texture onto `to_texture` with multisample antialiasing enabled. This must be used when rendering a framebuffer for MSAA to work. Returns {@link @GlobalScope.OK} if successful, {@link @GlobalScope.ERR_INVALID_PARAMETER} otherwise.
|
|
544
|
+
* **Note:** `from_texture` and `to_texture` textures must have the same dimension, format and type (color or depth).
|
|
545
|
+
* **Note:** `from_texture` can't be copied while a draw list that uses it as part of a framebuffer is being created. Ensure the draw list is finalized (and that the color/depth texture using it is not set to {@link FINAL_ACTION_CONTINUE}) to resolve this texture.
|
|
546
|
+
* **Note:** `from_texture` requires the {@link TEXTURE_USAGE_CAN_COPY_FROM_BIT} to be retrieved.
|
|
547
|
+
* **Note:** `from_texture` must be multisampled and must also be 2D (or a slice of a 3D/cubemap texture).
|
|
548
|
+
* **Note:** `to_texture` can't be copied while a draw list that uses it as part of a framebuffer is being created. Ensure the draw list is finalized (and that the color/depth texture using it is not set to {@link FINAL_ACTION_CONTINUE}) to resolve this texture.
|
|
549
|
+
* **Note:** `to_texture` texture requires the {@link TEXTURE_USAGE_CAN_COPY_TO_BIT} to be retrieved.
|
|
550
|
+
* **Note:** `to_texture` texture must **not** be multisampled and must also be 2D (or a slice of a 3D/cubemap texture).
|
|
551
|
+
*/
|
|
552
|
+
texture_resolve_multisample(from_texture: RID, to_texture: RID): int;
|
|
553
|
+
/**
|
|
554
|
+
* Updates the discardable property of `texture`.
|
|
555
|
+
* If a texture is discardable, its contents do not need to be preserved between frames. This flag is only relevant when the texture is used as target in a draw list.
|
|
556
|
+
* This information is used by {@link RenderingDevice} to figure out if a texture's contents can be discarded, eliminating unnecessary writes to memory and boosting performance.
|
|
557
|
+
*/
|
|
558
|
+
texture_set_discardable(texture: RID, discardable: boolean): void;
|
|
559
|
+
/**
|
|
560
|
+
* Updates texture data with new data, replacing the previous data in place. The updated texture data must have the same dimensions and format. For 2D textures (which only have one layer), `layer` must be `0`. Returns {@link @GlobalScope.OK} if the update was successful, {@link @GlobalScope.ERR_INVALID_PARAMETER} otherwise.
|
|
561
|
+
* **Note:** Updating textures is forbidden during creation of a draw or compute list.
|
|
562
|
+
* **Note:** The existing `texture` can't be updated while a draw list that uses it as part of a framebuffer is being created. Ensure the draw list is finalized (and that the color/depth texture using it is not set to {@link FINAL_ACTION_CONTINUE}) to update this texture.
|
|
563
|
+
* **Note:** The existing `texture` requires the {@link TEXTURE_USAGE_CAN_UPDATE_BIT} to be updatable.
|
|
564
|
+
*/
|
|
565
|
+
texture_update(texture: RID, layer: int, data: PackedByteArray | Array<unknown>): int;
|
|
566
|
+
/**
|
|
567
|
+
* Creates a new Top Level Acceleration Structure. It can be accessed with the RID that is returned.
|
|
568
|
+
* The instances buffer passed as input is expected to be filled before building the TLAS.
|
|
569
|
+
* Once finished with your RID, you will want to free the RID using the RenderingDevice's {@link free_rid} method.
|
|
570
|
+
*/
|
|
571
|
+
tlas_create(instances_buffer: RID): RID;
|
|
572
|
+
/**
|
|
573
|
+
* Creates a new instances buffer which can be used to create a TLAS. It can be accessed with the RID that is returned.
|
|
574
|
+
* Once finished with your RID, you will want to free the RID using the RenderingDevice's {@link free_rid} method.
|
|
575
|
+
*/
|
|
576
|
+
tlas_instances_buffer_create(instance_count: int, creation_bits: int): RID;
|
|
577
|
+
/**
|
|
578
|
+
* Fills the content of an instances buffer. The number of BLASes and transforms passed as input should be the same and should equal the instance count used at instance buffer creation time.
|
|
579
|
+
*/
|
|
580
|
+
tlas_instances_buffer_fill(instances_buffer: RID, blases: Array<RID>, transforms: Array<Transform3D>): void;
|
|
581
|
+
/**
|
|
582
|
+
* Creates a new uniform buffer. It can be accessed with the RID that is returned.
|
|
583
|
+
* Once finished with your RID, you will want to free the RID using the RenderingDevice's {@link free_rid} method.
|
|
584
|
+
*/
|
|
585
|
+
uniform_buffer_create(size_bytes: int, data?: PackedByteArray | Array<unknown>, creation_bits?: int): RID;
|
|
586
|
+
/**
|
|
587
|
+
* Creates a new uniform set. It can be accessed with the RID that is returned.
|
|
588
|
+
* Once finished with your RID, you will want to free the RID using the RenderingDevice's {@link free_rid} method.
|
|
589
|
+
* This will be freed automatically when the `shader` or any of the RIDs in the `uniforms` is freed.
|
|
590
|
+
*/
|
|
591
|
+
uniform_set_create(uniforms: Array<RDUniform>, shader: RID, shader_set: int): RID;
|
|
592
|
+
/** Checks if the `uniform_set` is valid, i.e. is owned. */
|
|
593
|
+
uniform_set_is_valid(uniform_set: RID): boolean;
|
|
594
|
+
/**
|
|
595
|
+
* Creates a vertex array based on the specified buffers. Optionally, `offsets` (in bytes) may be defined for each buffer.
|
|
596
|
+
* Once finished with your RID, you will want to free the RID using the RenderingDevice's {@link free_rid} method.
|
|
597
|
+
* This will be freed automatically when any of the `src_buffers` is freed.
|
|
598
|
+
*/
|
|
599
|
+
vertex_array_create(vertex_count: int, vertex_format: int, src_buffers: Array<RID>, offsets?: PackedInt64Array | Array<unknown>): RID;
|
|
600
|
+
/**
|
|
601
|
+
* Creates a new vertex buffer. It can be accessed with the RID that is returned.
|
|
602
|
+
* Once finished with your RID, you will want to free the RID using the RenderingDevice's {@link free_rid} method.
|
|
603
|
+
*/
|
|
604
|
+
vertex_buffer_create(size_bytes: int, data?: PackedByteArray | Array<unknown>, creation_bits?: int): RID;
|
|
605
|
+
/**
|
|
606
|
+
* Creates a new vertex format with the specified `vertex_descriptions`. Returns a unique vertex format ID corresponding to the newly created vertex format.
|
|
607
|
+
*/
|
|
608
|
+
vertex_format_create(vertex_descriptions: Array<RDVertexAttribute>): int;
|
|
609
|
+
|
|
610
|
+
// enum DeviceType
|
|
611
|
+
/** Rendering device type does not match any of the other enum values or is unknown. */
|
|
612
|
+
static readonly DEVICE_TYPE_OTHER: int;
|
|
613
|
+
/**
|
|
614
|
+
* Rendering device is an integrated GPU, which is typically *(but not always)* slower than dedicated GPUs ({@link DEVICE_TYPE_DISCRETE_GPU}). On Android and iOS, the rendering device type is always considered to be {@link DEVICE_TYPE_INTEGRATED_GPU}.
|
|
615
|
+
*/
|
|
616
|
+
static readonly DEVICE_TYPE_INTEGRATED_GPU: int;
|
|
617
|
+
/**
|
|
618
|
+
* Rendering device is a dedicated GPU, which is typically *(but not always)* faster than integrated GPUs ({@link DEVICE_TYPE_INTEGRATED_GPU}).
|
|
619
|
+
*/
|
|
620
|
+
static readonly DEVICE_TYPE_DISCRETE_GPU: int;
|
|
621
|
+
/**
|
|
622
|
+
* Rendering device is an emulated GPU in a virtual environment. This is typically much slower than the host GPU, which means the expected performance level on a dedicated GPU will be roughly equivalent to {@link DEVICE_TYPE_INTEGRATED_GPU}. Virtual machine GPU passthrough (such as VFIO) will not report the device type as {@link DEVICE_TYPE_VIRTUAL_GPU}. Instead, the host GPU's device type will be reported as if the GPU was not emulated.
|
|
623
|
+
*/
|
|
624
|
+
static readonly DEVICE_TYPE_VIRTUAL_GPU: int;
|
|
625
|
+
/**
|
|
626
|
+
* Rendering device is provided by software emulation (such as Lavapipe or SwiftShader (https://github.com/google/swiftshader)). This is the slowest kind of rendering device available; it's typically much slower than {@link DEVICE_TYPE_INTEGRATED_GPU}.
|
|
627
|
+
*/
|
|
628
|
+
static readonly DEVICE_TYPE_CPU: int;
|
|
629
|
+
/** Represents the size of the {@link DeviceType} enum. */
|
|
630
|
+
static readonly DEVICE_TYPE_MAX: int;
|
|
631
|
+
// enum DriverResource
|
|
632
|
+
/**
|
|
633
|
+
* Specific device object based on a physical device (`rid` parameter is ignored).
|
|
634
|
+
* - Vulkan: Vulkan device driver resource (`VkDevice`).
|
|
635
|
+
* - D3D12: D3D12 device driver resource (`ID3D12Device`).
|
|
636
|
+
* - Metal: Metal device driver resource (`MTLDevice`).
|
|
637
|
+
*/
|
|
638
|
+
static readonly DRIVER_RESOURCE_LOGICAL_DEVICE: int;
|
|
639
|
+
/**
|
|
640
|
+
* Physical device the specific logical device is based on (`rid` parameter is ignored).
|
|
641
|
+
* - Vulkan: `VkPhysicalDevice`.
|
|
642
|
+
* - D3D12: `IDXGIAdapter`.
|
|
643
|
+
*/
|
|
644
|
+
static readonly DRIVER_RESOURCE_PHYSICAL_DEVICE: int;
|
|
645
|
+
/**
|
|
646
|
+
* Top-most graphics API entry object (`rid` parameter is ignored).
|
|
647
|
+
* - Vulkan: `VkInstance`.
|
|
648
|
+
*/
|
|
649
|
+
static readonly DRIVER_RESOURCE_TOPMOST_OBJECT: int;
|
|
650
|
+
/**
|
|
651
|
+
* The main graphics-compute command queue (`rid` parameter is ignored).
|
|
652
|
+
* - Vulkan: `VkQueue`.
|
|
653
|
+
* - D3D12: `ID3D12CommandQueue`.
|
|
654
|
+
* - Metal: `MTLCommandQueue`.
|
|
655
|
+
*/
|
|
656
|
+
static readonly DRIVER_RESOURCE_COMMAND_QUEUE: int;
|
|
657
|
+
/**
|
|
658
|
+
* The specific family the main queue belongs to (`rid` parameter is ignored).
|
|
659
|
+
* - Vulkan: The queue family index, a `uint32_t`.
|
|
660
|
+
*/
|
|
661
|
+
static readonly DRIVER_RESOURCE_QUEUE_FAMILY: int;
|
|
662
|
+
/**
|
|
663
|
+
* - Vulkan: `VkImage`.
|
|
664
|
+
* - D3D12: `ID3D12Resource`.
|
|
665
|
+
*/
|
|
666
|
+
static readonly DRIVER_RESOURCE_TEXTURE: int;
|
|
667
|
+
/**
|
|
668
|
+
* The view of an owned or shared texture.
|
|
669
|
+
* - Vulkan: `VkImageView`.
|
|
670
|
+
* - D3D12: `ID3D12Resource`.
|
|
671
|
+
*/
|
|
672
|
+
static readonly DRIVER_RESOURCE_TEXTURE_VIEW: int;
|
|
673
|
+
/**
|
|
674
|
+
* The native id of the data format of the texture.
|
|
675
|
+
* - Vulkan: `VkFormat`.
|
|
676
|
+
* - D3D12: `DXGI_FORMAT`.
|
|
677
|
+
*/
|
|
678
|
+
static readonly DRIVER_RESOURCE_TEXTURE_DATA_FORMAT: int;
|
|
679
|
+
/** - Vulkan: `VkSampler`. */
|
|
680
|
+
static readonly DRIVER_RESOURCE_SAMPLER: int;
|
|
681
|
+
/** - Vulkan: `VkDescriptorSet`. */
|
|
682
|
+
static readonly DRIVER_RESOURCE_UNIFORM_SET: int;
|
|
683
|
+
/**
|
|
684
|
+
* Buffer of any kind of (storage, vertex, etc.).
|
|
685
|
+
* - Vulkan: `VkBuffer`.
|
|
686
|
+
* - D3D12: `ID3D12Resource`.
|
|
687
|
+
*/
|
|
688
|
+
static readonly DRIVER_RESOURCE_BUFFER: int;
|
|
689
|
+
/**
|
|
690
|
+
* - Vulkan: `VkPipeline`.
|
|
691
|
+
* - Metal: `MTLComputePipelineState`.
|
|
692
|
+
*/
|
|
693
|
+
static readonly DRIVER_RESOURCE_COMPUTE_PIPELINE: int;
|
|
694
|
+
/**
|
|
695
|
+
* - Vulkan: `VkPipeline`.
|
|
696
|
+
* - Metal: `MTLRenderPipelineState`.
|
|
697
|
+
*/
|
|
698
|
+
static readonly DRIVER_RESOURCE_RENDER_PIPELINE: int;
|
|
699
|
+
static readonly DRIVER_RESOURCE_VULKAN_DEVICE: int;
|
|
700
|
+
static readonly DRIVER_RESOURCE_VULKAN_PHYSICAL_DEVICE: int;
|
|
701
|
+
static readonly DRIVER_RESOURCE_VULKAN_INSTANCE: int;
|
|
702
|
+
static readonly DRIVER_RESOURCE_VULKAN_QUEUE: int;
|
|
703
|
+
static readonly DRIVER_RESOURCE_VULKAN_QUEUE_FAMILY_INDEX: int;
|
|
704
|
+
static readonly DRIVER_RESOURCE_VULKAN_IMAGE: int;
|
|
705
|
+
static readonly DRIVER_RESOURCE_VULKAN_IMAGE_VIEW: int;
|
|
706
|
+
static readonly DRIVER_RESOURCE_VULKAN_IMAGE_NATIVE_TEXTURE_FORMAT: int;
|
|
707
|
+
static readonly DRIVER_RESOURCE_VULKAN_SAMPLER: int;
|
|
708
|
+
static readonly DRIVER_RESOURCE_VULKAN_DESCRIPTOR_SET: int;
|
|
709
|
+
static readonly DRIVER_RESOURCE_VULKAN_BUFFER: int;
|
|
710
|
+
static readonly DRIVER_RESOURCE_VULKAN_COMPUTE_PIPELINE: int;
|
|
711
|
+
static readonly DRIVER_RESOURCE_VULKAN_RENDER_PIPELINE: int;
|
|
712
|
+
// enum DataFormat
|
|
713
|
+
/**
|
|
714
|
+
* 4-bit-per-channel red/green channel data format, packed into 8 bits. Values are in the `[0.0, 1.0]` range.
|
|
715
|
+
* **Note:** More information on all data formats can be found on the Identification of formats (https://registry.khronos.org/vulkan/specs/1.1/html/vkspec.html#_identification_of_formats) section of the Vulkan specification, as well as the VkFormat (https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkFormat.html) enum.
|
|
716
|
+
*/
|
|
717
|
+
static readonly DATA_FORMAT_R4G4_UNORM_PACK8: int;
|
|
718
|
+
/**
|
|
719
|
+
* 4-bit-per-channel red/green/blue/alpha channel data format, packed into 16 bits. Values are in the `[0.0, 1.0]` range.
|
|
720
|
+
*/
|
|
721
|
+
static readonly DATA_FORMAT_R4G4B4A4_UNORM_PACK16: int;
|
|
722
|
+
/**
|
|
723
|
+
* 4-bit-per-channel blue/green/red/alpha channel data format, packed into 16 bits. Values are in the `[0.0, 1.0]` range.
|
|
724
|
+
*/
|
|
725
|
+
static readonly DATA_FORMAT_B4G4R4A4_UNORM_PACK16: int;
|
|
726
|
+
/**
|
|
727
|
+
* Red/green/blue channel data format with 5 bits of red, 6 bits of green and 5 bits of blue, packed into 16 bits. Values are in the `[0.0, 1.0]` range.
|
|
728
|
+
*/
|
|
729
|
+
static readonly DATA_FORMAT_R5G6B5_UNORM_PACK16: int;
|
|
730
|
+
/**
|
|
731
|
+
* Blue/green/red channel data format with 5 bits of blue, 6 bits of green and 5 bits of red, packed into 16 bits. Values are in the `[0.0, 1.0]` range.
|
|
732
|
+
*/
|
|
733
|
+
static readonly DATA_FORMAT_B5G6R5_UNORM_PACK16: int;
|
|
734
|
+
/**
|
|
735
|
+
* Red/green/blue/alpha channel data format with 5 bits of red, 6 bits of green, 5 bits of blue and 1 bit of alpha, packed into 16 bits. Values are in the `[0.0, 1.0]` range.
|
|
736
|
+
*/
|
|
737
|
+
static readonly DATA_FORMAT_R5G5B5A1_UNORM_PACK16: int;
|
|
738
|
+
/**
|
|
739
|
+
* Blue/green/red/alpha channel data format with 5 bits of blue, 6 bits of green, 5 bits of red and 1 bit of alpha, packed into 16 bits. Values are in the `[0.0, 1.0]` range.
|
|
740
|
+
*/
|
|
741
|
+
static readonly DATA_FORMAT_B5G5R5A1_UNORM_PACK16: int;
|
|
742
|
+
/**
|
|
743
|
+
* Alpha/red/green/blue channel data format with 1 bit of alpha, 5 bits of red, 6 bits of green and 5 bits of blue, packed into 16 bits. Values are in the `[0.0, 1.0]` range.
|
|
744
|
+
*/
|
|
745
|
+
static readonly DATA_FORMAT_A1R5G5B5_UNORM_PACK16: int;
|
|
746
|
+
/**
|
|
747
|
+
* 8-bit-per-channel unsigned floating-point red channel data format with normalized value. Values are in the `[0.0, 1.0]` range.
|
|
748
|
+
*/
|
|
749
|
+
static readonly DATA_FORMAT_R8_UNORM: int;
|
|
750
|
+
/**
|
|
751
|
+
* 8-bit-per-channel signed floating-point red channel data format with normalized value. Values are in the `[-1.0, 1.0]` range.
|
|
752
|
+
*/
|
|
753
|
+
static readonly DATA_FORMAT_R8_SNORM: int;
|
|
754
|
+
/**
|
|
755
|
+
* 8-bit-per-channel unsigned floating-point red channel data format with scaled value (value is converted from integer to float). Values are in the `[0.0, 255.0]` range.
|
|
756
|
+
*/
|
|
757
|
+
static readonly DATA_FORMAT_R8_USCALED: int;
|
|
758
|
+
/**
|
|
759
|
+
* 8-bit-per-channel signed floating-point red channel data format with scaled value (value is converted from integer to float). Values are in the `[-127.0, 127.0]` range.
|
|
760
|
+
*/
|
|
761
|
+
static readonly DATA_FORMAT_R8_SSCALED: int;
|
|
762
|
+
/** 8-bit-per-channel unsigned integer red channel data format. Values are in the `[0, 255]` range. */
|
|
763
|
+
static readonly DATA_FORMAT_R8_UINT: int;
|
|
764
|
+
/** 8-bit-per-channel signed integer red channel data format. Values are in the `[-127, 127]` range. */
|
|
765
|
+
static readonly DATA_FORMAT_R8_SINT: int;
|
|
766
|
+
/**
|
|
767
|
+
* 8-bit-per-channel unsigned floating-point red channel data format with normalized value and nonlinear sRGB encoding. Values are in the `[0.0, 1.0]` range.
|
|
768
|
+
*/
|
|
769
|
+
static readonly DATA_FORMAT_R8_SRGB: int;
|
|
770
|
+
/**
|
|
771
|
+
* 8-bit-per-channel unsigned floating-point red/green channel data format with normalized value. Values are in the `[0.0, 1.0]` range.
|
|
772
|
+
*/
|
|
773
|
+
static readonly DATA_FORMAT_R8G8_UNORM: int;
|
|
774
|
+
/**
|
|
775
|
+
* 8-bit-per-channel signed floating-point red/green channel data format with normalized value. Values are in the `[-1.0, 1.0]` range.
|
|
776
|
+
*/
|
|
777
|
+
static readonly DATA_FORMAT_R8G8_SNORM: int;
|
|
778
|
+
/**
|
|
779
|
+
* 8-bit-per-channel unsigned floating-point red/green channel data format with scaled value (value is converted from integer to float). Values are in the `[0.0, 255.0]` range.
|
|
780
|
+
*/
|
|
781
|
+
static readonly DATA_FORMAT_R8G8_USCALED: int;
|
|
782
|
+
/**
|
|
783
|
+
* 8-bit-per-channel signed floating-point red/green channel data format with scaled value (value is converted from integer to float). Values are in the `[-127.0, 127.0]` range.
|
|
784
|
+
*/
|
|
785
|
+
static readonly DATA_FORMAT_R8G8_SSCALED: int;
|
|
786
|
+
/**
|
|
787
|
+
* 8-bit-per-channel unsigned integer red/green channel data format. Values are in the `[0, 255]` range.
|
|
788
|
+
*/
|
|
789
|
+
static readonly DATA_FORMAT_R8G8_UINT: int;
|
|
790
|
+
/**
|
|
791
|
+
* 8-bit-per-channel signed integer red/green channel data format. Values are in the `[-127, 127]` range.
|
|
792
|
+
*/
|
|
793
|
+
static readonly DATA_FORMAT_R8G8_SINT: int;
|
|
794
|
+
/**
|
|
795
|
+
* 8-bit-per-channel unsigned floating-point red/green channel data format with normalized value and nonlinear sRGB encoding. Values are in the `[0.0, 1.0]` range.
|
|
796
|
+
*/
|
|
797
|
+
static readonly DATA_FORMAT_R8G8_SRGB: int;
|
|
798
|
+
/**
|
|
799
|
+
* 8-bit-per-channel unsigned floating-point red/green/blue channel data format with normalized value. Values are in the `[0.0, 1.0]` range.
|
|
800
|
+
*/
|
|
801
|
+
static readonly DATA_FORMAT_R8G8B8_UNORM: int;
|
|
802
|
+
/**
|
|
803
|
+
* 8-bit-per-channel signed floating-point red/green/blue channel data format with normalized value. Values are in the `[-1.0, 1.0]` range.
|
|
804
|
+
*/
|
|
805
|
+
static readonly DATA_FORMAT_R8G8B8_SNORM: int;
|
|
806
|
+
/**
|
|
807
|
+
* 8-bit-per-channel unsigned floating-point red/green/blue channel data format with scaled value (value is converted from integer to float). Values are in the `[0.0, 255.0]` range.
|
|
808
|
+
*/
|
|
809
|
+
static readonly DATA_FORMAT_R8G8B8_USCALED: int;
|
|
810
|
+
/**
|
|
811
|
+
* 8-bit-per-channel signed floating-point red/green/blue channel data format with scaled value (value is converted from integer to float). Values are in the `[-127.0, 127.0]` range.
|
|
812
|
+
*/
|
|
813
|
+
static readonly DATA_FORMAT_R8G8B8_SSCALED: int;
|
|
814
|
+
/**
|
|
815
|
+
* 8-bit-per-channel unsigned integer red/green/blue channel data format. Values are in the `[0, 255]` range.
|
|
816
|
+
*/
|
|
817
|
+
static readonly DATA_FORMAT_R8G8B8_UINT: int;
|
|
818
|
+
/**
|
|
819
|
+
* 8-bit-per-channel signed integer red/green/blue channel data format. Values are in the `[-127, 127]` range.
|
|
820
|
+
*/
|
|
821
|
+
static readonly DATA_FORMAT_R8G8B8_SINT: int;
|
|
822
|
+
/**
|
|
823
|
+
* 8-bit-per-channel unsigned floating-point red/green/blue channel data format with normalized value and nonlinear sRGB encoding. Values are in the `[0.0, 1.0]` range.
|
|
824
|
+
*/
|
|
825
|
+
static readonly DATA_FORMAT_R8G8B8_SRGB: int;
|
|
826
|
+
/**
|
|
827
|
+
* 8-bit-per-channel unsigned floating-point blue/green/red channel data format with normalized value. Values are in the `[0.0, 1.0]` range.
|
|
828
|
+
*/
|
|
829
|
+
static readonly DATA_FORMAT_B8G8R8_UNORM: int;
|
|
830
|
+
/**
|
|
831
|
+
* 8-bit-per-channel signed floating-point blue/green/red channel data format with normalized value. Values are in the `[-1.0, 1.0]` range.
|
|
832
|
+
*/
|
|
833
|
+
static readonly DATA_FORMAT_B8G8R8_SNORM: int;
|
|
834
|
+
/**
|
|
835
|
+
* 8-bit-per-channel unsigned floating-point blue/green/red channel data format with scaled value (value is converted from integer to float). Values are in the `[0.0, 255.0]` range.
|
|
836
|
+
*/
|
|
837
|
+
static readonly DATA_FORMAT_B8G8R8_USCALED: int;
|
|
838
|
+
/**
|
|
839
|
+
* 8-bit-per-channel signed floating-point blue/green/red channel data format with scaled value (value is converted from integer to float). Values are in the `[-127.0, 127.0]` range.
|
|
840
|
+
*/
|
|
841
|
+
static readonly DATA_FORMAT_B8G8R8_SSCALED: int;
|
|
842
|
+
/**
|
|
843
|
+
* 8-bit-per-channel unsigned integer blue/green/red channel data format. Values are in the `[0, 255]` range.
|
|
844
|
+
*/
|
|
845
|
+
static readonly DATA_FORMAT_B8G8R8_UINT: int;
|
|
846
|
+
/**
|
|
847
|
+
* 8-bit-per-channel signed integer blue/green/red channel data format. Values are in the `[-127, 127]` range.
|
|
848
|
+
*/
|
|
849
|
+
static readonly DATA_FORMAT_B8G8R8_SINT: int;
|
|
850
|
+
/**
|
|
851
|
+
* 8-bit-per-channel unsigned floating-point blue/green/red data format with normalized value and nonlinear sRGB encoding. Values are in the `[0.0, 1.0]` range.
|
|
852
|
+
*/
|
|
853
|
+
static readonly DATA_FORMAT_B8G8R8_SRGB: int;
|
|
854
|
+
/**
|
|
855
|
+
* 8-bit-per-channel unsigned floating-point red/green/blue/alpha channel data format with normalized value. Values are in the `[0.0, 1.0]` range.
|
|
856
|
+
*/
|
|
857
|
+
static readonly DATA_FORMAT_R8G8B8A8_UNORM: int;
|
|
858
|
+
/**
|
|
859
|
+
* 8-bit-per-channel signed floating-point red/green/blue/alpha channel data format with normalized value. Values are in the `[-1.0, 1.0]` range.
|
|
860
|
+
*/
|
|
861
|
+
static readonly DATA_FORMAT_R8G8B8A8_SNORM: int;
|
|
862
|
+
/**
|
|
863
|
+
* 8-bit-per-channel unsigned floating-point red/green/blue/alpha channel data format with scaled value (value is converted from integer to float). Values are in the `[0.0, 255.0]` range.
|
|
864
|
+
*/
|
|
865
|
+
static readonly DATA_FORMAT_R8G8B8A8_USCALED: int;
|
|
866
|
+
/**
|
|
867
|
+
* 8-bit-per-channel signed floating-point red/green/blue/alpha channel data format with scaled value (value is converted from integer to float). Values are in the `[-127.0, 127.0]` range.
|
|
868
|
+
*/
|
|
869
|
+
static readonly DATA_FORMAT_R8G8B8A8_SSCALED: int;
|
|
870
|
+
/**
|
|
871
|
+
* 8-bit-per-channel unsigned integer red/green/blue/alpha channel data format. Values are in the `[0, 255]` range.
|
|
872
|
+
*/
|
|
873
|
+
static readonly DATA_FORMAT_R8G8B8A8_UINT: int;
|
|
874
|
+
/**
|
|
875
|
+
* 8-bit-per-channel signed integer red/green/blue/alpha channel data format. Values are in the `[-127, 127]` range.
|
|
876
|
+
*/
|
|
877
|
+
static readonly DATA_FORMAT_R8G8B8A8_SINT: int;
|
|
878
|
+
/**
|
|
879
|
+
* 8-bit-per-channel unsigned floating-point red/green/blue/alpha channel data format with normalized value and nonlinear sRGB encoding. Values are in the `[0.0, 1.0]` range.
|
|
880
|
+
*/
|
|
881
|
+
static readonly DATA_FORMAT_R8G8B8A8_SRGB: int;
|
|
882
|
+
/**
|
|
883
|
+
* 8-bit-per-channel unsigned floating-point blue/green/red/alpha channel data format with normalized value. Values are in the `[0.0, 1.0]` range.
|
|
884
|
+
*/
|
|
885
|
+
static readonly DATA_FORMAT_B8G8R8A8_UNORM: int;
|
|
886
|
+
/**
|
|
887
|
+
* 8-bit-per-channel signed floating-point blue/green/red/alpha channel data format with normalized value. Values are in the `[-1.0, 1.0]` range.
|
|
888
|
+
*/
|
|
889
|
+
static readonly DATA_FORMAT_B8G8R8A8_SNORM: int;
|
|
890
|
+
/**
|
|
891
|
+
* 8-bit-per-channel unsigned floating-point blue/green/red/alpha channel data format with scaled value (value is converted from integer to float). Values are in the `[0.0, 255.0]` range.
|
|
892
|
+
*/
|
|
893
|
+
static readonly DATA_FORMAT_B8G8R8A8_USCALED: int;
|
|
894
|
+
/**
|
|
895
|
+
* 8-bit-per-channel signed floating-point blue/green/red/alpha channel data format with scaled value (value is converted from integer to float). Values are in the `[-127.0, 127.0]` range.
|
|
896
|
+
*/
|
|
897
|
+
static readonly DATA_FORMAT_B8G8R8A8_SSCALED: int;
|
|
898
|
+
/**
|
|
899
|
+
* 8-bit-per-channel unsigned integer blue/green/red/alpha channel data format. Values are in the `[0, 255]` range.
|
|
900
|
+
*/
|
|
901
|
+
static readonly DATA_FORMAT_B8G8R8A8_UINT: int;
|
|
902
|
+
/**
|
|
903
|
+
* 8-bit-per-channel signed integer blue/green/red/alpha channel data format. Values are in the `[-127, 127]` range.
|
|
904
|
+
*/
|
|
905
|
+
static readonly DATA_FORMAT_B8G8R8A8_SINT: int;
|
|
906
|
+
/**
|
|
907
|
+
* 8-bit-per-channel unsigned floating-point blue/green/red/alpha channel data format with normalized value and nonlinear sRGB encoding. Values are in the `[0.0, 1.0]` range.
|
|
908
|
+
*/
|
|
909
|
+
static readonly DATA_FORMAT_B8G8R8A8_SRGB: int;
|
|
910
|
+
/**
|
|
911
|
+
* 8-bit-per-channel unsigned floating-point alpha/red/green/blue channel data format with normalized value, packed in 32 bits. Values are in the `[0.0, 1.0]` range.
|
|
912
|
+
*/
|
|
913
|
+
static readonly DATA_FORMAT_A8B8G8R8_UNORM_PACK32: int;
|
|
914
|
+
/**
|
|
915
|
+
* 8-bit-per-channel signed floating-point alpha/red/green/blue channel data format with normalized value, packed in 32 bits. Values are in the `[-1.0, 1.0]` range.
|
|
916
|
+
*/
|
|
917
|
+
static readonly DATA_FORMAT_A8B8G8R8_SNORM_PACK32: int;
|
|
918
|
+
/**
|
|
919
|
+
* 8-bit-per-channel unsigned floating-point alpha/red/green/blue channel data format with scaled value (value is converted from integer to float), packed in 32 bits. Values are in the `[0.0, 255.0]` range.
|
|
920
|
+
*/
|
|
921
|
+
static readonly DATA_FORMAT_A8B8G8R8_USCALED_PACK32: int;
|
|
922
|
+
/**
|
|
923
|
+
* 8-bit-per-channel signed floating-point alpha/red/green/blue channel data format with scaled value (value is converted from integer to float), packed in 32 bits. Values are in the `[-127.0, 127.0]` range.
|
|
924
|
+
*/
|
|
925
|
+
static readonly DATA_FORMAT_A8B8G8R8_SSCALED_PACK32: int;
|
|
926
|
+
/**
|
|
927
|
+
* 8-bit-per-channel unsigned integer alpha/red/green/blue channel data format, packed in 32 bits. Values are in the `[0, 255]` range.
|
|
928
|
+
*/
|
|
929
|
+
static readonly DATA_FORMAT_A8B8G8R8_UINT_PACK32: int;
|
|
930
|
+
/**
|
|
931
|
+
* 8-bit-per-channel signed integer alpha/red/green/blue channel data format, packed in 32 bits. Values are in the `[-127, 127]` range.
|
|
932
|
+
*/
|
|
933
|
+
static readonly DATA_FORMAT_A8B8G8R8_SINT_PACK32: int;
|
|
934
|
+
/**
|
|
935
|
+
* 8-bit-per-channel unsigned floating-point alpha/red/green/blue channel data format with normalized value and nonlinear sRGB encoding, packed in 32 bits. Values are in the `[0.0, 1.0]` range.
|
|
936
|
+
*/
|
|
937
|
+
static readonly DATA_FORMAT_A8B8G8R8_SRGB_PACK32: int;
|
|
938
|
+
/**
|
|
939
|
+
* Unsigned floating-point alpha/red/green/blue channel data format with normalized value, packed in 32 bits. Format contains 2 bits of alpha, 10 bits of red, 10 bits of green and 10 bits of blue. Values are in the `[0.0, 1.0]` range.
|
|
940
|
+
*/
|
|
941
|
+
static readonly DATA_FORMAT_A2R10G10B10_UNORM_PACK32: int;
|
|
942
|
+
/**
|
|
943
|
+
* Signed floating-point alpha/red/green/blue channel data format with normalized value, packed in 32 bits. Format contains 2 bits of alpha, 10 bits of red, 10 bits of green and 10 bits of blue. Values are in the `[-1.0, 1.0]` range.
|
|
944
|
+
*/
|
|
945
|
+
static readonly DATA_FORMAT_A2R10G10B10_SNORM_PACK32: int;
|
|
946
|
+
/**
|
|
947
|
+
* Unsigned floating-point alpha/red/green/blue channel data format with normalized value, packed in 32 bits. Format contains 2 bits of alpha, 10 bits of red, 10 bits of green and 10 bits of blue. Values are in the `[0.0, 1023.0]` range for red/green/blue and `[0.0, 3.0]` for alpha.
|
|
948
|
+
*/
|
|
949
|
+
static readonly DATA_FORMAT_A2R10G10B10_USCALED_PACK32: int;
|
|
950
|
+
/**
|
|
951
|
+
* Signed floating-point alpha/red/green/blue channel data format with normalized value, packed in 32 bits. Format contains 2 bits of alpha, 10 bits of red, 10 bits of green and 10 bits of blue. Values are in the `[-511.0, 511.0]` range for red/green/blue and `[-1.0, 1.0]` for alpha.
|
|
952
|
+
*/
|
|
953
|
+
static readonly DATA_FORMAT_A2R10G10B10_SSCALED_PACK32: int;
|
|
954
|
+
/**
|
|
955
|
+
* Unsigned integer alpha/red/green/blue channel data format with normalized value, packed in 32 bits. Format contains 2 bits of alpha, 10 bits of red, 10 bits of green and 10 bits of blue. Values are in the `[0, 1023]` range for red/green/blue and `[0, 3]` for alpha.
|
|
956
|
+
*/
|
|
957
|
+
static readonly DATA_FORMAT_A2R10G10B10_UINT_PACK32: int;
|
|
958
|
+
/**
|
|
959
|
+
* Signed integer alpha/red/green/blue channel data format with normalized value, packed in 32 bits. Format contains 2 bits of alpha, 10 bits of red, 10 bits of green and 10 bits of blue. Values are in the `[-511, 511]` range for red/green/blue and `[-1, 1]` for alpha.
|
|
960
|
+
*/
|
|
961
|
+
static readonly DATA_FORMAT_A2R10G10B10_SINT_PACK32: int;
|
|
962
|
+
/**
|
|
963
|
+
* Unsigned floating-point alpha/blue/green/red channel data format with normalized value, packed in 32 bits. Format contains 2 bits of alpha, 10 bits of blue, 10 bits of green and 10 bits of red. Values are in the `[0.0, 1.0]` range.
|
|
964
|
+
*/
|
|
965
|
+
static readonly DATA_FORMAT_A2B10G10R10_UNORM_PACK32: int;
|
|
966
|
+
/**
|
|
967
|
+
* Signed floating-point alpha/blue/green/red channel data format with normalized value, packed in 32 bits. Format contains 2 bits of alpha, 10 bits of blue, 10 bits of green and 10 bits of red. Values are in the `[-1.0, 1.0]` range.
|
|
968
|
+
*/
|
|
969
|
+
static readonly DATA_FORMAT_A2B10G10R10_SNORM_PACK32: int;
|
|
970
|
+
/**
|
|
971
|
+
* Unsigned floating-point alpha/blue/green/red channel data format with normalized value, packed in 32 bits. Format contains 2 bits of alpha, 10 bits of blue, 10 bits of green and 10 bits of red. Values are in the `[0.0, 1023.0]` range for blue/green/red and `[0.0, 3.0]` for alpha.
|
|
972
|
+
*/
|
|
973
|
+
static readonly DATA_FORMAT_A2B10G10R10_USCALED_PACK32: int;
|
|
974
|
+
/**
|
|
975
|
+
* Signed floating-point alpha/blue/green/red channel data format with normalized value, packed in 32 bits. Format contains 2 bits of alpha, 10 bits of blue, 10 bits of green and 10 bits of red. Values are in the `[-511.0, 511.0]` range for blue/green/red and `[-1.0, 1.0]` for alpha.
|
|
976
|
+
*/
|
|
977
|
+
static readonly DATA_FORMAT_A2B10G10R10_SSCALED_PACK32: int;
|
|
978
|
+
/**
|
|
979
|
+
* Unsigned integer alpha/blue/green/red channel data format with normalized value, packed in 32 bits. Format contains 2 bits of alpha, 10 bits of blue, 10 bits of green and 10 bits of red. Values are in the `[0, 1023]` range for blue/green/red and `[0, 3]` for alpha.
|
|
980
|
+
*/
|
|
981
|
+
static readonly DATA_FORMAT_A2B10G10R10_UINT_PACK32: int;
|
|
982
|
+
/**
|
|
983
|
+
* Signed integer alpha/blue/green/red channel data format with normalized value, packed in 32 bits. Format contains 2 bits of alpha, 10 bits of blue, 10 bits of green and 10 bits of red. Values are in the `[-511, 511]` range for blue/green/red and `[-1, 1]` for alpha.
|
|
984
|
+
*/
|
|
985
|
+
static readonly DATA_FORMAT_A2B10G10R10_SINT_PACK32: int;
|
|
986
|
+
/**
|
|
987
|
+
* 16-bit-per-channel unsigned floating-point red channel data format with normalized value. Values are in the `[0.0, 1.0]` range.
|
|
988
|
+
*/
|
|
989
|
+
static readonly DATA_FORMAT_R16_UNORM: int;
|
|
990
|
+
/**
|
|
991
|
+
* 16-bit-per-channel signed floating-point red channel data format with normalized value. Values are in the `[-1.0, 1.0]` range.
|
|
992
|
+
*/
|
|
993
|
+
static readonly DATA_FORMAT_R16_SNORM: int;
|
|
994
|
+
/**
|
|
995
|
+
* 16-bit-per-channel unsigned floating-point red channel data format with scaled value (value is converted from integer to float). Values are in the `[0.0, 65535.0]` range.
|
|
996
|
+
*/
|
|
997
|
+
static readonly DATA_FORMAT_R16_USCALED: int;
|
|
998
|
+
/**
|
|
999
|
+
* 16-bit-per-channel signed floating-point red channel data format with scaled value (value is converted from integer to float). Values are in the `[-32767.0, 32767.0]` range.
|
|
1000
|
+
*/
|
|
1001
|
+
static readonly DATA_FORMAT_R16_SSCALED: int;
|
|
1002
|
+
/**
|
|
1003
|
+
* 16-bit-per-channel unsigned integer red channel data format. Values are in the `[0.0, 65535]` range.
|
|
1004
|
+
*/
|
|
1005
|
+
static readonly DATA_FORMAT_R16_UINT: int;
|
|
1006
|
+
/**
|
|
1007
|
+
* 16-bit-per-channel signed integer red channel data format. Values are in the `[-32767, 32767]` range.
|
|
1008
|
+
*/
|
|
1009
|
+
static readonly DATA_FORMAT_R16_SINT: int;
|
|
1010
|
+
/** 16-bit-per-channel signed floating-point red channel data format with the value stored as-is. */
|
|
1011
|
+
static readonly DATA_FORMAT_R16_SFLOAT: int;
|
|
1012
|
+
/**
|
|
1013
|
+
* 16-bit-per-channel unsigned floating-point red/green channel data format with normalized value. Values are in the `[0.0, 1.0]` range.
|
|
1014
|
+
*/
|
|
1015
|
+
static readonly DATA_FORMAT_R16G16_UNORM: int;
|
|
1016
|
+
/**
|
|
1017
|
+
* 16-bit-per-channel signed floating-point red/green channel data format with normalized value. Values are in the `[-1.0, 1.0]` range.
|
|
1018
|
+
*/
|
|
1019
|
+
static readonly DATA_FORMAT_R16G16_SNORM: int;
|
|
1020
|
+
/**
|
|
1021
|
+
* 16-bit-per-channel unsigned floating-point red/green channel data format with scaled value (value is converted from integer to float). Values are in the `[0.0, 65535.0]` range.
|
|
1022
|
+
*/
|
|
1023
|
+
static readonly DATA_FORMAT_R16G16_USCALED: int;
|
|
1024
|
+
/**
|
|
1025
|
+
* 16-bit-per-channel signed floating-point red/green channel data format with scaled value (value is converted from integer to float). Values are in the `[-32767.0, 32767.0]` range.
|
|
1026
|
+
*/
|
|
1027
|
+
static readonly DATA_FORMAT_R16G16_SSCALED: int;
|
|
1028
|
+
/**
|
|
1029
|
+
* 16-bit-per-channel unsigned integer red/green channel data format. Values are in the `[0.0, 65535]` range.
|
|
1030
|
+
*/
|
|
1031
|
+
static readonly DATA_FORMAT_R16G16_UINT: int;
|
|
1032
|
+
/**
|
|
1033
|
+
* 16-bit-per-channel signed integer red/green channel data format. Values are in the `[-32767, 32767]` range.
|
|
1034
|
+
*/
|
|
1035
|
+
static readonly DATA_FORMAT_R16G16_SINT: int;
|
|
1036
|
+
/** 16-bit-per-channel signed floating-point red/green channel data format with the value stored as-is. */
|
|
1037
|
+
static readonly DATA_FORMAT_R16G16_SFLOAT: int;
|
|
1038
|
+
/**
|
|
1039
|
+
* 16-bit-per-channel unsigned floating-point red/green/blue channel data format with normalized value. Values are in the `[0.0, 1.0]` range.
|
|
1040
|
+
*/
|
|
1041
|
+
static readonly DATA_FORMAT_R16G16B16_UNORM: int;
|
|
1042
|
+
/**
|
|
1043
|
+
* 16-bit-per-channel signed floating-point red/green/blue channel data format with normalized value. Values are in the `[-1.0, 1.0]` range.
|
|
1044
|
+
*/
|
|
1045
|
+
static readonly DATA_FORMAT_R16G16B16_SNORM: int;
|
|
1046
|
+
/**
|
|
1047
|
+
* 16-bit-per-channel unsigned floating-point red/green/blue channel data format with scaled value (value is converted from integer to float). Values are in the `[0.0, 65535.0]` range.
|
|
1048
|
+
*/
|
|
1049
|
+
static readonly DATA_FORMAT_R16G16B16_USCALED: int;
|
|
1050
|
+
/**
|
|
1051
|
+
* 16-bit-per-channel signed floating-point red/green/blue channel data format with scaled value (value is converted from integer to float). Values are in the `[-32767.0, 32767.0]` range.
|
|
1052
|
+
*/
|
|
1053
|
+
static readonly DATA_FORMAT_R16G16B16_SSCALED: int;
|
|
1054
|
+
/**
|
|
1055
|
+
* 16-bit-per-channel unsigned integer red/green/blue channel data format. Values are in the `[0.0, 65535]` range.
|
|
1056
|
+
*/
|
|
1057
|
+
static readonly DATA_FORMAT_R16G16B16_UINT: int;
|
|
1058
|
+
/**
|
|
1059
|
+
* 16-bit-per-channel signed integer red/green/blue channel data format. Values are in the `[-32767, 32767]` range.
|
|
1060
|
+
*/
|
|
1061
|
+
static readonly DATA_FORMAT_R16G16B16_SINT: int;
|
|
1062
|
+
/**
|
|
1063
|
+
* 16-bit-per-channel signed floating-point red/green/blue channel data format with the value stored as-is.
|
|
1064
|
+
*/
|
|
1065
|
+
static readonly DATA_FORMAT_R16G16B16_SFLOAT: int;
|
|
1066
|
+
/**
|
|
1067
|
+
* 16-bit-per-channel unsigned floating-point red/green/blue/alpha channel data format with normalized value. Values are in the `[0.0, 1.0]` range.
|
|
1068
|
+
*/
|
|
1069
|
+
static readonly DATA_FORMAT_R16G16B16A16_UNORM: int;
|
|
1070
|
+
/**
|
|
1071
|
+
* 16-bit-per-channel signed floating-point red/green/blue/alpha channel data format with normalized value. Values are in the `[-1.0, 1.0]` range.
|
|
1072
|
+
*/
|
|
1073
|
+
static readonly DATA_FORMAT_R16G16B16A16_SNORM: int;
|
|
1074
|
+
/**
|
|
1075
|
+
* 16-bit-per-channel unsigned floating-point red/green/blue/alpha channel data format with scaled value (value is converted from integer to float). Values are in the `[0.0, 65535.0]` range.
|
|
1076
|
+
*/
|
|
1077
|
+
static readonly DATA_FORMAT_R16G16B16A16_USCALED: int;
|
|
1078
|
+
/**
|
|
1079
|
+
* 16-bit-per-channel signed floating-point red/green/blue/alpha channel data format with scaled value (value is converted from integer to float). Values are in the `[-32767.0, 32767.0]` range.
|
|
1080
|
+
*/
|
|
1081
|
+
static readonly DATA_FORMAT_R16G16B16A16_SSCALED: int;
|
|
1082
|
+
/**
|
|
1083
|
+
* 16-bit-per-channel unsigned integer red/green/blue/alpha channel data format. Values are in the `[0.0, 65535]` range.
|
|
1084
|
+
*/
|
|
1085
|
+
static readonly DATA_FORMAT_R16G16B16A16_UINT: int;
|
|
1086
|
+
/**
|
|
1087
|
+
* 16-bit-per-channel signed integer red/green/blue/alpha channel data format. Values are in the `[-32767, 32767]` range.
|
|
1088
|
+
*/
|
|
1089
|
+
static readonly DATA_FORMAT_R16G16B16A16_SINT: int;
|
|
1090
|
+
/**
|
|
1091
|
+
* 16-bit-per-channel signed floating-point red/green/blue/alpha channel data format with the value stored as-is.
|
|
1092
|
+
*/
|
|
1093
|
+
static readonly DATA_FORMAT_R16G16B16A16_SFLOAT: int;
|
|
1094
|
+
/**
|
|
1095
|
+
* 32-bit-per-channel unsigned integer red channel data format. Values are in the `[0, 2^32 - 1]` range.
|
|
1096
|
+
*/
|
|
1097
|
+
static readonly DATA_FORMAT_R32_UINT: int;
|
|
1098
|
+
/**
|
|
1099
|
+
* 32-bit-per-channel signed integer red channel data format. Values are in the `[2^31 + 1, 2^31 - 1]` range.
|
|
1100
|
+
*/
|
|
1101
|
+
static readonly DATA_FORMAT_R32_SINT: int;
|
|
1102
|
+
/** 32-bit-per-channel signed floating-point red channel data format with the value stored as-is. */
|
|
1103
|
+
static readonly DATA_FORMAT_R32_SFLOAT: int;
|
|
1104
|
+
/**
|
|
1105
|
+
* 32-bit-per-channel unsigned integer red/green channel data format. Values are in the `[0, 2^32 - 1]` range.
|
|
1106
|
+
*/
|
|
1107
|
+
static readonly DATA_FORMAT_R32G32_UINT: int;
|
|
1108
|
+
/**
|
|
1109
|
+
* 32-bit-per-channel signed integer red/green channel data format. Values are in the `[2^31 + 1, 2^31 - 1]` range.
|
|
1110
|
+
*/
|
|
1111
|
+
static readonly DATA_FORMAT_R32G32_SINT: int;
|
|
1112
|
+
/** 32-bit-per-channel signed floating-point red/green channel data format with the value stored as-is. */
|
|
1113
|
+
static readonly DATA_FORMAT_R32G32_SFLOAT: int;
|
|
1114
|
+
/**
|
|
1115
|
+
* 32-bit-per-channel unsigned integer red/green/blue channel data format. Values are in the `[0, 2^32 - 1]` range.
|
|
1116
|
+
*/
|
|
1117
|
+
static readonly DATA_FORMAT_R32G32B32_UINT: int;
|
|
1118
|
+
/**
|
|
1119
|
+
* 32-bit-per-channel signed integer red/green/blue channel data format. Values are in the `[2^31 + 1, 2^31 - 1]` range.
|
|
1120
|
+
*/
|
|
1121
|
+
static readonly DATA_FORMAT_R32G32B32_SINT: int;
|
|
1122
|
+
/**
|
|
1123
|
+
* 32-bit-per-channel signed floating-point red/green/blue channel data format with the value stored as-is.
|
|
1124
|
+
*/
|
|
1125
|
+
static readonly DATA_FORMAT_R32G32B32_SFLOAT: int;
|
|
1126
|
+
/**
|
|
1127
|
+
* 32-bit-per-channel unsigned integer red/green/blue/alpha channel data format. Values are in the `[0, 2^32 - 1]` range.
|
|
1128
|
+
*/
|
|
1129
|
+
static readonly DATA_FORMAT_R32G32B32A32_UINT: int;
|
|
1130
|
+
/**
|
|
1131
|
+
* 32-bit-per-channel signed integer red/green/blue/alpha channel data format. Values are in the `[2^31 + 1, 2^31 - 1]` range.
|
|
1132
|
+
*/
|
|
1133
|
+
static readonly DATA_FORMAT_R32G32B32A32_SINT: int;
|
|
1134
|
+
/**
|
|
1135
|
+
* 32-bit-per-channel signed floating-point red/green/blue/alpha channel data format with the value stored as-is.
|
|
1136
|
+
*/
|
|
1137
|
+
static readonly DATA_FORMAT_R32G32B32A32_SFLOAT: int;
|
|
1138
|
+
/**
|
|
1139
|
+
* 64-bit-per-channel unsigned integer red channel data format. Values are in the `[0, 2^64 - 1]` range.
|
|
1140
|
+
*/
|
|
1141
|
+
static readonly DATA_FORMAT_R64_UINT: int;
|
|
1142
|
+
/**
|
|
1143
|
+
* 64-bit-per-channel signed integer red channel data format. Values are in the `[2^63 + 1, 2^63 - 1]` range.
|
|
1144
|
+
*/
|
|
1145
|
+
static readonly DATA_FORMAT_R64_SINT: int;
|
|
1146
|
+
/** 64-bit-per-channel signed floating-point red channel data format with the value stored as-is. */
|
|
1147
|
+
static readonly DATA_FORMAT_R64_SFLOAT: int;
|
|
1148
|
+
/**
|
|
1149
|
+
* 64-bit-per-channel unsigned integer red/green channel data format. Values are in the `[0, 2^64 - 1]` range.
|
|
1150
|
+
*/
|
|
1151
|
+
static readonly DATA_FORMAT_R64G64_UINT: int;
|
|
1152
|
+
/**
|
|
1153
|
+
* 64-bit-per-channel signed integer red/green channel data format. Values are in the `[2^63 + 1, 2^63 - 1]` range.
|
|
1154
|
+
*/
|
|
1155
|
+
static readonly DATA_FORMAT_R64G64_SINT: int;
|
|
1156
|
+
/** 64-bit-per-channel signed floating-point red/green channel data format with the value stored as-is. */
|
|
1157
|
+
static readonly DATA_FORMAT_R64G64_SFLOAT: int;
|
|
1158
|
+
/**
|
|
1159
|
+
* 64-bit-per-channel unsigned integer red/green/blue channel data format. Values are in the `[0, 2^64 - 1]` range.
|
|
1160
|
+
*/
|
|
1161
|
+
static readonly DATA_FORMAT_R64G64B64_UINT: int;
|
|
1162
|
+
/**
|
|
1163
|
+
* 64-bit-per-channel signed integer red/green/blue channel data format. Values are in the `[2^63 + 1, 2^63 - 1]` range.
|
|
1164
|
+
*/
|
|
1165
|
+
static readonly DATA_FORMAT_R64G64B64_SINT: int;
|
|
1166
|
+
/**
|
|
1167
|
+
* 64-bit-per-channel signed floating-point red/green/blue channel data format with the value stored as-is.
|
|
1168
|
+
*/
|
|
1169
|
+
static readonly DATA_FORMAT_R64G64B64_SFLOAT: int;
|
|
1170
|
+
/**
|
|
1171
|
+
* 64-bit-per-channel unsigned integer red/green/blue/alpha channel data format. Values are in the `[0, 2^64 - 1]` range.
|
|
1172
|
+
*/
|
|
1173
|
+
static readonly DATA_FORMAT_R64G64B64A64_UINT: int;
|
|
1174
|
+
/**
|
|
1175
|
+
* 64-bit-per-channel signed integer red/green/blue/alpha channel data format. Values are in the `[2^63 + 1, 2^63 - 1]` range.
|
|
1176
|
+
*/
|
|
1177
|
+
static readonly DATA_FORMAT_R64G64B64A64_SINT: int;
|
|
1178
|
+
/**
|
|
1179
|
+
* 64-bit-per-channel signed floating-point red/green/blue/alpha channel data format with the value stored as-is.
|
|
1180
|
+
*/
|
|
1181
|
+
static readonly DATA_FORMAT_R64G64B64A64_SFLOAT: int;
|
|
1182
|
+
/**
|
|
1183
|
+
* Unsigned floating-point blue/green/red data format with the value stored as-is, packed in 32 bits. The format's precision is 10 bits of blue channel, 11 bits of green channel and 11 bits of red channel.
|
|
1184
|
+
*/
|
|
1185
|
+
static readonly DATA_FORMAT_B10G11R11_UFLOAT_PACK32: int;
|
|
1186
|
+
/**
|
|
1187
|
+
* Unsigned floating-point exposure/blue/green/red data format with the value stored as-is, packed in 32 bits. The format's precision is 5 bits of exposure, 9 bits of blue channel, 9 bits of green channel and 9 bits of red channel.
|
|
1188
|
+
*/
|
|
1189
|
+
static readonly DATA_FORMAT_E5B9G9R9_UFLOAT_PACK32: int;
|
|
1190
|
+
/**
|
|
1191
|
+
* 16-bit unsigned floating-point depth data format with normalized value. Values are in the `[0.0, 1.0]` range.
|
|
1192
|
+
*/
|
|
1193
|
+
static readonly DATA_FORMAT_D16_UNORM: int;
|
|
1194
|
+
/**
|
|
1195
|
+
* 24-bit unsigned floating-point depth data format with normalized value, plus 8 unused bits, packed in 32 bits. Values for depth are in the `[0.0, 1.0]` range.
|
|
1196
|
+
*/
|
|
1197
|
+
static readonly DATA_FORMAT_X8_D24_UNORM_PACK32: int;
|
|
1198
|
+
/** 32-bit signed floating-point depth data format with the value stored as-is. */
|
|
1199
|
+
static readonly DATA_FORMAT_D32_SFLOAT: int;
|
|
1200
|
+
/** 8-bit unsigned integer stencil data format. */
|
|
1201
|
+
static readonly DATA_FORMAT_S8_UINT: int;
|
|
1202
|
+
/**
|
|
1203
|
+
* 16-bit unsigned floating-point depth data format with normalized value, plus 8 bits of stencil in unsigned integer format. Values for depth are in the `[0.0, 1.0]` range. Values for stencil are in the `[0, 255]` range.
|
|
1204
|
+
*/
|
|
1205
|
+
static readonly DATA_FORMAT_D16_UNORM_S8_UINT: int;
|
|
1206
|
+
/**
|
|
1207
|
+
* 24-bit unsigned floating-point depth data format with normalized value, plus 8 bits of stencil in unsigned integer format. Values for depth are in the `[0.0, 1.0]` range. Values for stencil are in the `[0, 255]` range.
|
|
1208
|
+
*/
|
|
1209
|
+
static readonly DATA_FORMAT_D24_UNORM_S8_UINT: int;
|
|
1210
|
+
/**
|
|
1211
|
+
* 32-bit signed floating-point depth data format with the value stored as-is, plus 8 bits of stencil in unsigned integer format. Values for stencil are in the `[0, 255]` range.
|
|
1212
|
+
*/
|
|
1213
|
+
static readonly DATA_FORMAT_D32_SFLOAT_S8_UINT: int;
|
|
1214
|
+
/**
|
|
1215
|
+
* VRAM-compressed unsigned red/green/blue channel data format with normalized value. Values are in the `[0.0, 1.0]` range. The format's precision is 5 bits of red channel, 6 bits of green channel and 5 bits of blue channel. Using BC1 texture compression (also known as S3TC DXT1).
|
|
1216
|
+
*/
|
|
1217
|
+
static readonly DATA_FORMAT_BC1_RGB_UNORM_BLOCK: int;
|
|
1218
|
+
/**
|
|
1219
|
+
* VRAM-compressed unsigned red/green/blue channel data format with normalized value and nonlinear sRGB encoding. Values are in the `[0.0, 1.0]` range. The format's precision is 5 bits of red channel, 6 bits of green channel, and 5 bits of blue channel. Using BC1 texture compression (also known as S3TC DXT1).
|
|
1220
|
+
*/
|
|
1221
|
+
static readonly DATA_FORMAT_BC1_RGB_SRGB_BLOCK: int;
|
|
1222
|
+
/**
|
|
1223
|
+
* VRAM-compressed unsigned red/green/blue/alpha channel data format with normalized value. Values are in the `[0.0, 1.0]` range. The format's precision is 5 bits of red channel, 6 bits of green channel, 5 bits of blue channel and 1 bit of alpha channel. Using BC1 texture compression (also known as S3TC DXT1).
|
|
1224
|
+
*/
|
|
1225
|
+
static readonly DATA_FORMAT_BC1_RGBA_UNORM_BLOCK: int;
|
|
1226
|
+
/**
|
|
1227
|
+
* VRAM-compressed unsigned red/green/blue/alpha channel data format with normalized value and nonlinear sRGB encoding. Values are in the `[0.0, 1.0]` range. The format's precision is 5 bits of red channel, 6 bits of green channel, 5 bits of blue channel, and 1 bit of alpha channel. Using BC1 texture compression (also known as S3TC DXT1).
|
|
1228
|
+
*/
|
|
1229
|
+
static readonly DATA_FORMAT_BC1_RGBA_SRGB_BLOCK: int;
|
|
1230
|
+
/**
|
|
1231
|
+
* VRAM-compressed unsigned red/green/blue/alpha channel data format with normalized value. Values are in the `[0.0, 1.0]` range. The format's precision is 5 bits of red channel, 6 bits of green channel, 5 bits of blue channel and 4 bits of alpha channel. Using BC2 texture compression (also known as S3TC DXT3).
|
|
1232
|
+
*/
|
|
1233
|
+
static readonly DATA_FORMAT_BC2_UNORM_BLOCK: int;
|
|
1234
|
+
/**
|
|
1235
|
+
* VRAM-compressed unsigned red/green/blue/alpha channel data format with normalized value and nonlinear sRGB encoding. Values are in the `[0.0, 1.0]` range. The format's precision is 5 bits of red channel, 6 bits of green channel, 5 bits of blue channel, and 4 bits of alpha channel. Using BC2 texture compression (also known as S3TC DXT3).
|
|
1236
|
+
*/
|
|
1237
|
+
static readonly DATA_FORMAT_BC2_SRGB_BLOCK: int;
|
|
1238
|
+
/**
|
|
1239
|
+
* VRAM-compressed unsigned red/green/blue/alpha channel data format with normalized value. Values are in the `[0.0, 1.0]` range. The format's precision is 5 bits of red channel, 6 bits of green channel, 5 bits of blue channel and 8 bits of alpha channel. Using BC3 texture compression (also known as S3TC DXT5).
|
|
1240
|
+
*/
|
|
1241
|
+
static readonly DATA_FORMAT_BC3_UNORM_BLOCK: int;
|
|
1242
|
+
/**
|
|
1243
|
+
* VRAM-compressed unsigned red/green/blue/alpha channel data format with normalized value and nonlinear sRGB encoding. Values are in the `[0.0, 1.0]` range. The format's precision is 5 bits of red channel, 6 bits of green channel, 5 bits of blue channel, and 8 bits of alpha channel. Using BC3 texture compression (also known as S3TC DXT5).
|
|
1244
|
+
*/
|
|
1245
|
+
static readonly DATA_FORMAT_BC3_SRGB_BLOCK: int;
|
|
1246
|
+
/**
|
|
1247
|
+
* VRAM-compressed unsigned red channel data format with normalized value. Values are in the `[0.0, 1.0]` range. The format's precision is 8 bits of red channel. Using BC4 texture compression.
|
|
1248
|
+
*/
|
|
1249
|
+
static readonly DATA_FORMAT_BC4_UNORM_BLOCK: int;
|
|
1250
|
+
/**
|
|
1251
|
+
* VRAM-compressed signed red channel data format with normalized value. Values are in the `[-1.0, 1.0]` range. The format's precision is 8 bits of red channel. Using BC4 texture compression.
|
|
1252
|
+
*/
|
|
1253
|
+
static readonly DATA_FORMAT_BC4_SNORM_BLOCK: int;
|
|
1254
|
+
/**
|
|
1255
|
+
* VRAM-compressed unsigned red/green channel data format with normalized value. Values are in the `[0.0, 1.0]` range. The format's precision is 8 bits of red channel and 8 bits of green channel. Using BC5 texture compression (also known as S3TC RGTC).
|
|
1256
|
+
*/
|
|
1257
|
+
static readonly DATA_FORMAT_BC5_UNORM_BLOCK: int;
|
|
1258
|
+
/**
|
|
1259
|
+
* VRAM-compressed signed red/green channel data format with normalized value. Values are in the `[-1.0, 1.0]` range. The format's precision is 8 bits of red channel and 8 bits of green channel. Using BC5 texture compression (also known as S3TC RGTC).
|
|
1260
|
+
*/
|
|
1261
|
+
static readonly DATA_FORMAT_BC5_SNORM_BLOCK: int;
|
|
1262
|
+
/**
|
|
1263
|
+
* VRAM-compressed unsigned red/green/blue channel data format with the floating-point value stored as-is. The format's precision is between 10 and 13 bits for the red/green/blue channels. Using BC6H texture compression (also known as BPTC HDR).
|
|
1264
|
+
*/
|
|
1265
|
+
static readonly DATA_FORMAT_BC6H_UFLOAT_BLOCK: int;
|
|
1266
|
+
/**
|
|
1267
|
+
* VRAM-compressed signed red/green/blue channel data format with the floating-point value stored as-is. The format's precision is between 10 and 13 bits for the red/green/blue channels. Using BC6H texture compression (also known as BPTC HDR).
|
|
1268
|
+
*/
|
|
1269
|
+
static readonly DATA_FORMAT_BC6H_SFLOAT_BLOCK: int;
|
|
1270
|
+
/**
|
|
1271
|
+
* VRAM-compressed unsigned red/green/blue/alpha channel data format with normalized value. Values are in the `[0.0, 1.0]` range. The format's precision is between 4 and 7 bits for the red/green/blue channels and between 0 and 8 bits for the alpha channel. Also known as BPTC LDR.
|
|
1272
|
+
*/
|
|
1273
|
+
static readonly DATA_FORMAT_BC7_UNORM_BLOCK: int;
|
|
1274
|
+
/**
|
|
1275
|
+
* VRAM-compressed unsigned red/green/blue/alpha channel data format with normalized value and nonlinear sRGB encoding. Values are in the `[0.0, 1.0]` range. The format's precision is between 4 and 7 bits for the red/green/blue channels and between 0 and 8 bits for the alpha channel. Also known as BPTC LDR.
|
|
1276
|
+
*/
|
|
1277
|
+
static readonly DATA_FORMAT_BC7_SRGB_BLOCK: int;
|
|
1278
|
+
/**
|
|
1279
|
+
* VRAM-compressed unsigned red/green/blue channel data format with normalized value. Values are in the `[0.0, 1.0]` range. Using ETC2 texture compression.
|
|
1280
|
+
*/
|
|
1281
|
+
static readonly DATA_FORMAT_ETC2_R8G8B8_UNORM_BLOCK: int;
|
|
1282
|
+
/**
|
|
1283
|
+
* VRAM-compressed unsigned red/green/blue channel data format with normalized value and nonlinear sRGB encoding. Values are in the `[0.0, 1.0]` range. Using ETC2 texture compression.
|
|
1284
|
+
*/
|
|
1285
|
+
static readonly DATA_FORMAT_ETC2_R8G8B8_SRGB_BLOCK: int;
|
|
1286
|
+
/**
|
|
1287
|
+
* VRAM-compressed unsigned red/green/blue/alpha channel data format with normalized value. Values are in the `[0.0, 1.0]` range. Red/green/blue use 8 bit of precision each, with alpha using 1 bit of precision. Using ETC2 texture compression.
|
|
1288
|
+
*/
|
|
1289
|
+
static readonly DATA_FORMAT_ETC2_R8G8B8A1_UNORM_BLOCK: int;
|
|
1290
|
+
/**
|
|
1291
|
+
* VRAM-compressed unsigned red/green/blue/alpha channel data format with normalized value and nonlinear sRGB encoding. Values are in the `[0.0, 1.0]` range. Red/green/blue use 8 bit of precision each, with alpha using 1 bit of precision. Using ETC2 texture compression.
|
|
1292
|
+
*/
|
|
1293
|
+
static readonly DATA_FORMAT_ETC2_R8G8B8A1_SRGB_BLOCK: int;
|
|
1294
|
+
/**
|
|
1295
|
+
* VRAM-compressed unsigned red/green/blue/alpha channel data format with normalized value. Values are in the `[0.0, 1.0]` range. Red/green/blue use 8 bits of precision each, with alpha using 8 bits of precision. Using ETC2 texture compression.
|
|
1296
|
+
*/
|
|
1297
|
+
static readonly DATA_FORMAT_ETC2_R8G8B8A8_UNORM_BLOCK: int;
|
|
1298
|
+
/**
|
|
1299
|
+
* VRAM-compressed unsigned red/green/blue/alpha channel data format with normalized value and nonlinear sRGB encoding. Values are in the `[0.0, 1.0]` range. Red/green/blue use 8 bits of precision each, with alpha using 8 bits of precision. Using ETC2 texture compression.
|
|
1300
|
+
*/
|
|
1301
|
+
static readonly DATA_FORMAT_ETC2_R8G8B8A8_SRGB_BLOCK: int;
|
|
1302
|
+
/**
|
|
1303
|
+
* 11-bit VRAM-compressed unsigned red channel data format with normalized value. Values are in the `[0.0, 1.0]` range. Using ETC2 texture compression.
|
|
1304
|
+
*/
|
|
1305
|
+
static readonly DATA_FORMAT_EAC_R11_UNORM_BLOCK: int;
|
|
1306
|
+
/**
|
|
1307
|
+
* 11-bit VRAM-compressed signed red channel data format with normalized value. Values are in the `[-1.0, 1.0]` range. Using ETC2 texture compression.
|
|
1308
|
+
*/
|
|
1309
|
+
static readonly DATA_FORMAT_EAC_R11_SNORM_BLOCK: int;
|
|
1310
|
+
/**
|
|
1311
|
+
* 11-bit VRAM-compressed unsigned red/green channel data format with normalized value. Values are in the `[0.0, 1.0]` range. Using ETC2 texture compression.
|
|
1312
|
+
*/
|
|
1313
|
+
static readonly DATA_FORMAT_EAC_R11G11_UNORM_BLOCK: int;
|
|
1314
|
+
/**
|
|
1315
|
+
* 11-bit VRAM-compressed signed red/green channel data format with normalized value. Values are in the `[-1.0, 1.0]` range. Using ETC2 texture compression.
|
|
1316
|
+
*/
|
|
1317
|
+
static readonly DATA_FORMAT_EAC_R11G11_SNORM_BLOCK: int;
|
|
1318
|
+
/**
|
|
1319
|
+
* VRAM-compressed unsigned floating-point data format with normalized value, packed in 4×4 blocks (highest quality). Values are in the `[0.0, 1.0]` range. Using ASTC compression.
|
|
1320
|
+
*/
|
|
1321
|
+
static readonly DATA_FORMAT_ASTC_4x4_UNORM_BLOCK: int;
|
|
1322
|
+
/**
|
|
1323
|
+
* VRAM-compressed unsigned floating-point data format with normalized value and nonlinear sRGB encoding, packed in 4×4 blocks (highest quality). Values are in the `[0.0, 1.0]` range. Using ASTC compression.
|
|
1324
|
+
*/
|
|
1325
|
+
static readonly DATA_FORMAT_ASTC_4x4_SRGB_BLOCK: int;
|
|
1326
|
+
/**
|
|
1327
|
+
* VRAM-compressed unsigned floating-point data format with normalized value, packed in 5×4 blocks. Values are in the `[0.0, 1.0]` range. Using ASTC compression.
|
|
1328
|
+
*/
|
|
1329
|
+
static readonly DATA_FORMAT_ASTC_5x4_UNORM_BLOCK: int;
|
|
1330
|
+
/**
|
|
1331
|
+
* VRAM-compressed unsigned floating-point data format with normalized value and nonlinear sRGB encoding, packed in 5×4 blocks. Values are in the `[0.0, 1.0]` range. Using ASTC compression.
|
|
1332
|
+
*/
|
|
1333
|
+
static readonly DATA_FORMAT_ASTC_5x4_SRGB_BLOCK: int;
|
|
1334
|
+
/**
|
|
1335
|
+
* VRAM-compressed unsigned floating-point data format with normalized value, packed in 5×5 blocks. Values are in the `[0.0, 1.0]` range. Using ASTC compression.
|
|
1336
|
+
*/
|
|
1337
|
+
static readonly DATA_FORMAT_ASTC_5x5_UNORM_BLOCK: int;
|
|
1338
|
+
/**
|
|
1339
|
+
* VRAM-compressed unsigned floating-point data format with normalized value and nonlinear sRGB encoding, packed in 5×5 blocks. Values are in the `[0.0, 1.0]` range. Using ASTC compression.
|
|
1340
|
+
*/
|
|
1341
|
+
static readonly DATA_FORMAT_ASTC_5x5_SRGB_BLOCK: int;
|
|
1342
|
+
/**
|
|
1343
|
+
* VRAM-compressed unsigned floating-point data format with normalized value, packed in 6×5 blocks. Values are in the `[0.0, 1.0]` range. Using ASTC compression.
|
|
1344
|
+
*/
|
|
1345
|
+
static readonly DATA_FORMAT_ASTC_6x5_UNORM_BLOCK: int;
|
|
1346
|
+
/**
|
|
1347
|
+
* VRAM-compressed unsigned floating-point data format with normalized value and nonlinear sRGB encoding, packed in 6×5 blocks. Values are in the `[0.0, 1.0]` range. Using ASTC compression.
|
|
1348
|
+
*/
|
|
1349
|
+
static readonly DATA_FORMAT_ASTC_6x5_SRGB_BLOCK: int;
|
|
1350
|
+
/**
|
|
1351
|
+
* VRAM-compressed unsigned floating-point data format with normalized value, packed in 6×6 blocks. Values are in the `[0.0, 1.0]` range. Using ASTC compression.
|
|
1352
|
+
*/
|
|
1353
|
+
static readonly DATA_FORMAT_ASTC_6x6_UNORM_BLOCK: int;
|
|
1354
|
+
/**
|
|
1355
|
+
* VRAM-compressed unsigned floating-point data format with normalized value and nonlinear sRGB encoding, packed in 6×6 blocks. Values are in the `[0.0, 1.0]` range. Using ASTC compression.
|
|
1356
|
+
*/
|
|
1357
|
+
static readonly DATA_FORMAT_ASTC_6x6_SRGB_BLOCK: int;
|
|
1358
|
+
/**
|
|
1359
|
+
* VRAM-compressed unsigned floating-point data format with normalized value, packed in 8×5 blocks. Values are in the `[0.0, 1.0]` range. Using ASTC compression.
|
|
1360
|
+
*/
|
|
1361
|
+
static readonly DATA_FORMAT_ASTC_8x5_UNORM_BLOCK: int;
|
|
1362
|
+
/**
|
|
1363
|
+
* VRAM-compressed unsigned floating-point data format with normalized value and nonlinear sRGB encoding, packed in 8×5 blocks. Values are in the `[0.0, 1.0]` range. Using ASTC compression.
|
|
1364
|
+
*/
|
|
1365
|
+
static readonly DATA_FORMAT_ASTC_8x5_SRGB_BLOCK: int;
|
|
1366
|
+
/**
|
|
1367
|
+
* VRAM-compressed unsigned floating-point data format with normalized value, packed in 8×6 blocks. Values are in the `[0.0, 1.0]` range. Using ASTC compression.
|
|
1368
|
+
*/
|
|
1369
|
+
static readonly DATA_FORMAT_ASTC_8x6_UNORM_BLOCK: int;
|
|
1370
|
+
/**
|
|
1371
|
+
* VRAM-compressed unsigned floating-point data format with normalized value and nonlinear sRGB encoding, packed in 8×6 blocks. Values are in the `[0.0, 1.0]` range. Using ASTC compression.
|
|
1372
|
+
*/
|
|
1373
|
+
static readonly DATA_FORMAT_ASTC_8x6_SRGB_BLOCK: int;
|
|
1374
|
+
/**
|
|
1375
|
+
* VRAM-compressed unsigned floating-point data format with normalized value, packed in 8×8 blocks. Values are in the `[0.0, 1.0]` range. Using ASTC compression.
|
|
1376
|
+
*/
|
|
1377
|
+
static readonly DATA_FORMAT_ASTC_8x8_UNORM_BLOCK: int;
|
|
1378
|
+
/**
|
|
1379
|
+
* VRAM-compressed unsigned floating-point data format with normalized value and nonlinear sRGB encoding, packed in 8×8 blocks. Values are in the `[0.0, 1.0]` range. Using ASTC compression.
|
|
1380
|
+
*/
|
|
1381
|
+
static readonly DATA_FORMAT_ASTC_8x8_SRGB_BLOCK: int;
|
|
1382
|
+
/**
|
|
1383
|
+
* VRAM-compressed unsigned floating-point data format with normalized value, packed in 10×5 blocks. Values are in the `[0.0, 1.0]` range. Using ASTC compression.
|
|
1384
|
+
*/
|
|
1385
|
+
static readonly DATA_FORMAT_ASTC_10x5_UNORM_BLOCK: int;
|
|
1386
|
+
/**
|
|
1387
|
+
* VRAM-compressed unsigned floating-point data format with normalized value and nonlinear sRGB encoding, packed in 10×5 blocks. Values are in the `[0.0, 1.0]` range. Using ASTC compression.
|
|
1388
|
+
*/
|
|
1389
|
+
static readonly DATA_FORMAT_ASTC_10x5_SRGB_BLOCK: int;
|
|
1390
|
+
/**
|
|
1391
|
+
* VRAM-compressed unsigned floating-point data format with normalized value, packed in 10×6 blocks. Values are in the `[0.0, 1.0]` range. Using ASTC compression.
|
|
1392
|
+
*/
|
|
1393
|
+
static readonly DATA_FORMAT_ASTC_10x6_UNORM_BLOCK: int;
|
|
1394
|
+
/**
|
|
1395
|
+
* VRAM-compressed unsigned floating-point data format with normalized value and nonlinear sRGB encoding, packed in 10×6 blocks. Values are in the `[0.0, 1.0]` range. Using ASTC compression.
|
|
1396
|
+
*/
|
|
1397
|
+
static readonly DATA_FORMAT_ASTC_10x6_SRGB_BLOCK: int;
|
|
1398
|
+
/**
|
|
1399
|
+
* VRAM-compressed unsigned floating-point data format with normalized value, packed in 10×8 blocks. Values are in the `[0.0, 1.0]` range. Using ASTC compression.
|
|
1400
|
+
*/
|
|
1401
|
+
static readonly DATA_FORMAT_ASTC_10x8_UNORM_BLOCK: int;
|
|
1402
|
+
/**
|
|
1403
|
+
* VRAM-compressed unsigned floating-point data format with normalized value and nonlinear sRGB encoding, packed in 10×8 blocks. Values are in the `[0.0, 1.0]` range. Using ASTC compression.
|
|
1404
|
+
*/
|
|
1405
|
+
static readonly DATA_FORMAT_ASTC_10x8_SRGB_BLOCK: int;
|
|
1406
|
+
/**
|
|
1407
|
+
* VRAM-compressed unsigned floating-point data format with normalized value, packed in 10×10 blocks. Values are in the `[0.0, 1.0]` range. Using ASTC compression.
|
|
1408
|
+
*/
|
|
1409
|
+
static readonly DATA_FORMAT_ASTC_10x10_UNORM_BLOCK: int;
|
|
1410
|
+
/**
|
|
1411
|
+
* VRAM-compressed unsigned floating-point data format with normalized value and nonlinear sRGB encoding, packed in 10×10 blocks. Values are in the `[0.0, 1.0]` range. Using ASTC compression.
|
|
1412
|
+
*/
|
|
1413
|
+
static readonly DATA_FORMAT_ASTC_10x10_SRGB_BLOCK: int;
|
|
1414
|
+
/**
|
|
1415
|
+
* VRAM-compressed unsigned floating-point data format with normalized value, packed in 12×10 blocks. Values are in the `[0.0, 1.0]` range. Using ASTC compression.
|
|
1416
|
+
*/
|
|
1417
|
+
static readonly DATA_FORMAT_ASTC_12x10_UNORM_BLOCK: int;
|
|
1418
|
+
/**
|
|
1419
|
+
* VRAM-compressed unsigned floating-point data format with normalized value and nonlinear sRGB encoding, packed in 12×10 blocks. Values are in the `[0.0, 1.0]` range. Using ASTC compression.
|
|
1420
|
+
*/
|
|
1421
|
+
static readonly DATA_FORMAT_ASTC_12x10_SRGB_BLOCK: int;
|
|
1422
|
+
/**
|
|
1423
|
+
* VRAM-compressed unsigned floating-point data format with normalized value, packed in 12 blocks (lowest quality). Values are in the `[0.0, 1.0]` range. Using ASTC compression.
|
|
1424
|
+
*/
|
|
1425
|
+
static readonly DATA_FORMAT_ASTC_12x12_UNORM_BLOCK: int;
|
|
1426
|
+
/**
|
|
1427
|
+
* VRAM-compressed unsigned floating-point data format with normalized value and nonlinear sRGB encoding, packed in 12 blocks (lowest quality). Values are in the `[0.0, 1.0]` range. Using ASTC compression.
|
|
1428
|
+
*/
|
|
1429
|
+
static readonly DATA_FORMAT_ASTC_12x12_SRGB_BLOCK: int;
|
|
1430
|
+
/**
|
|
1431
|
+
* 8-bit-per-channel unsigned floating-point green/blue/red channel data format with normalized value. Values are in the `[0.0, 1.0]` range. Blue and red channel data is stored at halved horizontal resolution (i.e. 2 horizontally adjacent pixels will share the same value for the blue/red channel).
|
|
1432
|
+
*/
|
|
1433
|
+
static readonly DATA_FORMAT_G8B8G8R8_422_UNORM: int;
|
|
1434
|
+
/**
|
|
1435
|
+
* 8-bit-per-channel unsigned floating-point blue/green/red channel data format with normalized value. Values are in the `[0.0, 1.0]` range. Blue and red channel data is stored at halved horizontal resolution (i.e. 2 horizontally adjacent pixels will share the same value for the blue/red channel).
|
|
1436
|
+
*/
|
|
1437
|
+
static readonly DATA_FORMAT_B8G8R8G8_422_UNORM: int;
|
|
1438
|
+
/**
|
|
1439
|
+
* 8-bit-per-channel unsigned floating-point green/blue/red channel data with normalized value, stored across 3 separate planes (green + blue + red). Values are in the `[0.0, 1.0]` range. Blue and red channel data is stored at halved horizontal and vertical resolution (i.e. 2×2 adjacent pixels will share the same value for the blue/red channel).
|
|
1440
|
+
*/
|
|
1441
|
+
static readonly DATA_FORMAT_G8_B8_R8_3PLANE_420_UNORM: int;
|
|
1442
|
+
/**
|
|
1443
|
+
* 8-bit-per-channel unsigned floating-point green/blue/red channel data with normalized value, stored across 2 separate planes (green + blue/red). Values are in the `[0.0, 1.0]` range. Blue and red channel data is stored at halved horizontal and vertical resolution (i.e. 2×2 adjacent pixels will share the same value for the blue/red channel).
|
|
1444
|
+
*/
|
|
1445
|
+
static readonly DATA_FORMAT_G8_B8R8_2PLANE_420_UNORM: int;
|
|
1446
|
+
/**
|
|
1447
|
+
* 8-bit-per-channel unsigned floating-point green/blue/red channel data with normalized value, stored across 2 separate planes (green + blue + red). Values are in the `[0.0, 1.0]` range. Blue and red channel data is stored at halved horizontal resolution (i.e. 2 horizontally adjacent pixels will share the same value for the blue/red channel).
|
|
1448
|
+
*/
|
|
1449
|
+
static readonly DATA_FORMAT_G8_B8_R8_3PLANE_422_UNORM: int;
|
|
1450
|
+
/**
|
|
1451
|
+
* 8-bit-per-channel unsigned floating-point green/blue/red channel data with normalized value, stored across 2 separate planes (green + blue/red). Values are in the `[0.0, 1.0]` range. Blue and red channel data is stored at halved horizontal resolution (i.e. 2 horizontally adjacent pixels will share the same value for the blue/red channel).
|
|
1452
|
+
*/
|
|
1453
|
+
static readonly DATA_FORMAT_G8_B8R8_2PLANE_422_UNORM: int;
|
|
1454
|
+
/**
|
|
1455
|
+
* 8-bit-per-channel unsigned floating-point green/blue/red channel data with normalized value, stored across 3 separate planes. Values are in the `[0.0, 1.0]` range.
|
|
1456
|
+
*/
|
|
1457
|
+
static readonly DATA_FORMAT_G8_B8_R8_3PLANE_444_UNORM: int;
|
|
1458
|
+
/**
|
|
1459
|
+
* 10-bit-per-channel unsigned floating-point red channel data with normalized value, plus 6 unused bits, packed in 16 bits. Values are in the `[0.0, 1.0]` range.
|
|
1460
|
+
*/
|
|
1461
|
+
static readonly DATA_FORMAT_R10X6_UNORM_PACK16: int;
|
|
1462
|
+
/**
|
|
1463
|
+
* 10-bit-per-channel unsigned floating-point red/green channel data with normalized value, plus 6 unused bits after each channel, packed in 2×16 bits. Values are in the `[0.0, 1.0]` range.
|
|
1464
|
+
*/
|
|
1465
|
+
static readonly DATA_FORMAT_R10X6G10X6_UNORM_2PACK16: int;
|
|
1466
|
+
/**
|
|
1467
|
+
* 10-bit-per-channel unsigned floating-point red/green/blue/alpha channel data with normalized value, plus 6 unused bits after each channel, packed in 4×16 bits. Values are in the `[0.0, 1.0]` range.
|
|
1468
|
+
*/
|
|
1469
|
+
static readonly DATA_FORMAT_R10X6G10X6B10X6A10X6_UNORM_4PACK16: int;
|
|
1470
|
+
/**
|
|
1471
|
+
* 10-bit-per-channel unsigned floating-point green/blue/green/red channel data with normalized value, plus 6 unused bits after each channel, packed in 4×16 bits. Values are in the `[0.0, 1.0]` range. Blue and red channel data is stored at halved horizontal resolution (i.e. 2 horizontally adjacent pixels will share the same value for the blue/red channel). The green channel is listed twice, but contains different values to allow it to be represented at full resolution.
|
|
1472
|
+
*/
|
|
1473
|
+
static readonly DATA_FORMAT_G10X6B10X6G10X6R10X6_422_UNORM_4PACK16: int;
|
|
1474
|
+
/**
|
|
1475
|
+
* 10-bit-per-channel unsigned floating-point blue/green/red/green channel data with normalized value, plus 6 unused bits after each channel, packed in 4×16 bits. Values are in the `[0.0, 1.0]` range. Blue and red channel data is stored at halved horizontal resolution (i.e. 2 horizontally adjacent pixels will share the same value for the blue/red channel). The green channel is listed twice, but contains different values to allow it to be represented at full resolution.
|
|
1476
|
+
*/
|
|
1477
|
+
static readonly DATA_FORMAT_B10X6G10X6R10X6G10X6_422_UNORM_4PACK16: int;
|
|
1478
|
+
/**
|
|
1479
|
+
* 10-bit-per-channel unsigned floating-point green/blue/red channel data with normalized value, plus 6 unused bits after each channel. Packed in 3×16 bits and stored across 2 separate planes (green + blue + red). Values are in the `[0.0, 1.0]` range. Blue and red channel data is stored at halved horizontal and vertical resolution (i.e. 2×2 adjacent pixels will share the same value for the blue/red channel).
|
|
1480
|
+
*/
|
|
1481
|
+
static readonly DATA_FORMAT_G10X6_B10X6_R10X6_3PLANE_420_UNORM_3PACK16: int;
|
|
1482
|
+
/**
|
|
1483
|
+
* 10-bit-per-channel unsigned floating-point green/blue/red channel data with normalized value, plus 6 unused bits after each channel. Packed in 3×16 bits and stored across 2 separate planes (green + blue/red). Values are in the `[0.0, 1.0]` range. Blue and red channel data is stored at halved horizontal and vertical resolution (i.e. 2×2 adjacent pixels will share the same value for the blue/red channel).
|
|
1484
|
+
*/
|
|
1485
|
+
static readonly DATA_FORMAT_G10X6_B10X6R10X6_2PLANE_420_UNORM_3PACK16: int;
|
|
1486
|
+
/**
|
|
1487
|
+
* 10-bit-per-channel unsigned floating-point green/blue/red channel data with normalized value, plus 6 unused bits after each channel. Packed in 3×16 bits and stored across 3 separate planes (green + blue + red). Values are in the `[0.0, 1.0]` range. Blue and red channel data is stored at halved horizontal resolution (i.e. 2 horizontally adjacent pixels will share the same value for the blue/red channel).
|
|
1488
|
+
*/
|
|
1489
|
+
static readonly DATA_FORMAT_G10X6_B10X6_R10X6_3PLANE_422_UNORM_3PACK16: int;
|
|
1490
|
+
/**
|
|
1491
|
+
* 10-bit-per-channel unsigned floating-point green/blue/red channel data with normalized value, plus 6 unused bits after each channel. Packed in 3×16 bits and stored across 3 separate planes (green + blue/red). Values are in the `[0.0, 1.0]` range. Blue and red channel data is stored at halved horizontal resolution (i.e. 2 horizontally adjacent pixels will share the same value for the blue/red channel).
|
|
1492
|
+
*/
|
|
1493
|
+
static readonly DATA_FORMAT_G10X6_B10X6R10X6_2PLANE_422_UNORM_3PACK16: int;
|
|
1494
|
+
/**
|
|
1495
|
+
* 10-bit-per-channel unsigned floating-point green/blue/red channel data with normalized value, plus 6 unused bits after each channel. Packed in 3×16 bits and stored across 3 separate planes (green + blue + red). Values are in the `[0.0, 1.0]` range.
|
|
1496
|
+
*/
|
|
1497
|
+
static readonly DATA_FORMAT_G10X6_B10X6_R10X6_3PLANE_444_UNORM_3PACK16: int;
|
|
1498
|
+
/**
|
|
1499
|
+
* 12-bit-per-channel unsigned floating-point red channel data with normalized value, plus 6 unused bits, packed in 16 bits. Values are in the `[0.0, 1.0]` range.
|
|
1500
|
+
*/
|
|
1501
|
+
static readonly DATA_FORMAT_R12X4_UNORM_PACK16: int;
|
|
1502
|
+
/**
|
|
1503
|
+
* 12-bit-per-channel unsigned floating-point red/green channel data with normalized value, plus 6 unused bits after each channel, packed in 2×16 bits. Values are in the `[0.0, 1.0]` range.
|
|
1504
|
+
*/
|
|
1505
|
+
static readonly DATA_FORMAT_R12X4G12X4_UNORM_2PACK16: int;
|
|
1506
|
+
/**
|
|
1507
|
+
* 12-bit-per-channel unsigned floating-point red/green/blue/alpha channel data with normalized value, plus 6 unused bits after each channel, packed in 4×16 bits. Values are in the `[0.0, 1.0]` range.
|
|
1508
|
+
*/
|
|
1509
|
+
static readonly DATA_FORMAT_R12X4G12X4B12X4A12X4_UNORM_4PACK16: int;
|
|
1510
|
+
/**
|
|
1511
|
+
* 12-bit-per-channel unsigned floating-point green/blue/green/red channel data with normalized value, plus 6 unused bits after each channel, packed in 4×16 bits. Values are in the `[0.0, 1.0]` range. Blue and red channel data is stored at halved horizontal resolution (i.e. 2 horizontally adjacent pixels will share the same value for the blue/red channel). The green channel is listed twice, but contains different values to allow it to be represented at full resolution.
|
|
1512
|
+
*/
|
|
1513
|
+
static readonly DATA_FORMAT_G12X4B12X4G12X4R12X4_422_UNORM_4PACK16: int;
|
|
1514
|
+
/**
|
|
1515
|
+
* 12-bit-per-channel unsigned floating-point blue/green/red/green channel data with normalized value, plus 6 unused bits after each channel, packed in 4×16 bits. Values are in the `[0.0, 1.0]` range. Blue and red channel data is stored at halved horizontal resolution (i.e. 2 horizontally adjacent pixels will share the same value for the blue/red channel). The green channel is listed twice, but contains different values to allow it to be represented at full resolution.
|
|
1516
|
+
*/
|
|
1517
|
+
static readonly DATA_FORMAT_B12X4G12X4R12X4G12X4_422_UNORM_4PACK16: int;
|
|
1518
|
+
/**
|
|
1519
|
+
* 12-bit-per-channel unsigned floating-point green/blue/red channel data with normalized value, plus 6 unused bits after each channel. Packed in 3×16 bits and stored across 2 separate planes (green + blue + red). Values are in the `[0.0, 1.0]` range. Blue and red channel data is stored at halved horizontal and vertical resolution (i.e. 2×2 adjacent pixels will share the same value for the blue/red channel).
|
|
1520
|
+
*/
|
|
1521
|
+
static readonly DATA_FORMAT_G12X4_B12X4_R12X4_3PLANE_420_UNORM_3PACK16: int;
|
|
1522
|
+
/**
|
|
1523
|
+
* 12-bit-per-channel unsigned floating-point green/blue/red channel data with normalized value, plus 6 unused bits after each channel. Packed in 3×16 bits and stored across 2 separate planes (green + blue/red). Values are in the `[0.0, 1.0]` range. Blue and red channel data is stored at halved horizontal and vertical resolution (i.e. 2×2 adjacent pixels will share the same value for the blue/red channel).
|
|
1524
|
+
*/
|
|
1525
|
+
static readonly DATA_FORMAT_G12X4_B12X4R12X4_2PLANE_420_UNORM_3PACK16: int;
|
|
1526
|
+
/**
|
|
1527
|
+
* 12-bit-per-channel unsigned floating-point green/blue/red channel data with normalized value, plus 6 unused bits after each channel. Packed in 3×16 bits and stored across 3 separate planes (green + blue + red). Values are in the `[0.0, 1.0]` range. Blue and red channel data is stored at halved horizontal resolution (i.e. 2 horizontally adjacent pixels will share the same value for the blue/red channel).
|
|
1528
|
+
*/
|
|
1529
|
+
static readonly DATA_FORMAT_G12X4_B12X4_R12X4_3PLANE_422_UNORM_3PACK16: int;
|
|
1530
|
+
/**
|
|
1531
|
+
* 12-bit-per-channel unsigned floating-point green/blue/red channel data with normalized value, plus 6 unused bits after each channel. Packed in 3×16 bits and stored across 3 separate planes (green + blue/red). Values are in the `[0.0, 1.0]` range. Blue and red channel data is stored at halved horizontal resolution (i.e. 2 horizontally adjacent pixels will share the same value for the blue/red channel).
|
|
1532
|
+
*/
|
|
1533
|
+
static readonly DATA_FORMAT_G12X4_B12X4R12X4_2PLANE_422_UNORM_3PACK16: int;
|
|
1534
|
+
/**
|
|
1535
|
+
* 12-bit-per-channel unsigned floating-point green/blue/red channel data with normalized value, plus 6 unused bits after each channel. Packed in 3×16 bits and stored across 3 separate planes (green + blue + red). Values are in the `[0.0, 1.0]` range.
|
|
1536
|
+
*/
|
|
1537
|
+
static readonly DATA_FORMAT_G12X4_B12X4_R12X4_3PLANE_444_UNORM_3PACK16: int;
|
|
1538
|
+
/**
|
|
1539
|
+
* 16-bit-per-channel unsigned floating-point green/blue/red channel data format with normalized value. Values are in the `[0.0, 1.0]` range. Blue and red channel data is stored at halved horizontal resolution (i.e. 2 horizontally adjacent pixels will share the same value for the blue/red channel).
|
|
1540
|
+
*/
|
|
1541
|
+
static readonly DATA_FORMAT_G16B16G16R16_422_UNORM: int;
|
|
1542
|
+
/**
|
|
1543
|
+
* 16-bit-per-channel unsigned floating-point blue/green/red channel data format with normalized value. Values are in the `[0.0, 1.0]` range. Blue and red channel data is stored at halved horizontal resolution (i.e. 2 horizontally adjacent pixels will share the same value for the blue/red channel).
|
|
1544
|
+
*/
|
|
1545
|
+
static readonly DATA_FORMAT_B16G16R16G16_422_UNORM: int;
|
|
1546
|
+
/**
|
|
1547
|
+
* 16-bit-per-channel unsigned floating-point green/blue/red channel data with normalized value, plus 6 unused bits after each channel. Stored across 2 separate planes (green + blue + red). Values are in the `[0.0, 1.0]` range. Blue and red channel data is stored at halved horizontal and vertical resolution (i.e. 2×2 adjacent pixels will share the same value for the blue/red channel).
|
|
1548
|
+
*/
|
|
1549
|
+
static readonly DATA_FORMAT_G16_B16_R16_3PLANE_420_UNORM: int;
|
|
1550
|
+
/**
|
|
1551
|
+
* 16-bit-per-channel unsigned floating-point green/blue/red channel data with normalized value, plus 6 unused bits after each channel. Stored across 2 separate planes (green + blue/red). Values are in the `[0.0, 1.0]` range. Blue and red channel data is stored at halved horizontal and vertical resolution (i.e. 2×2 adjacent pixels will share the same value for the blue/red channel).
|
|
1552
|
+
*/
|
|
1553
|
+
static readonly DATA_FORMAT_G16_B16R16_2PLANE_420_UNORM: int;
|
|
1554
|
+
/**
|
|
1555
|
+
* 16-bit-per-channel unsigned floating-point green/blue/red channel data with normalized value, plus 6 unused bits after each channel. Stored across 3 separate planes (green + blue + red). Values are in the `[0.0, 1.0]` range. Blue and red channel data is stored at halved horizontal resolution (i.e. 2 horizontally adjacent pixels will share the same value for the blue/red channel).
|
|
1556
|
+
*/
|
|
1557
|
+
static readonly DATA_FORMAT_G16_B16_R16_3PLANE_422_UNORM: int;
|
|
1558
|
+
/**
|
|
1559
|
+
* 16-bit-per-channel unsigned floating-point green/blue/red channel data with normalized value, plus 6 unused bits after each channel. Stored across 3 separate planes (green + blue/red). Values are in the `[0.0, 1.0]` range. Blue and red channel data is stored at halved horizontal resolution (i.e. 2 horizontally adjacent pixels will share the same value for the blue/red channel).
|
|
1560
|
+
*/
|
|
1561
|
+
static readonly DATA_FORMAT_G16_B16R16_2PLANE_422_UNORM: int;
|
|
1562
|
+
/**
|
|
1563
|
+
* 16-bit-per-channel unsigned floating-point green/blue/red channel data with normalized value, plus 6 unused bits after each channel. Stored across 3 separate planes (green + blue + red). Values are in the `[0.0, 1.0]` range.
|
|
1564
|
+
*/
|
|
1565
|
+
static readonly DATA_FORMAT_G16_B16_R16_3PLANE_444_UNORM: int;
|
|
1566
|
+
static readonly DATA_FORMAT_ASTC_4x4_SFLOAT_BLOCK: int;
|
|
1567
|
+
static readonly DATA_FORMAT_ASTC_5x4_SFLOAT_BLOCK: int;
|
|
1568
|
+
static readonly DATA_FORMAT_ASTC_5x5_SFLOAT_BLOCK: int;
|
|
1569
|
+
static readonly DATA_FORMAT_ASTC_6x5_SFLOAT_BLOCK: int;
|
|
1570
|
+
static readonly DATA_FORMAT_ASTC_6x6_SFLOAT_BLOCK: int;
|
|
1571
|
+
static readonly DATA_FORMAT_ASTC_8x5_SFLOAT_BLOCK: int;
|
|
1572
|
+
static readonly DATA_FORMAT_ASTC_8x6_SFLOAT_BLOCK: int;
|
|
1573
|
+
static readonly DATA_FORMAT_ASTC_8x8_SFLOAT_BLOCK: int;
|
|
1574
|
+
static readonly DATA_FORMAT_ASTC_10x5_SFLOAT_BLOCK: int;
|
|
1575
|
+
static readonly DATA_FORMAT_ASTC_10x6_SFLOAT_BLOCK: int;
|
|
1576
|
+
static readonly DATA_FORMAT_ASTC_10x8_SFLOAT_BLOCK: int;
|
|
1577
|
+
static readonly DATA_FORMAT_ASTC_10x10_SFLOAT_BLOCK: int;
|
|
1578
|
+
static readonly DATA_FORMAT_ASTC_12x10_SFLOAT_BLOCK: int;
|
|
1579
|
+
static readonly DATA_FORMAT_ASTC_12x12_SFLOAT_BLOCK: int;
|
|
1580
|
+
/** Represents the size of the {@link DataFormat} enum. */
|
|
1581
|
+
static readonly DATA_FORMAT_MAX: int;
|
|
1582
|
+
// enum BarrierMask
|
|
1583
|
+
/** Vertex shader barrier mask. */
|
|
1584
|
+
static readonly BARRIER_MASK_VERTEX: int;
|
|
1585
|
+
/** Fragment shader barrier mask. */
|
|
1586
|
+
static readonly BARRIER_MASK_FRAGMENT: int;
|
|
1587
|
+
/** Compute barrier mask. */
|
|
1588
|
+
static readonly BARRIER_MASK_COMPUTE: int;
|
|
1589
|
+
/** Transfer barrier mask. */
|
|
1590
|
+
static readonly BARRIER_MASK_TRANSFER: int;
|
|
1591
|
+
/**
|
|
1592
|
+
* Raster barrier mask (vertex and fragment). Equivalent to `BARRIER_MASK_VERTEX | BARRIER_MASK_FRAGMENT`.
|
|
1593
|
+
*/
|
|
1594
|
+
static readonly BARRIER_MASK_RASTER: int;
|
|
1595
|
+
/** Barrier mask for all types (vertex, fragment, compute, transfer). */
|
|
1596
|
+
static readonly BARRIER_MASK_ALL_BARRIERS: int;
|
|
1597
|
+
/** No barrier for any type. */
|
|
1598
|
+
static readonly BARRIER_MASK_NO_BARRIER: int;
|
|
1599
|
+
// enum TextureType
|
|
1600
|
+
/** 1-dimensional texture. */
|
|
1601
|
+
static readonly TEXTURE_TYPE_1D: int;
|
|
1602
|
+
/** 2-dimensional texture. */
|
|
1603
|
+
static readonly TEXTURE_TYPE_2D: int;
|
|
1604
|
+
/** 3-dimensional texture. */
|
|
1605
|
+
static readonly TEXTURE_TYPE_3D: int;
|
|
1606
|
+
/** {@link Cubemap} texture. */
|
|
1607
|
+
static readonly TEXTURE_TYPE_CUBE: int;
|
|
1608
|
+
/** Array of 1-dimensional textures. */
|
|
1609
|
+
static readonly TEXTURE_TYPE_1D_ARRAY: int;
|
|
1610
|
+
/** Array of 2-dimensional textures. */
|
|
1611
|
+
static readonly TEXTURE_TYPE_2D_ARRAY: int;
|
|
1612
|
+
/** Array of {@link Cubemap} textures. */
|
|
1613
|
+
static readonly TEXTURE_TYPE_CUBE_ARRAY: int;
|
|
1614
|
+
/** Represents the size of the {@link TextureType} enum. */
|
|
1615
|
+
static readonly TEXTURE_TYPE_MAX: int;
|
|
1616
|
+
// enum TextureSamples
|
|
1617
|
+
/** Perform 1 texture sample (this is the fastest but lowest-quality for antialiasing). */
|
|
1618
|
+
static readonly TEXTURE_SAMPLES_1: int;
|
|
1619
|
+
/** Perform 2 texture samples. */
|
|
1620
|
+
static readonly TEXTURE_SAMPLES_2: int;
|
|
1621
|
+
/** Perform 4 texture samples. */
|
|
1622
|
+
static readonly TEXTURE_SAMPLES_4: int;
|
|
1623
|
+
/** Perform 8 texture samples. Not supported on mobile GPUs (including Apple Silicon). */
|
|
1624
|
+
static readonly TEXTURE_SAMPLES_8: int;
|
|
1625
|
+
/** Perform 16 texture samples. Not supported on mobile GPUs and many desktop GPUs. */
|
|
1626
|
+
static readonly TEXTURE_SAMPLES_16: int;
|
|
1627
|
+
/** Perform 32 texture samples. Not supported on most GPUs. */
|
|
1628
|
+
static readonly TEXTURE_SAMPLES_32: int;
|
|
1629
|
+
/**
|
|
1630
|
+
* Perform 64 texture samples (this is the slowest but highest-quality for antialiasing). Not supported on most GPUs.
|
|
1631
|
+
*/
|
|
1632
|
+
static readonly TEXTURE_SAMPLES_64: int;
|
|
1633
|
+
/** Represents the size of the {@link TextureSamples} enum. */
|
|
1634
|
+
static readonly TEXTURE_SAMPLES_MAX: int;
|
|
1635
|
+
// enum TextureUsageBits
|
|
1636
|
+
/** Texture can be sampled. */
|
|
1637
|
+
static readonly TEXTURE_USAGE_SAMPLING_BIT: int;
|
|
1638
|
+
/** Texture can be used as a color attachment in a framebuffer. */
|
|
1639
|
+
static readonly TEXTURE_USAGE_COLOR_ATTACHMENT_BIT: int;
|
|
1640
|
+
/** Texture can be used as a depth/stencil attachment in a framebuffer. */
|
|
1641
|
+
static readonly TEXTURE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT: int;
|
|
1642
|
+
/** Texture can be used as a depth/stencil resolve attachment in a framebuffer. */
|
|
1643
|
+
static readonly TEXTURE_USAGE_DEPTH_RESOLVE_ATTACHMENT_BIT: int;
|
|
1644
|
+
/**
|
|
1645
|
+
* Texture can be used as a storage image (https://registry.khronos.org/vulkan/specs/1.3-extensions/html/vkspec.html#descriptorsets-storageimage).
|
|
1646
|
+
*/
|
|
1647
|
+
static readonly TEXTURE_USAGE_STORAGE_BIT: int;
|
|
1648
|
+
/**
|
|
1649
|
+
* Texture can be used as a storage image (https://registry.khronos.org/vulkan/specs/1.3-extensions/html/vkspec.html#descriptorsets-storageimage) with support for atomic operations.
|
|
1650
|
+
*/
|
|
1651
|
+
static readonly TEXTURE_USAGE_STORAGE_ATOMIC_BIT: int;
|
|
1652
|
+
/**
|
|
1653
|
+
* Texture can be read back on the CPU using {@link texture_get_data} faster than without this bit, since it is always kept in the system memory.
|
|
1654
|
+
*/
|
|
1655
|
+
static readonly TEXTURE_USAGE_CPU_READ_BIT: int;
|
|
1656
|
+
/** Texture can be updated using {@link texture_update}. */
|
|
1657
|
+
static readonly TEXTURE_USAGE_CAN_UPDATE_BIT: int;
|
|
1658
|
+
/** Texture can be a source for {@link texture_copy}. */
|
|
1659
|
+
static readonly TEXTURE_USAGE_CAN_COPY_FROM_BIT: int;
|
|
1660
|
+
/** Texture can be a destination for {@link texture_copy}. */
|
|
1661
|
+
static readonly TEXTURE_USAGE_CAN_COPY_TO_BIT: int;
|
|
1662
|
+
/**
|
|
1663
|
+
* Texture can be used as a input attachment (https://registry.khronos.org/vulkan/specs/1.3-extensions/html/vkspec.html#descriptorsets-inputattachment) in a framebuffer.
|
|
1664
|
+
*/
|
|
1665
|
+
static readonly TEXTURE_USAGE_INPUT_ATTACHMENT_BIT: int;
|
|
1666
|
+
// enum TextureSwizzle
|
|
1667
|
+
/** Return the sampled value as-is. */
|
|
1668
|
+
static readonly TEXTURE_SWIZZLE_IDENTITY: int;
|
|
1669
|
+
/** Always return `0.0` when sampling. */
|
|
1670
|
+
static readonly TEXTURE_SWIZZLE_ZERO: int;
|
|
1671
|
+
/** Always return `1.0` when sampling. */
|
|
1672
|
+
static readonly TEXTURE_SWIZZLE_ONE: int;
|
|
1673
|
+
/** Sample the red color channel. */
|
|
1674
|
+
static readonly TEXTURE_SWIZZLE_R: int;
|
|
1675
|
+
/** Sample the green color channel. */
|
|
1676
|
+
static readonly TEXTURE_SWIZZLE_G: int;
|
|
1677
|
+
/** Sample the blue color channel. */
|
|
1678
|
+
static readonly TEXTURE_SWIZZLE_B: int;
|
|
1679
|
+
/** Sample the alpha channel. */
|
|
1680
|
+
static readonly TEXTURE_SWIZZLE_A: int;
|
|
1681
|
+
/** Represents the size of the {@link TextureSwizzle} enum. */
|
|
1682
|
+
static readonly TEXTURE_SWIZZLE_MAX: int;
|
|
1683
|
+
// enum TextureSliceType
|
|
1684
|
+
/** 2-dimensional texture slice. */
|
|
1685
|
+
static readonly TEXTURE_SLICE_2D: int;
|
|
1686
|
+
/** Cubemap texture slice. */
|
|
1687
|
+
static readonly TEXTURE_SLICE_CUBEMAP: int;
|
|
1688
|
+
/** 3-dimensional texture slice. */
|
|
1689
|
+
static readonly TEXTURE_SLICE_3D: int;
|
|
1690
|
+
// enum SamplerFilter
|
|
1691
|
+
/**
|
|
1692
|
+
* Nearest-neighbor sampler filtering. Sampling at higher resolutions than the source will result in a pixelated look.
|
|
1693
|
+
*/
|
|
1694
|
+
static readonly SAMPLER_FILTER_NEAREST: int;
|
|
1695
|
+
/**
|
|
1696
|
+
* Bilinear sampler filtering. Sampling at higher resolutions than the source will result in a blurry look.
|
|
1697
|
+
*/
|
|
1698
|
+
static readonly SAMPLER_FILTER_LINEAR: int;
|
|
1699
|
+
// enum SamplerRepeatMode
|
|
1700
|
+
/** Sample with repeating enabled. */
|
|
1701
|
+
static readonly SAMPLER_REPEAT_MODE_REPEAT: int;
|
|
1702
|
+
/**
|
|
1703
|
+
* Sample with mirrored repeating enabled. When sampling outside the `[0.0, 1.0]` range, return a mirrored version of the sampler. This mirrored version is mirrored again if sampling further away, with the pattern repeating indefinitely.
|
|
1704
|
+
*/
|
|
1705
|
+
static readonly SAMPLER_REPEAT_MODE_MIRRORED_REPEAT: int;
|
|
1706
|
+
/**
|
|
1707
|
+
* Sample with repeating disabled. When sampling outside the `[0.0, 1.0]` range, return the color of the last pixel on the edge.
|
|
1708
|
+
*/
|
|
1709
|
+
static readonly SAMPLER_REPEAT_MODE_CLAMP_TO_EDGE: int;
|
|
1710
|
+
/**
|
|
1711
|
+
* Sample with repeating disabled. When sampling outside the `[0.0, 1.0]` range, return the specified {@link RDSamplerState.border_color}.
|
|
1712
|
+
*/
|
|
1713
|
+
static readonly SAMPLER_REPEAT_MODE_CLAMP_TO_BORDER: int;
|
|
1714
|
+
/**
|
|
1715
|
+
* Sample with mirrored repeating enabled, but only once. When sampling in the `[-1.0, 0.0]` range, return a mirrored version of the sampler. When sampling outside the `[-1.0, 1.0]` range, return the color of the last pixel on the edge.
|
|
1716
|
+
*/
|
|
1717
|
+
static readonly SAMPLER_REPEAT_MODE_MIRROR_CLAMP_TO_EDGE: int;
|
|
1718
|
+
/** Represents the size of the {@link SamplerRepeatMode} enum. */
|
|
1719
|
+
static readonly SAMPLER_REPEAT_MODE_MAX: int;
|
|
1720
|
+
// enum SamplerBorderColor
|
|
1721
|
+
/**
|
|
1722
|
+
* Return a floating-point transparent black color when sampling outside the `[0.0, 1.0]` range. Only effective if the sampler repeat mode is {@link SAMPLER_REPEAT_MODE_CLAMP_TO_BORDER}.
|
|
1723
|
+
*/
|
|
1724
|
+
static readonly SAMPLER_BORDER_COLOR_FLOAT_TRANSPARENT_BLACK: int;
|
|
1725
|
+
/**
|
|
1726
|
+
* Return an integer transparent black color when sampling outside the `[0.0, 1.0]` range. Only effective if the sampler repeat mode is {@link SAMPLER_REPEAT_MODE_CLAMP_TO_BORDER}.
|
|
1727
|
+
*/
|
|
1728
|
+
static readonly SAMPLER_BORDER_COLOR_INT_TRANSPARENT_BLACK: int;
|
|
1729
|
+
/**
|
|
1730
|
+
* Return a floating-point opaque black color when sampling outside the `[0.0, 1.0]` range. Only effective if the sampler repeat mode is {@link SAMPLER_REPEAT_MODE_CLAMP_TO_BORDER}.
|
|
1731
|
+
*/
|
|
1732
|
+
static readonly SAMPLER_BORDER_COLOR_FLOAT_OPAQUE_BLACK: int;
|
|
1733
|
+
/**
|
|
1734
|
+
* Return an integer opaque black color when sampling outside the `[0.0, 1.0]` range. Only effective if the sampler repeat mode is {@link SAMPLER_REPEAT_MODE_CLAMP_TO_BORDER}.
|
|
1735
|
+
*/
|
|
1736
|
+
static readonly SAMPLER_BORDER_COLOR_INT_OPAQUE_BLACK: int;
|
|
1737
|
+
/**
|
|
1738
|
+
* Return a floating-point opaque white color when sampling outside the `[0.0, 1.0]` range. Only effective if the sampler repeat mode is {@link SAMPLER_REPEAT_MODE_CLAMP_TO_BORDER}.
|
|
1739
|
+
*/
|
|
1740
|
+
static readonly SAMPLER_BORDER_COLOR_FLOAT_OPAQUE_WHITE: int;
|
|
1741
|
+
/**
|
|
1742
|
+
* Return an integer opaque white color when sampling outside the `[0.0, 1.0]` range. Only effective if the sampler repeat mode is {@link SAMPLER_REPEAT_MODE_CLAMP_TO_BORDER}.
|
|
1743
|
+
*/
|
|
1744
|
+
static readonly SAMPLER_BORDER_COLOR_INT_OPAQUE_WHITE: int;
|
|
1745
|
+
/** Represents the size of the {@link SamplerBorderColor} enum. */
|
|
1746
|
+
static readonly SAMPLER_BORDER_COLOR_MAX: int;
|
|
1747
|
+
// enum VertexFrequency
|
|
1748
|
+
/**
|
|
1749
|
+
* Vertex attribute addressing is a function of the vertex. This is used to specify the rate at which vertex attributes are pulled from buffers.
|
|
1750
|
+
*/
|
|
1751
|
+
static readonly VERTEX_FREQUENCY_VERTEX: int;
|
|
1752
|
+
/**
|
|
1753
|
+
* Vertex attribute addressing is a function of the instance index. This is used to specify the rate at which vertex attributes are pulled from buffers.
|
|
1754
|
+
*/
|
|
1755
|
+
static readonly VERTEX_FREQUENCY_INSTANCE: int;
|
|
1756
|
+
// enum IndexBufferFormat
|
|
1757
|
+
/**
|
|
1758
|
+
* Index buffer in 16-bit unsigned integer format. This limits the maximum index that can be specified to `65535`.
|
|
1759
|
+
*/
|
|
1760
|
+
static readonly INDEX_BUFFER_FORMAT_UINT16: int;
|
|
1761
|
+
/**
|
|
1762
|
+
* Index buffer in 32-bit unsigned integer format. This limits the maximum index that can be specified to `4294967295`.
|
|
1763
|
+
*/
|
|
1764
|
+
static readonly INDEX_BUFFER_FORMAT_UINT32: int;
|
|
1765
|
+
// enum StorageBufferUsage
|
|
1766
|
+
static readonly STORAGE_BUFFER_USAGE_DISPATCH_INDIRECT: int;
|
|
1767
|
+
// enum BufferCreationBits
|
|
1768
|
+
/**
|
|
1769
|
+
* Optionally, set this flag if you wish to use {@link buffer_get_device_address} functionality. You must first check the GPU supports it:
|
|
1770
|
+
*/
|
|
1771
|
+
static readonly BUFFER_CREATION_DEVICE_ADDRESS_BIT: int;
|
|
1772
|
+
/**
|
|
1773
|
+
* Set this flag so that it is created as storage. This is useful if Compute Shaders need access (for reading or writing) to the buffer, e.g. skeletal animations are processed in Compute Shaders which need access to vertex buffers, to be later consumed by vertex shaders as part of the regular rasterization pipeline.
|
|
1774
|
+
*/
|
|
1775
|
+
static readonly BUFFER_CREATION_AS_STORAGE_BIT: int;
|
|
1776
|
+
/**
|
|
1777
|
+
* Allows usage of this buffer as input data for an acceleration structure build operation. You must first check that the GPU supports it:
|
|
1778
|
+
*/
|
|
1779
|
+
static readonly BUFFER_CREATION_ACCELERATION_STRUCTURE_BUILD_INPUT_READ_ONLY_BIT: int;
|
|
1780
|
+
// enum AccelerationStructureGeometryBits
|
|
1781
|
+
/** An opaque geometry does not invoke the any hit shaders. */
|
|
1782
|
+
static readonly ACCELERATION_STRUCTURE_GEOMETRY_OPAQUE: int;
|
|
1783
|
+
/** This geometry only calls the any hit shader a single time for each primitive. */
|
|
1784
|
+
static readonly ACCELERATION_STRUCTURE_GEOMETRY_NO_DUPLICATE_ANY_HIT_INVOCATION: int;
|
|
1785
|
+
// enum UniformType
|
|
1786
|
+
/** Sampler uniform. */
|
|
1787
|
+
static readonly UNIFORM_TYPE_SAMPLER: int;
|
|
1788
|
+
/** Sampler uniform with a texture. */
|
|
1789
|
+
static readonly UNIFORM_TYPE_SAMPLER_WITH_TEXTURE: int;
|
|
1790
|
+
/** Texture uniform. */
|
|
1791
|
+
static readonly UNIFORM_TYPE_TEXTURE: int;
|
|
1792
|
+
/** Image uniform. */
|
|
1793
|
+
static readonly UNIFORM_TYPE_IMAGE: int;
|
|
1794
|
+
/** Texture buffer uniform. */
|
|
1795
|
+
static readonly UNIFORM_TYPE_TEXTURE_BUFFER: int;
|
|
1796
|
+
/** Sampler uniform with a texture buffer. */
|
|
1797
|
+
static readonly UNIFORM_TYPE_SAMPLER_WITH_TEXTURE_BUFFER: int;
|
|
1798
|
+
/** Image buffer uniform. */
|
|
1799
|
+
static readonly UNIFORM_TYPE_IMAGE_BUFFER: int;
|
|
1800
|
+
/** Uniform buffer uniform. */
|
|
1801
|
+
static readonly UNIFORM_TYPE_UNIFORM_BUFFER: int;
|
|
1802
|
+
/** Storage buffer (https://vkguide.dev/docs/chapter-4/storage_buffers/) uniform. */
|
|
1803
|
+
static readonly UNIFORM_TYPE_STORAGE_BUFFER: int;
|
|
1804
|
+
/** Input attachment uniform. */
|
|
1805
|
+
static readonly UNIFORM_TYPE_INPUT_ATTACHMENT: int;
|
|
1806
|
+
/**
|
|
1807
|
+
* Same as UNIFORM_TYPE_UNIFORM_BUFFER but for buffers created with BUFFER_CREATION_DYNAMIC_PERSISTENT_BIT.
|
|
1808
|
+
* **Note:** This flag is not available to GD users due to being too dangerous (i.e. wrong usage can result in visual glitches).
|
|
1809
|
+
* It's exposed in case GD users receive a buffer created with such flag from Godot.
|
|
1810
|
+
*/
|
|
1811
|
+
static readonly UNIFORM_TYPE_UNIFORM_BUFFER_DYNAMIC: int;
|
|
1812
|
+
/**
|
|
1813
|
+
* Same as UNIFORM_TYPE_STORAGE_BUFFER but for buffers created with BUFFER_CREATION_DYNAMIC_PERSISTENT_BIT.
|
|
1814
|
+
* **Note:** This flag is not available to GD users due to being too dangerous (i.e. wrong usage can result in visual glitches).
|
|
1815
|
+
* It's exposed in case GD users receive a buffer created with such flag from Godot.
|
|
1816
|
+
*/
|
|
1817
|
+
static readonly UNIFORM_TYPE_STORAGE_BUFFER_DYNAMIC: int;
|
|
1818
|
+
/** Acceleration structure uniform. */
|
|
1819
|
+
static readonly UNIFORM_TYPE_ACCELERATION_STRUCTURE: int;
|
|
1820
|
+
/** Represents the size of the {@link UniformType} enum. */
|
|
1821
|
+
static readonly UNIFORM_TYPE_MAX: int;
|
|
1822
|
+
// enum RenderPrimitive
|
|
1823
|
+
/** Point rendering primitive (with constant size, regardless of distance from camera). */
|
|
1824
|
+
static readonly RENDER_PRIMITIVE_POINTS: int;
|
|
1825
|
+
/** Line list rendering primitive. Lines are drawn separated from each other. */
|
|
1826
|
+
static readonly RENDER_PRIMITIVE_LINES: int;
|
|
1827
|
+
/**
|
|
1828
|
+
* Line list rendering primitive with adjacency. (https://registry.khronos.org/vulkan/specs/1.3-extensions/html/vkspec.html#drawing-line-lists-with-adjacency)
|
|
1829
|
+
* **Note:** Adjacency is only useful with geometry shaders, which Godot does not expose.
|
|
1830
|
+
*/
|
|
1831
|
+
static readonly RENDER_PRIMITIVE_LINES_WITH_ADJACENCY: int;
|
|
1832
|
+
/** Line strip rendering primitive. Lines drawn are connected to the previous vertex. */
|
|
1833
|
+
static readonly RENDER_PRIMITIVE_LINESTRIPS: int;
|
|
1834
|
+
/**
|
|
1835
|
+
* Line strip rendering primitive with adjacency. (https://registry.khronos.org/vulkan/specs/1.3-extensions/html/vkspec.html#drawing-line-strips-with-adjacency)
|
|
1836
|
+
* **Note:** Adjacency is only useful with geometry shaders, which Godot does not expose.
|
|
1837
|
+
*/
|
|
1838
|
+
static readonly RENDER_PRIMITIVE_LINESTRIPS_WITH_ADJACENCY: int;
|
|
1839
|
+
/** Triangle list rendering primitive. Triangles are drawn separated from each other. */
|
|
1840
|
+
static readonly RENDER_PRIMITIVE_TRIANGLES: int;
|
|
1841
|
+
/**
|
|
1842
|
+
* Triangle list rendering primitive with adjacency. (https://registry.khronos.org/vulkan/specs/1.3-extensions/html/vkspec.html#drawing-triangle-lists-with-adjacency)
|
|
1843
|
+
* **Note:** Adjacency is only useful with geometry shaders, which Godot does not expose.
|
|
1844
|
+
*/
|
|
1845
|
+
static readonly RENDER_PRIMITIVE_TRIANGLES_WITH_ADJACENCY: int;
|
|
1846
|
+
/** Triangle strip rendering primitive. Triangles drawn are connected to the previous triangle. */
|
|
1847
|
+
static readonly RENDER_PRIMITIVE_TRIANGLE_STRIPS: int;
|
|
1848
|
+
/**
|
|
1849
|
+
* Triangle strip rendering primitive with adjacency. (https://registry.khronos.org/vulkan/specs/1.3-extensions/html/vkspec.html#drawing-triangle-strips-with-adjacency)
|
|
1850
|
+
* **Note:** Adjacency is only useful with geometry shaders, which Godot does not expose.
|
|
1851
|
+
*/
|
|
1852
|
+
static readonly RENDER_PRIMITIVE_TRIANGLE_STRIPS_WITH_AJACENCY: int;
|
|
1853
|
+
/**
|
|
1854
|
+
* Triangle strip rendering primitive with *primitive restart* enabled. Triangles drawn are connected to the previous triangle, but a primitive restart index can be specified before drawing to create a second triangle strip after the specified index.
|
|
1855
|
+
* **Note:** Only compatible with indexed draws.
|
|
1856
|
+
*/
|
|
1857
|
+
static readonly RENDER_PRIMITIVE_TRIANGLE_STRIPS_WITH_RESTART_INDEX: int;
|
|
1858
|
+
/**
|
|
1859
|
+
* Tessellation patch rendering primitive. Only useful with tessellation shaders, which can be used to deform these patches.
|
|
1860
|
+
*/
|
|
1861
|
+
static readonly RENDER_PRIMITIVE_TESSELATION_PATCH: int;
|
|
1862
|
+
/** Represents the size of the {@link RenderPrimitive} enum. */
|
|
1863
|
+
static readonly RENDER_PRIMITIVE_MAX: int;
|
|
1864
|
+
// enum PolygonCullMode
|
|
1865
|
+
/** Do not use polygon front face or backface culling. */
|
|
1866
|
+
static readonly POLYGON_CULL_DISABLED: int;
|
|
1867
|
+
/** Use polygon frontface culling (faces pointing towards the camera are hidden). */
|
|
1868
|
+
static readonly POLYGON_CULL_FRONT: int;
|
|
1869
|
+
/** Use polygon backface culling (faces pointing away from the camera are hidden). */
|
|
1870
|
+
static readonly POLYGON_CULL_BACK: int;
|
|
1871
|
+
// enum PolygonFrontFace
|
|
1872
|
+
/** Clockwise winding order to determine which face of a polygon is its front face. */
|
|
1873
|
+
static readonly POLYGON_FRONT_FACE_CLOCKWISE: int;
|
|
1874
|
+
/** Counter-clockwise winding order to determine which face of a polygon is its front face. */
|
|
1875
|
+
static readonly POLYGON_FRONT_FACE_COUNTER_CLOCKWISE: int;
|
|
1876
|
+
// enum StencilOperation
|
|
1877
|
+
/** Keep the current stencil value. */
|
|
1878
|
+
static readonly STENCIL_OP_KEEP: int;
|
|
1879
|
+
/** Set the stencil value to `0`. */
|
|
1880
|
+
static readonly STENCIL_OP_ZERO: int;
|
|
1881
|
+
/** Replace the existing stencil value with the new one. */
|
|
1882
|
+
static readonly STENCIL_OP_REPLACE: int;
|
|
1883
|
+
/**
|
|
1884
|
+
* Increment the existing stencil value and clamp to the maximum representable unsigned value if reached. Stencil bits are considered as an unsigned integer.
|
|
1885
|
+
*/
|
|
1886
|
+
static readonly STENCIL_OP_INCREMENT_AND_CLAMP: int;
|
|
1887
|
+
/**
|
|
1888
|
+
* Decrement the existing stencil value and clamp to the minimum value if reached. Stencil bits are considered as an unsigned integer.
|
|
1889
|
+
*/
|
|
1890
|
+
static readonly STENCIL_OP_DECREMENT_AND_CLAMP: int;
|
|
1891
|
+
/** Bitwise-invert the existing stencil value. */
|
|
1892
|
+
static readonly STENCIL_OP_INVERT: int;
|
|
1893
|
+
/**
|
|
1894
|
+
* Increment the stencil value and wrap around to `0` if reaching the maximum representable unsigned. Stencil bits are considered as an unsigned integer.
|
|
1895
|
+
*/
|
|
1896
|
+
static readonly STENCIL_OP_INCREMENT_AND_WRAP: int;
|
|
1897
|
+
/**
|
|
1898
|
+
* Decrement the stencil value and wrap around to the maximum representable unsigned if reaching the minimum. Stencil bits are considered as an unsigned integer.
|
|
1899
|
+
*/
|
|
1900
|
+
static readonly STENCIL_OP_DECREMENT_AND_WRAP: int;
|
|
1901
|
+
/** Represents the size of the {@link StencilOperation} enum. */
|
|
1902
|
+
static readonly STENCIL_OP_MAX: int;
|
|
1903
|
+
// enum CompareOperator
|
|
1904
|
+
/** "Never" comparison (opposite of {@link COMPARE_OP_ALWAYS}). */
|
|
1905
|
+
static readonly COMPARE_OP_NEVER: int;
|
|
1906
|
+
/** "Less than" comparison. */
|
|
1907
|
+
static readonly COMPARE_OP_LESS: int;
|
|
1908
|
+
/** "Equal" comparison. */
|
|
1909
|
+
static readonly COMPARE_OP_EQUAL: int;
|
|
1910
|
+
/** "Less than or equal" comparison. */
|
|
1911
|
+
static readonly COMPARE_OP_LESS_OR_EQUAL: int;
|
|
1912
|
+
/** "Greater than" comparison. */
|
|
1913
|
+
static readonly COMPARE_OP_GREATER: int;
|
|
1914
|
+
/** "Not equal" comparison. */
|
|
1915
|
+
static readonly COMPARE_OP_NOT_EQUAL: int;
|
|
1916
|
+
/** "Greater than or equal" comparison. */
|
|
1917
|
+
static readonly COMPARE_OP_GREATER_OR_EQUAL: int;
|
|
1918
|
+
/** "Always" comparison (opposite of {@link COMPARE_OP_NEVER}). */
|
|
1919
|
+
static readonly COMPARE_OP_ALWAYS: int;
|
|
1920
|
+
/** Represents the size of the {@link CompareOperator} enum. */
|
|
1921
|
+
static readonly COMPARE_OP_MAX: int;
|
|
1922
|
+
// enum LogicOperation
|
|
1923
|
+
/** Clear logic operation (result is always `0`). See also {@link LOGIC_OP_SET}. */
|
|
1924
|
+
static readonly LOGIC_OP_CLEAR: int;
|
|
1925
|
+
/** AND logic operation. */
|
|
1926
|
+
static readonly LOGIC_OP_AND: int;
|
|
1927
|
+
/**
|
|
1928
|
+
* AND logic operation with the *destination* operand being inverted. See also {@link LOGIC_OP_AND_INVERTED}.
|
|
1929
|
+
*/
|
|
1930
|
+
static readonly LOGIC_OP_AND_REVERSE: int;
|
|
1931
|
+
/**
|
|
1932
|
+
* Copy logic operation (keeps the *source* value as-is). See also {@link LOGIC_OP_COPY_INVERTED} and {@link LOGIC_OP_NO_OP}.
|
|
1933
|
+
*/
|
|
1934
|
+
static readonly LOGIC_OP_COPY: int;
|
|
1935
|
+
/**
|
|
1936
|
+
* AND logic operation with the *source* operand being inverted. See also {@link LOGIC_OP_AND_REVERSE}.
|
|
1937
|
+
*/
|
|
1938
|
+
static readonly LOGIC_OP_AND_INVERTED: int;
|
|
1939
|
+
/** No-op logic operation (keeps the *destination* value as-is). See also {@link LOGIC_OP_COPY}. */
|
|
1940
|
+
static readonly LOGIC_OP_NO_OP: int;
|
|
1941
|
+
/** Exclusive or (XOR) logic operation. */
|
|
1942
|
+
static readonly LOGIC_OP_XOR: int;
|
|
1943
|
+
/** OR logic operation. */
|
|
1944
|
+
static readonly LOGIC_OP_OR: int;
|
|
1945
|
+
/** Not-OR (NOR) logic operation. */
|
|
1946
|
+
static readonly LOGIC_OP_NOR: int;
|
|
1947
|
+
/** Not-XOR (XNOR) logic operation. */
|
|
1948
|
+
static readonly LOGIC_OP_EQUIVALENT: int;
|
|
1949
|
+
/** Invert logic operation. */
|
|
1950
|
+
static readonly LOGIC_OP_INVERT: int;
|
|
1951
|
+
/**
|
|
1952
|
+
* OR logic operation with the *destination* operand being inverted. See also {@link LOGIC_OP_OR_REVERSE}.
|
|
1953
|
+
*/
|
|
1954
|
+
static readonly LOGIC_OP_OR_REVERSE: int;
|
|
1955
|
+
/** NOT logic operation (inverts the value). See also {@link LOGIC_OP_COPY}. */
|
|
1956
|
+
static readonly LOGIC_OP_COPY_INVERTED: int;
|
|
1957
|
+
/** OR logic operation with the *source* operand being inverted. See also {@link LOGIC_OP_OR_REVERSE}. */
|
|
1958
|
+
static readonly LOGIC_OP_OR_INVERTED: int;
|
|
1959
|
+
/** Not-AND (NAND) logic operation. */
|
|
1960
|
+
static readonly LOGIC_OP_NAND: int;
|
|
1961
|
+
/** SET logic operation (result is always `1`). See also {@link LOGIC_OP_CLEAR}. */
|
|
1962
|
+
static readonly LOGIC_OP_SET: int;
|
|
1963
|
+
/** Represents the size of the {@link LogicOperation} enum. */
|
|
1964
|
+
static readonly LOGIC_OP_MAX: int;
|
|
1965
|
+
// enum BlendFactor
|
|
1966
|
+
/** Constant `0.0` blend factor. */
|
|
1967
|
+
static readonly BLEND_FACTOR_ZERO: int;
|
|
1968
|
+
/** Constant `1.0` blend factor. */
|
|
1969
|
+
static readonly BLEND_FACTOR_ONE: int;
|
|
1970
|
+
/** Color blend factor is `source color`. Alpha blend factor is `source alpha`. */
|
|
1971
|
+
static readonly BLEND_FACTOR_SRC_COLOR: int;
|
|
1972
|
+
/** Color blend factor is `1.0 - source color`. Alpha blend factor is `1.0 - source alpha`. */
|
|
1973
|
+
static readonly BLEND_FACTOR_ONE_MINUS_SRC_COLOR: int;
|
|
1974
|
+
/** Color blend factor is `destination color`. Alpha blend factor is `destination alpha`. */
|
|
1975
|
+
static readonly BLEND_FACTOR_DST_COLOR: int;
|
|
1976
|
+
/** Color blend factor is `1.0 - destination color`. Alpha blend factor is `1.0 - destination alpha`. */
|
|
1977
|
+
static readonly BLEND_FACTOR_ONE_MINUS_DST_COLOR: int;
|
|
1978
|
+
/** Color and alpha blend factor is `source alpha`. */
|
|
1979
|
+
static readonly BLEND_FACTOR_SRC_ALPHA: int;
|
|
1980
|
+
/** Color and alpha blend factor is `1.0 - source alpha`. */
|
|
1981
|
+
static readonly BLEND_FACTOR_ONE_MINUS_SRC_ALPHA: int;
|
|
1982
|
+
/** Color and alpha blend factor is `destination alpha`. */
|
|
1983
|
+
static readonly BLEND_FACTOR_DST_ALPHA: int;
|
|
1984
|
+
/** Color and alpha blend factor is `1.0 - destination alpha`. */
|
|
1985
|
+
static readonly BLEND_FACTOR_ONE_MINUS_DST_ALPHA: int;
|
|
1986
|
+
/**
|
|
1987
|
+
* Color blend factor is `blend constant color`. Alpha blend factor is `blend constant alpha` (see {@link draw_list_set_blend_constants}).
|
|
1988
|
+
*/
|
|
1989
|
+
static readonly BLEND_FACTOR_CONSTANT_COLOR: int;
|
|
1990
|
+
/**
|
|
1991
|
+
* Color blend factor is `1.0 - blend constant color`. Alpha blend factor is `1.0 - blend constant alpha` (see {@link draw_list_set_blend_constants}).
|
|
1992
|
+
*/
|
|
1993
|
+
static readonly BLEND_FACTOR_ONE_MINUS_CONSTANT_COLOR: int;
|
|
1994
|
+
/** Color and alpha blend factor is `blend constant alpha` (see {@link draw_list_set_blend_constants}). */
|
|
1995
|
+
static readonly BLEND_FACTOR_CONSTANT_ALPHA: int;
|
|
1996
|
+
/**
|
|
1997
|
+
* Color and alpha blend factor is `1.0 - blend constant alpha` (see {@link draw_list_set_blend_constants}).
|
|
1998
|
+
*/
|
|
1999
|
+
static readonly BLEND_FACTOR_ONE_MINUS_CONSTANT_ALPHA: int;
|
|
2000
|
+
/** Color blend factor is `min(source alpha, 1.0 - destination alpha)`. Alpha blend factor is `1.0`. */
|
|
2001
|
+
static readonly BLEND_FACTOR_SRC_ALPHA_SATURATE: int;
|
|
2002
|
+
/**
|
|
2003
|
+
* Color blend factor is `second source color`. Alpha blend factor is `second source alpha`. Only relevant for dual-source blending.
|
|
2004
|
+
*/
|
|
2005
|
+
static readonly BLEND_FACTOR_SRC1_COLOR: int;
|
|
2006
|
+
/**
|
|
2007
|
+
* Color blend factor is `1.0 - second source color`. Alpha blend factor is `1.0 - second source alpha`. Only relevant for dual-source blending.
|
|
2008
|
+
*/
|
|
2009
|
+
static readonly BLEND_FACTOR_ONE_MINUS_SRC1_COLOR: int;
|
|
2010
|
+
/** Color and alpha blend factor is `second source alpha`. Only relevant for dual-source blending. */
|
|
2011
|
+
static readonly BLEND_FACTOR_SRC1_ALPHA: int;
|
|
2012
|
+
/**
|
|
2013
|
+
* Color and alpha blend factor is `1.0 - second source alpha`. Only relevant for dual-source blending.
|
|
2014
|
+
*/
|
|
2015
|
+
static readonly BLEND_FACTOR_ONE_MINUS_SRC1_ALPHA: int;
|
|
2016
|
+
/** Represents the size of the {@link BlendFactor} enum. */
|
|
2017
|
+
static readonly BLEND_FACTOR_MAX: int;
|
|
2018
|
+
// enum BlendOperation
|
|
2019
|
+
/** Additive blending operation (`source + destination`). */
|
|
2020
|
+
static readonly BLEND_OP_ADD: int;
|
|
2021
|
+
/** Subtractive blending operation (`source - destination`). */
|
|
2022
|
+
static readonly BLEND_OP_SUBTRACT: int;
|
|
2023
|
+
/** Reverse subtractive blending operation (`destination - source`). */
|
|
2024
|
+
static readonly BLEND_OP_REVERSE_SUBTRACT: int;
|
|
2025
|
+
/** Minimum blending operation (keep the lowest value of the two). */
|
|
2026
|
+
static readonly BLEND_OP_MINIMUM: int;
|
|
2027
|
+
/** Maximum blending operation (keep the highest value of the two). */
|
|
2028
|
+
static readonly BLEND_OP_MAXIMUM: int;
|
|
2029
|
+
/** Represents the size of the {@link BlendOperation} enum. */
|
|
2030
|
+
static readonly BLEND_OP_MAX: int;
|
|
2031
|
+
// enum PipelineDynamicStateFlags
|
|
2032
|
+
/** Allows dynamically changing the width of rendering lines. */
|
|
2033
|
+
static readonly DYNAMIC_STATE_LINE_WIDTH: int;
|
|
2034
|
+
/** Allows dynamically changing the depth bias. */
|
|
2035
|
+
static readonly DYNAMIC_STATE_DEPTH_BIAS: int;
|
|
2036
|
+
static readonly DYNAMIC_STATE_BLEND_CONSTANTS: int;
|
|
2037
|
+
static readonly DYNAMIC_STATE_DEPTH_BOUNDS: int;
|
|
2038
|
+
static readonly DYNAMIC_STATE_STENCIL_COMPARE_MASK: int;
|
|
2039
|
+
static readonly DYNAMIC_STATE_STENCIL_WRITE_MASK: int;
|
|
2040
|
+
static readonly DYNAMIC_STATE_STENCIL_REFERENCE: int;
|
|
2041
|
+
// enum InitialAction
|
|
2042
|
+
/** Load the previous contents of the framebuffer. */
|
|
2043
|
+
static readonly INITIAL_ACTION_LOAD: int;
|
|
2044
|
+
/** Clear the whole framebuffer or its specified region. */
|
|
2045
|
+
static readonly INITIAL_ACTION_CLEAR: int;
|
|
2046
|
+
/**
|
|
2047
|
+
* Ignore the previous contents of the framebuffer. This is the fastest option if you'll overwrite all of the pixels and don't need to read any of them.
|
|
2048
|
+
*/
|
|
2049
|
+
static readonly INITIAL_ACTION_DISCARD: int;
|
|
2050
|
+
/** Represents the size of the {@link InitialAction} enum. */
|
|
2051
|
+
static readonly INITIAL_ACTION_MAX: int;
|
|
2052
|
+
static readonly INITIAL_ACTION_CLEAR_REGION: int;
|
|
2053
|
+
static readonly INITIAL_ACTION_CLEAR_REGION_CONTINUE: int;
|
|
2054
|
+
static readonly INITIAL_ACTION_KEEP: int;
|
|
2055
|
+
static readonly INITIAL_ACTION_DROP: int;
|
|
2056
|
+
static readonly INITIAL_ACTION_CONTINUE: int;
|
|
2057
|
+
// enum FinalAction
|
|
2058
|
+
/** Store the result of the draw list in the framebuffer. This is generally what you want to do. */
|
|
2059
|
+
static readonly FINAL_ACTION_STORE: int;
|
|
2060
|
+
/**
|
|
2061
|
+
* Discard the contents of the framebuffer. This is the fastest option if you don't need to use the results of the draw list.
|
|
2062
|
+
*/
|
|
2063
|
+
static readonly FINAL_ACTION_DISCARD: int;
|
|
2064
|
+
/** Represents the size of the {@link FinalAction} enum. */
|
|
2065
|
+
static readonly FINAL_ACTION_MAX: int;
|
|
2066
|
+
static readonly FINAL_ACTION_READ: int;
|
|
2067
|
+
static readonly FINAL_ACTION_CONTINUE: int;
|
|
2068
|
+
// enum ShaderStage
|
|
2069
|
+
/**
|
|
2070
|
+
* Vertex shader stage. This can be used to manipulate vertices from a shader (but not create new vertices).
|
|
2071
|
+
*/
|
|
2072
|
+
static readonly SHADER_STAGE_VERTEX: int;
|
|
2073
|
+
/**
|
|
2074
|
+
* Fragment shader stage (called "pixel shader" in Direct3D). This can be used to manipulate pixels from a shader.
|
|
2075
|
+
*/
|
|
2076
|
+
static readonly SHADER_STAGE_FRAGMENT: int;
|
|
2077
|
+
/** Tessellation control shader stage. This can be used to create additional geometry from a shader. */
|
|
2078
|
+
static readonly SHADER_STAGE_TESSELATION_CONTROL: int;
|
|
2079
|
+
/** Tessellation evaluation shader stage. This can be used to create additional geometry from a shader. */
|
|
2080
|
+
static readonly SHADER_STAGE_TESSELATION_EVALUATION: int;
|
|
2081
|
+
/**
|
|
2082
|
+
* Compute shader stage. This can be used to run arbitrary computing tasks in a shader, performing them on the GPU instead of the CPU.
|
|
2083
|
+
*/
|
|
2084
|
+
static readonly SHADER_STAGE_COMPUTE: int;
|
|
2085
|
+
/** Ray generation shader stage. This can be used to generate primary rays. */
|
|
2086
|
+
static readonly SHADER_STAGE_RAYGEN: int;
|
|
2087
|
+
/**
|
|
2088
|
+
* Any hit shader stage. Invoked when ray intersections are not opaque. This can be used to specify what happens when a ray hits any of the geometry in the scene.
|
|
2089
|
+
*/
|
|
2090
|
+
static readonly SHADER_STAGE_ANY_HIT: int;
|
|
2091
|
+
/**
|
|
2092
|
+
* Closest hit shader stage. This can be used to specify what happens when a ray hits the closest geometry in the scene.
|
|
2093
|
+
*/
|
|
2094
|
+
static readonly SHADER_STAGE_CLOSEST_HIT: int;
|
|
2095
|
+
/**
|
|
2096
|
+
* Miss shader stage. This can be used to specify what happens if a ray does not hit anything in the scene.
|
|
2097
|
+
*/
|
|
2098
|
+
static readonly SHADER_STAGE_MISS: int;
|
|
2099
|
+
/**
|
|
2100
|
+
* Intersection shader stage. The intersection shader for triangles is built-in. This can be used to compute ray intersections with primitives that are not triangles.
|
|
2101
|
+
*/
|
|
2102
|
+
static readonly SHADER_STAGE_INTERSECTION: int;
|
|
2103
|
+
/** Represents the size of the {@link ShaderStage} enum. */
|
|
2104
|
+
static readonly SHADER_STAGE_MAX: int;
|
|
2105
|
+
/** Vertex shader stage bit (see also {@link SHADER_STAGE_VERTEX}). */
|
|
2106
|
+
static readonly SHADER_STAGE_VERTEX_BIT: int;
|
|
2107
|
+
/** Fragment shader stage bit (see also {@link SHADER_STAGE_FRAGMENT}). */
|
|
2108
|
+
static readonly SHADER_STAGE_FRAGMENT_BIT: int;
|
|
2109
|
+
/** Tessellation control shader stage bit (see also {@link SHADER_STAGE_TESSELATION_CONTROL}). */
|
|
2110
|
+
static readonly SHADER_STAGE_TESSELATION_CONTROL_BIT: int;
|
|
2111
|
+
/** Tessellation evaluation shader stage bit (see also {@link SHADER_STAGE_TESSELATION_EVALUATION}). */
|
|
2112
|
+
static readonly SHADER_STAGE_TESSELATION_EVALUATION_BIT: int;
|
|
2113
|
+
/** Compute shader stage bit (see also {@link SHADER_STAGE_COMPUTE}). */
|
|
2114
|
+
static readonly SHADER_STAGE_COMPUTE_BIT: int;
|
|
2115
|
+
/** Ray generation shader stage bit (see also {@link SHADER_STAGE_RAYGEN}). */
|
|
2116
|
+
static readonly SHADER_STAGE_RAYGEN_BIT: int;
|
|
2117
|
+
/** Any hit shader stage bit (see also {@link SHADER_STAGE_ANY_HIT}). */
|
|
2118
|
+
static readonly SHADER_STAGE_ANY_HIT_BIT: int;
|
|
2119
|
+
/** Closest hit shader stage bit (see also {@link SHADER_STAGE_CLOSEST_HIT}). */
|
|
2120
|
+
static readonly SHADER_STAGE_CLOSEST_HIT_BIT: int;
|
|
2121
|
+
/** Miss shader stage bit (see also {@link SHADER_STAGE_MISS}). */
|
|
2122
|
+
static readonly SHADER_STAGE_MISS_BIT: int;
|
|
2123
|
+
/** Intersection shader stage bit (see also {@link SHADER_STAGE_INTERSECTION}). */
|
|
2124
|
+
static readonly SHADER_STAGE_INTERSECTION_BIT: int;
|
|
2125
|
+
// enum ShaderLanguage
|
|
2126
|
+
/**
|
|
2127
|
+
* Khronos' GLSL shading language (used natively by OpenGL and Vulkan). This is the language used for core Godot shaders.
|
|
2128
|
+
*/
|
|
2129
|
+
static readonly SHADER_LANGUAGE_GLSL: int;
|
|
2130
|
+
/**
|
|
2131
|
+
* Microsoft's High-Level Shading Language (used natively by Direct3D, but can also be used in Vulkan).
|
|
2132
|
+
*/
|
|
2133
|
+
static readonly SHADER_LANGUAGE_HLSL: int;
|
|
2134
|
+
// enum PipelineSpecializationConstantType
|
|
2135
|
+
/** Boolean specialization constant. */
|
|
2136
|
+
static readonly PIPELINE_SPECIALIZATION_CONSTANT_TYPE_BOOL: int;
|
|
2137
|
+
/** Integer specialization constant. */
|
|
2138
|
+
static readonly PIPELINE_SPECIALIZATION_CONSTANT_TYPE_INT: int;
|
|
2139
|
+
/** Floating-point specialization constant. */
|
|
2140
|
+
static readonly PIPELINE_SPECIALIZATION_CONSTANT_TYPE_FLOAT: int;
|
|
2141
|
+
// enum Features
|
|
2142
|
+
/** Support for MetalFX spatial upscaling. */
|
|
2143
|
+
static readonly SUPPORTS_METALFX_SPATIAL: int;
|
|
2144
|
+
/** Support for MetalFX temporal upscaling. */
|
|
2145
|
+
static readonly SUPPORTS_METALFX_TEMPORAL: int;
|
|
2146
|
+
/** Features support for buffer device address extension. */
|
|
2147
|
+
static readonly SUPPORTS_BUFFER_DEVICE_ADDRESS: int;
|
|
2148
|
+
/** Support for 32-bit image atomic operations. */
|
|
2149
|
+
static readonly SUPPORTS_IMAGE_ATOMIC_32_BIT: int;
|
|
2150
|
+
/**
|
|
2151
|
+
* Support for ray query extension.
|
|
2152
|
+
* **Note:** This is currently only supported when using Vulkan. This is not supported on macOS and iOS (even on hardware supporting raytracing) due to MoltenVK limitations.
|
|
2153
|
+
*/
|
|
2154
|
+
static readonly SUPPORTS_RAY_QUERY: int;
|
|
2155
|
+
/**
|
|
2156
|
+
* Support for raytracing pipeline extension.
|
|
2157
|
+
* **Note:** This is currently only supported when using Vulkan. This is not supported on macOS and iOS (even on hardware supporting raytracing) due to MoltenVK limitations.
|
|
2158
|
+
*/
|
|
2159
|
+
static readonly SUPPORTS_RAYTRACING_PIPELINE: int;
|
|
2160
|
+
/** Support for high dynamic range (HDR) output. */
|
|
2161
|
+
static readonly SUPPORTS_HDR_OUTPUT: int;
|
|
2162
|
+
// enum Limit
|
|
2163
|
+
/** Maximum number of uniform sets that can be bound at a given time. */
|
|
2164
|
+
static readonly LIMIT_MAX_BOUND_UNIFORM_SETS: int;
|
|
2165
|
+
/** Maximum number of color framebuffer attachments that can be used at a given time. */
|
|
2166
|
+
static readonly LIMIT_MAX_FRAMEBUFFER_COLOR_ATTACHMENTS: int;
|
|
2167
|
+
/** Maximum number of textures that can be used per uniform set. */
|
|
2168
|
+
static readonly LIMIT_MAX_TEXTURES_PER_UNIFORM_SET: int;
|
|
2169
|
+
/** Maximum number of samplers that can be used per uniform set. */
|
|
2170
|
+
static readonly LIMIT_MAX_SAMPLERS_PER_UNIFORM_SET: int;
|
|
2171
|
+
/**
|
|
2172
|
+
* Maximum number of storage buffers (https://vkguide.dev/docs/chapter-4/storage_buffers/) per uniform set.
|
|
2173
|
+
*/
|
|
2174
|
+
static readonly LIMIT_MAX_STORAGE_BUFFERS_PER_UNIFORM_SET: int;
|
|
2175
|
+
/** Maximum number of storage images per uniform set. */
|
|
2176
|
+
static readonly LIMIT_MAX_STORAGE_IMAGES_PER_UNIFORM_SET: int;
|
|
2177
|
+
/** Maximum number of uniform buffers per uniform set. */
|
|
2178
|
+
static readonly LIMIT_MAX_UNIFORM_BUFFERS_PER_UNIFORM_SET: int;
|
|
2179
|
+
/** Maximum index for an indexed draw command. */
|
|
2180
|
+
static readonly LIMIT_MAX_DRAW_INDEXED_INDEX: int;
|
|
2181
|
+
/** Maximum height of a framebuffer (in pixels). */
|
|
2182
|
+
static readonly LIMIT_MAX_FRAMEBUFFER_HEIGHT: int;
|
|
2183
|
+
/** Maximum width of a framebuffer (in pixels). */
|
|
2184
|
+
static readonly LIMIT_MAX_FRAMEBUFFER_WIDTH: int;
|
|
2185
|
+
/** Maximum number of texture array layers. */
|
|
2186
|
+
static readonly LIMIT_MAX_TEXTURE_ARRAY_LAYERS: int;
|
|
2187
|
+
/** Maximum supported 1-dimensional texture size (in pixels on a single axis). */
|
|
2188
|
+
static readonly LIMIT_MAX_TEXTURE_SIZE_1D: int;
|
|
2189
|
+
/** Maximum supported 2-dimensional texture size (in pixels on a single axis). */
|
|
2190
|
+
static readonly LIMIT_MAX_TEXTURE_SIZE_2D: int;
|
|
2191
|
+
/** Maximum supported 3-dimensional texture size (in pixels on a single axis). */
|
|
2192
|
+
static readonly LIMIT_MAX_TEXTURE_SIZE_3D: int;
|
|
2193
|
+
/** Maximum supported cubemap texture size (in pixels on a single axis of a single face). */
|
|
2194
|
+
static readonly LIMIT_MAX_TEXTURE_SIZE_CUBE: int;
|
|
2195
|
+
/** Maximum number of textures per shader stage. */
|
|
2196
|
+
static readonly LIMIT_MAX_TEXTURES_PER_SHADER_STAGE: int;
|
|
2197
|
+
/** Maximum number of samplers per shader stage. */
|
|
2198
|
+
static readonly LIMIT_MAX_SAMPLERS_PER_SHADER_STAGE: int;
|
|
2199
|
+
/**
|
|
2200
|
+
* Maximum number of storage buffers (https://vkguide.dev/docs/chapter-4/storage_buffers/) per shader stage.
|
|
2201
|
+
*/
|
|
2202
|
+
static readonly LIMIT_MAX_STORAGE_BUFFERS_PER_SHADER_STAGE: int;
|
|
2203
|
+
/** Maximum number of storage images per shader stage. */
|
|
2204
|
+
static readonly LIMIT_MAX_STORAGE_IMAGES_PER_SHADER_STAGE: int;
|
|
2205
|
+
/** Maximum number of uniform buffers per uniform set. */
|
|
2206
|
+
static readonly LIMIT_MAX_UNIFORM_BUFFERS_PER_SHADER_STAGE: int;
|
|
2207
|
+
/**
|
|
2208
|
+
* Maximum size of a push constant. A lot of devices are limited to 128 bytes, so try to avoid exceeding 128 bytes in push constants to ensure compatibility even if your GPU is reporting a higher value.
|
|
2209
|
+
*/
|
|
2210
|
+
static readonly LIMIT_MAX_PUSH_CONSTANT_SIZE: int;
|
|
2211
|
+
/** Maximum size of a uniform buffer. */
|
|
2212
|
+
static readonly LIMIT_MAX_UNIFORM_BUFFER_SIZE: int;
|
|
2213
|
+
/** Maximum vertex input attribute offset. */
|
|
2214
|
+
static readonly LIMIT_MAX_VERTEX_INPUT_ATTRIBUTE_OFFSET: int;
|
|
2215
|
+
/** Maximum number of vertex input attributes. */
|
|
2216
|
+
static readonly LIMIT_MAX_VERTEX_INPUT_ATTRIBUTES: int;
|
|
2217
|
+
/** Maximum number of vertex input bindings. */
|
|
2218
|
+
static readonly LIMIT_MAX_VERTEX_INPUT_BINDINGS: int;
|
|
2219
|
+
/** Maximum vertex input binding stride. */
|
|
2220
|
+
static readonly LIMIT_MAX_VERTEX_INPUT_BINDING_STRIDE: int;
|
|
2221
|
+
/** Minimum uniform buffer offset alignment. */
|
|
2222
|
+
static readonly LIMIT_MIN_UNIFORM_BUFFER_OFFSET_ALIGNMENT: int;
|
|
2223
|
+
/** Maximum shared memory size for compute shaders. */
|
|
2224
|
+
static readonly LIMIT_MAX_COMPUTE_SHARED_MEMORY_SIZE: int;
|
|
2225
|
+
/** Maximum number of workgroups for compute shaders on the X axis. */
|
|
2226
|
+
static readonly LIMIT_MAX_COMPUTE_WORKGROUP_COUNT_X: int;
|
|
2227
|
+
/** Maximum number of workgroups for compute shaders on the Y axis. */
|
|
2228
|
+
static readonly LIMIT_MAX_COMPUTE_WORKGROUP_COUNT_Y: int;
|
|
2229
|
+
/** Maximum number of workgroups for compute shaders on the Z axis. */
|
|
2230
|
+
static readonly LIMIT_MAX_COMPUTE_WORKGROUP_COUNT_Z: int;
|
|
2231
|
+
/** Maximum number of workgroup invocations for compute shaders. */
|
|
2232
|
+
static readonly LIMIT_MAX_COMPUTE_WORKGROUP_INVOCATIONS: int;
|
|
2233
|
+
/** Maximum workgroup size for compute shaders on the X axis. */
|
|
2234
|
+
static readonly LIMIT_MAX_COMPUTE_WORKGROUP_SIZE_X: int;
|
|
2235
|
+
/** Maximum workgroup size for compute shaders on the Y axis. */
|
|
2236
|
+
static readonly LIMIT_MAX_COMPUTE_WORKGROUP_SIZE_Y: int;
|
|
2237
|
+
/** Maximum workgroup size for compute shaders on the Z axis. */
|
|
2238
|
+
static readonly LIMIT_MAX_COMPUTE_WORKGROUP_SIZE_Z: int;
|
|
2239
|
+
/** Maximum viewport width (in pixels). */
|
|
2240
|
+
static readonly LIMIT_MAX_VIEWPORT_DIMENSIONS_X: int;
|
|
2241
|
+
/** Maximum viewport height (in pixels). */
|
|
2242
|
+
static readonly LIMIT_MAX_VIEWPORT_DIMENSIONS_Y: int;
|
|
2243
|
+
/**
|
|
2244
|
+
* Returns the smallest value for {@link ProjectSettings.rendering/scaling_3d/scale} when using the MetalFX temporal upscaler.
|
|
2245
|
+
* **Note:** The returned value is multiplied by a factor of `1000000` to preserve 6 digits of precision. It must be divided by `1000000.0` to convert the value to a floating point number.
|
|
2246
|
+
*/
|
|
2247
|
+
static readonly LIMIT_METALFX_TEMPORAL_SCALER_MIN_SCALE: int;
|
|
2248
|
+
/**
|
|
2249
|
+
* Returns the largest value for {@link ProjectSettings.rendering/scaling_3d/scale} when using the MetalFX temporal upscaler.
|
|
2250
|
+
* **Note:** The returned value is multiplied by a factor of `1000000` to preserve 6 digits of precision. It must be divided by `1000000.0` to convert the value to a floating point number.
|
|
2251
|
+
*/
|
|
2252
|
+
static readonly LIMIT_METALFX_TEMPORAL_SCALER_MAX_SCALE: int;
|
|
2253
|
+
// enum MemoryType
|
|
2254
|
+
/** Memory taken by textures. */
|
|
2255
|
+
static readonly MEMORY_TEXTURES: int;
|
|
2256
|
+
/** Memory taken by buffers. */
|
|
2257
|
+
static readonly MEMORY_BUFFERS: int;
|
|
2258
|
+
/**
|
|
2259
|
+
* Total memory taken. This is greater than the sum of {@link MEMORY_TEXTURES} and {@link MEMORY_BUFFERS}, as it also includes miscellaneous memory usage.
|
|
2260
|
+
*/
|
|
2261
|
+
static readonly MEMORY_TOTAL: int;
|
|
2262
|
+
// enum BreadcrumbMarker
|
|
2263
|
+
/** No breadcrumb marker will be added. */
|
|
2264
|
+
static readonly NONE: int;
|
|
2265
|
+
/**
|
|
2266
|
+
* During a GPU crash in dev or debug mode, Godot's error message will include `"REFLECTION_PROBES"` for added context as to when the crash occurred.
|
|
2267
|
+
*/
|
|
2268
|
+
static readonly REFLECTION_PROBES: int;
|
|
2269
|
+
/**
|
|
2270
|
+
* During a GPU crash in dev or debug mode, Godot's error message will include `"SKY_PASS"` for added context as to when the crash occurred.
|
|
2271
|
+
*/
|
|
2272
|
+
static readonly SKY_PASS: int;
|
|
2273
|
+
/**
|
|
2274
|
+
* During a GPU crash in dev or debug mode, Godot's error message will include `"LIGHTMAPPER_PASS"` for added context as to when the crash occurred.
|
|
2275
|
+
*/
|
|
2276
|
+
static readonly LIGHTMAPPER_PASS: int;
|
|
2277
|
+
/**
|
|
2278
|
+
* During a GPU crash in dev or debug mode, Godot's error message will include `"SHADOW_PASS_DIRECTIONAL"` for added context as to when the crash occurred.
|
|
2279
|
+
*/
|
|
2280
|
+
static readonly SHADOW_PASS_DIRECTIONAL: int;
|
|
2281
|
+
/**
|
|
2282
|
+
* During a GPU crash in dev or debug mode, Godot's error message will include `"SHADOW_PASS_CUBE"` for added context as to when the crash occurred.
|
|
2283
|
+
*/
|
|
2284
|
+
static readonly SHADOW_PASS_CUBE: int;
|
|
2285
|
+
/**
|
|
2286
|
+
* During a GPU crash in dev or debug mode, Godot's error message will include `"OPAQUE_PASS"` for added context as to when the crash occurred.
|
|
2287
|
+
*/
|
|
2288
|
+
static readonly OPAQUE_PASS: int;
|
|
2289
|
+
/**
|
|
2290
|
+
* During a GPU crash in dev or debug mode, Godot's error message will include `"ALPHA_PASS"` for added context as to when the crash occurred.
|
|
2291
|
+
*/
|
|
2292
|
+
static readonly ALPHA_PASS: int;
|
|
2293
|
+
/**
|
|
2294
|
+
* During a GPU crash in dev or debug mode, Godot's error message will include `"TRANSPARENT_PASS"` for added context as to when the crash occurred.
|
|
2295
|
+
*/
|
|
2296
|
+
static readonly TRANSPARENT_PASS: int;
|
|
2297
|
+
/**
|
|
2298
|
+
* During a GPU crash in dev or debug mode, Godot's error message will include `"POST_PROCESSING_PASS"` for added context as to when the crash occurred.
|
|
2299
|
+
*/
|
|
2300
|
+
static readonly POST_PROCESSING_PASS: int;
|
|
2301
|
+
/**
|
|
2302
|
+
* During a GPU crash in dev or debug mode, Godot's error message will include `"BLIT_PASS"` for added context as to when the crash occurred.
|
|
2303
|
+
*/
|
|
2304
|
+
static readonly BLIT_PASS: int;
|
|
2305
|
+
/**
|
|
2306
|
+
* During a GPU crash in dev or debug mode, Godot's error message will include `"UI_PASS"` for added context as to when the crash occurred.
|
|
2307
|
+
*/
|
|
2308
|
+
static readonly UI_PASS: int;
|
|
2309
|
+
/**
|
|
2310
|
+
* During a GPU crash in dev or debug mode, Godot's error message will include `"DEBUG_PASS"` for added context as to when the crash occurred.
|
|
2311
|
+
*/
|
|
2312
|
+
static readonly DEBUG_PASS: int;
|
|
2313
|
+
// enum DrawFlags
|
|
2314
|
+
/** Do not clear or ignore any attachments. */
|
|
2315
|
+
static readonly DRAW_DEFAULT_ALL: int;
|
|
2316
|
+
/** Clear the first color attachment. */
|
|
2317
|
+
static readonly DRAW_CLEAR_COLOR_0: int;
|
|
2318
|
+
/** Clear the second color attachment. */
|
|
2319
|
+
static readonly DRAW_CLEAR_COLOR_1: int;
|
|
2320
|
+
/** Clear the third color attachment. */
|
|
2321
|
+
static readonly DRAW_CLEAR_COLOR_2: int;
|
|
2322
|
+
/** Clear the fourth color attachment. */
|
|
2323
|
+
static readonly DRAW_CLEAR_COLOR_3: int;
|
|
2324
|
+
/** Clear the fifth color attachment. */
|
|
2325
|
+
static readonly DRAW_CLEAR_COLOR_4: int;
|
|
2326
|
+
/** Clear the sixth color attachment. */
|
|
2327
|
+
static readonly DRAW_CLEAR_COLOR_5: int;
|
|
2328
|
+
/** Clear the seventh color attachment. */
|
|
2329
|
+
static readonly DRAW_CLEAR_COLOR_6: int;
|
|
2330
|
+
/** Clear the eighth color attachment. */
|
|
2331
|
+
static readonly DRAW_CLEAR_COLOR_7: int;
|
|
2332
|
+
/** Mask for clearing all color attachments. */
|
|
2333
|
+
static readonly DRAW_CLEAR_COLOR_MASK: int;
|
|
2334
|
+
/** Clear all color attachments. */
|
|
2335
|
+
static readonly DRAW_CLEAR_COLOR_ALL: int;
|
|
2336
|
+
/** Ignore the previous contents of the first color attachment. */
|
|
2337
|
+
static readonly DRAW_IGNORE_COLOR_0: int;
|
|
2338
|
+
/** Ignore the previous contents of the second color attachment. */
|
|
2339
|
+
static readonly DRAW_IGNORE_COLOR_1: int;
|
|
2340
|
+
/** Ignore the previous contents of the third color attachment. */
|
|
2341
|
+
static readonly DRAW_IGNORE_COLOR_2: int;
|
|
2342
|
+
/** Ignore the previous contents of the fourth color attachment. */
|
|
2343
|
+
static readonly DRAW_IGNORE_COLOR_3: int;
|
|
2344
|
+
/** Ignore the previous contents of the fifth color attachment. */
|
|
2345
|
+
static readonly DRAW_IGNORE_COLOR_4: int;
|
|
2346
|
+
/** Ignore the previous contents of the sixth color attachment. */
|
|
2347
|
+
static readonly DRAW_IGNORE_COLOR_5: int;
|
|
2348
|
+
/** Ignore the previous contents of the seventh color attachment. */
|
|
2349
|
+
static readonly DRAW_IGNORE_COLOR_6: int;
|
|
2350
|
+
/** Ignore the previous contents of the eighth color attachment. */
|
|
2351
|
+
static readonly DRAW_IGNORE_COLOR_7: int;
|
|
2352
|
+
/** Mask for ignoring all the previous contents of the color attachments. */
|
|
2353
|
+
static readonly DRAW_IGNORE_COLOR_MASK: int;
|
|
2354
|
+
/** Ignore the previous contents of all color attachments. */
|
|
2355
|
+
static readonly DRAW_IGNORE_COLOR_ALL: int;
|
|
2356
|
+
/** Clear the depth attachment. */
|
|
2357
|
+
static readonly DRAW_CLEAR_DEPTH: int;
|
|
2358
|
+
/** Ignore the previous contents of the depth attachment. */
|
|
2359
|
+
static readonly DRAW_IGNORE_DEPTH: int;
|
|
2360
|
+
/** Clear the stencil attachment. */
|
|
2361
|
+
static readonly DRAW_CLEAR_STENCIL: int;
|
|
2362
|
+
/** Ignore the previous contents of the stencil attachment. */
|
|
2363
|
+
static readonly DRAW_IGNORE_STENCIL: int;
|
|
2364
|
+
/** Clear all attachments. */
|
|
2365
|
+
static readonly DRAW_CLEAR_ALL: int;
|
|
2366
|
+
/** Ignore the previous contents of all attachments. */
|
|
2367
|
+
static readonly DRAW_IGNORE_ALL: int;
|
|
2368
|
+
|
|
2369
|
+
/** Returned by functions that return an ID if a value is invalid. */
|
|
2370
|
+
static readonly INVALID_ID: int;
|
|
2371
|
+
/** Returned by functions that return a format ID if a value is invalid. */
|
|
2372
|
+
static readonly INVALID_FORMAT_ID: int;
|
|
2373
|
+
}
|