Remove SCREEN_TEXTURE, DEPTH_TEXTURE, and NORMAL_ROUGHNESS_TEXTURE
in favour of texture hints
This commit is contained in:
@@ -18,6 +18,9 @@
|
||||
<member name="texture_repeat" type="int" setter="set_texture_repeat" getter="get_texture_repeat" enum="VisualShaderNodeTextureParameter.TextureRepeat" default="0">
|
||||
Sets the texture repeating mode. See [enum TextureRepeat] for options.
|
||||
</member>
|
||||
<member name="texture_source" type="int" setter="set_texture_source" getter="get_texture_source" enum="VisualShaderNodeTextureParameter.TextureSource" default="0">
|
||||
Sets the texture source mode. Used for reading from the screen, depth, or normal_roughness texture. see [enum TextureSource] for options.
|
||||
</member>
|
||||
<member name="texture_type" type="int" setter="set_texture_type" getter="get_texture_type" enum="VisualShaderNodeTextureParameter.TextureType" default="0">
|
||||
Defines the type of data provided by the source texture. See [enum TextureType] for options.
|
||||
</member>
|
||||
@@ -88,5 +91,20 @@
|
||||
<constant name="REPEAT_MAX" value="3" enum="TextureRepeat">
|
||||
Represents the size of the [enum TextureRepeat] enum.
|
||||
</constant>
|
||||
<constant name="SOURCE_NONE" value="0" enum="TextureSource">
|
||||
The texture source is not specified in the shader.
|
||||
</constant>
|
||||
<constant name="SOURCE_SCREEN" value="1" enum="TextureSource">
|
||||
The texture source is the screen texture which captures all opaque objects drawn this frame.
|
||||
</constant>
|
||||
<constant name="SOURCE_DEPTH" value="2" enum="TextureSource">
|
||||
The texture source is the depth texture from the depth prepass.
|
||||
</constant>
|
||||
<constant name="SOURCE_NORMAL_ROUGHNESS" value="3" enum="TextureSource">
|
||||
The texture source is the normal-roughness buffer from the depth prepass.
|
||||
</constant>
|
||||
<constant name="SOURCE_MAX" value="4" enum="TextureSource">
|
||||
Represents the size of the [enum TextureSource] enum.
|
||||
</constant>
|
||||
</constants>
|
||||
</class>
|
||||
|
||||
Reference in New Issue
Block a user