Gondwana Game Engine Development (master) - 2.6.1
Gondwana is a cross-platform 2.5D game and rendering engine written in C#/.NET 8. It provides fine-grained control over rendering, timing, and scene composition, with built-in support for parallax, z-ordering, pixel overhang, collision detection, and particle effects. Gondwana targets desktop and web platforms using SkiaSharp for graphics and pluggable audio backends for desktop and browser targets.
Loading...
Searching...
No Matches
Gondwana.Video.VideoFrameReadyEventArgs Class Referencesealed

Provides data for video frame ready events, containing frame buffer information and timing data. More...

Inheritance diagram for Gondwana.Video.VideoFrameReadyEventArgs:

Public Member Functions

 VideoFrameReadyEventArgs (IntPtr pixels, int width, int height, int stride, long pts100ns)
 Initializes a new instance of the VideoFrameReadyEventArgs class.

Properties

IntPtr Pixels [get]
 Gets a pointer to the BGRX pixel buffer (8 bits per channel; the fourth byte is unused).
int Width [get]
 Gets the width of the video frame in pixels.
int Height [get]
 Gets the height of the video frame in pixels.
int Stride [get]
 Gets the stride (bytes per row) of the pixel buffer.
long Pts100ns [get]
 Gets an optional presentation timestamp in 100-nanosecond units; zero means unavailable.

Detailed Description

Provides data for video frame ready events, containing frame buffer information and timing data.

Definition at line 6 of file VideoFrameReadyEventArgs.cs.

Constructor & Destructor Documentation

◆ VideoFrameReadyEventArgs()

Gondwana.Video.VideoFrameReadyEventArgs.VideoFrameReadyEventArgs ( IntPtr pixels,
int width,
int height,
int stride,
long pts100ns )

Initializes a new instance of the VideoFrameReadyEventArgs class.

Parameters
pixelsA pointer to the BGRX pixel buffer (8 bits per channel; the fourth byte is unused).
widthThe width of the video frame in pixels.
heightThe height of the video frame in pixels.
strideThe stride (bytes per row) of the pixel buffer.
pts100nsThe presentation timestamp in 100-nanosecond units.

Definition at line 41 of file VideoFrameReadyEventArgs.cs.

Property Documentation

◆ Height

int Gondwana.Video.VideoFrameReadyEventArgs.Height
get

Gets the height of the video frame in pixels.

Definition at line 21 of file VideoFrameReadyEventArgs.cs.

◆ Pixels

IntPtr Gondwana.Video.VideoFrameReadyEventArgs.Pixels
get

Gets a pointer to the BGRX pixel buffer (8 bits per channel; the fourth byte is unused).

Definition at line 11 of file VideoFrameReadyEventArgs.cs.

◆ Pts100ns

long Gondwana.Video.VideoFrameReadyEventArgs.Pts100ns
get

Gets an optional presentation timestamp in 100-nanosecond units; zero means unavailable.

Definition at line 31 of file VideoFrameReadyEventArgs.cs.

◆ Stride

int Gondwana.Video.VideoFrameReadyEventArgs.Stride
get

Gets the stride (bytes per row) of the pixel buffer.

Definition at line 26 of file VideoFrameReadyEventArgs.cs.

◆ Width

int Gondwana.Video.VideoFrameReadyEventArgs.Width
get

Gets the width of the video frame in pixels.

Definition at line 16 of file VideoFrameReadyEventArgs.cs.