@ringozz/godot 4.7.2-683 → 4.7.2-686
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/README.md +185 -185
- package/gen/classes/AESContext.ts +6 -6
- package/gen/classes/AStar2D.ts +25 -25
- package/gen/classes/AStar3D.ts +25 -25
- package/gen/classes/AStarGrid2D.ts +33 -33
- package/gen/classes/AcceptDialog.ts +23 -22
- package/gen/classes/AccessibilityServer.ts +79 -75
- package/gen/classes/AimModifier3D.ts +12 -12
- package/gen/classes/AnimatableBody2D.ts +2 -2
- package/gen/classes/AnimatableBody3D.ts +2 -2
- package/gen/classes/AnimatedSprite2D.ts +37 -37
- package/gen/classes/AnimatedSprite3D.ts +29 -29
- package/gen/classes/AnimatedTexture.ts +14 -14
- package/gen/classes/Animation.ts +102 -86
- package/gen/classes/AnimationLibrary.ts +15 -15
- package/gen/classes/AnimationMixer.ts +54 -54
- package/gen/classes/AnimationNode.ts +27 -27
- package/gen/classes/AnimationNodeAnimation.ts +16 -16
- package/gen/classes/AnimationNodeBlendSpace1D.ts +37 -27
- package/gen/classes/AnimationNodeBlendSpace2D.ts +48 -41
- package/gen/classes/AnimationNodeBlendTree.ts +14 -14
- package/gen/classes/AnimationNodeExtension.ts +2 -2
- package/gen/classes/AnimationNodeObserver.ts +10 -0
- package/gen/classes/AnimationNodeObserverBlendSpace.ts +18 -0
- package/gen/classes/AnimationNodeObserverOneShot.ts +36 -0
- package/gen/classes/AnimationNodeObserverTransition.ts +24 -0
- package/gen/classes/AnimationNodeOneShot.ts +34 -22
- package/gen/classes/AnimationNodeOutput.ts +2 -2
- package/gen/classes/AnimationNodeStateMachine.ts +28 -28
- package/gen/classes/AnimationNodeStateMachinePlayback.ts +20 -20
- package/gen/classes/AnimationNodeStateMachineTransition.ts +22 -22
- package/gen/classes/AnimationNodeSub2.ts +2 -2
- package/gen/classes/AnimationNodeSync.ts +4 -4
- package/gen/classes/AnimationNodeTimeScale.ts +2 -2
- package/gen/classes/AnimationNodeTimeSeek.ts +4 -4
- package/gen/classes/AnimationNodeTransition.ts +28 -16
- package/gen/classes/AnimationPlayer.ts +67 -60
- package/gen/classes/AnimationRootNode.ts +2 -2
- package/gen/classes/AnimationTree.ts +12 -12
- package/gen/classes/Area2D.ts +55 -55
- package/gen/classes/Area3D.ts +69 -69
- package/gen/classes/AreaLight3D.ts +13 -13
- package/gen/classes/ArrayMesh.ts +28 -28
- package/gen/classes/ArrayOccluder3D.ts +7 -7
- package/gen/classes/AspectRatioContainer.ts +10 -10
- package/gen/classes/AtlasTexture.ts +10 -10
- package/gen/classes/AudioBusLayout.ts +2 -2
- package/gen/classes/AudioEffect.ts +2 -2
- package/gen/classes/AudioEffectAmplify.ts +6 -6
- package/gen/classes/AudioEffectBandLimitFilter.ts +2 -2
- package/gen/classes/AudioEffectBandPassFilter.ts +2 -2
- package/gen/classes/AudioEffectCapture.ts +11 -11
- package/gen/classes/AudioEffectChorus.ts +20 -20
- package/gen/classes/AudioEffectCompressor.ts +16 -16
- package/gen/classes/AudioEffectDelay.ts +28 -28
- package/gen/classes/AudioEffectDistortion.ts +12 -12
- package/gen/classes/AudioEffectEQ.ts +5 -5
- package/gen/classes/AudioEffectEQ10.ts +2 -2
- package/gen/classes/AudioEffectEQ21.ts +2 -2
- package/gen/classes/AudioEffectEQ6.ts +2 -2
- package/gen/classes/AudioEffectFilter.ts +10 -10
- package/gen/classes/AudioEffectHardLimiter.ts +8 -8
- package/gen/classes/AudioEffectHighPassFilter.ts +2 -2
- package/gen/classes/AudioEffectHighShelfFilter.ts +2 -2
- package/gen/classes/AudioEffectInstance.ts +2 -2
- package/gen/classes/AudioEffectLimiter.ts +10 -10
- package/gen/classes/AudioEffectLowPassFilter.ts +2 -2
- package/gen/classes/AudioEffectLowShelfFilter.ts +2 -2
- package/gen/classes/AudioEffectNotchFilter.ts +2 -2
- package/gen/classes/AudioEffectPanner.ts +4 -4
- package/gen/classes/AudioEffectPhaser.ts +12 -12
- package/gen/classes/AudioEffectPitchShift.ts +8 -8
- package/gen/classes/AudioEffectRecord.ts +7 -7
- package/gen/classes/AudioEffectReverb.ts +18 -18
- package/gen/classes/AudioEffectSpectrumAnalyzer.ts +6 -6
- package/gen/classes/AudioEffectSpectrumAnalyzerInstance.ts +2 -2
- package/gen/classes/AudioEffectStereoEnhance.ts +8 -8
- package/gen/classes/AudioListener2D.ts +5 -5
- package/gen/classes/AudioListener3D.ts +8 -8
- package/gen/classes/AudioSample.ts +2 -2
- package/gen/classes/AudioSamplePlayback.ts +2 -2
- package/gen/classes/AudioServer.ts +63 -63
- package/gen/classes/AudioStream.ts +10 -10
- package/gen/classes/AudioStreamGenerator.ts +8 -8
- package/gen/classes/AudioStreamGeneratorPlayback.ts +7 -7
- package/gen/classes/AudioStreamInteractive.ts +25 -25
- package/gen/classes/AudioStreamMP3.ts +16 -16
- package/gen/classes/AudioStreamMicrophone.ts +2 -2
- package/gen/classes/AudioStreamOggVorbis.ts +18 -18
- package/gen/classes/AudioStreamPlayback.ts +11 -11
- package/gen/classes/AudioStreamPlaybackInteractive.ts +4 -4
- package/gen/classes/AudioStreamPlaybackOggVorbis.ts +2 -2
- package/gen/classes/AudioStreamPlaybackPlaylist.ts +1 -1
- package/gen/classes/AudioStreamPlaybackPolyphonic.ts +6 -6
- package/gen/classes/AudioStreamPlaybackResampled.ts +3 -3
- package/gen/classes/AudioStreamPlaybackSynchronized.ts +1 -1
- package/gen/classes/AudioStreamPlayer.ts +32 -32
- package/gen/classes/AudioStreamPlayer2D.ts +38 -38
- package/gen/classes/AudioStreamPlayer3D.ts +54 -54
- package/gen/classes/AudioStreamPlaylist.ts +139 -139
- package/gen/classes/AudioStreamPolyphonic.ts +4 -4
- package/gen/classes/AudioStreamRandomizer.ts +19 -19
- package/gen/classes/AudioStreamSynchronized.ts +8 -8
- package/gen/classes/AudioStreamWAV.ts +21 -21
- package/gen/classes/AwaitTweener.ts +3 -3
- package/gen/classes/BackBufferCopy.ts +6 -6
- package/gen/classes/BaseButton.ts +39 -33
- package/gen/classes/BaseMaterial3D.ts +283 -268
- package/gen/classes/BitMap.ts +17 -17
- package/gen/classes/BlitMaterial.ts +8 -4
- package/gen/classes/Bone2D.ts +13 -13
- package/gen/classes/BoneAttachment3D.ts +14 -14
- package/gen/classes/BoneConstraint3D.ts +26 -26
- package/gen/classes/BoneMap.ts +11 -11
- package/gen/classes/BoneSpaceAdjuster3D.ts +76 -0
- package/gen/classes/BoneTwistDisperser3D.ts +36 -36
- package/gen/classes/BoxContainer.ts +13 -7
- package/gen/classes/BoxMesh.ts +10 -10
- package/gen/classes/BoxOccluder3D.ts +4 -4
- package/gen/classes/BoxShape3D.ts +4 -4
- package/gen/classes/Button.ts +28 -28
- package/gen/classes/ButtonGroup.ts +8 -8
- package/gen/classes/CCDIK3D.ts +2 -2
- package/gen/classes/CPUParticles2D.ts +145 -145
- package/gen/classes/CPUParticles3D.ts +162 -162
- package/gen/classes/CSGBox3D.ts +6 -6
- package/gen/classes/CSGCombiner3D.ts +2 -2
- package/gen/classes/CSGCylinder3D.ts +14 -14
- package/gen/classes/CSGMesh3D.ts +6 -6
- package/gen/classes/CSGPolygon3D.ts +36 -36
- package/gen/classes/CSGPrimitive3D.ts +3 -3
- package/gen/classes/CSGShape3D.ts +27 -27
- package/gen/classes/CSGSphere3D.ts +12 -12
- package/gen/classes/CSGTorus3D.ts +14 -14
- package/gen/classes/CallbackTweener.ts +3 -3
- package/gen/classes/Camera2D.ts +66 -66
- package/gen/classes/Camera3D.ts +53 -53
- package/gen/classes/CameraAttributes.ts +12 -12
- package/gen/classes/CameraAttributesPhysical.ts +21 -21
- package/gen/classes/CameraAttributesPractical.ts +20 -20
- package/gen/classes/CameraFeed.ts +23 -23
- package/gen/classes/CameraServer.ts +15 -15
- package/gen/classes/CameraTexture.ts +8 -8
- package/gen/classes/CanvasGroup.ts +8 -8
- package/gen/classes/CanvasItem.ts +115 -113
- package/gen/classes/CanvasItemMaterial.ts +14 -14
- package/gen/classes/CanvasLayer.ts +27 -27
- package/gen/classes/CanvasModulate.ts +4 -4
- package/gen/classes/CanvasTexture.ts +16 -16
- package/gen/classes/CapsuleMesh.ts +10 -10
- package/gen/classes/CapsuleShape2D.ts +8 -8
- package/gen/classes/CapsuleShape3D.ts +8 -8
- package/gen/classes/CenterContainer.ts +4 -4
- package/gen/classes/ChainIK3D.ts +18 -18
- package/gen/classes/CharFXTransform.ts +28 -28
- package/gen/classes/CharacterBody2D.ts +50 -50
- package/gen/classes/CharacterBody3D.ts +51 -51
- package/gen/classes/CheckBox.ts +2 -2
- package/gen/classes/CheckButton.ts +2 -2
- package/gen/classes/CircleShape2D.ts +4 -4
- package/gen/classes/ClassDB.ts +38 -32
- package/gen/classes/CodeEdit.ts +126 -126
- package/gen/classes/CodeHighlighter.ts +30 -30
- package/gen/classes/CollisionObject2D.ts +52 -52
- package/gen/classes/CollisionObject3D.ts +44 -44
- package/gen/classes/CollisionPolygon2D.ts +14 -14
- package/gen/classes/CollisionPolygon3D.ts +14 -14
- package/gen/classes/CollisionShape2D.ts +14 -14
- package/gen/classes/CollisionShape3D.ts +12 -12
- package/gen/classes/ColorPalette.ts +4 -4
- package/gen/classes/ColorPicker.ts +38 -38
- package/gen/classes/ColorPickerButton.ts +16 -16
- package/gen/classes/ColorRect.ts +4 -4
- package/gen/classes/Compositor.ts +4 -4
- package/gen/classes/CompositorEffect.ts +16 -16
- package/gen/classes/CompressedCubemap.ts +2 -2
- package/gen/classes/CompressedCubemapArray.ts +2 -2
- package/gen/classes/CompressedTexture2D.ts +4 -4
- package/gen/classes/CompressedTexture2DArray.ts +2 -2
- package/gen/classes/CompressedTexture3D.ts +4 -4
- package/gen/classes/CompressedTextureLayered.ts +3 -3
- package/gen/classes/ConcavePolygonShape2D.ts +4 -4
- package/gen/classes/ConcavePolygonShape3D.ts +6 -6
- package/gen/classes/ConeTwistJoint3D.ts +12 -12
- package/gen/classes/ConfigFile.ts +19 -19
- package/gen/classes/ConfirmationDialog.ts +6 -5
- package/gen/classes/Container.ts +10 -10
- package/gen/classes/Control.ts +280 -240
- package/gen/classes/ConvertTransformModifier3D.ts +42 -29
- package/gen/classes/ConvexPolygonShape2D.ts +5 -5
- package/gen/classes/ConvexPolygonShape3D.ts +4 -4
- package/gen/classes/CopyTransformModifier3D.ts +59 -46
- package/gen/classes/Crypto.ts +11 -11
- package/gen/classes/CryptoKey.ts +7 -7
- package/gen/classes/Cubemap.ts +3 -3
- package/gen/classes/CubemapArray.ts +3 -3
- package/gen/classes/Curve.ts +38 -38
- package/gen/classes/Curve2D.ts +25 -25
- package/gen/classes/Curve3D.ts +34 -34
- package/gen/classes/CurveTexture.ts +8 -8
- package/gen/classes/CurveXYZTexture.ts +10 -10
- package/gen/classes/CylinderMesh.ts +16 -16
- package/gen/classes/CylinderShape3D.ts +6 -6
- package/gen/classes/DPITexture.ts +17 -17
- package/gen/classes/DTLSServer.ts +4 -4
- package/gen/classes/DampedSpringJoint2D.ts +10 -10
- package/gen/classes/Decal.ts +32 -32
- package/gen/classes/DirAccess.ts +43 -43
- package/gen/classes/DirectionalLight2D.ts +6 -6
- package/gen/classes/DirectionalLight3D.ts +24 -24
- package/gen/classes/DisplayServer.ts +392 -326
- package/gen/classes/DrawableTexture2D.ts +10 -10
- package/gen/classes/ENetConnection.ts +20 -20
- package/gen/classes/ENetMultiplayerPeer.ts +9 -9
- package/gen/classes/ENetPacketPeer.ts +18 -18
- package/gen/classes/EncodedObjectAsID.ts +4 -4
- package/gen/classes/Engine.ts +43 -43
- package/gen/classes/EngineDebugger.ts +25 -25
- package/gen/classes/EngineProfiler.ts +2 -2
- package/gen/classes/Environment.ts +190 -190
- package/gen/classes/Expression.ts +6 -6
- package/gen/classes/ExternalTexture.ts +6 -6
- package/gen/classes/FABRIK3D.ts +2 -2
- package/gen/classes/FBXDocument.ts +2 -2
- package/gen/classes/FBXState.ts +4 -4
- package/gen/classes/FastNoiseLite.ts +44 -44
- package/gen/classes/FileAccess.ts +69 -69
- package/gen/classes/FileDialog.ts +113 -79
- package/gen/classes/FlowContainer.ts +11 -11
- package/gen/classes/FogMaterial.ts +14 -14
- package/gen/classes/FogVolume.ts +8 -8
- package/gen/classes/FoldableContainer.ts +35 -24
- package/gen/classes/FoldableGroup.ts +8 -8
- package/gen/classes/Font.ts +38 -38
- package/gen/classes/FontFile.ts +113 -113
- package/gen/classes/FontVariation.ts +28 -28
- package/gen/classes/FramebufferCacheRD.ts +3 -3
- package/gen/classes/FuzzySearch.ts +86 -0
- package/gen/classes/FuzzySearchMatch.ts +36 -0
- package/gen/classes/GDExtension.ts +4 -4
- package/gen/classes/GDExtensionManager.ts +15 -15
- package/gen/classes/GDScript.ts +3 -3
- package/gen/classes/GLTFAccessor.ts +34 -34
- package/gen/classes/GLTFAnimation.ts +8 -8
- package/gen/classes/GLTFBufferView.ts +17 -17
- package/gen/classes/GLTFCamera.ts +16 -16
- package/gen/classes/GLTFDocument.ts +27 -27
- package/gen/classes/GLTFDocumentExtension.ts +2 -2
- package/gen/classes/GLTFDocumentExtensionConvertImporterMesh.ts +2 -2
- package/gen/classes/GLTFLight.ts +20 -20
- package/gen/classes/GLTFMesh.ts +12 -12
- package/gen/classes/GLTFNode.ts +34 -34
- package/gen/classes/GLTFObjectModelProperty.ts +20 -20
- package/gen/classes/GLTFPhysicsBody.ts +22 -22
- package/gen/classes/GLTFPhysicsShape.ts +25 -25
- package/gen/classes/GLTFSkeleton.ts +13 -13
- package/gen/classes/GLTFSkin.ts +22 -22
- package/gen/classes/GLTFSpecGloss.ts +12 -12
- package/gen/classes/GLTFState.ts +74 -74
- package/gen/classes/GLTFTexture.ts +6 -6
- package/gen/classes/GLTFTextureSampler.ts +10 -10
- package/gen/classes/GPUParticles2D.ts +63 -62
- package/gen/classes/GPUParticles3D.ts +81 -76
- package/gen/classes/GPUParticlesAttractor3D.ts +9 -9
- package/gen/classes/GPUParticlesAttractorBox3D.ts +4 -4
- package/gen/classes/GPUParticlesAttractorSphere3D.ts +4 -4
- package/gen/classes/GPUParticlesAttractorVectorField3D.ts +6 -6
- package/gen/classes/GPUParticlesCollision3D.ts +3 -3
- package/gen/classes/GPUParticlesCollisionBox3D.ts +4 -4
- package/gen/classes/GPUParticlesCollisionHeightField3D.ts +14 -14
- package/gen/classes/GPUParticlesCollisionSDF3D.ts +14 -14
- package/gen/classes/GPUParticlesCollisionSphere3D.ts +4 -4
- package/gen/classes/Generic6DOFJoint3D.ts +54 -16
- package/gen/classes/Geometry2D.ts +26 -26
- package/gen/classes/Geometry3D.ts +17 -17
- package/gen/classes/GeometryInstance3D.ts +36 -36
- package/gen/classes/GodotInstance.ts +8 -8
- package/gen/classes/Gradient.ts +19 -19
- package/gen/classes/GradientTexture1D.ts +8 -8
- package/gen/classes/GradientTexture2D.ts +18 -18
- package/gen/classes/GraphEdit.ts +116 -116
- package/gen/classes/GraphElement.ts +30 -30
- package/gen/classes/GraphFrame.ts +17 -17
- package/gen/classes/GraphNode.ts +48 -48
- package/gen/classes/GridContainer.ts +4 -4
- package/gen/classes/GridMap.ts +76 -64
- package/gen/classes/GrooveJoint2D.ts +6 -6
- package/gen/classes/HBoxContainer.ts +2 -2
- package/gen/classes/HFlowContainer.ts +2 -2
- package/gen/classes/HMACContext.ts +5 -5
- package/gen/classes/HScrollBar.ts +2 -2
- package/gen/classes/HSeparator.ts +2 -2
- package/gen/classes/HSlider.ts +2 -2
- package/gen/classes/HSplitContainer.ts +2 -2
- package/gen/classes/HTTPClient.ts +25 -25
- package/gen/classes/HTTPRequest.ts +42 -28
- package/gen/classes/HashingContext.ts +5 -5
- package/gen/classes/HeightMapShape3D.ts +12 -12
- package/gen/classes/HingeJoint3D.ts +6 -6
- package/gen/classes/IKModifier3D.ts +8 -7
- package/gen/classes/IP.ts +12 -12
- package/gen/classes/Image.ts +124 -88
- package/gen/classes/ImageFormatLoader.ts +1 -1
- package/gen/classes/ImageFormatLoaderExtension.ts +4 -4
- package/gen/classes/ImageTexture.ts +8 -8
- package/gen/classes/ImageTexture3D.ts +4 -4
- package/gen/classes/ImageTextureLayered.ts +3 -3
- package/gen/classes/ImmediateMesh.ts +12 -12
- package/gen/classes/ImporterMesh.ts +27 -27
- package/gen/classes/ImporterMeshInstance3D.ts +22 -22
- package/gen/classes/Input.ts +174 -109
- package/gen/classes/InputEvent.ts +17 -17
- package/gen/classes/InputEventAction.ts +10 -10
- package/gen/classes/InputEventFromWindow.ts +3 -3
- package/gen/classes/InputEventGesture.ts +3 -3
- package/gen/classes/InputEventJoypadButton.ts +8 -8
- package/gen/classes/InputEventJoypadMotion.ts +6 -6
- package/gen/classes/InputEventKey.ts +31 -31
- package/gen/classes/InputEventMIDI.ts +18 -18
- package/gen/classes/InputEventMagnifyGesture.ts +4 -4
- package/gen/classes/InputEventMouse.ts +7 -7
- package/gen/classes/InputEventMouseButton.ts +12 -12
- package/gen/classes/InputEventMouseMotion.ts +16 -16
- package/gen/classes/InputEventPanGesture.ts +4 -4
- package/gen/classes/InputEventScreenDrag.ts +20 -20
- package/gen/classes/InputEventScreenTouch.ts +19 -12
- package/gen/classes/InputEventShortcut.ts +4 -4
- package/gen/classes/InputEventWithModifiers.ts +13 -13
- package/gen/classes/InputMap.ts +18 -18
- package/gen/classes/InstancePlaceholder.ts +4 -4
- package/gen/classes/IntervalTweener.ts +2 -2
- package/gen/classes/ItemList.ts +97 -97
- package/gen/classes/IterateIK3D.ts +40 -26
- package/gen/classes/JNISingleton.ts +3 -3
- package/gen/classes/JSON.ts +17 -17
- package/gen/classes/JSONRPC.ts +9 -9
- package/gen/classes/JacobianIK3D.ts +2 -2
- package/gen/classes/JavaClass.ts +6 -6
- package/gen/classes/JavaClassWrapper.ts +6 -6
- package/gen/classes/JavaObject.ts +4 -4
- package/gen/classes/JavaScriptBridge.ts +14 -14
- package/gen/classes/JavaScriptObject.ts +1 -1
- package/gen/classes/Joint2D.ts +10 -10
- package/gen/classes/Joint3D.ts +14 -12
- package/gen/classes/JointLimitation3D.ts +2 -2
- package/gen/classes/JointLimitationCone3D.ts +4 -4
- package/gen/classes/KinematicCollision2D.ts +15 -15
- package/gen/classes/KinematicCollision3D.ts +16 -16
- package/gen/classes/Label.ts +74 -51
- package/gen/classes/Label3D.ts +69 -69
- package/gen/classes/LabelSettings.ts +43 -43
- package/gen/classes/Light2D.ts +33 -33
- package/gen/classes/Light3D.ts +73 -57
- package/gen/classes/LightOccluder2D.ts +8 -8
- package/gen/classes/LightmapGI.ts +59 -47
- package/gen/classes/LightmapGIData.ts +20 -20
- package/gen/classes/LightmapProbe.ts +2 -2
- package/gen/classes/Lightmapper.ts +1 -1
- package/gen/classes/LightmapperRD.ts +2 -2
- package/gen/classes/LimitAngularVelocityModifier3D.ts +19 -19
- package/gen/classes/Line2D.ts +36 -36
- package/gen/classes/LineBase3D.ts +67 -0
- package/gen/classes/LineEdit.ts +108 -108
- package/gen/classes/LinkButton.ts +20 -20
- package/gen/classes/Logger.ts +2 -2
- package/gen/classes/LookAtModifier3D.ts +76 -68
- package/gen/classes/MainLoop.ts +4 -4
- package/gen/classes/MarginContainer.ts +2 -2
- package/gen/classes/Marker2D.ts +5 -5
- package/gen/classes/Marker3D.ts +5 -5
- package/gen/classes/Marshalls.ts +8 -8
- package/gen/classes/Material.ts +8 -8
- package/gen/classes/MenuBar.ts +26 -26
- package/gen/classes/MenuButton.ts +11 -11
- package/gen/classes/Mesh.ts +27 -23
- package/gen/classes/MeshConvexDecompositionSettings.ts +28 -28
- package/gen/classes/MeshDataTool.ts +40 -40
- package/gen/classes/MeshInstance2D.ts +8 -8
- package/gen/classes/MeshInstance3D.ts +23 -23
- package/gen/classes/MeshLibrary.ts +38 -28
- package/gen/classes/MeshTexture.ts +8 -8
- package/gen/classes/MethodTweener.ts +5 -5
- package/gen/classes/MissingNode.ts +10 -10
- package/gen/classes/MissingResource.ts +6 -6
- package/gen/classes/MobileVRInterface.ts +22 -22
- package/gen/classes/ModifierBoneTarget3D.ts +6 -6
- package/gen/classes/MovieWriter.ts +3 -3
- package/gen/classes/MultiMesh.ts +40 -40
- package/gen/classes/MultiMeshInstance2D.ts +8 -8
- package/gen/classes/MultiMeshInstance3D.ts +4 -4
- package/gen/classes/MultiplayerAPI.ts +25 -25
- package/gen/classes/MultiplayerAPIExtension.ts +2 -2
- package/gen/classes/MultiplayerPeer.ts +23 -23
- package/gen/classes/MultiplayerPeerExtension.ts +2 -2
- package/gen/classes/MultiplayerSpawner.ts +17 -17
- package/gen/classes/MultiplayerSynchronizer.ts +25 -25
- package/gen/classes/Mutex.ts +5 -5
- package/gen/classes/NativeMenu.ts +84 -71
- package/gen/classes/NavigationAgent2D.ts +98 -98
- package/gen/classes/NavigationAgent3D.ts +104 -104
- package/gen/classes/NavigationLink2D.ts +26 -26
- package/gen/classes/NavigationLink3D.ts +26 -26
- package/gen/classes/NavigationMesh.ts +62 -62
- package/gen/classes/NavigationMeshGenerator.ts +6 -6
- package/gen/classes/NavigationMeshSourceGeometryData2D.ts +18 -18
- package/gen/classes/NavigationMeshSourceGeometryData3D.ts +18 -18
- package/gen/classes/NavigationObstacle2D.ts +24 -23
- package/gen/classes/NavigationObstacle3D.ts +31 -30
- package/gen/classes/NavigationPathQueryParameters2D.ts +34 -34
- package/gen/classes/NavigationPathQueryParameters3D.ts +34 -34
- package/gen/classes/NavigationPathQueryResult2D.ts +13 -13
- package/gen/classes/NavigationPathQueryResult3D.ts +13 -13
- package/gen/classes/NavigationPolygon.ts +44 -44
- package/gen/classes/NavigationRegion2D.ts +28 -28
- package/gen/classes/NavigationRegion3D.ts +28 -28
- package/gen/classes/NavigationServer2D.ts +157 -157
- package/gen/classes/NavigationServer2DManager.ts +4 -4
- package/gen/classes/NavigationServer3D.ts +176 -176
- package/gen/classes/NavigationServer3DManager.ts +4 -4
- package/gen/classes/NinePatchRect.ts +22 -22
- package/gen/classes/Node.ts +145 -145
- package/gen/classes/Node2D.ts +37 -37
- package/gen/classes/Node3D.ts +75 -75
- package/gen/classes/Node3DGizmo.ts +1 -1
- package/gen/classes/Noise.ts +10 -10
- package/gen/classes/NoiseTexture2D.ts +26 -26
- package/gen/classes/NoiseTexture3D.ts +20 -20
- package/gen/classes/ORMMaterial3D.ts +2 -2
- package/gen/classes/OS.ts +101 -90
- package/gen/classes/Object.ts +60 -60
- package/gen/classes/Occluder3D.ts +3 -3
- package/gen/classes/OccluderInstance3D.ts +10 -10
- package/gen/classes/OccluderPolygon2D.ts +8 -8
- package/gen/classes/OfflineMultiplayerPeer.ts +2 -2
- package/gen/classes/OggPacketSequence.ts +9 -9
- package/gen/classes/OggPacketSequencePlayback.ts +2 -2
- package/gen/classes/OmniLight3D.ts +8 -8
- package/gen/classes/OpenXRAPIExtension.ts +58 -53
- package/gen/classes/OpenXRAction.ts +8 -8
- package/gen/classes/OpenXRActionBindingModifier.ts +2 -2
- package/gen/classes/OpenXRActionMap.ts +17 -17
- package/gen/classes/OpenXRActionSet.ts +11 -11
- package/gen/classes/OpenXRAnalogThresholdModifier.ts +10 -10
- package/gen/classes/OpenXRAnchorTracker.ts +7 -7
- package/gen/classes/OpenXRAndroidThreadSettingsExtension.ts +3 -3
- package/gen/classes/OpenXRBindingModifier.ts +1 -1
- package/gen/classes/OpenXRCompositionLayer.ts +42 -42
- package/gen/classes/OpenXRCompositionLayerCylinder.ts +10 -10
- package/gen/classes/OpenXRCompositionLayerEquirect.ts +12 -12
- package/gen/classes/OpenXRCompositionLayerQuad.ts +4 -4
- package/gen/classes/OpenXRDpadBindingModifier.ts +20 -20
- package/gen/classes/OpenXRExtensionWrapper.ts +6 -5
- package/gen/classes/OpenXRExtensionWrapperExtension.ts +2 -2
- package/gen/classes/OpenXRFoveatedInsetViewport.ts +26 -0
- package/gen/classes/OpenXRFrameSynthesisExtension.ts +8 -8
- package/gen/classes/OpenXRFutureExtension.ts +5 -5
- package/gen/classes/OpenXRFutureResult.ts +8 -8
- package/gen/classes/OpenXRHand.ts +12 -12
- package/gen/classes/OpenXRHapticBase.ts +1 -1
- package/gen/classes/OpenXRHapticVibration.ts +8 -8
- package/gen/classes/OpenXRIPBinding.ts +16 -16
- package/gen/classes/OpenXRIPBindingModifier.ts +2 -2
- package/gen/classes/OpenXRInteractionProfile.ts +12 -12
- package/gen/classes/OpenXRInteractionProfileMetadata.ts +7 -7
- package/gen/classes/OpenXRInterface.ts +100 -63
- package/gen/classes/OpenXRMarkerTracker.ts +12 -12
- package/gen/classes/OpenXRPlaneTracker.ts +26 -16
- package/gen/classes/OpenXRRenderModel.ts +7 -7
- package/gen/classes/OpenXRRenderModelExtension.ts +21 -21
- package/gen/classes/OpenXRRenderModelManager.ts +10 -10
- package/gen/classes/OpenXRSpatialAnchorCapability.ts +15 -15
- package/gen/classes/OpenXRSpatialCapabilityConfigurationAnchor.ts +3 -3
- package/gen/classes/OpenXRSpatialCapabilityConfigurationAprilTag.ts +5 -5
- package/gen/classes/OpenXRSpatialCapabilityConfigurationAruco.ts +23 -23
- package/gen/classes/OpenXRSpatialCapabilityConfigurationBaseHeader.ts +4 -4
- package/gen/classes/OpenXRSpatialCapabilityConfigurationMicroQrCode.ts +3 -3
- package/gen/classes/OpenXRSpatialCapabilityConfigurationPlaneTracking.ts +6 -6
- package/gen/classes/OpenXRSpatialCapabilityConfigurationQrCode.ts +3 -3
- package/gen/classes/OpenXRSpatialComponentAnchorList.ts +3 -3
- package/gen/classes/OpenXRSpatialComponentBounded2DList.ts +4 -4
- package/gen/classes/OpenXRSpatialComponentBounded3DList.ts +4 -4
- package/gen/classes/OpenXRSpatialComponentData.ts +4 -4
- package/gen/classes/OpenXRSpatialComponentMarkerList.ts +7 -7
- package/gen/classes/OpenXRSpatialComponentMesh2DList.ts +5 -5
- package/gen/classes/OpenXRSpatialComponentMesh3DList.ts +4 -4
- package/gen/classes/OpenXRSpatialComponentParentList.ts +3 -3
- package/gen/classes/OpenXRSpatialComponentPersistenceList.ts +4 -4
- package/gen/classes/OpenXRSpatialComponentPlaneAlignmentList.ts +3 -3
- package/gen/classes/OpenXRSpatialComponentPlaneSemanticLabelList.ts +3 -3
- package/gen/classes/OpenXRSpatialComponentPolygon2DList.ts +4 -4
- package/gen/classes/OpenXRSpatialContainerExtension.ts +92 -0
- package/gen/classes/OpenXRSpatialContainerSelfRenderingExtension.ts +19 -0
- package/gen/classes/OpenXRSpatialContainerState.ts +43 -0
- package/gen/classes/OpenXRSpatialContextPersistenceConfig.ts +5 -5
- package/gen/classes/OpenXRSpatialEntityExtension.ts +63 -32
- package/gen/classes/OpenXRSpatialEntityTracker.ts +15 -15
- package/gen/classes/OpenXRSpatialMarkerTrackingCapability.ts +47 -9
- package/gen/classes/OpenXRSpatialPlaneTrackingCapability.ts +20 -4
- package/gen/classes/OpenXRSpatialQueryResultData.ts +5 -5
- package/gen/classes/OpenXRStructureBase.ts +10 -5
- package/gen/classes/OpenXRVisibilityMask.ts +2 -2
- package/gen/classes/OptimizedTranslation.ts +3 -3
- package/gen/classes/OptionButton.ts +51 -51
- package/gen/classes/PCKPacker.ts +7 -7
- package/gen/classes/PackedDataContainer.ts +4 -4
- package/gen/classes/PackedDataContainerRef.ts +2 -2
- package/gen/classes/PackedScene.ts +6 -6
- package/gen/classes/PacketPeer.ts +10 -10
- package/gen/classes/PacketPeerDTLS.ts +7 -7
- package/gen/classes/PacketPeerExtension.ts +2 -2
- package/gen/classes/PacketPeerStream.ts +9 -9
- package/gen/classes/PacketPeerUDP.ts +16 -16
- package/gen/classes/Panel.ts +2 -2
- package/gen/classes/PanelContainer.ts +2 -2
- package/gen/classes/PanoramaSkyMaterial.ts +8 -8
- package/gen/classes/Parallax2D.ts +22 -22
- package/gen/classes/ParallaxBackground.ts +14 -14
- package/gen/classes/ParallaxLayer.ts +9 -9
- package/gen/classes/ParticleProcessMaterial.ts +269 -253
- package/gen/classes/Path2D.ts +4 -4
- package/gen/classes/Path3D.ts +10 -10
- package/gen/classes/PathFollow2D.ts +16 -16
- package/gen/classes/PathFollow3D.ts +21 -21
- package/gen/classes/Performance.ts +15 -11
- package/gen/classes/PhysicalBone2D.ts +14 -14
- package/gen/classes/PhysicalBone3D.ts +45 -39
- package/gen/classes/PhysicalBoneSimulator3D.ts +7 -7
- package/gen/classes/PhysicalSkyMaterial.ts +24 -24
- package/gen/classes/PhysicsBody2D.ts +7 -7
- package/gen/classes/PhysicsBody3D.ts +19 -19
- package/gen/classes/PhysicsCastMotionResult2D.ts +25 -0
- package/gen/classes/PhysicsCastMotionResult3D.ts +25 -0
- package/gen/classes/PhysicsCollideShapeResult2D.ts +38 -0
- package/gen/classes/PhysicsCollideShapeResult3D.ts +38 -0
- package/gen/classes/PhysicsDirectBodyState2D.ts +49 -49
- package/gen/classes/PhysicsDirectBodyState2DExtension.ts +2 -2
- package/gen/classes/PhysicsDirectBodyState3D.ts +51 -51
- package/gen/classes/PhysicsDirectBodyState3DExtension.ts +2 -2
- package/gen/classes/PhysicsDirectSpaceState2D.ts +61 -14
- package/gen/classes/PhysicsDirectSpaceState2DExtension.ts +3 -3
- package/gen/classes/PhysicsDirectSpaceState3D.ts +64 -15
- package/gen/classes/PhysicsDirectSpaceState3DExtension.ts +3 -3
- package/gen/classes/PhysicsGetRestInfoResult2D.ts +48 -0
- package/gen/classes/PhysicsGetRestInfoResult3D.ts +48 -0
- package/gen/classes/PhysicsIntersectPointResult2D.ts +49 -0
- package/gen/classes/PhysicsIntersectPointResult3D.ts +49 -0
- package/gen/classes/PhysicsIntersectRayResult2D.ts +49 -0
- package/gen/classes/PhysicsIntersectRayResult3D.ts +55 -0
- package/gen/classes/PhysicsIntersectShapeResult2D.ts +49 -0
- package/gen/classes/PhysicsIntersectShapeResult3D.ts +49 -0
- package/gen/classes/PhysicsMaterial.ts +10 -10
- package/gen/classes/PhysicsPointQueryParameters2D.ts +15 -14
- package/gen/classes/PhysicsPointQueryParameters3D.ts +13 -12
- package/gen/classes/PhysicsRayQueryParameters2D.ts +18 -17
- package/gen/classes/PhysicsRayQueryParameters3D.ts +20 -19
- package/gen/classes/PhysicsServer2D.ts +122 -122
- package/gen/classes/PhysicsServer2DExtension.ts +4 -4
- package/gen/classes/PhysicsServer2DManager.ts +4 -4
- package/gen/classes/PhysicsServer3D.ts +210 -182
- package/gen/classes/PhysicsServer3DExtension.ts +5 -5
- package/gen/classes/PhysicsServer3DManager.ts +4 -4
- package/gen/classes/PhysicsServer3DRenderingServerHandler.ts +5 -5
- package/gen/classes/PhysicsShapeQueryParameters2D.ts +21 -20
- package/gen/classes/PhysicsShapeQueryParameters3D.ts +21 -20
- package/gen/classes/PhysicsTestMotionParameters2D.ts +17 -16
- package/gen/classes/PhysicsTestMotionParameters3D.ts +19 -18
- package/gen/classes/PhysicsTestMotionResult2D.ts +16 -15
- package/gen/classes/PhysicsTestMotionResult3D.ts +17 -16
- package/gen/classes/PinJoint2D.ts +14 -14
- package/gen/classes/PinJoint3D.ts +4 -4
- package/gen/classes/PlaceholderCubemap.ts +2 -2
- package/gen/classes/PlaceholderCubemapArray.ts +2 -2
- package/gen/classes/PlaceholderMaterial.ts +2 -2
- package/gen/classes/PlaceholderMesh.ts +4 -4
- package/gen/classes/PlaceholderTexture2D.ts +4 -4
- package/gen/classes/PlaceholderTexture2DArray.ts +2 -2
- package/gen/classes/PlaceholderTexture3D.ts +4 -4
- package/gen/classes/PlaceholderTextureLayered.ts +5 -5
- package/gen/classes/PlaneMesh.ts +12 -12
- package/gen/classes/PointLight2D.ts +10 -10
- package/gen/classes/PointMesh.ts +2 -2
- package/gen/classes/Polygon2D.ts +42 -42
- package/gen/classes/PolygonOccluder3D.ts +4 -4
- package/gen/classes/PolygonPathFinder.ts +12 -12
- package/gen/classes/Popup.ts +4 -4
- package/gen/classes/PopupMenu.ts +125 -112
- package/gen/classes/PopupPanel.ts +2 -2
- package/gen/classes/PortableCompressedTexture2D.ts +11 -11
- package/gen/classes/PrimitiveMesh.ts +15 -15
- package/gen/classes/PrismMesh.ts +12 -12
- package/gen/classes/ProceduralSkyMaterial.ts +30 -30
- package/gen/classes/ProgressBar.ts +10 -10
- package/gen/classes/ProjectSettings.ts +26 -26
- package/gen/classes/PropertyTweener.ts +9 -9
- package/gen/classes/QuadMesh.ts +2 -2
- package/gen/classes/QuadOccluder3D.ts +4 -4
- package/gen/classes/RDAccelerationStructureGeometry.ts +20 -20
- package/gen/classes/RDAccelerationStructureInstance.ts +14 -14
- package/gen/classes/RDAttachmentFormat.ts +8 -8
- package/gen/classes/RDFramebufferPass.ts +12 -12
- package/gen/classes/RDHitGroup.ts +8 -8
- package/gen/classes/RDPipelineColorBlendState.ts +10 -10
- package/gen/classes/RDPipelineColorBlendStateAttachment.ts +25 -25
- package/gen/classes/RDPipelineDepthStencilState.ts +44 -44
- package/gen/classes/RDPipelineMultisampleState.ts +14 -14
- package/gen/classes/RDPipelineRasterizationState.ts +25 -25
- package/gen/classes/RDPipelineShader.ts +6 -6
- package/gen/classes/RDPipelineSpecializationConstant.ts +6 -6
- package/gen/classes/RDSamplerState.ts +32 -32
- package/gen/classes/RDShaderFile.ts +7 -7
- package/gen/classes/RDShaderSPIRV.ts +42 -42
- package/gen/classes/RDShaderSource.ts +24 -24
- package/gen/classes/RDTextureFormat.ts +26 -26
- package/gen/classes/RDTextureView.ts +12 -12
- package/gen/classes/RDUniform.ts +9 -9
- package/gen/classes/RDVertexAttribute.ts +14 -14
- package/gen/classes/RandomNumberGenerator.ts +13 -13
- package/gen/classes/Range.ts +29 -29
- package/gen/classes/RayCast2D.ts +30 -30
- package/gen/classes/RayCast3D.ts +37 -37
- package/gen/classes/RectangleShape2D.ts +4 -4
- package/gen/classes/RefCounted.ts +6 -6
- package/gen/classes/ReferenceRect.ts +8 -8
- package/gen/classes/ReflectionProbe.ts +32 -32
- package/gen/classes/RegEx.ts +13 -13
- package/gen/classes/RegExMatch.ts +9 -9
- package/gen/classes/RemoteTransform2D.ts +13 -13
- package/gen/classes/RemoteTransform3D.ts +13 -13
- package/gen/classes/RenderData.ts +5 -5
- package/gen/classes/RenderDataExtension.ts +2 -2
- package/gen/classes/RenderDataRD.ts +2 -2
- package/gen/classes/RenderSceneBuffers.ts +2 -2
- package/gen/classes/RenderSceneBuffersConfiguration.ts +22 -22
- package/gen/classes/RenderSceneBuffersExtension.ts +2 -2
- package/gen/classes/RenderSceneBuffersRD.ts +29 -29
- package/gen/classes/RenderSceneData.ts +7 -7
- package/gen/classes/RenderSceneDataExtension.ts +2 -2
- package/gen/classes/RenderSceneDataRD.ts +2 -2
- package/gen/classes/RenderingDevice.ts +152 -140
- package/gen/classes/RenderingServer.ts +603 -550
- package/gen/classes/Resource.ts +29 -29
- package/gen/classes/ResourceFormatLoader.ts +2 -2
- package/gen/classes/ResourceFormatSaver.ts +2 -2
- package/gen/classes/ResourceImporter.ts +1 -1
- package/gen/classes/ResourceLoader.ts +21 -16
- package/gen/classes/ResourcePreloader.ts +10 -10
- package/gen/classes/ResourceSaver.ts +8 -8
- package/gen/classes/ResourceUID.ts +11 -11
- package/gen/classes/RetargetModifier3D.ts +22 -14
- package/gen/classes/RibbonTrailMesh.ts +14 -14
- package/gen/classes/RichTextEffect.ts +2 -2
- package/gen/classes/RichTextLabel.ts +236 -181
- package/gen/classes/RigidBody2D.ts +84 -70
- package/gen/classes/RigidBody3D.ts +85 -71
- package/gen/classes/RootMotionView.ts +12 -12
- package/gen/classes/SceneMultiplayer.ts +31 -31
- package/gen/classes/SceneReplicationConfig.ts +15 -15
- package/gen/classes/SceneState.ts +24 -24
- package/gen/classes/SceneTree.ts +67 -68
- package/gen/classes/SceneTreeTimer.ts +5 -5
- package/gen/classes/Script.ts +21 -20
- package/gen/classes/ScriptBacktrace.ts +18 -18
- package/gen/classes/ScriptExtension.ts +2 -2
- package/gen/classes/ScriptLanguage.ts +16 -1
- package/gen/classes/ScriptLanguageExtension.ts +2 -2
- package/gen/classes/ScrollBar.ts +5 -5
- package/gen/classes/ScrollContainer.ts +58 -34
- package/gen/classes/SegmentShape2D.ts +6 -6
- package/gen/classes/Semaphore.ts +5 -5
- package/gen/classes/SeparationRayShape2D.ts +6 -6
- package/gen/classes/SeparationRayShape3D.ts +6 -6
- package/gen/classes/Separator.ts +1 -1
- package/gen/classes/Shader.ts +14 -9
- package/gen/classes/ShaderGlobalsOverride.ts +2 -2
- package/gen/classes/ShaderInclude.ts +4 -4
- package/gen/classes/ShaderIncludeDB.ts +5 -5
- package/gen/classes/ShaderMaterial.ts +6 -6
- package/gen/classes/Shape2D.ts +9 -9
- package/gen/classes/Shape3D.ts +6 -6
- package/gen/classes/ShapeCast2D.ts +38 -38
- package/gen/classes/ShapeCast3D.ts +41 -41
- package/gen/classes/Shortcut.ts +7 -7
- package/gen/classes/Skeleton2D.ts +12 -12
- package/gen/classes/Skeleton3D.ts +82 -70
- package/gen/classes/SkeletonIK3D.ts +27 -27
- package/gen/classes/SkeletonModification2D.ts +12 -12
- package/gen/classes/SkeletonModification2DCCDIK.ts +22 -22
- package/gen/classes/SkeletonModification2DFABRIK.ts +14 -14
- package/gen/classes/SkeletonModification2DJiggle.ts +37 -37
- package/gen/classes/SkeletonModification2DLookAt.ts +18 -18
- package/gen/classes/SkeletonModification2DPhysicalBones.ts +9 -9
- package/gen/classes/SkeletonModification2DStackHolder.ts +4 -4
- package/gen/classes/SkeletonModification2DTwoBoneIK.ts +18 -18
- package/gen/classes/SkeletonModificationStack2D.ts +18 -18
- package/gen/classes/SkeletonModifier3D.ts +9 -9
- package/gen/classes/SkeletonProfile.ts +34 -34
- package/gen/classes/SkeletonProfileHumanoid.ts +2 -2
- package/gen/classes/Skin.ts +49 -13
- package/gen/classes/SkinReference.ts +3 -3
- package/gen/classes/Sky.ts +8 -8
- package/gen/classes/Slider.ts +15 -15
- package/gen/classes/SliderJoint3D.ts +4 -4
- package/gen/classes/SocketServer.ts +5 -5
- package/gen/classes/SoftBody3D.ts +47 -42
- package/gen/classes/SphereMesh.ts +12 -12
- package/gen/classes/SphereOccluder3D.ts +4 -4
- package/gen/classes/SphereShape3D.ts +4 -4
- package/gen/classes/SpinBox.ts +50 -27
- package/gen/classes/SplineIK3D.ts +12 -12
- package/gen/classes/SplitContainer.ts +35 -35
- package/gen/classes/SpotLight3D.ts +10 -10
- package/gen/classes/SpringArm3D.ts +14 -14
- package/gen/classes/SpringBoneCollision3D.ts +11 -11
- package/gen/classes/SpringBoneCollisionCapsule3D.ts +10 -10
- package/gen/classes/SpringBoneCollisionPlane3D.ts +2 -2
- package/gen/classes/SpringBoneCollisionSphere3D.ts +6 -6
- package/gen/classes/SpringBoneSimulator3D.ts +86 -86
- package/gen/classes/Sprite2D.ts +32 -32
- package/gen/classes/Sprite3D.ts +20 -20
- package/gen/classes/SpriteBase3D.ts +43 -43
- package/gen/classes/SpriteFrames.ts +24 -24
- package/gen/classes/StandardMaterial3D.ts +2 -2
- package/gen/classes/StaticBody2D.ts +8 -8
- package/gen/classes/StaticBody3D.ts +8 -8
- package/gen/classes/StatusIndicator.ts +17 -13
- package/gen/classes/StreamPeer.ts +37 -37
- package/gen/classes/StreamPeerBuffer.ts +10 -10
- package/gen/classes/StreamPeerExtension.ts +2 -2
- package/gen/classes/StreamPeerGZIP.ts +6 -6
- package/gen/classes/StreamPeerSocket.ts +4 -4
- package/gen/classes/StreamPeerTCP.ts +9 -9
- package/gen/classes/StreamPeerTLS.ts +9 -9
- package/gen/classes/StreamPeerUDS.ts +5 -5
- package/gen/classes/StreamedTexture2D.ts +34 -0
- package/gen/classes/StyleBox.ts +17 -17
- package/gen/classes/StyleBoxEmpty.ts +2 -2
- package/gen/classes/StyleBoxFlat.ts +52 -52
- package/gen/classes/StyleBoxLine.ts +12 -12
- package/gen/classes/StyleBoxTexture.ts +32 -32
- package/gen/classes/SubViewport.ts +14 -14
- package/gen/classes/SubViewportContainer.ts +9 -9
- package/gen/classes/SubtweenTweener.ts +3 -3
- package/gen/classes/SurfaceTool.ts +35 -35
- package/gen/classes/SyntaxHighlighter.ts +30 -6
- package/gen/classes/SystemFont.ts +36 -36
- package/gen/classes/TCPServer.ts +6 -6
- package/gen/classes/TLSOptions.ts +10 -10
- package/gen/classes/TabBar.ts +109 -78
- package/gen/classes/TabContainer.ts +75 -68
- package/gen/classes/TextEdit.ts +275 -269
- package/gen/classes/TextLine.ts +41 -41
- package/gen/classes/TextMesh.ts +38 -38
- package/gen/classes/TextParagraph.ts +64 -64
- package/gen/classes/TextServer.ts +250 -245
- package/gen/classes/TextServerAdvanced.ts +2 -2
- package/gen/classes/TextServerDummy.ts +2 -2
- package/gen/classes/TextServerExtension.ts +2 -2
- package/gen/classes/TextServerManager.ts +14 -14
- package/gen/classes/Texture.ts +2 -2
- package/gen/classes/Texture2D.ts +14 -14
- package/gen/classes/Texture2DArray.ts +3 -3
- package/gen/classes/Texture2DArrayRD.ts +2 -2
- package/gen/classes/Texture2DRD.ts +4 -4
- package/gen/classes/Texture3D.ts +9 -9
- package/gen/classes/Texture3DRD.ts +4 -4
- package/gen/classes/TextureButton.ts +22 -22
- package/gen/classes/TextureCubemapArrayRD.ts +2 -2
- package/gen/classes/TextureCubemapRD.ts +2 -2
- package/gen/classes/TextureLayered.ts +9 -9
- package/gen/classes/TextureLayeredRD.ts +3 -3
- package/gen/classes/TextureProgressBar.ts +34 -34
- package/gen/classes/TextureRect.ts +13 -12
- package/gen/classes/TextureStreaming.ts +54 -0
- package/gen/classes/Theme.ts +116 -73
- package/gen/classes/ThemeDB.ts +23 -16
- package/gen/classes/Thread.ts +9 -9
- package/gen/classes/TileData.ts +58 -58
- package/gen/classes/TileMap.ts +65 -65
- package/gen/classes/TileMapLayer.ts +60 -60
- package/gen/classes/TileMapPattern.ts +12 -12
- package/gen/classes/TileSet.ts +93 -93
- package/gen/classes/TileSetAtlasSource.ts +43 -43
- package/gen/classes/TileSetScenesCollectionSource.ts +13 -13
- package/gen/classes/TileSetSource.ts +7 -7
- package/gen/classes/Time.ts +23 -23
- package/gen/classes/Timer.ts +20 -20
- package/gen/classes/TorusMesh.ts +10 -10
- package/gen/classes/TouchScreenButton.ts +25 -25
- package/gen/classes/Trail3D.ts +173 -0
- package/gen/classes/Translation.ts +16 -16
- package/gen/classes/TranslationDomain.ts +35 -35
- package/gen/classes/TranslationServer.ts +36 -36
- package/gen/classes/Tree.ts +104 -104
- package/gen/classes/TreeItem.ts +126 -126
- package/gen/classes/TriangleMesh.ts +6 -6
- package/gen/classes/TubeTrailMesh.ts +18 -18
- package/gen/classes/Tween.ts +58 -43
- package/gen/classes/Tweener.ts +3 -3
- package/gen/classes/TwoBoneIK3D.ts +32 -32
- package/gen/classes/UDPServer.ts +11 -11
- package/gen/classes/UDSServer.ts +4 -4
- package/gen/classes/UPNP.ts +19 -19
- package/gen/classes/UPNPDevice.ts +18 -18
- package/gen/classes/UndoRedo.ts +28 -28
- package/gen/classes/UniformSetCacheRD.ts +3 -3
- package/gen/classes/VBoxContainer.ts +2 -2
- package/gen/classes/VFlowContainer.ts +2 -2
- package/gen/classes/VScrollBar.ts +2 -2
- package/gen/classes/VSeparator.ts +2 -2
- package/gen/classes/VSlider.ts +2 -2
- package/gen/classes/VSplitContainer.ts +2 -2
- package/gen/classes/VehicleBody3D.ts +8 -8
- package/gen/classes/VehicleWheel3D.ts +36 -36
- package/gen/classes/VideoStream.ts +4 -4
- package/gen/classes/VideoStreamPlayback.ts +3 -3
- package/gen/classes/VideoStreamPlayer.ts +38 -36
- package/gen/classes/VideoStreamTheora.ts +2 -2
- package/gen/classes/Viewport.ts +148 -148
- package/gen/classes/ViewportTexture.ts +5 -13
- package/gen/classes/VirtualJoystick.ts +34 -34
- package/gen/classes/VisibleOnScreenEnabler2D.ts +6 -6
- package/gen/classes/VisibleOnScreenEnabler3D.ts +6 -6
- package/gen/classes/VisibleOnScreenNotifier2D.ts +11 -11
- package/gen/classes/VisibleOnScreenNotifier3D.ts +9 -9
- package/gen/classes/VisualInstance3D.ts +14 -14
- package/gen/classes/VisualShader.ts +25 -25
- package/gen/classes/VisualShaderGroup.ts +190 -0
- package/gen/classes/VisualShaderNode.ts +15 -15
- package/gen/classes/VisualShaderNodeBillboard.ts +6 -6
- package/gen/classes/VisualShaderNodeBooleanConstant.ts +4 -4
- package/gen/classes/VisualShaderNodeBooleanParameter.ts +6 -6
- package/gen/classes/VisualShaderNodeClamp.ts +4 -4
- package/gen/classes/VisualShaderNodeColorConstant.ts +4 -4
- package/gen/classes/VisualShaderNodeColorFunc.ts +4 -4
- package/gen/classes/VisualShaderNodeColorOp.ts +4 -4
- package/gen/classes/VisualShaderNodeColorParameter.ts +6 -6
- package/gen/classes/VisualShaderNodeComment.ts +4 -4
- package/gen/classes/VisualShaderNodeCompare.ts +8 -8
- package/gen/classes/VisualShaderNodeConstant.ts +1 -1
- package/gen/classes/VisualShaderNodeCubemap.ts +8 -8
- package/gen/classes/VisualShaderNodeCubemapParameter.ts +2 -2
- package/gen/classes/VisualShaderNodeCurveTexture.ts +4 -4
- package/gen/classes/VisualShaderNodeCurveXYZTexture.ts +4 -4
- package/gen/classes/VisualShaderNodeCustom.ts +7 -7
- package/gen/classes/VisualShaderNodeDerivativeFunc.ts +8 -8
- package/gen/classes/VisualShaderNodeDeterminant.ts +2 -2
- package/gen/classes/VisualShaderNodeDistanceFade.ts +2 -2
- package/gen/classes/VisualShaderNodeDotProduct.ts +2 -2
- package/gen/classes/VisualShaderNodeExpression.ts +4 -4
- package/gen/classes/VisualShaderNodeFaceForward.ts +2 -2
- package/gen/classes/VisualShaderNodeFloatConstant.ts +4 -4
- package/gen/classes/VisualShaderNodeFloatFunc.ts +4 -4
- package/gen/classes/VisualShaderNodeFloatOp.ts +4 -4
- package/gen/classes/VisualShaderNodeFloatParameter.ts +14 -14
- package/gen/classes/VisualShaderNodeFrame.ts +14 -14
- package/gen/classes/VisualShaderNodeFresnel.ts +2 -2
- package/gen/classes/VisualShaderNodeGlobalExpression.ts +2 -2
- package/gen/classes/VisualShaderNodeGroup.ts +22 -0
- package/gen/classes/VisualShaderNodeGroupBase.ts +22 -22
- package/gen/classes/VisualShaderNodeGroupInput.ts +14 -0
- package/gen/classes/VisualShaderNodeGroupOutput.ts +14 -0
- package/gen/classes/VisualShaderNodeIf.ts +2 -2
- package/gen/classes/VisualShaderNodeInput.ts +7 -7
- package/gen/classes/VisualShaderNodeIntConstant.ts +4 -4
- package/gen/classes/VisualShaderNodeIntFunc.ts +4 -4
- package/gen/classes/VisualShaderNodeIntOp.ts +4 -4
- package/gen/classes/VisualShaderNodeIntParameter.ts +16 -16
- package/gen/classes/VisualShaderNodeIs.ts +4 -4
- package/gen/classes/VisualShaderNodeLinearSceneDepth.ts +2 -2
- package/gen/classes/VisualShaderNodeMix.ts +4 -4
- package/gen/classes/VisualShaderNodeMultiplyAdd.ts +4 -4
- package/gen/classes/VisualShaderNodeOuterProduct.ts +2 -2
- package/gen/classes/VisualShaderNodeOutput.ts +1 -1
- package/gen/classes/VisualShaderNodeParameter.ts +7 -7
- package/gen/classes/VisualShaderNodeParameterRef.ts +6 -6
- package/gen/classes/VisualShaderNodeParticleAccelerator.ts +4 -4
- package/gen/classes/VisualShaderNodeParticleBoxEmitter.ts +2 -2
- package/gen/classes/VisualShaderNodeParticleConeVelocity.ts +2 -2
- package/gen/classes/VisualShaderNodeParticleEmit.ts +5 -5
- package/gen/classes/VisualShaderNodeParticleEmitter.ts +3 -3
- package/gen/classes/VisualShaderNodeParticleMeshEmitter.ts +8 -8
- package/gen/classes/VisualShaderNodeParticleMultiplyByAxisAngle.ts +4 -4
- package/gen/classes/VisualShaderNodeParticleOutput.ts +2 -2
- package/gen/classes/VisualShaderNodeParticleRandomness.ts +4 -4
- package/gen/classes/VisualShaderNodeParticleRingEmitter.ts +2 -2
- package/gen/classes/VisualShaderNodeParticleSphereEmitter.ts +2 -2
- package/gen/classes/VisualShaderNodeProximityFade.ts +2 -2
- package/gen/classes/VisualShaderNodeRandomRange.ts +2 -2
- package/gen/classes/VisualShaderNodeRemap.ts +4 -4
- package/gen/classes/VisualShaderNodeReroute.ts +4 -4
- package/gen/classes/VisualShaderNodeResizableBase.ts +3 -3
- package/gen/classes/VisualShaderNodeRotationByAxis.ts +2 -2
- package/gen/classes/VisualShaderNodeSDFRaymarch.ts +2 -2
- package/gen/classes/VisualShaderNodeSDFToScreenUV.ts +2 -2
- package/gen/classes/VisualShaderNodeSample3D.ts +3 -3
- package/gen/classes/VisualShaderNodeScreenNormalWorldSpace.ts +2 -2
- package/gen/classes/VisualShaderNodeScreenUVToSDF.ts +2 -2
- package/gen/classes/VisualShaderNodeSmoothStep.ts +4 -4
- package/gen/classes/VisualShaderNodeStep.ts +4 -4
- package/gen/classes/VisualShaderNodeSwitch.ts +4 -4
- package/gen/classes/VisualShaderNodeTexture.ts +8 -8
- package/gen/classes/VisualShaderNodeTexture2DArray.ts +4 -4
- package/gen/classes/VisualShaderNodeTexture2DArrayParameter.ts +2 -2
- package/gen/classes/VisualShaderNodeTexture2DParameter.ts +2 -2
- package/gen/classes/VisualShaderNodeTexture3D.ts +4 -4
- package/gen/classes/VisualShaderNodeTexture3DParameter.ts +2 -2
- package/gen/classes/VisualShaderNodeTextureParameter.ts +11 -11
- package/gen/classes/VisualShaderNodeTextureParameterTriplanar.ts +2 -2
- package/gen/classes/VisualShaderNodeTextureSDF.ts +2 -2
- package/gen/classes/VisualShaderNodeTextureSDFNormal.ts +2 -2
- package/gen/classes/VisualShaderNodeTransformCompose.ts +2 -2
- package/gen/classes/VisualShaderNodeTransformConstant.ts +4 -4
- package/gen/classes/VisualShaderNodeTransformDecompose.ts +2 -2
- package/gen/classes/VisualShaderNodeTransformFunc.ts +4 -4
- package/gen/classes/VisualShaderNodeTransformOp.ts +4 -4
- package/gen/classes/VisualShaderNodeTransformParameter.ts +6 -6
- package/gen/classes/VisualShaderNodeTransformVecMult.ts +4 -4
- package/gen/classes/VisualShaderNodeUIntConstant.ts +4 -4
- package/gen/classes/VisualShaderNodeUIntFunc.ts +4 -4
- package/gen/classes/VisualShaderNodeUIntOp.ts +4 -4
- package/gen/classes/VisualShaderNodeUIntParameter.ts +6 -6
- package/gen/classes/VisualShaderNodeUVFunc.ts +4 -4
- package/gen/classes/VisualShaderNodeUVPolarCoord.ts +2 -2
- package/gen/classes/VisualShaderNodeVarying.ts +5 -5
- package/gen/classes/VisualShaderNodeVaryingGetter.ts +2 -2
- package/gen/classes/VisualShaderNodeVaryingSetter.ts +2 -2
- package/gen/classes/VisualShaderNodeVec2Constant.ts +4 -4
- package/gen/classes/VisualShaderNodeVec2Parameter.ts +6 -6
- package/gen/classes/VisualShaderNodeVec3Constant.ts +4 -4
- package/gen/classes/VisualShaderNodeVec3Parameter.ts +6 -6
- package/gen/classes/VisualShaderNodeVec4Constant.ts +6 -6
- package/gen/classes/VisualShaderNodeVec4Parameter.ts +6 -6
- package/gen/classes/VisualShaderNodeVectorBase.ts +3 -3
- package/gen/classes/VisualShaderNodeVectorCompose.ts +2 -2
- package/gen/classes/VisualShaderNodeVectorDecompose.ts +2 -2
- package/gen/classes/VisualShaderNodeVectorDistance.ts +2 -2
- package/gen/classes/VisualShaderNodeVectorFunc.ts +4 -4
- package/gen/classes/VisualShaderNodeVectorLen.ts +2 -2
- package/gen/classes/VisualShaderNodeVectorOp.ts +4 -4
- package/gen/classes/VisualShaderNodeVectorRefract.ts +2 -2
- package/gen/classes/VisualShaderNodeWorldPositionFromDepth.ts +2 -2
- package/gen/classes/VoxelGI.ts +12 -12
- package/gen/classes/VoxelGIData.ts +23 -23
- package/gen/classes/WeakRef.ts +3 -3
- package/gen/classes/WebRTCDataChannel.ts +15 -15
- package/gen/classes/WebRTCDataChannelExtension.ts +2 -2
- package/gen/classes/WebRTCMultiplayerPeer.ts +12 -12
- package/gen/classes/WebRTCPeerConnection.ts +21 -21
- package/gen/classes/WebRTCPeerConnectionExtension.ts +2 -2
- package/gen/classes/WebSocketMultiplayerPeer.ts +20 -20
- package/gen/classes/WebSocketPeer.ts +32 -32
- package/gen/classes/WebXRInterface.ts +57 -49
- package/gen/classes/Window.ts +245 -202
- package/gen/classes/WorkerThreadPool.ts +11 -11
- package/gen/classes/World2D.ts +6 -6
- package/gen/classes/World3D.ts +12 -12
- package/gen/classes/WorldBoundaryShape2D.ts +6 -6
- package/gen/classes/WorldBoundaryShape3D.ts +4 -4
- package/gen/classes/WorldEnvironment.ts +8 -8
- package/gen/classes/X509Certificate.ts +6 -6
- package/gen/classes/XMLParser.ts +19 -19
- package/gen/classes/XRAnchor3D.ts +4 -4
- package/gen/classes/XRBodyModifier3D.ts +8 -8
- package/gen/classes/XRBodyTracker.ts +10 -10
- package/gen/classes/XRCamera3D.ts +11 -4
- package/gen/classes/XRController3D.ts +17 -17
- package/gen/classes/XRControllerTracker.ts +2 -2
- package/gen/classes/XRFaceModifier3D.ts +6 -6
- package/gen/classes/XRFaceTracker.ts +6 -6
- package/gen/classes/XRHandModifier3D.ts +6 -6
- package/gen/classes/XRHandTracker.ts +16 -16
- package/gen/classes/XRInterface.ts +45 -31
- package/gen/classes/XRInterfaceExtension.ts +9 -9
- package/gen/classes/XRNode3D.ts +14 -14
- package/gen/classes/XROrigin3D.ts +6 -6
- package/gen/classes/XRPose.ts +15 -15
- package/gen/classes/XRPositionalTracker.ts +26 -26
- package/gen/classes/XRServer.ts +57 -41
- package/gen/classes/XRTracker.ts +7 -7
- package/gen/classes/XRVRS.ts +9 -9
- package/gen/classes/ZIPPacker.ts +10 -10
- package/gen/classes/ZIPReader.ts +8 -8
- package/gen/classes/index.ts +31 -0
- package/gen/global-enums.ts +7 -3
- package/gen/heap-types/GodotArray.ts +65 -65
- package/gen/heap-types/GodotDictionary.ts +38 -38
- package/gen/heap-types/PackedByteArray.ts +76 -76
- package/gen/heap-types/PackedColorArray.ts +27 -27
- package/gen/heap-types/PackedFloat32Array.ts +27 -27
- package/gen/heap-types/PackedFloat64Array.ts +27 -27
- package/gen/heap-types/PackedInt32Array.ts +27 -27
- package/gen/heap-types/PackedInt64Array.ts +27 -27
- package/gen/heap-types/PackedStringArray.ts +27 -27
- package/gen/heap-types/PackedVector2Array.ts +27 -27
- package/gen/heap-types/PackedVector3Array.ts +27 -27
- package/gen/heap-types/PackedVector4Array.ts +27 -27
- package/gen/heap-types/Signal.ts +13 -13
- package/gen/utility-functions.ts +116 -116
- package/gen/value-types/AABB.ts +25 -25
- package/gen/value-types/Basis.ts +24 -24
- package/gen/value-types/Color.ts +26 -26
- package/gen/value-types/Plane.ts +11 -11
- package/gen/value-types/Projection.ts +26 -26
- package/gen/value-types/Quaternion.ts +21 -21
- package/gen/value-types/Rect2.ts +16 -16
- package/gen/value-types/Rect2i.ts +13 -13
- package/gen/value-types/Transform2D.ts +21 -21
- package/gen/value-types/Transform3D.ts +13 -13
- package/gen/value-types/Vector2.ts +55 -50
- package/gen/value-types/Vector2i.ts +17 -17
- package/gen/value-types/Vector3.ts +52 -51
- package/gen/value-types/Vector3i.ts +16 -16
- package/gen/value-types/Vector4.ts +36 -35
- package/gen/value-types/Vector4i.ts +16 -16
- package/package.json +8 -8
- package/src/assets.d.ts +167 -167
- package/src/boot.ts +1 -0
- package/src/debug.ts +357 -357
- package/src/editor.ts +102 -122
- package/src/export_presets.example.cfg +41 -41
- package/src/index.ts +54 -54
- package/src/load.ts +480 -479
- package/src/preload.ts +164 -164
- package/src/runtime.ts +107 -107
- package/src/serve.ts +67 -67
- package/src/web-image.ts +302 -388
|
@@ -40,26 +40,25 @@ export class RenderingDevice extends Object {
|
|
|
40
40
|
* **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.arrayLayers} in `format`.
|
|
41
41
|
* **Note:** Not to be confused with {@link RenderingServer.texture2dCreate}, which creates the Godot-specific {@link Texture2D} resource as opposed to the graphics API's own texture type.
|
|
42
42
|
*/
|
|
43
|
-
textureCreate(format: RDTextureFormat, view: RDTextureView, data?: GodotArray<PackedByteArray> /* = [] */): RID { return _C(this,
|
|
43
|
+
textureCreate(format: RDTextureFormat, view: RDTextureView, data?: GodotArray<PackedByteArray> /* = [] */): RID { return _C(this, 14470, format, view, data) as RID; }
|
|
44
44
|
|
|
45
45
|
/**
|
|
46
46
|
* Creates a shared texture using the specified `view` and the texture information from `withTexture`.
|
|
47
47
|
* This will be freed automatically when the `withTexture` is freed.
|
|
48
48
|
*/
|
|
49
|
-
textureCreateShared(view: RDTextureView, withTexture: RID): RID { return _C(this,
|
|
49
|
+
textureCreateShared(view: RDTextureView, withTexture: RID): RID { return _C(this, 14473, view, withTexture) as RID; }
|
|
50
50
|
|
|
51
51
|
/**
|
|
52
|
-
* Creates a shared texture using the specified `view` and the texture information from `withTexture`'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 textureCreateShared}.
|
|
52
|
+
* Creates a shared texture using the specified `view` and the texture information from `withTexture`'s `layer` and `mipmap`. The number of included mipmaps from the original texture can be controlled using the `mipmaps` parameter. The `layers` parameter controls the number of included layers from the original texture for 2D texture arrays, and must be `0` for all other texture types. If `layers` is `0` for a 2D texture array, `layer` must also be `0`, and all available layers will be included. Only relevant for textures with multiple layers, such as 3D textures, texture arrays and cubemaps. For single-layer textures, use {@link textureCreateShared}.
|
|
53
53
|
* For 2D textures (which only have one layer), `layer` must be `0`.
|
|
54
|
-
* **Note:** Layer slicing is only supported for 2D texture arrays, not 3D textures or cubemaps.
|
|
55
54
|
* This will be freed automatically when the `withTexture` is freed.
|
|
56
55
|
*/
|
|
57
|
-
textureCreateSharedFromSlice(view: RDTextureView, withTexture: RID, layer: number /* uint32 */, mipmap: number /* uint32 */, mipmaps?: number /* = 1, uint32 */, sliceType?: TextureSliceType /* = 0 */): RID { return _C(this,
|
|
56
|
+
textureCreateSharedFromSlice(view: RDTextureView, withTexture: RID, layer: number /* uint32 */, mipmap: number /* uint32 */, mipmaps?: number /* = 1, uint32 */, sliceType?: TextureSliceType /* = 0 */, layers?: number /* = 0, uint32 */): RID { return _C(this, 14474, view, withTexture, layer, mipmap, mipmaps, sliceType, layers) as RID; }
|
|
58
57
|
|
|
59
58
|
/**
|
|
60
59
|
* Returns an RID for an existing `image` (`VkImage`) with the given `type`, `format`, `samples`, `usageFlags`, `width`, `height`, `depth`, `layers`, and `mipmaps`. This can be used to allow Godot to render onto foreign images.
|
|
61
60
|
*/
|
|
62
|
-
textureCreateFromExtension(type: TextureType, format: DataFormat, samples: TextureSamples, usageFlags: TextureUsageBits, image: number /* uint64 */, width: number /* uint64 */, height: number /* uint64 */, depth: number /* uint64 */, layers: number /* uint64 */, mipmaps?: number /* = 1, uint64 */): RID { return _C(this,
|
|
61
|
+
textureCreateFromExtension(type: TextureType, format: DataFormat, samples: TextureSamples, usageFlags: TextureUsageBits, image: number /* uint64 */, width: number /* uint64 */, height: number /* uint64 */, depth: number /* uint64 */, layers: number /* uint64 */, mipmaps?: number /* = 1, uint64 */): RID { return _C(this, 14471, type, format, samples, usageFlags, image, width, height, depth, layers, mipmaps) as RID; }
|
|
63
62
|
|
|
64
63
|
/**
|
|
65
64
|
* 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 OK} if the update was successful, {@link ERR_INVALID_PARAMETER} otherwise.
|
|
@@ -67,7 +66,7 @@ export class RenderingDevice extends Object {
|
|
|
67
66
|
* **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.
|
|
68
67
|
* **Note:** The existing `texture` requires the {@link TEXTURE_USAGE_CAN_UPDATE_BIT} to be updatable.
|
|
69
68
|
*/
|
|
70
|
-
textureUpdate(texture: RID, layer: number /* uint32 */, data: PackedByteArray): Error { return _C(this,
|
|
69
|
+
textureUpdate(texture: RID, layer: number /* uint32 */, data: PackedByteArray): Error { return _C(this, 14529, texture, layer, data) as Error; }
|
|
71
70
|
|
|
72
71
|
/**
|
|
73
72
|
* Returns the `texture` data for the specified `layer` as raw binary data. For 2D textures (which only have one layer), `layer` must be `0`.
|
|
@@ -75,7 +74,7 @@ export class RenderingDevice extends Object {
|
|
|
75
74
|
* **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.
|
|
76
75
|
* **Note:** This method will block the GPU from working until the data is retrieved. Refer to {@link textureGetDataAsync} for an alternative that returns the data in more performant way.
|
|
77
76
|
*/
|
|
78
|
-
textureGetData(texture: RID, layer: number /* uint32 */): PackedByteArray { return _C(this,
|
|
77
|
+
textureGetData(texture: RID, layer: number /* uint32 */): PackedByteArray { return _C(this, 14483, texture, layer) as PackedByteArray; }
|
|
79
78
|
|
|
80
79
|
/**
|
|
81
80
|
* Asynchronous version of {@link textureGetData}. RenderingDevice will call `callback` in a certain amount of frames with the data the texture had at the time of the request.
|
|
@@ -93,34 +92,34 @@ export class RenderingDevice extends Object {
|
|
|
93
92
|
*
|
|
94
93
|
* ```
|
|
95
94
|
*/
|
|
96
|
-
textureGetDataAsync(texture: RID, layer: number /* uint32 */, callback: Callable): Error { return _C(this,
|
|
95
|
+
textureGetDataAsync(texture: RID, layer: number /* uint32 */, callback: Callable): Error { return _C(this, 14484, texture, layer, callback) as Error; }
|
|
97
96
|
|
|
98
97
|
/**
|
|
99
98
|
* Returns `true` if the specified `format` is supported for the given `usageFlags`, `false` otherwise.
|
|
100
99
|
*/
|
|
101
|
-
textureIsFormatSupportedForUsage(format: DataFormat, usageFlags: TextureUsageBits): boolean { return _C(this,
|
|
100
|
+
textureIsFormatSupportedForUsage(format: DataFormat, usageFlags: TextureUsageBits): boolean { return _C(this, 14492, format, usageFlags) as boolean; }
|
|
102
101
|
|
|
103
102
|
/**
|
|
104
103
|
* Returns `true` if the `texture` is shared, `false` otherwise. See {@link RDTextureView}.
|
|
105
104
|
*/
|
|
106
|
-
textureIsShared(texture: RID): boolean { return _C(this,
|
|
105
|
+
textureIsShared(texture: RID): boolean { return _C(this, 14493, texture) as boolean; }
|
|
107
106
|
|
|
108
107
|
/**
|
|
109
108
|
* Returns `true` if the `texture` is valid, `false` otherwise.
|
|
110
109
|
*/
|
|
111
|
-
textureIsValid(texture: RID): boolean { return _C(this,
|
|
110
|
+
textureIsValid(texture: RID): boolean { return _C(this, 14494, texture) as boolean; }
|
|
112
111
|
|
|
113
112
|
/**
|
|
114
113
|
* Updates the discardable property of `texture`.
|
|
115
114
|
* 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.
|
|
116
115
|
* 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.
|
|
117
116
|
*/
|
|
118
|
-
textureSetDiscardable(texture: RID, discardable: boolean): void { _C(this,
|
|
117
|
+
textureSetDiscardable(texture: RID, discardable: boolean): void { _C(this, 14522, texture, discardable); }
|
|
119
118
|
|
|
120
119
|
/**
|
|
121
120
|
* Returns `true` if the `texture` is discardable, `false` otherwise. See {@link RDTextureFormat} or {@link textureSetDiscardable}.
|
|
122
121
|
*/
|
|
123
|
-
textureIsDiscardable(texture: RID): boolean { return _C(this,
|
|
122
|
+
textureIsDiscardable(texture: RID): boolean { return _C(this, 14491, texture) as boolean; }
|
|
124
123
|
|
|
125
124
|
/**
|
|
126
125
|
* Copies the `fromTexture` to `toTexture` with the specified `fromPos`, `toPos` and `size` coordinates. For 2-dimensional textures, `fromPos` and `toPos` must have a Z axis of `0`, and `size` must have a Z axis of `1`. Source and destination mipmaps/layers must also be specified, with these parameters being `0` for textures without mipmaps or single-layer textures. Returns {@link OK} if the texture copy was successful or {@link ERR_INVALID_PARAMETER} otherwise.
|
|
@@ -130,13 +129,13 @@ export class RenderingDevice extends Object {
|
|
|
130
129
|
* **Note:** `toTexture` requires the {@link TEXTURE_USAGE_CAN_COPY_TO_BIT} to be retrieved.
|
|
131
130
|
* **Note:** `fromTexture` and `toTexture` must be of the same type (color or depth).
|
|
132
131
|
*/
|
|
133
|
-
textureCopy(fromTexture: RID, toTexture: RID, fromPos: Vector3, toPos: Vector3, size: Vector3, srcMipmap: number /* uint32 */, dstMipmap: number /* uint32 */, srcLayer: number /* uint32 */, dstLayer: number /* uint32 */): Error { return _C(this,
|
|
132
|
+
textureCopy(fromTexture: RID, toTexture: RID, fromPos: Vector3, toPos: Vector3, size: Vector3, srcMipmap: number /* uint32 */, dstMipmap: number /* uint32 */, srcLayer: number /* uint32 */, dstLayer: number /* uint32 */): Error { return _C(this, 14469, fromTexture, toTexture, fromPos, toPos, size, srcMipmap, dstMipmap, srcLayer, dstLayer) as Error; }
|
|
134
133
|
|
|
135
134
|
/**
|
|
136
135
|
* Clears the specified `texture` by replacing all of its pixels with the specified `color`. `baseMipmap` and `mipmapCount` determine which mipmaps of the texture are affected by this clear operation, while `baseLayer` and `layerCount` 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), `baseLayer` must be `0` and `layerCount` must be `1`.
|
|
137
136
|
* **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.
|
|
138
137
|
*/
|
|
139
|
-
textureClear(texture: RID, color: Color, baseMipmap: number /* uint32 */, mipmapCount: number /* uint32 */, baseLayer: number /* uint32 */, layerCount: number /* uint32 */): Error { return _C(this,
|
|
138
|
+
textureClear(texture: RID, color: Color, baseMipmap: number /* uint32 */, mipmapCount: number /* uint32 */, baseLayer: number /* uint32 */, layerCount: number /* uint32 */): Error { return _C(this, 14467, texture, color, baseMipmap, mipmapCount, baseLayer, layerCount) as Error; }
|
|
140
139
|
|
|
141
140
|
/**
|
|
142
141
|
* Resolves the `fromTexture` texture onto `toTexture` with multisample antialiasing enabled. This must be used when rendering a framebuffer for MSAA to work. Returns {@link OK} if successful, {@link ERR_INVALID_PARAMETER} otherwise.
|
|
@@ -148,175 +147,180 @@ export class RenderingDevice extends Object {
|
|
|
148
147
|
* **Note:** `toTexture` texture requires the {@link TEXTURE_USAGE_CAN_COPY_TO_BIT} to be retrieved.
|
|
149
148
|
* **Note:** `toTexture` texture must **not** be multisampled and must also be 2D (or a slice of a 3D/cubemap texture).
|
|
150
149
|
*/
|
|
151
|
-
textureResolveMultisample(fromTexture: RID, toTexture: RID): Error { return _C(this,
|
|
150
|
+
textureResolveMultisample(fromTexture: RID, toTexture: RID): Error { return _C(this, 14518, fromTexture, toTexture) as Error; }
|
|
152
151
|
|
|
153
152
|
/**
|
|
154
153
|
* Returns the data format used to create this texture.
|
|
155
154
|
*/
|
|
156
|
-
textureGetFormat(texture: RID): RDTextureFormat { return _C(this,
|
|
155
|
+
textureGetFormat(texture: RID): RDTextureFormat { return _C(this, 14485, texture) as RDTextureFormat; }
|
|
156
|
+
|
|
157
|
+
/**
|
|
158
|
+
* Returns the sample count that {@link textureCreate} will use for `format`. This is {@link RDTextureFormat.samples} if the driver supports that sample count for the format and usage, otherwise the nearest lower supported sample count. Use this to know the actual sample count in advance, for example when choosing a matching sample count for shaders or pipelines.
|
|
159
|
+
*/
|
|
160
|
+
textureGetNearestSupportedSamples(format: RDTextureFormat): TextureSamples { return _C(this, 14487, format) as TextureSamples; }
|
|
157
161
|
|
|
158
162
|
/**
|
|
159
163
|
* Returns the internal graphics handle for this texture object. For use when communicating with third-party APIs mostly with GDExtension.
|
|
160
164
|
* **Note:** This function returns a `uint64_t` which internally maps to a `GLuint` (OpenGL) or `VkImage` (Vulkan).
|
|
161
165
|
*/
|
|
162
|
-
textureGetNativeHandle(texture: RID): number { return _C(this,
|
|
166
|
+
textureGetNativeHandle(texture: RID): number { return _C(this, 14486, texture) as number; }
|
|
163
167
|
|
|
164
168
|
/**
|
|
165
169
|
* Creates a new framebuffer format with the specified `attachments` and `viewCount`. Returns the new framebuffer's unique framebuffer format ID.
|
|
166
170
|
* If `viewCount` is greater than or equal to `2`, enables multiview which is used for VR rendering. This requires support for the Vulkan multiview extension.
|
|
167
171
|
*/
|
|
168
|
-
framebufferFormatCreate(attachments: GodotArray<RDAttachmentFormat>, viewCount?: number /* = 1, uint32 */): number { return _C(this,
|
|
172
|
+
framebufferFormatCreate(attachments: GodotArray<RDAttachmentFormat>, viewCount?: number /* = 1, uint32 */): number { return _C(this, 3635, attachments, viewCount) as number; }
|
|
169
173
|
|
|
170
174
|
/**
|
|
171
175
|
* Creates a multipass framebuffer format with the specified `attachments`, `passes` and `viewCount` and returns its ID. If `viewCount` is greater than or equal to `2`, enables multiview which is used for VR rendering. This requires support for the Vulkan multiview extension.
|
|
172
176
|
*/
|
|
173
|
-
framebufferFormatCreateMultipass(attachments: GodotArray<RDAttachmentFormat>, passes: GodotArray<RDFramebufferPass>, viewCount?: number /* = 1, uint32 */): number { return _C(this,
|
|
177
|
+
framebufferFormatCreateMultipass(attachments: GodotArray<RDAttachmentFormat>, passes: GodotArray<RDFramebufferPass>, viewCount?: number /* = 1, uint32 */): number { return _C(this, 3637, attachments, passes, viewCount) as number; }
|
|
174
178
|
|
|
175
179
|
/**
|
|
176
180
|
* Creates a new empty framebuffer format with the specified number of `samples` and returns its ID.
|
|
177
181
|
*/
|
|
178
|
-
framebufferFormatCreateEmpty(samples?: TextureSamples /* = 0 */): number { return _C(this,
|
|
182
|
+
framebufferFormatCreateEmpty(samples?: TextureSamples /* = 0 */): number { return _C(this, 3636, samples) as number; }
|
|
179
183
|
|
|
180
184
|
/**
|
|
181
185
|
* Returns the number of texture samples used for the given framebuffer `format` ID (returned by {@link framebufferGetFormat}).
|
|
182
186
|
*/
|
|
183
|
-
framebufferFormatGetTextureSamples(format: number /* int64 */, renderPass?: number /* = 0, uint32 */): TextureSamples { return _C(this,
|
|
187
|
+
framebufferFormatGetTextureSamples(format: number /* int64 */, renderPass?: number /* = 0, uint32 */): TextureSamples { return _C(this, 3638, format, renderPass) as TextureSamples; }
|
|
184
188
|
|
|
185
189
|
/**
|
|
186
190
|
* Creates a new framebuffer. It can be accessed with the RID that is returned.
|
|
187
191
|
* Once finished with your RID, you will want to free the RID using the RenderingDevice's {@link freeRid} method.
|
|
188
192
|
* This will be freed automatically when any of the `textures` is freed.
|
|
189
193
|
*/
|
|
190
|
-
framebufferCreate(textures: GodotArray<RID>, validateWithFormat?: number /* = -1, int64 */, viewCount?: number /* = 1, uint32 */): RID { return _C(this,
|
|
194
|
+
framebufferCreate(textures: GodotArray<RID>, validateWithFormat?: number /* = -1, int64 */, viewCount?: number /* = 1, uint32 */): RID { return _C(this, 3632, textures, validateWithFormat, viewCount) as RID; }
|
|
191
195
|
|
|
192
196
|
/**
|
|
193
197
|
* Creates a new multipass framebuffer. It can be accessed with the RID that is returned.
|
|
194
198
|
* Once finished with your RID, you will want to free the RID using the RenderingDevice's {@link freeRid} method.
|
|
195
199
|
* This will be freed automatically when any of the `textures` is freed.
|
|
196
200
|
*/
|
|
197
|
-
framebufferCreateMultipass(textures: GodotArray<RID>, passes: GodotArray<RDFramebufferPass>, validateWithFormat?: number /* = -1, int64 */, viewCount?: number /* = 1, uint32 */): RID { return _C(this,
|
|
201
|
+
framebufferCreateMultipass(textures: GodotArray<RID>, passes: GodotArray<RDFramebufferPass>, validateWithFormat?: number /* = -1, int64 */, viewCount?: number /* = 1, uint32 */): RID { return _C(this, 3634, textures, passes, validateWithFormat, viewCount) as RID; }
|
|
198
202
|
|
|
199
203
|
/**
|
|
200
204
|
* Creates a new empty framebuffer. It can be accessed with the RID that is returned.
|
|
201
205
|
* Once finished with your RID, you will want to free the RID using the RenderingDevice's {@link freeRid} method.
|
|
202
206
|
*/
|
|
203
|
-
framebufferCreateEmpty(size: Vector2i, samples?: TextureSamples /* = 0 */, validateWithFormat?: number /* = -1, int64 */): RID { return _C(this,
|
|
207
|
+
framebufferCreateEmpty(size: Vector2i, samples?: TextureSamples /* = 0 */, validateWithFormat?: number /* = -1, int64 */): RID { return _C(this, 3633, size, samples, validateWithFormat) as RID; }
|
|
204
208
|
|
|
205
209
|
/**
|
|
206
210
|
* 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.
|
|
207
211
|
*/
|
|
208
|
-
framebufferGetFormat(framebuffer: RID): number { return _C(this,
|
|
212
|
+
framebufferGetFormat(framebuffer: RID): number { return _C(this, 3639, framebuffer) as number; }
|
|
209
213
|
|
|
210
214
|
/**
|
|
211
215
|
* Returns `true` if the framebuffer specified by the `framebuffer` RID is valid, `false` otherwise.
|
|
212
216
|
*/
|
|
213
|
-
framebufferIsValid(framebuffer: RID): boolean { return _C(this,
|
|
217
|
+
framebufferIsValid(framebuffer: RID): boolean { return _C(this, 3640, framebuffer) as boolean; }
|
|
214
218
|
|
|
215
219
|
/**
|
|
216
220
|
* Creates a new sampler. It can be accessed with the RID that is returned.
|
|
217
221
|
* Once finished with your RID, you will want to free the RID using the RenderingDevice's {@link freeRid} method.
|
|
218
222
|
*/
|
|
219
|
-
samplerCreate(state: RDSamplerState): RID { return _C(this,
|
|
223
|
+
samplerCreate(state: RDSamplerState): RID { return _C(this, 10403, state) as RID; }
|
|
220
224
|
|
|
221
225
|
/**
|
|
222
226
|
* Returns `true` if implementation supports using a texture of `format` with the given `samplerFilter`.
|
|
223
227
|
*/
|
|
224
|
-
samplerIsFormatSupportedForFilter(format: DataFormat, samplerFilter: SamplerFilter): boolean { return _C(this,
|
|
228
|
+
samplerIsFormatSupportedForFilter(format: DataFormat, samplerFilter: SamplerFilter): boolean { return _C(this, 10404, format, samplerFilter) as boolean; }
|
|
225
229
|
|
|
226
230
|
/**
|
|
227
231
|
* Creates a new vertex buffer. It can be accessed with the RID that is returned.
|
|
228
232
|
* Once finished with your RID, you will want to free the RID using the RenderingDevice's {@link freeRid} method.
|
|
229
233
|
*/
|
|
230
|
-
vertexBufferCreate(sizeBytes: number /* uint32 */, data?: PackedByteArray /* = PackedByteArray() */, creationBits?: BufferCreationBits /* = 0 */): RID { return _C(this,
|
|
234
|
+
vertexBufferCreate(sizeBytes: number /* uint32 */, data?: PackedByteArray /* = PackedByteArray() */, creationBits?: BufferCreationBits /* = 0 */): RID { return _C(this, 14991, sizeBytes, data, creationBits) as RID; }
|
|
231
235
|
|
|
232
236
|
/**
|
|
233
237
|
* Creates a new vertex format with the specified `vertexDescriptions`. Returns a unique vertex format ID corresponding to the newly created vertex format.
|
|
234
238
|
*/
|
|
235
|
-
vertexFormatCreate(vertexDescriptions: GodotArray<RDVertexAttribute>): number { return _C(this,
|
|
239
|
+
vertexFormatCreate(vertexDescriptions: GodotArray<RDVertexAttribute>): number { return _C(this, 14997, vertexDescriptions) as number; }
|
|
236
240
|
|
|
237
241
|
/**
|
|
238
242
|
* Creates a vertex array based on the specified buffers. Optionally, `offsets` (in bytes) may be defined for each buffer.
|
|
239
243
|
* Once finished with your RID, you will want to free the RID using the RenderingDevice's {@link freeRid} method.
|
|
240
244
|
* This will be freed automatically when any of the `srcBuffers` is freed.
|
|
241
245
|
*/
|
|
242
|
-
vertexArrayCreate(vertexCount: number /* uint32 */, vertexFormat: number /* int64 */, srcBuffers: GodotArray<RID>, offsets?: PackedInt64Array /* = PackedInt64Array() */): RID { return _C(this,
|
|
246
|
+
vertexArrayCreate(vertexCount: number /* uint32 */, vertexFormat: number /* int64 */, srcBuffers: GodotArray<RID>, offsets?: PackedInt64Array /* = PackedInt64Array() */): RID { return _C(this, 14988, vertexCount, vertexFormat, srcBuffers, offsets) as RID; }
|
|
243
247
|
|
|
244
248
|
/**
|
|
245
249
|
* Creates a new index buffer. It can be accessed with the RID that is returned.
|
|
246
250
|
* Once finished with your RID, you will want to free the RID using the RenderingDevice's {@link freeRid} method.
|
|
247
251
|
*/
|
|
248
|
-
indexBufferCreate(sizeIndices: number /* uint32 */, format: IndexBufferFormat, data?: PackedByteArray /* = PackedByteArray() */, useRestartIndices?: boolean /* = false */, creationBits?: BufferCreationBits /* = 0 */): RID { return _C(this,
|
|
252
|
+
indexBufferCreate(sizeIndices: number /* uint32 */, format: IndexBufferFormat, data?: PackedByteArray /* = PackedByteArray() */, useRestartIndices?: boolean /* = false */, creationBits?: BufferCreationBits /* = 0 */): RID { return _C(this, 7747, sizeIndices, format, data, useRestartIndices, creationBits) as RID; }
|
|
249
253
|
|
|
250
254
|
/**
|
|
251
255
|
* Creates a new index array. It can be accessed with the RID that is returned.
|
|
252
256
|
* Once finished with your RID, you will want to free the RID using the RenderingDevice's {@link freeRid} method.
|
|
253
257
|
* This will be freed automatically when the `indexBuffer` is freed.
|
|
254
258
|
*/
|
|
255
|
-
indexArrayCreate(indexBuffer: RID, indexOffset: number /* uint32 */, indexCount: number /* uint32 */): RID { return _C(this,
|
|
259
|
+
indexArrayCreate(indexBuffer: RID, indexOffset: number /* uint32 */, indexCount: number /* uint32 */): RID { return _C(this, 7745, indexBuffer, indexOffset, indexCount) as RID; }
|
|
256
260
|
|
|
257
261
|
/**
|
|
258
262
|
* Compiles a SPIR-V from the shader source code in `shaderSource` 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 shaderCompileBinaryFromSpirv}.
|
|
259
263
|
* If `allowCache` 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 `allowCache` is `false`, Godot's shader cache is ignored and the shader will always be recompiled.
|
|
260
264
|
*/
|
|
261
|
-
shaderCompileSpirvFromSource(shaderSource: RDShaderSource, allowCache?: boolean /* = true */): RDShaderSPIRV { return _C(this,
|
|
265
|
+
shaderCompileSpirvFromSource(shaderSource: RDShaderSource, allowCache?: boolean /* = true */): RDShaderSPIRV { return _C(this, 13703, shaderSource, allowCache) as RDShaderSPIRV; }
|
|
262
266
|
|
|
263
267
|
/**
|
|
264
268
|
* Compiles a binary shader from `spirvData` 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 shaderCompileSpirvFromSource}.
|
|
265
269
|
* `name` is an optional human-readable name that can be given to the compiled shader for organizational purposes.
|
|
266
270
|
*/
|
|
267
|
-
shaderCompileBinaryFromSpirv(spirvData: RDShaderSPIRV, name?: string /* = "" */): PackedByteArray { return _C(this,
|
|
271
|
+
shaderCompileBinaryFromSpirv(spirvData: RDShaderSPIRV, name?: string /* = "" */): PackedByteArray { return _C(this, 13702, spirvData, name) as PackedByteArray; }
|
|
268
272
|
|
|
269
273
|
/**
|
|
270
274
|
* Creates a new shader instance from SPIR-V intermediate code. It can be accessed with the RID that is returned.
|
|
271
275
|
* Once finished with your RID, you will want to free the RID using the RenderingDevice's {@link freeRid} method. See also {@link shaderCompileSpirvFromSource} and {@link shaderCreateFromBytecode}.
|
|
272
276
|
*/
|
|
273
|
-
shaderCreateFromSpirv(spirvData: RDShaderSPIRV, name?: string /* = "" */): RID { return _C(this,
|
|
277
|
+
shaderCreateFromSpirv(spirvData: RDShaderSPIRV, name?: string /* = "" */): RID { return _C(this, 13706, spirvData, name) as RID; }
|
|
274
278
|
|
|
275
279
|
/**
|
|
276
280
|
* Creates a new shader instance from a binary compiled shader. It can be accessed with the RID that is returned.
|
|
277
281
|
* Once finished with your RID, you will want to free the RID using the RenderingDevice's {@link freeRid} method. See also {@link shaderCompileBinaryFromSpirv} and {@link shaderCreateFromSpirv}.
|
|
278
282
|
*/
|
|
279
|
-
shaderCreateFromBytecode(binaryData: PackedByteArray, placeholderRid?: RID /* = RID() */): RID { return _C(this,
|
|
283
|
+
shaderCreateFromBytecode(binaryData: PackedByteArray, placeholderRid?: RID /* = RID() */): RID { return _C(this, 13705, binaryData, placeholderRid) as RID; }
|
|
280
284
|
|
|
281
285
|
/**
|
|
282
286
|
* Create a placeholder RID by allocating an RID without initializing it for use in {@link shaderCreateFromBytecode}. This allows you to create an RID for a shader and pass it around, but defer compiling the shader to a later time.
|
|
283
287
|
*/
|
|
284
|
-
shaderCreatePlaceholder(): RID { return _C(this,
|
|
288
|
+
shaderCreatePlaceholder(): RID { return _C(this, 13707) as RID; }
|
|
285
289
|
|
|
286
290
|
/**
|
|
287
291
|
* 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).
|
|
288
292
|
*/
|
|
289
|
-
shaderGetVertexInputAttributeMask(shader: RID): number { return _C(this,
|
|
293
|
+
shaderGetVertexInputAttributeMask(shader: RID): number { return _C(this, 13711, shader) as number; }
|
|
290
294
|
|
|
291
295
|
/**
|
|
292
296
|
* Creates a new uniform buffer. It can be accessed with the RID that is returned.
|
|
293
297
|
* Once finished with your RID, you will want to free the RID using the RenderingDevice's {@link freeRid} method.
|
|
294
298
|
*/
|
|
295
|
-
uniformBufferCreate(sizeBytes: number /* uint32 */, data?: PackedByteArray /* = PackedByteArray() */, creationBits?: BufferCreationBits /* = 0 */): RID { return _C(this,
|
|
299
|
+
uniformBufferCreate(sizeBytes: number /* uint32 */, data?: PackedByteArray /* = PackedByteArray() */, creationBits?: BufferCreationBits /* = 0 */): RID { return _C(this, 14763, sizeBytes, data, creationBits) as RID; }
|
|
296
300
|
|
|
297
301
|
/**
|
|
298
302
|
* 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.
|
|
299
303
|
* Once finished with your RID, you will want to free the RID using the RenderingDevice's {@link freeRid} method.
|
|
300
304
|
*/
|
|
301
|
-
storageBufferCreate(sizeBytes: number /* uint32 */, data?: PackedByteArray /* = PackedByteArray() */, usage?: StorageBufferUsage /* = 0 */, creationBits?: BufferCreationBits /* = 0 */): RID { return _C(this,
|
|
305
|
+
storageBufferCreate(sizeBytes: number /* uint32 */, data?: PackedByteArray /* = PackedByteArray() */, usage?: StorageBufferUsage /* = 0 */, creationBits?: BufferCreationBits /* = 0 */): RID { return _C(this, 14162, sizeBytes, data, usage, creationBits) as RID; }
|
|
302
306
|
|
|
303
307
|
/**
|
|
304
308
|
* Creates a new texture buffer. It can be accessed with the RID that is returned.
|
|
305
309
|
* Once finished with your RID, you will want to free the RID using the RenderingDevice's {@link freeRid} method.
|
|
306
310
|
*/
|
|
307
|
-
textureBufferCreate(sizeBytes: number /* uint32 */, format: DataFormat, data?: PackedByteArray /* = PackedByteArray() */): RID { return _C(this,
|
|
311
|
+
textureBufferCreate(sizeBytes: number /* uint32 */, format: DataFormat, data?: PackedByteArray /* = PackedByteArray() */): RID { return _C(this, 14465, sizeBytes, format, data) as RID; }
|
|
308
312
|
|
|
309
313
|
/**
|
|
310
314
|
* Creates a new uniform set. It can be accessed with the RID that is returned.
|
|
311
315
|
* Once finished with your RID, you will want to free the RID using the RenderingDevice's {@link freeRid} method.
|
|
312
316
|
* This will be freed automatically when the `shader` or any of the RIDs in the `uniforms` is freed.
|
|
313
317
|
*/
|
|
314
|
-
uniformSetCreate(uniforms: GodotArray<RDUniform>, shader: RID, shaderSet: number /* uint32 */): RID { return _C(this,
|
|
318
|
+
uniformSetCreate(uniforms: GodotArray<RDUniform>, shader: RID, shaderSet: number /* uint32 */): RID { return _C(this, 14764, uniforms, shader, shaderSet) as RID; }
|
|
315
319
|
|
|
316
320
|
/**
|
|
317
321
|
* Checks if the `uniformSet` is valid, i.e. is owned.
|
|
318
322
|
*/
|
|
319
|
-
uniformSetIsValid(uniformSet: RID): boolean { return _C(this,
|
|
323
|
+
uniformSetIsValid(uniformSet: RID): boolean { return _C(this, 14765, uniformSet) as boolean; }
|
|
320
324
|
|
|
321
325
|
/**
|
|
322
326
|
* Copies `size` bytes from the `srcBuffer` at `srcOffset` into `dstBuffer` at `dstOffset`.
|
|
@@ -325,7 +329,7 @@ export class RenderingDevice extends Object {
|
|
|
325
329
|
* - a draw list is currently active (created by {@link drawListBegin})
|
|
326
330
|
* - a compute list is currently active (created by {@link computeListBegin})
|
|
327
331
|
*/
|
|
328
|
-
bufferCopy(srcBuffer: RID, dstBuffer: RID, srcOffset: number /* uint32 */, dstOffset: number /* uint32 */, size: number /* uint32 */): Error { return _C(this,
|
|
332
|
+
bufferCopy(srcBuffer: RID, dstBuffer: RID, srcOffset: number /* uint32 */, dstOffset: number /* uint32 */, size: number /* uint32 */): Error { return _C(this, 1954, srcBuffer, dstBuffer, srcOffset, dstOffset, size) as Error; }
|
|
329
333
|
|
|
330
334
|
/**
|
|
331
335
|
* Updates a region of `sizeBytes` bytes, starting at `offset`, in the buffer, with the specified `data`.
|
|
@@ -334,7 +338,7 @@ export class RenderingDevice extends Object {
|
|
|
334
338
|
* - a draw list is currently active (created by {@link drawListBegin})
|
|
335
339
|
* - a compute list is currently active (created by {@link computeListBegin})
|
|
336
340
|
*/
|
|
337
|
-
bufferUpdate(buffer: RID, offset: number /* uint32 */, sizeBytes: number /* uint32 */, data: PackedByteArray): Error { return _C(this,
|
|
341
|
+
bufferUpdate(buffer: RID, offset: number /* uint32 */, sizeBytes: number /* uint32 */, data: PackedByteArray): Error { return _C(this, 1959, buffer, offset, sizeBytes, data) as Error; }
|
|
338
342
|
|
|
339
343
|
/**
|
|
340
344
|
* Clears the contents of the `buffer`, clearing `sizeBytes` bytes, starting at `offset`.
|
|
@@ -344,13 +348,13 @@ export class RenderingDevice extends Object {
|
|
|
344
348
|
* - a draw list is currently active (created by {@link drawListBegin})
|
|
345
349
|
* - a compute list is currently active (created by {@link computeListBegin})
|
|
346
350
|
*/
|
|
347
|
-
bufferClear(buffer: RID, offset: number /* uint32 */, sizeBytes: number /* uint32 */): Error { return _C(this,
|
|
351
|
+
bufferClear(buffer: RID, offset: number /* uint32 */, sizeBytes: number /* uint32 */): Error { return _C(this, 1953, buffer, offset, sizeBytes) as Error; }
|
|
348
352
|
|
|
349
353
|
/**
|
|
350
354
|
* Returns a copy of the data of the specified `buffer`, optionally `offsetBytes` and `sizeBytes` can be set to copy only a portion of the buffer.
|
|
351
355
|
* **Note:** This method will block the GPU from working until the data is retrieved. Refer to {@link bufferGetDataAsync} for an alternative that returns the data in more performant way.
|
|
352
356
|
*/
|
|
353
|
-
bufferGetData(buffer: RID, offsetBytes?: number /* = 0, uint32 */, sizeBytes?: number /* = 0, uint32 */): PackedByteArray { return _C(this,
|
|
357
|
+
bufferGetData(buffer: RID, offsetBytes?: number /* = 0, uint32 */, sizeBytes?: number /* = 0, uint32 */): PackedByteArray { return _C(this, 1955, buffer, offsetBytes, sizeBytes) as PackedByteArray; }
|
|
354
358
|
|
|
355
359
|
/**
|
|
356
360
|
* Asynchronous version of {@link bufferGetData}. RenderingDevice will call `callback` in a certain amount of frames with the data the buffer had at the time of the request.
|
|
@@ -368,37 +372,37 @@ export class RenderingDevice extends Object {
|
|
|
368
372
|
*
|
|
369
373
|
* ```
|
|
370
374
|
*/
|
|
371
|
-
bufferGetDataAsync(buffer: RID, callback: Callable, offsetBytes?: number /* = 0, uint32 */, sizeBytes?: number /* = 0, uint32 */): Error { return _C(this,
|
|
375
|
+
bufferGetDataAsync(buffer: RID, callback: Callable, offsetBytes?: number /* = 0, uint32 */, sizeBytes?: number /* = 0, uint32 */): Error { return _C(this, 1956, buffer, callback, offsetBytes, sizeBytes) as Error; }
|
|
372
376
|
|
|
373
377
|
/**
|
|
374
378
|
* 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.
|
|
375
379
|
* **Note:** You must check that the GPU supports this functionality by calling {@link hasFeature} with {@link SUPPORTS_BUFFER_DEVICE_ADDRESS} as a parameter.
|
|
376
380
|
*/
|
|
377
|
-
bufferGetDeviceAddress(buffer: RID): number { return _C(this,
|
|
381
|
+
bufferGetDeviceAddress(buffer: RID): number { return _C(this, 1957, buffer) as number; }
|
|
378
382
|
|
|
379
383
|
/**
|
|
380
384
|
* Creates a new render pipeline. It can be accessed with the RID that is returned.
|
|
381
385
|
* Once finished with your RID, you will want to free the RID using the RenderingDevice's {@link freeRid} method.
|
|
382
386
|
* This will be freed automatically when the `shader` is freed.
|
|
383
387
|
*/
|
|
384
|
-
renderPipelineCreate(shader: RID, framebufferFormat: number /* int64 */, vertexFormat: number /* int64 */, primitive: RenderPrimitive, rasterizationState: RDPipelineRasterizationState, multisampleState: RDPipelineMultisampleState, stencilState: RDPipelineDepthStencilState, colorBlendState: RDPipelineColorBlendState, dynamicStateFlags?: PipelineDynamicStateFlags /* = 0 */, forRenderPass?: number /* = 0, uint32 */, specializationConstants?: GodotArray<RDPipelineSpecializationConstant> /* = Array[RDPipelineSpecializationConstant]([]) */): RID { return _C(this,
|
|
388
|
+
renderPipelineCreate(shader: RID, framebufferFormat: number /* int64 */, vertexFormat: number /* int64 */, primitive: RenderPrimitive, rasterizationState: RDPipelineRasterizationState, multisampleState: RDPipelineMultisampleState, stencilState: RDPipelineDepthStencilState, colorBlendState: RDPipelineColorBlendState, dynamicStateFlags?: PipelineDynamicStateFlags /* = 0 */, forRenderPass?: number /* = 0, uint32 */, specializationConstants?: GodotArray<RDPipelineSpecializationConstant> /* = Array[RDPipelineSpecializationConstant]([]) */): RID { return _C(this, 10232, shader, framebufferFormat, vertexFormat, primitive, rasterizationState, multisampleState, stencilState, colorBlendState, dynamicStateFlags, forRenderPass, specializationConstants) as RID; }
|
|
385
389
|
|
|
386
390
|
/**
|
|
387
391
|
* Returns `true` if the render pipeline specified by the `renderPipeline` RID is valid, `false` otherwise.
|
|
388
392
|
*/
|
|
389
|
-
renderPipelineIsValid(renderPipeline: RID): boolean { return _C(this,
|
|
393
|
+
renderPipelineIsValid(renderPipeline: RID): boolean { return _C(this, 10233, renderPipeline) as boolean; }
|
|
390
394
|
|
|
391
395
|
/**
|
|
392
396
|
* Creates a new compute pipeline. It can be accessed with the RID that is returned.
|
|
393
397
|
* Once finished with your RID, you will want to free the RID using the RenderingDevice's {@link freeRid} method.
|
|
394
398
|
* This will be freed automatically when the `shader` is freed.
|
|
395
399
|
*/
|
|
396
|
-
computePipelineCreate(shader: RID, specializationConstants?: GodotArray<RDPipelineSpecializationConstant> /* = Array[RDPipelineSpecializationConstant]([]) */): RID { return _C(this,
|
|
400
|
+
computePipelineCreate(shader: RID, specializationConstants?: GodotArray<RDPipelineSpecializationConstant> /* = Array[RDPipelineSpecializationConstant]([]) */): RID { return _C(this, 2470, shader, specializationConstants) as RID; }
|
|
397
401
|
|
|
398
402
|
/**
|
|
399
403
|
* Returns `true` if the compute pipeline specified by the `computePipeline` RID is valid, `false` otherwise.
|
|
400
404
|
*/
|
|
401
|
-
computePipelineIsValid(computePipeline: RID): boolean { return _C(this,
|
|
405
|
+
computePipelineIsValid(computePipeline: RID): boolean { return _C(this, 2471, computePipeline) as boolean; }
|
|
402
406
|
|
|
403
407
|
/**
|
|
404
408
|
* Creates a new raytracing pipeline. It can be accessed with the RID that is returned.
|
|
@@ -409,29 +413,29 @@ export class RenderingDevice extends Object {
|
|
|
409
413
|
* - `missShaders` is indexed in `traceRayEXT`.
|
|
410
414
|
* - `hitGroups` is indexed in {@link hitSbtRangeUpdate}.
|
|
411
415
|
*/
|
|
412
|
-
raytracingPipelineCreate(raygenShaders: GodotArray<RDPipelineShader>, missShaders: GodotArray<RDPipelineShader>, hitGroups: GodotArray<RDHitGroup>, maxTraceRecursionDepth: number /* uint32 */): RID { return _C(this,
|
|
416
|
+
raytracingPipelineCreate(raygenShaders: GodotArray<RDPipelineShader>, missShaders: GodotArray<RDPipelineShader>, hitGroups: GodotArray<RDHitGroup>, maxTraceRecursionDepth: number /* uint32 */): RID { return _C(this, 9959, raygenShaders, missShaders, hitGroups, maxTraceRecursionDepth) as RID; }
|
|
413
417
|
|
|
414
418
|
/**
|
|
415
419
|
* Returns `true` if the raytracing pipeline specified by the `raytracingPipeline` RID is valid, `false` otherwise.
|
|
416
420
|
*/
|
|
417
|
-
raytracingPipelineIsValid(raytracingPipeline: RID): boolean { return _C(this,
|
|
421
|
+
raytracingPipelineIsValid(raytracingPipeline: RID): boolean { return _C(this, 9960, raytracingPipeline) as boolean; }
|
|
418
422
|
|
|
419
423
|
/**
|
|
420
424
|
* Creates a new Bottom-Level Acceleration Structure (BLAS). It can be accessed with the RID that is returned.
|
|
421
425
|
* Once finished with your RID, you will want to free the RID using the RenderingDevice's {@link freeRid} method.
|
|
422
426
|
*/
|
|
423
|
-
blasCreate(geometries: GodotArray<RDAccelerationStructureGeometry>, flags: AccelerationStructureFlagBits): RID { return _C(this,
|
|
427
|
+
blasCreate(geometries: GodotArray<RDAccelerationStructureGeometry>, flags: AccelerationStructureFlagBits): RID { return _C(this, 1818, geometries, flags) as RID; }
|
|
424
428
|
|
|
425
429
|
/**
|
|
426
430
|
* Creates a new Top-Level Acceleration Structure (TLAS). It can be accessed with the RID that is returned.
|
|
427
431
|
* Once finished with your RID, you will want to free the RID using the RenderingDevice's {@link freeRid} method.
|
|
428
432
|
*/
|
|
429
|
-
tlasCreate(maxInstanceCount: number /* uint32 */, flags: AccelerationStructureFlagBits): RID { return _C(this,
|
|
433
|
+
tlasCreate(maxInstanceCount: number /* uint32 */, flags: AccelerationStructureFlagBits): RID { return _C(this, 14577, maxInstanceCount, flags) as RID; }
|
|
430
434
|
|
|
431
435
|
/**
|
|
432
436
|
* Builds the `blas`.
|
|
433
437
|
*/
|
|
434
|
-
blasBuild(blas: RID): Error { return _C(this,
|
|
438
|
+
blasBuild(blas: RID): Error { return _C(this, 1817, blas) as Error; }
|
|
435
439
|
|
|
436
440
|
/**
|
|
437
441
|
* Builds the `tlas`. The contents of previous builds are discarded.
|
|
@@ -439,7 +443,7 @@ export class RenderingDevice extends Object {
|
|
|
439
443
|
* The number of instances can be equal to or smaller than the maximum instance count provided in the {@link tlasCreate} method.
|
|
440
444
|
* **Note:** Freeing or rebuilding any of the provided BLASes after this method invalidates the TLAS and requires it to be rebuilt.
|
|
441
445
|
*/
|
|
442
|
-
tlasBuild(tlas: RID, instances: GodotArray<RDAccelerationStructureInstance>): Error { return _C(this,
|
|
446
|
+
tlasBuild(tlas: RID, instances: GodotArray<RDAccelerationStructureInstance>): Error { return _C(this, 14576, tlas, instances) as Error; }
|
|
443
447
|
|
|
444
448
|
/**
|
|
445
449
|
* Creates a new hit shader binding table (SBT). It can be accessed with the RID that is returned.
|
|
@@ -447,14 +451,14 @@ export class RenderingDevice extends Object {
|
|
|
447
451
|
* This will be freed automatically when the `raytracingPipeline` is freed.
|
|
448
452
|
* The hit SBT resizes itself as needed. `initialHitGroupCapacity` is used to allocate the initial backing memory.
|
|
449
453
|
*/
|
|
450
|
-
hitSbtCreate(raytracingPipeline: RID, initialHitGroupCapacity: number /* uint32 */): RID { return _C(this,
|
|
454
|
+
hitSbtCreate(raytracingPipeline: RID, initialHitGroupCapacity: number /* uint32 */): RID { return _C(this, 7683, raytracingPipeline, initialHitGroupCapacity) as RID; }
|
|
451
455
|
|
|
452
456
|
/**
|
|
453
457
|
* Sets a new `raytracingPipeline` for `hitSbt`.
|
|
454
458
|
* The new pipeline must be a superset of the previous one. Existing hit groups must keep the same order and new hit groups should be appended to the end. This preserves existing SBT entries.
|
|
455
459
|
* The previous pipeline must remain valid during the call.
|
|
456
460
|
*/
|
|
457
|
-
hitSbtSetPipeline(hitSbt: RID, raytracingPipeline: RID): Error { return _C(this,
|
|
461
|
+
hitSbtSetPipeline(hitSbt: RID, raytracingPipeline: RID): Error { return _C(this, 7688, hitSbt, raytracingPipeline) as Error; }
|
|
458
462
|
|
|
459
463
|
/**
|
|
460
464
|
* Allocates a contiguous range of SBT entries from `hitSbt`.
|
|
@@ -469,44 +473,44 @@ export class RenderingDevice extends Object {
|
|
|
469
473
|
* × (SBT stride used in `traceRayEXT`)
|
|
470
474
|
* The allocated range is uninitialized and must be filled using {@link hitSbtRangeUpdate}.
|
|
471
475
|
*/
|
|
472
|
-
hitSbtRangeAlloc(hitSbt: RID, hitGroupCount: number /* uint32 */): number { return _C(this,
|
|
476
|
+
hitSbtRangeAlloc(hitSbt: RID, hitGroupCount: number /* uint32 */): number { return _C(this, 7685, hitSbt, hitGroupCount) as number; }
|
|
473
477
|
|
|
474
478
|
/**
|
|
475
479
|
* Frees a hit SBT range previously allocated with {@link hitSbtRangeAlloc}.
|
|
476
480
|
* The range must not be in use by any acceleration structure after being freed.
|
|
477
481
|
*/
|
|
478
|
-
hitSbtRangeFree(hitSbt: RID, range: number /* int64 */): Error { return _C(this,
|
|
482
|
+
hitSbtRangeFree(hitSbt: RID, range: number /* int64 */): Error { return _C(this, 7686, hitSbt, range) as Error; }
|
|
479
483
|
|
|
480
484
|
/**
|
|
481
485
|
* Updates the contents of a hit SBT range.
|
|
482
486
|
* `hitGroupIndices` specifies indices into the hit group array provided in {@link raytracingPipelineCreate}.
|
|
483
487
|
* The `offset` parameter specifies where within the allocated range the writing begins. This allows partial updates of a range. However, the complete range must be fully initialized before it is used in a raytracing dispatch.
|
|
484
488
|
*/
|
|
485
|
-
hitSbtRangeUpdate(hitSbt: RID, range: number /* int64 */, offset: number /* uint32 */, hitGroupIndices: PackedInt32Array): Error { return _C(this,
|
|
489
|
+
hitSbtRangeUpdate(hitSbt: RID, range: number /* int64 */, offset: number /* uint32 */, hitGroupIndices: PackedInt32Array): Error { return _C(this, 7687, hitSbt, range, offset, hitGroupIndices) as Error; }
|
|
486
490
|
|
|
487
491
|
/**
|
|
488
492
|
* 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 screenGetHeight}.
|
|
489
493
|
* **Note:** Only the main {@link RenderingDevice} returned by {@link RenderingServer.getRenderingDevice} has a width. If called on a local {@link RenderingDevice}, this method prints an error and returns {@link INVALID_ID}.
|
|
490
494
|
*/
|
|
491
|
-
screenGetWidth(screen?: number /* = 0 */): number { return _C(this,
|
|
495
|
+
screenGetWidth(screen?: number /* = 0 */): number { return _C(this, 10476, screen) as number; }
|
|
492
496
|
|
|
493
497
|
/**
|
|
494
498
|
* 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 screenGetWidth}.
|
|
495
499
|
* **Note:** Only the main {@link RenderingDevice} returned by {@link RenderingServer.getRenderingDevice} has a height. If called on a local {@link RenderingDevice}, this method prints an error and returns {@link INVALID_ID}.
|
|
496
500
|
*/
|
|
497
|
-
screenGetHeight(screen?: number /* = 0 */): number { return _C(this,
|
|
501
|
+
screenGetHeight(screen?: number /* = 0 */): number { return _C(this, 10465, screen) as number; }
|
|
498
502
|
|
|
499
503
|
/**
|
|
500
504
|
* Returns the framebuffer format of the given screen.
|
|
501
505
|
* **Note:** Only the main {@link RenderingDevice} returned by {@link RenderingServer.getRenderingDevice} has a format. If called on a local {@link RenderingDevice}, this method prints an error and returns {@link INVALID_ID}.
|
|
502
506
|
*/
|
|
503
|
-
screenGetFramebufferFormat(screen?: number /* = 0 */): number { return _C(this,
|
|
507
|
+
screenGetFramebufferFormat(screen?: number /* = 0 */): number { return _C(this, 10464, screen) as number; }
|
|
504
508
|
|
|
505
509
|
/**
|
|
506
510
|
* High-level variant of {@link drawListBegin}, with the parameters automatically being adjusted for drawing onto the window specified by the `screen` ID.
|
|
507
511
|
* **Note:** Cannot be used with local RenderingDevices, as these don't have a screen. If called on a local RenderingDevice, {@link drawListBeginForScreen} returns {@link INVALID_ID}.
|
|
508
512
|
*/
|
|
509
|
-
drawListBeginForScreen(screen?: number /* = 0 */, clearColor?: Color /* = Color(0, 0, 0, 1) */): number { return _C(this,
|
|
513
|
+
drawListBeginForScreen(screen?: number /* = 0 */, clearColor?: Color /* = Color(0, 0, 0, 1) */): number { return _C(this, 2977, screen, clearColor) as number; }
|
|
510
514
|
|
|
511
515
|
/**
|
|
512
516
|
* Starts a list of raster drawing commands created with the `draw_*` methods. The returned value should be passed to other `draw_list_*` functions.
|
|
@@ -544,83 +548,83 @@ export class RenderingDevice extends Object {
|
|
|
544
548
|
*
|
|
545
549
|
* ```
|
|
546
550
|
*/
|
|
547
|
-
drawListBegin(framebuffer: RID, drawFlags?: DrawFlags /* = 0 */, clearColorValues?: PackedColorArray /* = PackedColorArray() */, clearDepthValue?: number /* = 1.0 */, clearStencilValue?: number /* = 0, uint32 */, region?: Rect2 /* = Rect2(0, 0, 0, 0) */, breadcrumb?: number /* = 0, uint32 */): number { return _C(this,
|
|
551
|
+
drawListBegin(framebuffer: RID, drawFlags?: DrawFlags /* = 0 */, clearColorValues?: PackedColorArray /* = PackedColorArray() */, clearDepthValue?: number /* = 1.0 */, clearStencilValue?: number /* = 0, uint32 */, region?: Rect2 /* = Rect2(0, 0, 0, 0) */, breadcrumb?: number /* = 0, uint32 */): number { return _C(this, 2976, framebuffer, drawFlags, clearColorValues, clearDepthValue, clearStencilValue, region, breadcrumb) as number; }
|
|
548
552
|
|
|
549
553
|
/**
|
|
550
554
|
* This method does nothing and always returns an empty {@link PackedInt64Array}.
|
|
551
555
|
*/
|
|
552
|
-
drawListBeginSplit(framebuffer: RID, splits: number /* uint32 */, initialColorAction: InitialAction, finalColorAction: FinalAction, initialDepthAction: InitialAction, finalDepthAction: FinalAction, clearColorValues?: PackedColorArray /* = PackedColorArray() */, clearDepth?: number /* = 1.0 */, clearStencil?: number /* = 0, uint32 */, region?: Rect2 /* = Rect2(0, 0, 0, 0) */, storageTextures?: GodotArray<RID> /* = Array[RID]([]) */): PackedInt64Array { return _C(this,
|
|
556
|
+
drawListBeginSplit(framebuffer: RID, splits: number /* uint32 */, initialColorAction: InitialAction, finalColorAction: FinalAction, initialDepthAction: InitialAction, finalDepthAction: FinalAction, clearColorValues?: PackedColorArray /* = PackedColorArray() */, clearDepth?: number /* = 1.0 */, clearStencil?: number /* = 0, uint32 */, region?: Rect2 /* = Rect2(0, 0, 0, 0) */, storageTextures?: GodotArray<RID> /* = Array[RID]([]) */): PackedInt64Array { return _C(this, 2978, framebuffer, splits, initialColorAction, finalColorAction, initialDepthAction, finalDepthAction, clearColorValues, clearDepth, clearStencil, region, storageTextures) as PackedInt64Array; }
|
|
553
557
|
|
|
554
558
|
/**
|
|
555
559
|
* Sets blend constants for the specified `drawList` to `color`. Blend constants are used only if the graphics pipeline is created with {@link DYNAMIC_STATE_BLEND_CONSTANTS} flag set.
|
|
556
560
|
*/
|
|
557
|
-
drawListSetBlendConstants(drawList: number /* int64 */, color: Color): void { _C(this,
|
|
561
|
+
drawListSetBlendConstants(drawList: number /* int64 */, color: Color): void { _C(this, 2989, drawList, color); }
|
|
558
562
|
|
|
559
563
|
/**
|
|
560
564
|
* Binds `renderPipeline` to the specified `drawList`.
|
|
561
565
|
*/
|
|
562
|
-
drawListBindRenderPipeline(drawList: number /* int64 */, renderPipeline: RID): void { _C(this,
|
|
566
|
+
drawListBindRenderPipeline(drawList: number /* int64 */, renderPipeline: RID): void { _C(this, 2980, drawList, renderPipeline); }
|
|
563
567
|
|
|
564
568
|
/**
|
|
565
569
|
* Binds `uniformSet` to the specified `drawList`. A `setIndex` must also be specified, which is an identifier starting from `0` that must match the one expected by the draw list.
|
|
566
570
|
*/
|
|
567
|
-
drawListBindUniformSet(drawList: number /* int64 */, uniformSet: RID, setIndex: number /* uint32 */): void { _C(this,
|
|
571
|
+
drawListBindUniformSet(drawList: number /* int64 */, uniformSet: RID, setIndex: number /* uint32 */): void { _C(this, 2981, drawList, uniformSet, setIndex); }
|
|
568
572
|
|
|
569
573
|
/**
|
|
570
574
|
* Binds `vertexArray` to the specified `drawList`.
|
|
571
575
|
*/
|
|
572
|
-
drawListBindVertexArray(drawList: number /* int64 */, vertexArray: RID): void { _C(this,
|
|
576
|
+
drawListBindVertexArray(drawList: number /* int64 */, vertexArray: RID): void { _C(this, 2982, drawList, vertexArray); }
|
|
573
577
|
|
|
574
578
|
/**
|
|
575
579
|
* Binds a set of `vertexBuffers` directly to the specified `drawList` using `vertexFormat` without creating a vertex array RID. Provide the number of vertices in `vertexCount`; optional per-buffer byte `offsets` may also be supplied.
|
|
576
580
|
*/
|
|
577
|
-
drawListBindVertexBuffersFormat(drawList: number /* int64 */, vertexFormat: number /* int64 */, vertexCount: number /* uint32 */, vertexBuffers: GodotArray<RID>, offsets?: PackedInt64Array /* = PackedInt64Array() */): void { _C(this,
|
|
581
|
+
drawListBindVertexBuffersFormat(drawList: number /* int64 */, vertexFormat: number /* int64 */, vertexCount: number /* uint32 */, vertexBuffers: GodotArray<RID>, offsets?: PackedInt64Array /* = PackedInt64Array() */): void { _C(this, 2983, drawList, vertexFormat, vertexCount, vertexBuffers, offsets); }
|
|
578
582
|
|
|
579
583
|
/**
|
|
580
584
|
* Binds `indexArray` to the specified `drawList`.
|
|
581
585
|
*/
|
|
582
|
-
drawListBindIndexArray(drawList: number /* int64 */, indexArray: RID): void { _C(this,
|
|
586
|
+
drawListBindIndexArray(drawList: number /* int64 */, indexArray: RID): void { _C(this, 2979, drawList, indexArray); }
|
|
583
587
|
|
|
584
588
|
/**
|
|
585
589
|
* Sets the push constant data to `buffer` for the specified `drawList`. The shader determines how this binary data is used. The buffer's size in bytes must also be specified in `sizeBytes` (this can be obtained by calling the {@link PackedByteArray.size} method on the passed `buffer`).
|
|
586
590
|
*/
|
|
587
|
-
drawListSetPushConstant(drawList: number /* int64 */, buffer: PackedByteArray, sizeBytes: number /* uint32 */): void { _C(this,
|
|
591
|
+
drawListSetPushConstant(drawList: number /* int64 */, buffer: PackedByteArray, sizeBytes: number /* uint32 */): void { _C(this, 2990, drawList, buffer, sizeBytes); }
|
|
588
592
|
|
|
589
593
|
/**
|
|
590
594
|
* Submits `drawList` for rendering on the GPU. This is the raster equivalent to {@link computeListDispatch}.
|
|
591
595
|
*/
|
|
592
|
-
drawListDraw(drawList: number /* int64 */, useIndices: boolean, instances: number /* uint32 */, proceduralVertexCount?: number /* = 0, uint32 */): void { _C(this,
|
|
596
|
+
drawListDraw(drawList: number /* int64 */, useIndices: boolean, instances: number /* uint32 */, proceduralVertexCount?: number /* = 0, uint32 */): void { _C(this, 2985, drawList, useIndices, instances, proceduralVertexCount); }
|
|
593
597
|
|
|
594
598
|
/**
|
|
595
599
|
* Submits `drawList` 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.
|
|
596
600
|
*/
|
|
597
|
-
drawListDrawIndirect(drawList: number /* int64 */, useIndices: boolean, buffer: RID, offset?: number /* = 0, uint32 */, drawCount?: number /* = 1, uint32 */, stride?: number /* = 0, uint32 */): void { _C(this,
|
|
601
|
+
drawListDrawIndirect(drawList: number /* int64 */, useIndices: boolean, buffer: RID, offset?: number /* = 0, uint32 */, drawCount?: number /* = 1, uint32 */, stride?: number /* = 0, uint32 */): void { _C(this, 2986, drawList, useIndices, buffer, offset, drawCount, stride); }
|
|
598
602
|
|
|
599
603
|
/**
|
|
600
604
|
* Creates a scissor rectangle and enables it for the specified `drawList`. Scissor rectangles are used for clipping by discarding fragments that fall outside a specified rectangular portion of the screen. See also {@link drawListDisableScissor}.
|
|
601
605
|
* **Note:** The specified `rect` is automatically intersected with the screen's dimensions, which means it cannot exceed the screen's dimensions.
|
|
602
606
|
*/
|
|
603
|
-
drawListEnableScissor(drawList: number /* int64 */, rect?: Rect2 /* = Rect2(0, 0, 0, 0) */): void { _C(this,
|
|
607
|
+
drawListEnableScissor(drawList: number /* int64 */, rect?: Rect2 /* = Rect2(0, 0, 0, 0) */): void { _C(this, 2987, drawList, rect); }
|
|
604
608
|
|
|
605
609
|
/**
|
|
606
610
|
* Removes and disables the scissor rectangle for the specified `drawList`. See also {@link drawListEnableScissor}.
|
|
607
611
|
*/
|
|
608
|
-
drawListDisableScissor(drawList: number /* int64 */): void { _C(this,
|
|
612
|
+
drawListDisableScissor(drawList: number /* int64 */): void { _C(this, 2984, drawList); }
|
|
609
613
|
|
|
610
614
|
/**
|
|
611
615
|
* Switches to the next draw pass.
|
|
612
616
|
*/
|
|
613
|
-
drawListSwitchToNextPass(): number { return _C(this,
|
|
617
|
+
drawListSwitchToNextPass(): number { return _C(this, 2991) as number; }
|
|
614
618
|
|
|
615
619
|
/**
|
|
616
620
|
* This method does nothing and always returns an empty {@link PackedInt64Array}.
|
|
617
621
|
*/
|
|
618
|
-
drawListSwitchToNextPassSplit(splits: number /* uint32 */): PackedInt64Array { return _C(this,
|
|
622
|
+
drawListSwitchToNextPassSplit(splits: number /* uint32 */): PackedInt64Array { return _C(this, 2992, splits) as PackedInt64Array; }
|
|
619
623
|
|
|
620
624
|
/**
|
|
621
625
|
* Finishes a list of raster drawing commands created with the `draw_*` methods.
|
|
622
626
|
*/
|
|
623
|
-
drawListEnd(): void { _C(this,
|
|
627
|
+
drawListEnd(): void { _C(this, 2988); }
|
|
624
628
|
|
|
625
629
|
/**
|
|
626
630
|
* Starts a list of compute commands created with the `compute_*` methods. The returned value should be passed to other `compute_list_*` functions.
|
|
@@ -645,42 +649,42 @@ export class RenderingDevice extends Object {
|
|
|
645
649
|
*
|
|
646
650
|
* ```
|
|
647
651
|
*/
|
|
648
|
-
computeListBegin(): number { return _C(this,
|
|
652
|
+
computeListBegin(): number { return _C(this, 2463) as number; }
|
|
649
653
|
|
|
650
654
|
/**
|
|
651
655
|
* 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 computeListDispatch}.
|
|
652
656
|
*/
|
|
653
|
-
computeListBindComputePipeline(computeList: number /* int64 */, computePipeline: RID): void { _C(this,
|
|
657
|
+
computeListBindComputePipeline(computeList: number /* int64 */, computePipeline: RID): void { _C(this, 2464, computeList, computePipeline); }
|
|
654
658
|
|
|
655
659
|
/**
|
|
656
660
|
* Sets the push constant data to `buffer` for the specified `computeList`. The shader determines how this binary data is used. The buffer's size in bytes must also be specified in `sizeBytes` (this can be obtained by calling the {@link PackedByteArray.size} method on the passed `buffer`).
|
|
657
661
|
*/
|
|
658
|
-
computeListSetPushConstant(computeList: number /* int64 */, buffer: PackedByteArray, sizeBytes: number /* uint32 */): void { _C(this,
|
|
662
|
+
computeListSetPushConstant(computeList: number /* int64 */, buffer: PackedByteArray, sizeBytes: number /* uint32 */): void { _C(this, 2469, computeList, buffer, sizeBytes); }
|
|
659
663
|
|
|
660
664
|
/**
|
|
661
665
|
* Binds the `uniformSet` to this `computeList`. 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.
|
|
662
666
|
*/
|
|
663
|
-
computeListBindUniformSet(computeList: number /* int64 */, uniformSet: RID, setIndex: number /* uint32 */): void { _C(this,
|
|
667
|
+
computeListBindUniformSet(computeList: number /* int64 */, uniformSet: RID, setIndex: number /* uint32 */): void { _C(this, 2465, computeList, uniformSet, setIndex); }
|
|
664
668
|
|
|
665
669
|
/**
|
|
666
670
|
* Submits the compute list for processing on the GPU. This is the compute equivalent to {@link drawListDraw}.
|
|
667
671
|
*/
|
|
668
|
-
computeListDispatch(computeList: number /* int64 */, xGroups: number /* uint32 */, yGroups: number /* uint32 */, zGroups: number /* uint32 */): void { _C(this,
|
|
672
|
+
computeListDispatch(computeList: number /* int64 */, xGroups: number /* uint32 */, yGroups: number /* uint32 */, zGroups: number /* uint32 */): void { _C(this, 2466, computeList, xGroups, yGroups, zGroups); }
|
|
669
673
|
|
|
670
674
|
/**
|
|
671
675
|
* 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.
|
|
672
676
|
*/
|
|
673
|
-
computeListDispatchIndirect(computeList: number /* int64 */, buffer: RID, offset: number /* uint32 */): void { _C(this,
|
|
677
|
+
computeListDispatchIndirect(computeList: number /* int64 */, buffer: RID, offset: number /* uint32 */): void { _C(this, 2467, computeList, buffer, offset); }
|
|
674
678
|
|
|
675
679
|
/**
|
|
676
680
|
* Raises a Vulkan compute barrier in the specified `computeList`.
|
|
677
681
|
*/
|
|
678
|
-
computeListAddBarrier(computeList: number /* int64 */): void { _C(this,
|
|
682
|
+
computeListAddBarrier(computeList: number /* int64 */): void { _C(this, 2462, computeList); }
|
|
679
683
|
|
|
680
684
|
/**
|
|
681
685
|
* Finishes a list of compute commands created with the `compute_*` methods.
|
|
682
686
|
*/
|
|
683
|
-
computeListEnd(): void { _C(this,
|
|
687
|
+
computeListEnd(): void { _C(this, 2468); }
|
|
684
688
|
|
|
685
689
|
/**
|
|
686
690
|
* Starts a list of raytracing commands. The returned value should be passed to other `raytracing_list_*` functions.
|
|
@@ -735,166 +739,166 @@ export class RenderingDevice extends Object {
|
|
|
735
739
|
*
|
|
736
740
|
* ```
|
|
737
741
|
*/
|
|
738
|
-
raytracingListBegin(): number { return _C(this,
|
|
742
|
+
raytracingListBegin(): number { return _C(this, 9953) as number; }
|
|
739
743
|
|
|
740
744
|
/**
|
|
741
745
|
* Binds `raytracingPipeline` to the specified `raytracingList`.
|
|
742
746
|
*/
|
|
743
|
-
raytracingListBindRaytracingPipeline(raytracingList: number /* int64 */, raytracingPipeline: RID): void { _C(this,
|
|
747
|
+
raytracingListBindRaytracingPipeline(raytracingList: number /* int64 */, raytracingPipeline: RID): void { _C(this, 9954, raytracingList, raytracingPipeline); }
|
|
744
748
|
|
|
745
749
|
/**
|
|
746
750
|
* Sets the push constant data to `buffer` for the specified `raytracingList`. The shader determines how this binary data is used. The buffer's size in bytes must also be specified in `sizeBytes` (this can be obtained by calling the {@link PackedByteArray.size} method on the passed `buffer`).
|
|
747
751
|
*/
|
|
748
|
-
raytracingListSetPushConstant(raytracingList: number /* int64 */, buffer: PackedByteArray, sizeBytes: number /* uint32 */): void { _C(this,
|
|
752
|
+
raytracingListSetPushConstant(raytracingList: number /* int64 */, buffer: PackedByteArray, sizeBytes: number /* uint32 */): void { _C(this, 9957, raytracingList, buffer, sizeBytes); }
|
|
749
753
|
|
|
750
754
|
/**
|
|
751
755
|
* Binds the `uniformSet` to this `raytracingList`.
|
|
752
756
|
*/
|
|
753
|
-
raytracingListBindUniformSet(raytracingList: number /* int64 */, uniformSet: RID, setIndex: number /* uint32 */): void { _C(this,
|
|
757
|
+
raytracingListBindUniformSet(raytracingList: number /* int64 */, uniformSet: RID, setIndex: number /* uint32 */): void { _C(this, 9955, raytracingList, uniformSet, setIndex); }
|
|
754
758
|
|
|
755
759
|
/**
|
|
756
760
|
* Initializes a raytracing dispatch for `raytracingList`, launching `width` × `height` × `depth` rays.
|
|
757
761
|
* `raygenShaderIndex` selects the ray generation shader from the pipeline bound with {@link raytracingListBindRaytracingPipeline}.
|
|
758
762
|
* `hitSbt` must use the same pipeline bound to `raytracingList`.
|
|
759
763
|
*/
|
|
760
|
-
raytracingListTraceRays(raytracingList: number /* int64 */, raygenShaderIndex: number /* uint32 */, hitSbt: RID, width: number /* uint32 */, height: number /* uint32 */, depth: number /* uint32 */): void { _C(this,
|
|
764
|
+
raytracingListTraceRays(raytracingList: number /* int64 */, raygenShaderIndex: number /* uint32 */, hitSbt: RID, width: number /* uint32 */, height: number /* uint32 */, depth: number /* uint32 */): void { _C(this, 9958, raytracingList, raygenShaderIndex, hitSbt, width, height, depth); }
|
|
761
765
|
|
|
762
766
|
/**
|
|
763
767
|
* Finishes a list of raytracing commands created with the `raytracing_*` methods.
|
|
764
768
|
*/
|
|
765
|
-
raytracingListEnd(): void { _C(this,
|
|
769
|
+
raytracingListEnd(): void { _C(this, 9956); }
|
|
766
770
|
|
|
767
771
|
/**
|
|
768
772
|
* 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.
|
|
769
773
|
*/
|
|
770
|
-
freeRid(rid: RID): void { _C(this,
|
|
774
|
+
freeRid(rid: RID): void { _C(this, 3645, rid); }
|
|
771
775
|
|
|
772
776
|
/**
|
|
773
777
|
* Creates a timestamp marker with the specified `name`. This is used for performance reporting with the {@link getCapturedTimestampCpuTime}, {@link getCapturedTimestampGpuTime} and {@link getCapturedTimestampName} methods.
|
|
774
778
|
*/
|
|
775
|
-
captureTimestamp(name: string): void { _C(this,
|
|
779
|
+
captureTimestamp(name: string): void { _C(this, 2173, name); }
|
|
776
780
|
|
|
777
781
|
/**
|
|
778
782
|
* Returns the total number of timestamps (rendering steps) available for profiling.
|
|
779
783
|
*/
|
|
780
|
-
getCapturedTimestampsCount(): number { return _C(this,
|
|
784
|
+
getCapturedTimestampsCount(): number { return _C(this, 4159) as number; }
|
|
781
785
|
|
|
782
786
|
/**
|
|
783
787
|
* Returns the index of the last frame rendered that has rendering timestamps available for querying.
|
|
784
788
|
*/
|
|
785
|
-
getCapturedTimestampsFrame(): number { return _C(this,
|
|
789
|
+
getCapturedTimestampsFrame(): number { return _C(this, 4160) as number; }
|
|
786
790
|
|
|
787
791
|
/**
|
|
788
|
-
* Returns the timestamp in GPU time for the rendering step specified by `index` (in
|
|
792
|
+
* Returns the timestamp in GPU time for the rendering step specified by `index` (in nanoseconds since the engine started). See also {@link getCapturedTimestampCpuTime} and {@link captureTimestamp}.
|
|
789
793
|
*/
|
|
790
|
-
getCapturedTimestampGpuTime(index: number /* uint32 */): number { return _C(this,
|
|
794
|
+
getCapturedTimestampGpuTime(index: number /* uint32 */): number { return _C(this, 4157, index) as number; }
|
|
791
795
|
|
|
792
796
|
/**
|
|
793
797
|
* Returns the timestamp in CPU time for the rendering step specified by `index` (in microseconds since the engine started). See also {@link getCapturedTimestampGpuTime} and {@link captureTimestamp}.
|
|
794
798
|
*/
|
|
795
|
-
getCapturedTimestampCpuTime(index: number /* uint32 */): number { return _C(this,
|
|
799
|
+
getCapturedTimestampCpuTime(index: number /* uint32 */): number { return _C(this, 4156, index) as number; }
|
|
796
800
|
|
|
797
801
|
/**
|
|
798
802
|
* Returns the timestamp's name for the rendering step specified by `index`. See also {@link captureTimestamp}.
|
|
799
803
|
*/
|
|
800
|
-
getCapturedTimestampName(index: number /* uint32 */): string { return _C(this,
|
|
804
|
+
getCapturedTimestampName(index: number /* uint32 */): string { return _C(this, 4158, index) as string; }
|
|
801
805
|
|
|
802
806
|
/**
|
|
803
807
|
* Returns `true` if the `feature` is supported by the GPU.
|
|
804
808
|
*/
|
|
805
|
-
hasFeature(feature: Features): boolean { return _C(this,
|
|
809
|
+
hasFeature(feature: Features): boolean { return _C(this, 7542, feature) as boolean; }
|
|
806
810
|
|
|
807
811
|
/**
|
|
808
812
|
* 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.
|
|
809
813
|
* Limits for various graphics hardware can be found in the [Vulkan Hardware Database](https://vulkan.gpuinfo.org/).
|
|
810
814
|
*/
|
|
811
|
-
limitGet(limit: Limit): number { return _C(this,
|
|
815
|
+
limitGet(limit: Limit): number { return _C(this, 8791, limit) as number; }
|
|
812
816
|
|
|
813
817
|
/**
|
|
814
818
|
* 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.
|
|
815
819
|
*/
|
|
816
|
-
getFrameDelay(): number { return _C(this,
|
|
820
|
+
getFrameDelay(): number { return _C(this, 4967) as number; }
|
|
817
821
|
|
|
818
822
|
/**
|
|
819
823
|
* Pushes the frame setup and draw command buffers then marks the local device as currently processing (which allows calling {@link sync}).
|
|
820
824
|
* **Note:** Only available in local RenderingDevices.
|
|
821
825
|
*/
|
|
822
|
-
submit(): void { _C(this,
|
|
826
|
+
submit(): void { _C(this, 14288); }
|
|
823
827
|
|
|
824
828
|
/**
|
|
825
829
|
* 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.
|
|
826
830
|
* **Note:** Only available in local RenderingDevices.
|
|
827
831
|
* **Note:** {@link sync} can only be called after a {@link submit}.
|
|
828
832
|
*/
|
|
829
|
-
sync(): void { _C(this,
|
|
833
|
+
sync(): void { _C(this, 14373); }
|
|
830
834
|
|
|
831
835
|
/**
|
|
832
836
|
* This method does nothing.
|
|
833
837
|
*/
|
|
834
|
-
barrier(from?: BarrierMask /* = 32767 */, to?: BarrierMask /* = 32767 */): void { _C(this,
|
|
838
|
+
barrier(from?: BarrierMask /* = 32767 */, to?: BarrierMask /* = 32767 */): void { _C(this, 1761, from, to); }
|
|
835
839
|
|
|
836
840
|
/**
|
|
837
841
|
* This method does nothing.
|
|
838
842
|
*/
|
|
839
|
-
fullBarrier(): void { _C(this,
|
|
843
|
+
fullBarrier(): void { _C(this, 3683); }
|
|
840
844
|
|
|
841
845
|
/**
|
|
842
846
|
* Create a new local {@link RenderingDevice}. This is most useful for performing compute operations on the GPU independently from the rest of the engine.
|
|
843
847
|
*/
|
|
844
|
-
createLocalDevice(): RenderingDevice { return _C(this,
|
|
848
|
+
createLocalDevice(): RenderingDevice { return _C(this, 2597) as RenderingDevice; }
|
|
845
849
|
|
|
846
850
|
/**
|
|
847
851
|
* Sets the resource name for `id` to `name`. This is used for debugging with third-party tools such as [RenderDoc](https://renderdoc.org/).
|
|
848
852
|
* 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.
|
|
849
853
|
* **Note:** Resource names are only set when the engine runs in verbose mode ({@link OS.isStdoutVerbose} = `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.
|
|
850
854
|
*/
|
|
851
|
-
setResourceName(id: RID, name: string): void { _C(this,
|
|
855
|
+
setResourceName(id: RID, name: string): void { _C(this, 12806, id, name); }
|
|
852
856
|
|
|
853
857
|
/**
|
|
854
858
|
* 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 drawCommandEndLabel} call. When viewed from the linear series of submissions to a single queue, calls to {@link drawCommandBeginLabel} and {@link drawCommandEndLabel} must be matched and balanced.
|
|
855
859
|
* 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 drawCommandEndLabel}.
|
|
856
860
|
*/
|
|
857
|
-
drawCommandBeginLabel(name: string, color: Color): void { _C(this,
|
|
861
|
+
drawCommandBeginLabel(name: string, color: Color): void { _C(this, 2961, name, color); }
|
|
858
862
|
|
|
859
863
|
/**
|
|
860
864
|
* This method does nothing.
|
|
861
865
|
*/
|
|
862
|
-
drawCommandInsertLabel(name: string, color: Color): void { _C(this,
|
|
866
|
+
drawCommandInsertLabel(name: string, color: Color): void { _C(this, 2963, name, color); }
|
|
863
867
|
|
|
864
868
|
/**
|
|
865
869
|
* Ends the command buffer debug label region started by a {@link drawCommandBeginLabel} call.
|
|
866
870
|
*/
|
|
867
|
-
drawCommandEndLabel(): void { _C(this,
|
|
871
|
+
drawCommandEndLabel(): void { _C(this, 2962); }
|
|
868
872
|
|
|
869
873
|
/**
|
|
870
874
|
* Returns the vendor of the video adapter (e.g. "NVIDIA Corporation"). Equivalent to {@link RenderingServer.getVideoAdapterVendor}. See also {@link getDeviceName}.
|
|
871
875
|
*/
|
|
872
|
-
getDeviceVendorName(): string { return _C(this,
|
|
876
|
+
getDeviceVendorName(): string { return _C(this, 4579) as string; }
|
|
873
877
|
|
|
874
878
|
/**
|
|
875
879
|
* Returns the name of the video adapter (e.g. "GeForce GTX 1080/PCIe/SSE2"). Equivalent to {@link RenderingServer.getVideoAdapterName}. See also {@link getDeviceVendorName}.
|
|
876
880
|
*/
|
|
877
|
-
getDeviceName(): string { return _C(this,
|
|
881
|
+
getDeviceName(): string { return _C(this, 4575) as string; }
|
|
878
882
|
|
|
879
883
|
/**
|
|
880
884
|
* 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.
|
|
881
885
|
*/
|
|
882
|
-
getDevicePipelineCacheUuid(): string { return _C(this,
|
|
886
|
+
getDevicePipelineCacheUuid(): string { return _C(this, 4577) as string; }
|
|
883
887
|
|
|
884
888
|
/**
|
|
885
889
|
* 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).
|
|
886
890
|
*/
|
|
887
|
-
getMemoryUsage(type: MemoryType): number { return _C(this,
|
|
891
|
+
getMemoryUsage(type: MemoryType): number { return _C(this, 5608, type) as number; }
|
|
888
892
|
|
|
889
893
|
/**
|
|
890
894
|
* 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.
|
|
891
895
|
*/
|
|
892
|
-
getDriverResource(resource: DriverResource, rid: RID, index: number /* uint64 */): number { return _C(this,
|
|
896
|
+
getDriverResource(resource: DriverResource, rid: RID, index: number /* uint64 */): number { return _C(this, 4661, resource, rid, index) as number; }
|
|
893
897
|
|
|
894
898
|
/**
|
|
895
899
|
* Returns a string with a performance report from the past frame. Updates every frame.
|
|
896
900
|
*/
|
|
897
|
-
getPerfReport(): string { return _C(this,
|
|
901
|
+
getPerfReport(): string { return _C(this, 5986) as string; }
|
|
898
902
|
|
|
899
903
|
/**
|
|
900
904
|
* Returns string report in CSV format using the following methods:
|
|
@@ -910,7 +914,7 @@ export class RenderingDevice extends Object {
|
|
|
910
914
|
* - {@link getDeviceAllocsByObjectType}
|
|
911
915
|
* 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).
|
|
912
916
|
*/
|
|
913
|
-
getDriverAndDeviceMemoryReport(): string { return _C(this,
|
|
917
|
+
getDriverAndDeviceMemoryReport(): string { return _C(this, 4658) as string; }
|
|
914
918
|
|
|
915
919
|
/**
|
|
916
920
|
* Returns the name of the type of object for the given `typeIndex`. This value must be in range `[0; get_tracked_object_type_count - 1]`. If {@link getTrackedObjectTypeCount} is 0, then type argument is ignored and always returns the same string.
|
|
@@ -922,65 +926,65 @@ export class RenderingDevice extends Object {
|
|
|
922
926
|
* 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.
|
|
923
927
|
* 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).
|
|
924
928
|
*/
|
|
925
|
-
getTrackedObjectName(typeIndex: number /* uint32 */): string { return _C(this,
|
|
929
|
+
getTrackedObjectName(typeIndex: number /* uint32 */): string { return _C(this, 6997, typeIndex) as string; }
|
|
926
930
|
|
|
927
931
|
/**
|
|
928
932
|
* Returns how many types of trackable objects there are.
|
|
929
933
|
* 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).
|
|
930
934
|
*/
|
|
931
|
-
getTrackedObjectTypeCount(): number { return _C(this,
|
|
935
|
+
getTrackedObjectTypeCount(): number { return _C(this, 6998) as number; }
|
|
932
936
|
|
|
933
937
|
/**
|
|
934
938
|
* Returns how much bytes the GPU driver is using for internal driver structures.
|
|
935
939
|
* This is only used by Vulkan in debug builds and can return 0 when this information is not tracked or unknown.
|
|
936
940
|
*/
|
|
937
|
-
getDriverTotalMemory(): number { return _C(this,
|
|
941
|
+
getDriverTotalMemory(): number { return _C(this, 4662) as number; }
|
|
938
942
|
|
|
939
943
|
/**
|
|
940
944
|
* Returns how many allocations the GPU driver has performed for internal driver structures.
|
|
941
945
|
* This is only used by Vulkan in debug builds and can return 0 when this information is not tracked or unknown.
|
|
942
946
|
*/
|
|
943
|
-
getDriverAllocationCount(): number { return _C(this,
|
|
947
|
+
getDriverAllocationCount(): number { return _C(this, 4656) as number; }
|
|
944
948
|
|
|
945
949
|
/**
|
|
946
950
|
* Same as {@link getDriverTotalMemory} but filtered for a given object type.
|
|
947
951
|
* The type argument must be in range `[0; get_tracked_object_type_count - 1]`. If {@link getTrackedObjectTypeCount} is 0, then type argument is ignored and always returns 0.
|
|
948
952
|
* This is only used by Vulkan in debug builds and can return 0 when this information is not tracked or unknown.
|
|
949
953
|
*/
|
|
950
|
-
getDriverMemoryByObjectType(type: number /* uint32 */): number { return _C(this,
|
|
954
|
+
getDriverMemoryByObjectType(type: number /* uint32 */): number { return _C(this, 4659, type) as number; }
|
|
951
955
|
|
|
952
956
|
/**
|
|
953
957
|
* Same as {@link getDriverAllocationCount} but filtered for a given object type.
|
|
954
958
|
* The type argument must be in range `[0; get_tracked_object_type_count - 1]`. If {@link getTrackedObjectTypeCount} is 0, then type argument is ignored and always returns 0.
|
|
955
959
|
* This is only used by Vulkan in debug builds and can return 0 when this information is not tracked or unknown.
|
|
956
960
|
*/
|
|
957
|
-
getDriverAllocsByObjectType(type: number /* uint32 */): number { return _C(this,
|
|
961
|
+
getDriverAllocsByObjectType(type: number /* uint32 */): number { return _C(this, 4657, type) as number; }
|
|
958
962
|
|
|
959
963
|
/**
|
|
960
964
|
* Returns how much bytes the GPU is using.
|
|
961
965
|
* This is only used by Vulkan in debug builds and can return 0 when this information is not tracked or unknown.
|
|
962
966
|
*/
|
|
963
|
-
getDeviceTotalMemory(): number { return _C(this,
|
|
967
|
+
getDeviceTotalMemory(): number { return _C(this, 4578) as number; }
|
|
964
968
|
|
|
965
969
|
/**
|
|
966
970
|
* Returns how many allocations the GPU has performed for internal driver structures.
|
|
967
971
|
* This is only used by Vulkan in debug builds and can return 0 when this information is not tracked or unknown.
|
|
968
972
|
*/
|
|
969
|
-
getDeviceAllocationCount(): number { return _C(this,
|
|
973
|
+
getDeviceAllocationCount(): number { return _C(this, 4571) as number; }
|
|
970
974
|
|
|
971
975
|
/**
|
|
972
976
|
* Same as {@link getDeviceTotalMemory} but filtered for a given object type.
|
|
973
977
|
* The type argument must be in range `[0; get_tracked_object_type_count - 1]`. If {@link getTrackedObjectTypeCount} is 0, then type argument is ignored and always returns 0.
|
|
974
978
|
* This is only used by Vulkan in debug builds and can return 0 when this information is not tracked or unknown.
|
|
975
979
|
*/
|
|
976
|
-
getDeviceMemoryByObjectType(type: number /* uint32 */): number { return _C(this,
|
|
980
|
+
getDeviceMemoryByObjectType(type: number /* uint32 */): number { return _C(this, 4574, type) as number; }
|
|
977
981
|
|
|
978
982
|
/**
|
|
979
983
|
* Same as {@link getDeviceAllocationCount} but filtered for a given object type.
|
|
980
984
|
* The type argument must be in range `[0; get_tracked_object_type_count - 1]`. If {@link getTrackedObjectTypeCount} is 0, then type argument is ignored and always returns 0.
|
|
981
985
|
* This is only used by Vulkan in debug builds and can return 0 when this information is not tracked or unknown.
|
|
982
986
|
*/
|
|
983
|
-
getDeviceAllocsByObjectType(type: number /* uint32 */): number { return _C(this,
|
|
987
|
+
getDeviceAllocsByObjectType(type: number /* uint32 */): number { return _C(this, 4572, type) as number; }
|
|
984
988
|
|
|
985
989
|
/**
|
|
986
990
|
* Returned by functions that return an ID if a value is invalid.
|
|
@@ -992,7 +996,7 @@ export class RenderingDevice extends Object {
|
|
|
992
996
|
*/
|
|
993
997
|
static readonly INVALID_FORMAT_ID = -1;
|
|
994
998
|
|
|
995
|
-
static readonly name = _R(
|
|
999
|
+
static readonly name = _R(681, RenderingDevice);
|
|
996
1000
|
}
|
|
997
1001
|
|
|
998
1002
|
export const DeviceType = {
|
|
@@ -2215,6 +2219,10 @@ export const TextureSliceType = {
|
|
|
2215
2219
|
* 3-dimensional texture slice.
|
|
2216
2220
|
*/
|
|
2217
2221
|
TEXTURE_SLICE_3D: 2,
|
|
2222
|
+
/**
|
|
2223
|
+
* 2-dimensional texture array slice.
|
|
2224
|
+
*/
|
|
2225
|
+
TEXTURE_SLICE_2D_ARRAY: 3,
|
|
2218
2226
|
} as const;
|
|
2219
2227
|
|
|
2220
2228
|
export type TextureSliceType = (typeof TextureSliceType)[keyof typeof TextureSliceType];
|
|
@@ -2355,7 +2363,7 @@ export const BufferCreationBits = {
|
|
|
2355
2363
|
* rd = RenderingServer.get_rendering_device()
|
|
2356
2364
|
*
|
|
2357
2365
|
* if rd.has_feature(RenderingDevice.SUPPORTS_RAYTRACING_PIPELINE):
|
|
2358
|
-
*
|
|
2366
|
+
* storage_buffer = rd.storage_buffer_create(bytes.size(), bytes, RenderingDevice.BUFFER_CREATION_ACCELERATION_STRUCTURE_BUILD_INPUT_READ_ONLY_BIT)
|
|
2359
2367
|
*
|
|
2360
2368
|
* ```
|
|
2361
2369
|
*/
|
|
@@ -3060,6 +3068,10 @@ export const Features = {
|
|
|
3060
3068
|
* Support for high dynamic range (HDR) output.
|
|
3061
3069
|
*/
|
|
3062
3070
|
SUPPORTS_HDR_OUTPUT: 13,
|
|
3071
|
+
/**
|
|
3072
|
+
* Support for rasterization rate maps. The current implementation targets Metal on Apple platforms. This allows for foveated rendering, which is used by the visionOS XR module.
|
|
3073
|
+
*/
|
|
3074
|
+
SUPPORTS_RASTERIZATION_RATE_MAP: 14,
|
|
3063
3075
|
} as const;
|
|
3064
3076
|
|
|
3065
3077
|
export type Features = (typeof Features)[keyof typeof Features];
|