Up to date
This page is up to date for Godot 4.2
.
If you still find outdated information, please open an issue.
Texture2DRD¶
继承: Texture2D < Texture < Resource < RefCounted < Object
用于 2D 的纹理,与 RenderingDevice 上创建的纹理绑定。
描述¶
该纹理类允许你使用直接在 RenderingDevice 上创建的 2D 纹理作为材质、网格等的纹理。
属性¶
resource_local_to_scene |
|
|
|
属性说明¶
RID texture_rd_rid = RID()
RenderingDevice 上创建的纹理对象的 RID。