Texture2DRD

继承: Texture2D < Texture < Resource < RefCounted < Object

用于 2D 的纹理,与 RenderingDevice 上创建的纹理绑定。

描述

该纹理类允许你使用直接在 RenderingDevice 上创建的 2D 纹理作为材质、网格等的纹理。

属性

bool

resource_local_to_scene

false (overrides Resource)

RID

texture_rd_rid

RID()


属性说明

RID texture_rd_rid = RID()

  • void set_texture_rd_rid ( RID value )

  • RID get_texture_rd_rid ( )

RenderingDevice 上创建的纹理对象的 RID。

Previous Next


© 版权所有 2014-present Juan Linietsky, Ariel Manzur and the Godot community (CC BY 3.0). Revision b1c660f7.

Built with Sphinx using a theme provided by Read the Docs.