Skip to main content

Module display

Module display 

Source
Expand description

This module is used to create a OBS display which you can use to preview the output of your recording.

Structs§

CloneableGsInitData
LockedPosition
ObsDisplayCreationData
ObsDisplayRef
You can use the ObsContext to create this struct. This struct is stored in the ObsContext itself and the display is removed if every instance of this struct is dropped (and you have called remove_display on the ObsContext).
ObsWindowHandle
PreviewGeometry
Geometry uses physical pixels for the viewport/render rectangle and content-space pixels for the OBS canvas/source. dpi_scale converts UI logical pointer coordinates to physical pixels.
PreviewPoint
PreviewRect

Enums§

GsColorFormat
GsZstencilFormat
PreviewScaleMode
How preview content is mapped into the display viewport.
PreviewTarget
Content rendered by a preview display. The managed variants retain their native source/scene lifetime while selected, including while the graphics callback is executing.

Traits§

MiscDisplayTrait
ShowHideTrait
WindowPositionTrait

Type Aliases§

RawDisplayHandle