mirror of
https://github.com/godotengine/godot.git
synced 2024-12-27 11:24:59 +08: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.
22 lines
683 B
XML
22 lines
683 B
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<class name="RDAttachmentFormat" inherits="Reference" version="4.0">
|
|
<brief_description>
|
|
</brief_description>
|
|
<description>
|
|
</description>
|
|
<tutorials>
|
|
</tutorials>
|
|
<methods>
|
|
</methods>
|
|
<members>
|
|
<member name="format" type="int" setter="set_format" getter="get_format" enum="RenderingDevice.DataFormat" default="36">
|
|
</member>
|
|
<member name="samples" type="int" setter="set_samples" getter="get_samples" enum="RenderingDevice.TextureSamples" default="0">
|
|
</member>
|
|
<member name="usage_flags" type="int" setter="set_usage_flags" getter="get_usage_flags" default="0">
|
|
</member>
|
|
</members>
|
|
<constants>
|
|
</constants>
|
|
</class>
|