2023-07-10 20:31:27 +08:00
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
|
|
|
<class name="Texture2DRD" inherits="Texture2D" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
|
|
|
|
<brief_description>
|
|
|
|
Texture for 2D that is bound to a texture created on the [RenderingDevice].
|
|
|
|
</brief_description>
|
|
|
|
<description>
|
|
|
|
This texture class allows you to use a 2D texture created directly on the [RenderingDevice] as a texture for materials, meshes, etc.
|
|
|
|
</description>
|
|
|
|
<tutorials>
|
|
|
|
</tutorials>
|
|
|
|
<members>
|
|
|
|
<member name="resource_local_to_scene" type="bool" setter="set_local_to_scene" getter="is_local_to_scene" overrides="Resource" default="false" />
|
2024-01-25 02:14:22 +08:00
|
|
|
<member name="texture_rd_rid" type="RID" setter="set_texture_rd_rid" getter="get_texture_rd_rid">
|
2023-07-10 20:31:27 +08:00
|
|
|
The RID of the texture object created on the [RenderingDevice].
|
|
|
|
</member>
|
|
|
|
</members>
|
|
|
|
</class>
|