Skip to content
0.2.0-dev Download ZIP
19 lines ·1.1 KB Raw
1<?xml version="1.0" encoding="UTF-8" ?>
2<class name="Texture2DRD" inherits="Texture2D" api_type="core" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
3 <brief_description>
4 Texture for 2D that is bound to a texture created on the [RenderingDevice].
5 </brief_description>
6 <description>
7 This texture class allows you to use a 2D texture created directly on the [RenderingDevice] as a texture for materials, meshes, etc.
8 [b]Note:[/b] [Texture2DRD] is intended for low-level usage with [RenderingDevice]. For most use cases, use [Texture2D] instead.
9 </description>
10 <tutorials>
11 <link title="Compute Texture demo">https://godotengine.org/asset-library/asset/2764</link>
12 </tutorials>
13 <members>
14 <member name="resource_local_to_scene" type="bool" setter="set_local_to_scene" getter="is_local_to_scene" overrides="Resource" default="false" />
15 <member name="texture_rd_rid" type="RID" setter="set_texture_rd_rid" getter="get_texture_rd_rid">
16 The RID of the texture object created on the [RenderingDevice].
17 </member>
18 </members>
19</class>