Merge pull request #96599 from jsjtxietian/compute-hint
Mention user should remove compute shader hint when use `set_stage_source`
This commit is contained in:
commit
81f99eac00
1 changed files with 1 additions and 0 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue