VisioForge (c) 2025

Search Results for

    Class VideoFrameXBufferEventArgs

    Video frame buffer event args (for X engines). Implements the EventArgs.

    Inheritance
    object
    EventArgs
    VideoFrameXBufferEventArgs
    Inherited Members
    EventArgs.Empty
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: VisioForge.Core.Types.Events
    Assembly: VisioForge.Core.dll
    Syntax
    public class VideoFrameXBufferEventArgs : EventArgs

    Constructors

    VideoFrameXBufferEventArgs(nint, int, int, int, int, VideoFormatX, VideoFrameRate, TimeSpan, ref bool)

    Initializes a new instance of the VideoFrameXBufferEventArgs class.

    Declaration
    public VideoFrameXBufferEventArgs(nint data, int dataSize, int width, int height, int stride, VideoFormatX format, VideoFrameRate frameRate, TimeSpan timestamp, ref bool updateData)
    Parameters
    Type Name Description
    nint data

    The data.

    int dataSize

    Size of the data.

    int width

    The width.

    int height

    The height.

    int stride

    The stride.

    VideoFormatX format

    The format.

    VideoFrameRate frameRate

    The frame rate.

    TimeSpan timestamp

    The timestamp.

    bool updateData

    if set to true update data.

    VideoFrameXBufferEventArgs(VideoFrameX)

    Initializes a new instance of the VideoFrameXBufferEventArgs class.

    Declaration
    public VideoFrameXBufferEventArgs(VideoFrameX frame)
    Parameters
    Type Name Description
    VideoFrameX frame

    The frame.

    VideoFrameXBufferEventArgs(VideoFrameX, ref bool)

    Initializes a new instance of the VideoFrameXBufferEventArgs class.

    Declaration
    public VideoFrameXBufferEventArgs(VideoFrameX frame, ref bool updateData)
    Parameters
    Type Name Description
    VideoFrameX frame

    The frame.

    bool updateData

    if set to true update data.

    Properties

    Frame

    Gets frame.

    Declaration
    public VideoFrameX Frame { get; }
    Property Value
    Type Description
    VideoFrameX

    UpdateData

    Gets or sets a value indicating whether frame has been updates and changes must be saved.

    Declaration
    public bool UpdateData { get; set; }
    Property Value
    Type Description
    bool

    See Also

    EventArgs