Renderer

Constructors

this
this()

Create a new renderer given Ultralight's default configuration.

this
this(Config config)

Create a new renderer.

Destructor

~this
~this()
Undocumented in source.

Members

Functions

createSession
Session createSession(bool isPersistent, string name)
Session createSession(bool isPersistent, String name)

Create a Session to store local data in (such as cookies, local storage, application cache, indexed db, etc).

defaultSession
Session defaultSession()

Get the default session (persistent session named "default").

fireGamepadAxisEvent
void fireGamepadAxisEvent(ULGamepadAxisEvent evt)

Fire a gamepad axis event (to be called when an axis value is changed).

fireGamepadButtonEvent
void fireGamepadButtonEvent(ULGamepadButtonEvent evt)

Fire a gamepad button event (to be called when a button value is changed).

fireGamepadEvent
void fireGamepadEvent(ULGamepadEvent evt)

Fire a gamepad event (connection / disconnection).

logMemoryUsage
void logMemoryUsage()

Print detailed memory usage statistics to the log.

purgeMemory
void purgeMemory()

Attempt to release as much memory as possible.

render
void render()

Render all active Views.

setGamepadDetails
void setGamepadDetails(uint index, string id, uint axis_count, uint button_count)

Describe the details of a gamepad, to be used with ulFireGamepadEvent and related events below.

startRemoteInspectorServer
bool startRemoteInspectorServer(string address, ushort port)

Start the remote inspector server.

update
void update()

Update timers and dispatch internal callbacks (JavaScript and network).

Variables

ptr
ULRenderer ptr;

See Also

Meta