Skip to content

API Rendering

Eduard Gushchin edited this page Jun 21, 2026 · 4 revisions

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

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

This category currently contains 15 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.
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.
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