Documentation
¶
Overview ¶
Package display lists the capturable displays of this machine and opens one with the platform's capture backend: DXGI Desktop Duplication on Windows, ScreenCaptureKit on macOS.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Options ¶
type Options struct {
// HDR captures 10-bit or FP16 surfaces when the display is in HDR
// (Windows).
HDR bool
// Width, Height and FPS set the stream size and rate where the backend
// scales (macOS). Zero takes the display's own.
Width, Height, FPS int
// NV12 asks for 4:2:0 frames where the backend converts (macOS); BGRA
// otherwise.
NV12 bool
}
Options configure Open.
Click to show internal directories.
Click to hide internal directories.