Class Renderer

Inheritance Relationships

Base Type

  • public tgui::BackendRenderer

Class Documentation

class Renderer : public tgui::BackendRenderer

Declaration: final

CPU texture factory for the pinned TGUI backend; performs no graphics uploads.

Public Functions

explicit Renderer(unsigned int maximum_size)

Configure a positive representable texture bound for subsequently created CPU textures; invalid arguments throw.

std::shared_ptr<tgui::BackendTexture> createTexture() override

Declaration: [[nodiscard]]

Allocate a new unloaded Cheryl Texture with this renderer’s bound.

No GPU resources are created.

inline unsigned int getMaximumTextureSize() override

Declaration: [[nodiscard]]

Return the configured CPU dimension limit, not a native GPU capability query.