Fix TODO comments in class reference #99242
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #65576
(I suggest closing the tracker issue, so that future TODOs don't end up as remarks in the text, but instead as issues on the repository)
RenderingServer.viewport_attach_to_screen
docs were confused about why the method does not exist on Viewport. I just rewrote the code sample to use the API itself, and verified that it still does exactly what the description above is describing.SurfaceTool.commit
docs did not understand the flags parameter. Since the custom format flags seem to be filled automatically, only the compress flags can be specified. I took the possible values fromArrayMesh.add_surface_from_arrays
, even though this only lists some of the compress flags and not a full exhaustive list. I assume there's good reason for this, but maybe not?RenderingServer
docs, I took the liberty of documenting duplicate enum values that are already documented in theMesh
class.