Inherits: Texture2D < Texture < Resource < RefCounted < Object
Texture for 2D that is bound to a texture created on the RenderingDevice.
This texture class allows you to use a 2D texture created directly on the RenderingDevice as a texture for materials, meshes, etc.
resource_local_to_scene |
| |
|
RID()
The RID of the texture object created on the RenderingDevice.
© 2014–present Juan Linietsky, Ariel Manzur and the Godot community
Licensed under the Creative Commons Attribution Unported License v3.0.
https://docs.godotengine.org/en/4.2/classes/class_texture2drd.html