![]() |
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.
|
Provides data for video frame ready events, containing frame buffer information and timing data. More...
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. | |
Provides data for video frame ready events, containing frame buffer information and timing data.
Definition at line 6 of file VideoFrameReadyEventArgs.cs.
| Gondwana.Video.VideoFrameReadyEventArgs.VideoFrameReadyEventArgs | ( | IntPtr | pixels, |
| int | width, | ||
| int | height, | ||
| int | stride, | ||
| long | pts100ns ) |
Initializes a new instance of the VideoFrameReadyEventArgs class.
| pixels | A pointer to the BGRX pixel buffer (8 bits per channel; the fourth byte is unused). |
| width | The width of the video frame in pixels. |
| height | The height of the video frame in pixels. |
| stride | The stride (bytes per row) of the pixel buffer. |
| pts100ns | The presentation timestamp in 100-nanosecond units. |
Definition at line 41 of file VideoFrameReadyEventArgs.cs.
|
get |
Gets the height of the video frame in pixels.
Definition at line 21 of file VideoFrameReadyEventArgs.cs.
|
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.
|
get |
Gets an optional presentation timestamp in 100-nanosecond units; zero means unavailable.
Definition at line 31 of file VideoFrameReadyEventArgs.cs.
|
get |
Gets the stride (bytes per row) of the pixel buffer.
Definition at line 26 of file VideoFrameReadyEventArgs.cs.
|
get |
Gets the width of the video frame in pixels.
Definition at line 16 of file VideoFrameReadyEventArgs.cs.