Improve RenderingServer, RenderingDevice, ShaderGlobalsOverride documentation

This brings the overall class reference completion percentage from 87% to 92%.
This commit is contained in:
Hugo Locurcio 2023-03-28 17:32:29 +02:00
parent 64eeb04d2c
commit 5056c427d3
No known key found for this signature in database
GPG key ID: 39E8F8BE30B0A49C
30 changed files with 1378 additions and 187 deletions

View file

@ -50,7 +50,7 @@
Represents the size of the [enum Resolution] enum.
</constant>
<constant name="UPDATE_MODE_WHEN_MOVED" value="0" enum="UpdateMode">
Only update the heightmap when the [GPUParticlesCollisionHeightField3D] node is moved, or when the camera moves if [member follow_camera_enabled] is [code]true[/code]. An update can be forced by slightly moving the [GPUParticlesCollisionHeightField3D] in any direction.
Only update the heightmap when the [GPUParticlesCollisionHeightField3D] node is moved, or when the camera moves if [member follow_camera_enabled] is [code]true[/code]. An update can be forced by slightly moving the [GPUParticlesCollisionHeightField3D] in any direction, or by calling [method RenderingServer.particles_collision_height_field_update].
</constant>
<constant name="UPDATE_MODE_ALWAYS" value="1" enum="UpdateMode">
Update the heightmap every frame. This has a significant performance cost. This update should only be used when geometry that particles can collide with changes significantly during gameplay.