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.

PlaceholderTexture2D

Inherits: Texture2D < Texture < Resource < RefCounted < Object

Placeholder class for a 2-dimensional texture.

Description

This class is used when loading a project that uses a Texture2D subclass in 2 conditions:

  • When running the project exported in dedicated server mode, only the texture's dimensions are kept (as they may be relied upon for gameplay purposes or positioning of other elements). This allows reducing th