Attention: Here be dragons

This is the latest (unstable) version of this documentation, which may document features not available in or compatible with released stable versions of Godot.

Texture2DRD

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.

属性

bool

resource_local_to_scene

false (overrides Resource)

RID

texture_rd_rid

RID()


Property Descriptions

RID texture_rd_rid = RID()

  • void set_texture_rd_rid ( RID value )

  • RID get_texture_rd_rid ( )

The RID of the texture object created on the RenderingDevice.