Dela via


IBasicVideoEffect.IsReadOnly Property

Definition

Gets a value indicating whether the video effect will modify the contents of the input frame.

public:
 property bool IsReadOnly { bool get(); };
bool IsReadOnly();
public bool IsReadOnly { get; }
var boolean = iBasicVideoEffect.isReadOnly;
Public ReadOnly Property IsReadOnly As Boolean

Property Value

Boolean

bool

True, if the effect will not modify the input frame; otherwise, false.

Remarks

When IBasicVideoEffect.IsReadOnly is set to true, the system automatically copies the frame data directly from the input frame to the output frame before ProcessFrame is called. This allows an effect that analyzes the input data, but does not modify it, to skip the creation of the output frame data.

Applies to