Merge pull request #62513 from reduz/shader_preprocessor_remake
This commit is contained in:
commit
fe929d4787
41 changed files with 2417 additions and 231 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" />
|
||||
|
|
|
|||
13
doc/classes/ShaderInclude.xml
Normal file
13
doc/classes/ShaderInclude.xml
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<class name="ShaderInclude" inherits="Resource" version="4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
|
||||
<brief_description>
|
||||
</brief_description>
|
||||
<description>
|
||||
</description>
|
||||
<tutorials>
|
||||
</tutorials>
|
||||
<members>
|
||||
<member name="code" type="String" setter="set_code" getter="get_code" default="""">
|
||||
</member>
|
||||
</members>
|
||||
</class>
|
||||
Loading…
Add table
Add a link
Reference in a new issue