Skip to content

RenderingServer

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

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

Field Value
Full name Electron2D.RenderingServer
Namespace Electron2D
Kind class
Category Rendering

Overview

Provides the Electron2D server boundary for rendering capabilities.

Syntax

public static class Electron2D.RenderingServer

Godot 4.7 C# profile compatibility

Profile: Electron2D 0.1.0 2D
Status: Partial / Not verified
Out of profile: yes
Godot reference: RenderingServer

Singleton-style facade for active renderer profile and feature flags; concrete backends remain internal.

Remarks

RenderingServer is a singleton-style facade. It exposes the active renderer profile and feature flags while keeping concrete backend implementations internal to the runtime.

Electron2D 0.1.0 Preview keeps the native GPU backend device lifecycle behind internal backend types. This public server remains the stable Electron2D query boundary for the active renderer profile and feature flags.

Thread Safety

Reading the current profile and feature flags is safe from any thread. Backend replacement is an internal startup/test operation and should not be performed while a frame is being submitted.

Since

This type is available since Electron2D 0.1.0 Preview.

Members

Member Kind Summary
CurrentProfile Property Gets the renderer profile currently selected by the runtime.
HasFeature(Electron2D.RenderingServer.RenderingFeature) Method Checks whether the active renderer backend supports a feature.

Member Details

CurrentProfile

Kind: Property

public Electron2D.RenderingServer.RenderingProfile CurrentProfile { get; }

Summary

Gets the renderer profile currently selected by the runtime.

Remarks

This property follows the validation and lifetime rules of its declaring type.

Value

The current current profile value.

Thread Safety

This member is not synchronized. Call it from the thread that owns the related object unless the declaring type states otherwise.

Since

This API is available since Electron2D 0.1.0 Preview.

See Also

  • Electron2D.RenderingServer

HasFeature(Electron2D.RenderingServer.RenderingFeature)

Kind: Method

public static System.Boolean HasFeature(Electron2D.RenderingServer.RenderingFeature)(Electron2D.RenderingServer.RenderingFeature feature)

Summary

Checks whether the active renderer backend supports a feature.

Remarks

This method follows the validation and lifetime rules of its declaring type.

Parameters

  • feature: The feature to query.

Returns

true when the active backend supports the feature; otherwise, false.

Thread Safety

This member is not synchronized. Call it from the thread that owns the related object unless the declaring type states otherwise.

Since

This API is available since Electron2D 0.1.0 Preview.

See Also

  • Electron2D.RenderingServer

Clone this wiki locally