Skip to content

ludus::platform::HostedSurfaceEvent

Ludus Wiki · API overview · Browse API

Struct

One surface message the editor endpoint received from its window, in arrival order.

Declared in modules/platform/include/ludus/platform/hosted_surface.h

#include <ludus/platform/hosted_surface.h>
struct ludus::platform::HostedSurfaceEvent final

Fields

Kind

HostedSurfaceEventKind ludus::platform::HostedSurfaceEvent::Kind = HostedSurfaceEventKind::Present
Which fields are meaningful.

Related types: HostedSurfaceEventKind

Declared in modules/platform/include/ludus/platform/hosted_surface.h

Images

HostedSurfaceImages ludus::platform::HostedSurfaceEvent::Images
Images: the generation and its owned sharing handles.

Related types: HostedSurfaceImages

Declared in modules/platform/include/ludus/platform/hosted_surface.h

Generation

foundation::uint32 ludus::platform::HostedSurfaceEvent::Generation = 0
Present: generation of the completed image.

Related types: foundation::uint32

Declared in modules/platform/include/ludus/platform/hosted_surface.h

Image

foundation::uint32 ludus::platform::HostedSurfaceEvent::Image = 0
Present: index of the completed image in its generation.

Related types: foundation::uint32

Declared in modules/platform/include/ludus/platform/hosted_surface.h

Sequence

foundation::uint64 ludus::platform::HostedSurfaceEvent::Sequence = 0
Present: the producer's frame sequence number.

Related types: foundation::uint64

Declared in modules/platform/include/ludus/platform/hosted_surface.h