Skip to content

API Rendering

Eduard Gushchin edited this page Jul 1, 2026 · 4 revisions

Home | API by Category | Complete API Index | API Compatibility

2D drawing nodes, textures, tile maps, viewports, cameras, materials, shaders and rendering server state.

This category currently contains 21 public types.

Type Kind Summary
AtlasTexture class Provides an Electron2D texture that draws a region of another Electron2D.Texture2D.
Camera2D class Provides the Electron2D 2D camera node for selecting the visible canvas region.
CanvasItem class Provides the Electron2D base node for items that can be drawn on a 2D canvas.
CanvasLayer class Provides an Electron2D node that renders 2D descendants on an independent canvas layer.
ImageTexture class Provides an immutable image-backed 2D texture loaded from a PNG file.
Material class Provides the Electron2D base resource for visual materials.
RenderingServer class Provides the Electron2D server boundary for rendering capabilities.
RenderingServer.RenderingFeature enum Identifies a renderer feature that can be queried at runtime.
RenderingServer.RenderingProfile enum Identifies the active renderer profile.
Shader class Provides the Electron2D resource for a canvas shader source.
Shader.Mode enum Identifies the shader mode.
ShaderMaterial class Provides the Electron2D material resource backed by a custom Electron2D.ShaderMaterial.Shader.
Sprite2D class Provides a node that submits a 2D texture for drawing.
Texture2D class Provides the Electron2D base resource for 2D textures.
TileData class Stores per-tile metadata consumed by Electron2D.TileMapLayer.
TileMapLayer class Provides a single 2D tilemap layer.
TileSet class Stores tile sources and shared tilemap settings.
TileSetAtlasSource class Provides a tile set source backed by a texture atlas.
TileSetSource class Provides the base resource for entries stored inside a Electron2D.TileSet.
Viewport class Provides the Electron2D viewport node for 2D camera selection and canvas transforms.
ViewportTexture class Provides an Electron2D dynamic texture for the contents of a Electron2D.Viewport.

Clone this wiki locally