Commit Graph

2672 Commits

Author SHA1 Message Date
Juan Linietsky ae09b55a19 Exposed RenderingDevice to script API
Also added an easier way to load native GLSL shaders.

Extras:

Had to fix no-cache for subresources in resource loader, it was not properly working, making shaders not properly reload.

Note:

The precommit hooks are broken because they don't seem to support enums from one class being used in another.
Feel free to fix this after merging this PR.
2020-04-20 21:21:58 -03:00
Rémi Verschelde 52b27da7a6
Merge pull request #37974 from Calinou/doc-backbuffercopy-anchors
Document how to workaround UI anchor issues when using BackBufferCopy
2020-04-20 23:51:47 +02:00
Rémi Verschelde b372227f06
Merge pull request #37972 from Calinou/doc-improve-resourcesaver-example
Check for errors when saving in the ResourceSaver example documentation
2020-04-20 23:51:04 +02:00
Rémi Verschelde ae92d149a3
Merge pull request #37971 from Calinou/doc-improve-visibility-enabler-notifier
Improve the VisibilityEnabler and VisibilityNotifier documentations
2020-04-20 23:50:21 +02:00
Rémi Verschelde 2cd952bd84 Fix handling of PROPERTY_USAGE_SUBGROUP in DocData and editor
Subgroups were added in #37678 but not properly handled everywhere
where PROPERTY_USAGE_GROUP is.
2020-04-20 17:13:06 +02:00
Rémi Verschelde 9cf48b3e99
Merge pull request #38039 from akien-mga/docdata-skip-unexposed
DocData: Skip unexposed classes
2020-04-20 15:21:49 +02:00
Rémi Verschelde f8218c76ef
Merge pull request #38036 from akien-mga/doc-update
doc: Sync classref with current source
2020-04-20 14:36:29 +02:00
Rémi Verschelde 83b21cd302
Merge pull request #38035 from akien-mga/revert-35261-pck-destination
Revert "Made possible to specify where to dump the contents when load…
2020-04-20 13:47:25 +02:00
Rémi Verschelde 0ef8bcac4d DocData: Skip unexposed classes
Properly expose classes that we actually want accessible.
2020-04-20 12:51:10 +02:00
Rémi Verschelde b7b46093d8 doc: Sync classref with current source
Add missing enum bindings.
2020-04-20 11:48:00 +02:00
Rémi Verschelde 088c2a0870
Merge pull request #37947 from clayjohn/DOCS-rendering-update
Update many docs with recent rendering changes
2020-04-20 11:16:12 +02:00
Rémi Verschelde 6272acd465
Merge pull request #38027 from dreamsComeTrue/override_selected_font_color-docs
Update TextEdit docs - explaining 'override_selected_font_color' role
2020-04-20 11:02:13 +02:00
Rémi Verschelde 515fe0f29b Revert "Made possible to specify where to dump the contents when loading a ".pck" file"
This reverts commit 3c261e0dfa.

This was not so useful as is due to the way dependency paths are stored
in scenes and resources.
2020-04-20 10:57:05 +02:00
Dominik 'dreamsComeTrue' Jasiński 6a0e6c2852 Update TextEdit docs - explaining 'override_selected_font_color' role 2020-04-19 23:33:01 +02:00
Marcel Admiraal 4d41535fa3 Correct the addition of a key and the duplication of a variable name
in Dictionary class documentation.
2020-04-19 09:52:54 +01:00
Hugo Locurcio f8a413bb1f
Document how to workaround UI anchor issues when using BackBufferCopy
This closes #6880.
2020-04-17 23:17:31 +02:00
Hugo Locurcio 2f46f1e7b1
Check for errors when saving in the ResourceSaver example documentation
This also replaces a non-breaking space that was accidentally added in
the EditorFeatureProfile documentation.

This closes #31393.
2020-04-17 22:29:05 +02:00
Hugo Locurcio 7f2d602106
Improve the VisibilityEnabler and VisibilityNotifier documentations
This closes #4803.
2020-04-17 22:04:19 +02:00
clayjohn b50d954cb0 Update many docs with recent rendering changes 2020-04-17 09:47:59 -07:00
Rémi Verschelde d817be92c2
Merge pull request #37963 from Calinou/doc-dynamicfont-limitations
Document DynamicFont limitations and a possible workaround
2020-04-17 18:43:05 +02:00
Rémi Verschelde cfda0e3770
Merge pull request #37953 from clayjohn/VULKAN-sky-sun-size
Add light size to Sky Shaders
2020-04-17 18:35:45 +02:00
Rémi Verschelde 364cb2ce92
Merge pull request #37962 from Calinou/doc-image-size-limits
Document image size limits
2020-04-17 18:35:27 +02:00
clayjohn 7cd2ff309c Add light size to Sky Shaders 2020-04-17 09:32:24 -07:00
Hugo Locurcio 46b8e108e2 Document DynamicFont limitations and a possible workaround
This closes #30014.
2020-04-17 16:11:14 +02:00
Hugo Locurcio 5497cec7a1 Document image size limits
This closes #30238.
2020-04-17 16:04:32 +02:00
Hugo Locurcio cae5260dab Clarify that angles must be specified as radians in the documentation
This closes #36356.
2020-04-17 15:26:07 +02:00
Michael Alexsander 3c261e0dfa Made possible to specify where to dump the contents when loading a ".pck" file 2020-04-16 22:52:26 -03:00
Rémi Verschelde 51d86c9112
Merge pull request #37047 from YeldhamDev/tabcontainer_doc_control_fix
Fix incorrect TabContainer documentation for 'get_tab_control()'
2020-04-16 12:36:42 +02:00
Rémi Verschelde a29d475e67
Merge pull request #37747 from KoBeWi/cam2center
Improve Camera2D documentation
2020-04-16 12:28:35 +02:00
Rémi Verschelde 2ebfd69196
Merge pull request #37856 from Calinou/doc-basebutton-keep-pressed-outside
Mention `keep_pressed_outside` caveat in the BaseButton documentation
2020-04-16 12:27:28 +02:00
Rémi Verschelde cd908c3cef
Merge pull request #37832 from Calinou/doc-improve-dictionary
Improve the Dictionary class documentation
2020-04-16 12:27:15 +02:00
Rémi Verschelde d0a10215ae
Merge pull request #37824 from nekomatata/rigid-body-force-doc
More details in Rigid Body add_force documentation
2020-04-16 12:26:58 +02:00
Hugo Locurcio 52786b54ef
Improve the AudioStreamSample class documentation
This closes #37915.
2020-04-15 23:40:01 +02:00
Rémi Verschelde 59a8af2106
Merge pull request #37316 from nekomatata/physical-bone-settings
Add PhysicalBone rotation, damping, axis lock & can sleep
2020-04-14 18:33:43 +02:00
PouleyKetchoupp 5c1c03f29a Add PhysicalBone rotation, damping, axis lock & can sleep 2020-04-14 11:55:46 +02:00
Hugo Locurcio e799dc954e
Mention `keep_pressed_outside` caveat in the BaseButton documentation
This closes #37790.
2020-04-13 21:56:47 +02:00
Rémi Verschelde 06748a2b5f
Merge pull request #37749 from clayjohn/Vulkan-improved-ss
Add vogel filter and settings to soft shadows
2020-04-13 00:39:37 +02:00
Hugo Locurcio 88da90f2bf
Improve the Dictionary class documentation
This closes https://github.com/godotengine/godot-docs/issues/3376.
2020-04-12 22:48:02 +02:00
PouleyKetchoupp 219c5712f0 More details in Rigid Body add_force documentation 2020-04-12 11:27:29 +02:00
clayjohn 621f6f09a8 Add proper quality settings to soft shadows 2020-04-10 23:09:17 -07:00
Zak Grumbles a8de034f78 Fix OptionButton docs godotengine#36803
* item_selected and item_focused docs incorrectly had 'id' as the parameter. Changed to
'index'.
* Fix parameter name in ADD_SIGNAL callin code.
2020-04-10 20:35:40 -05:00
Rémi Verschelde c52beb6adb
Merge pull request #37297 from dalexeev/doc_file
Improve the `File.store_{8,16,32,64}()` documentation
2020-04-10 13:27:29 +02:00
Rémi Verschelde 1e5f0d402b
Merge pull request #37383 from WARIO-MDMA/godotphysics-rename
Rename "GodotPhysics" to "GodotPhysics{2D,3D}"
2020-04-10 12:39:26 +02:00
Rémi Verschelde f33bba15b1
Merge pull request #37426 from pycbouh/docs-override-properties
Add more verbosity for property overrides in RST documentation
2020-04-10 12:25:47 +02:00
Rémi Verschelde feeef52feb
Merge pull request #37482 from zak-grumbles/fix_dict_duplicate_docs
Clarify Dictionary duplicate parameters in docs
2020-04-10 12:14:39 +02:00
Tomasz Chabora 630096fa74 Improve Camera2D documentation 2020-04-10 12:13:26 +02:00
Rémi Verschelde 82e12a0f3e
Merge pull request #37566 from lucaslcode/clarify_autotile
clarify autotile_coord in docs
2020-04-10 12:02:01 +02:00
Rémi Verschelde 95db658672
Merge pull request #37699 from lupoDharkael/committing-typo
Replace is_commiting_action with is_committing_action
2020-04-10 11:47:19 +02:00
Markus Sauermann 3f19b5e0b3 Clarify documentation and indicate that rect_clip_content affects only CanvasItem based nodes.
Resolves #37683
2020-04-09 22:09:05 +02:00
Bastiaan Olij afc8c6391c Renaming all ARVR nodes to XR 2020-04-09 15:33:01 +10:00