Skip to content

Commit

Permalink
Mention user should remove compute shader hint when use `set_stage_so…
Browse files Browse the repository at this point in the history
…urce`
  • Loading branch information
jsjtxietian committed Sep 5, 2024
1 parent 7c38376 commit 332b129
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions doc/classes/RDShaderSource.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
<param index="1" name="source" type="String" />
<description>
Sets [param source] code for the specified shader [param stage]. Equivalent to setting one of [member source_compute], [member source_fragment], [member source_tesselation_control], [member source_tesselation_evaluation] or [member source_vertex].
[b]Note:[/b] If you set the compute shader source code using this method directly, remember to remove the Godot-specific hint [code]#[compute][/code].
</description>
</method>
</methods>
Expand Down

0 comments on commit 332b129

Please sign in to comment.