mirror of
https://github.com/godotengine/godot.git
synced 2024-11-25 05:33:11 +00:00
ae09b55a19
Also added an easier way to load native GLSL shaders. Extras: Had to fix no-cache for subresources in resource loader, it was not properly working, making shaders not properly reload. Note: The precommit hooks are broken because they don't seem to support enums from one class being used in another. Feel free to fix this after merging this PR.
42 lines
1.1 KiB
XML
42 lines
1.1 KiB
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<class name="RDShaderFile" inherits="Resource" version="4.0">
|
|
<brief_description>
|
|
</brief_description>
|
|
<description>
|
|
</description>
|
|
<tutorials>
|
|
</tutorials>
|
|
<methods>
|
|
<method name="get_bytecode" qualifiers="const">
|
|
<return type="RDShaderBytecode">
|
|
</return>
|
|
<argument index="0" name="version" type="StringName" default="@""">
|
|
</argument>
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="get_version_list" qualifiers="const">
|
|
<return type="PackedStringArray">
|
|
</return>
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="set_bytecode">
|
|
<return type="void">
|
|
</return>
|
|
<argument index="0" name="bytecode" type="RDShaderBytecode">
|
|
</argument>
|
|
<argument index="1" name="version" type="StringName" default="@""">
|
|
</argument>
|
|
<description>
|
|
</description>
|
|
</method>
|
|
</methods>
|
|
<members>
|
|
<member name="base_error" type="String" setter="set_base_error" getter="get_base_error" default="""">
|
|
</member>
|
|
</members>
|
|
<constants>
|
|
</constants>
|
|
</class>
|