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

Eredita: Texture2D < Texture < Resource < RefCounted < Object

La texture per il 2D associata a una texture creata sul RenderingDevice.

Descrizione

Questa classe di texture consente di utilizzare una texture 2D creata direttamente sul RenderingDevice come texture per materiali, mesh, ecc.

Nota: Texture2DRD è pensato per un utilizzo di basso livello con RenderingDevice. Per la maggior parte dei casi d'uso, utilizza Texture2D al suo posto.

Tutorial

Proprietà

bool

resource_local_to_scene

false (overrides Resource)

RID

texture_rd_rid


Descrizioni delle proprietà

RID texture_rd_rid 🔗

  • void set_texture_rd_rid(value: RID)

  • RID get_texture_rd_rid()

Il RID dell'oggetto texture creato sul RenderingDevice.