Table of Contents

Enum ScreenCaptureMode

Namespace
VisioForge.Core.Types.VideoCapture
Assembly
VisioForge.Core.dll

Screen capture mode.

public enum ScreenCaptureMode

Fields

Screen = 0

Screen.

Captures the entire screen or a specified monitor. This mode captures all visible content on the selected display including the desktop, all windows, and cursor.

Picture = 1

Picture.

Captures from a static image source provided as an IStream via the filter's stream property. The image data (BGRA32) is read from the stream and converted to the output format. Use refresh_pic() to force re-reading the stream.

Color = 2

Color.

Generates a solid color test pattern as the video source. Useful for testing pipelines and verifying downstream processing without an actual screen capture. The output dimensions are defined by the capture rectangle coordinates.

Window = 3

Window.

Captures a specific window identified by its handle. Only the content of the selected window is captured, excluding other desktop elements. The capture follows the window if it's moved or resized.

Buffer = 4

32-bit RGBA buffer.

Captures from a custom memory buffer containing 32-bit RGBA pixel data. This mode allows integration with custom rendering systems or external video sources that provide raw pixel data.

Remarks

Defines the source type for screen capture operations. Different modes allow capturing from various sources including full screens, specific windows, or custom memory buffers.