Expand description
This module is used to create a OBS display which you can use to preview the
output of your recording.
Structs§
- Cloneable
GsInit Data - Locked
Position - ObsDisplay
Creation Data - ObsDisplay
Ref - You can use the
ObsContextto create this struct. This struct is stored in theObsContextitself and the display is removed if every instance of this struct is dropped (and you have calledremove_displayon theObsContext). - ObsWindow
Handle - Preview
Geometry - Geometry uses physical pixels for the viewport/render rectangle and content-space pixels for
the OBS canvas/source.
dpi_scaleconverts UI logical pointer coordinates to physical pixels. - Preview
Point - Preview
Rect
Enums§
- GsColor
Format - GsZstencil
Format - Preview
Scale Mode - How preview content is mapped into the display viewport.
- Preview
Target - Content rendered by a preview display. The managed variants retain their native source/scene lifetime while selected, including while the graphics callback is executing.