Clean up Shader Preprocessor
* Moved preprocessor to Shader and ShaderInclude * Clean up RenderingServer side * Preprocessor is separate from parser now, but it emits tokens with include location hints. * Improved ShaderEditor validation code * Added include file code completion * Added notification for all files affected by a broken include.
This commit is contained in:
parent
7b94603baa
commit
f649678402
32 changed files with 548 additions and 291 deletions
|
|
@ -2748,6 +2748,13 @@
|
|||
Returns the parameters of a shader.
|
||||
</description>
|
||||
</method>
|
||||
<method name="shader_set_code">
|
||||
<return type="void" />
|
||||
<argument index="0" name="shader" type="RID" />
|
||||
<argument index="1" name="code" type="String" />
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="shader_set_default_texture_param">
|
||||
<return type="void" />
|
||||
<argument index="0" name="shader" type="RID" />
|
||||
|
|
@ -2759,6 +2766,13 @@
|
|||
[b]Note:[/b] If the sampler array is used use [code]index[/code] to access the specified texture.
|
||||
</description>
|
||||
</method>
|
||||
<method name="shader_set_path_hint">
|
||||
<return type="void" />
|
||||
<argument index="0" name="shader" type="RID" />
|
||||
<argument index="1" name="path" type="String" />
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="skeleton_allocate_data">
|
||||
<return type="void" />
|
||||
<argument index="0" name="skeleton" type="RID" />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue