![]() |
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.
|
A URI, borrowed/owned stream, or GAF asset to open with a video backend. More...
Static Public Member Functions | |
| static VideoSource | FromUri (Uri source) |
| Creates a reusable URI source. | |
| static VideoSource | FromStream (Stream source, bool leaveOpen=false) |
| Creates a stream source. Ownership transfers to the player on successful Open unless leaveOpen is true. Do not reuse an owned source after replacement/disposal. A borrowed stream must remain open and exclusively available to the player. | |
| static VideoSource | FromAsset (AssetsFile assets, string name) |
| Creates a reusable GAF source. The archive must remain open until Open is called. Each Open obtains a fresh asset stream owned by the player; no temporary file is created. | |
A URI, borrowed/owned stream, or GAF asset to open with a video backend.
Definition at line 6 of file VideoSource.cs.
|
static |
Creates a reusable GAF source. The archive must remain open until Open is called. Each Open obtains a fresh asset stream owned by the player; no temporary file is created.
| assets | The assets. |
| name | The name. |
Definition at line 39 of file VideoSource.cs.
|
static |
Creates a stream source. Ownership transfers to the player on successful Open unless leaveOpen is true. Do not reuse an owned source after replacement/disposal. A borrowed stream must remain open and exclusively available to the player.
| source | The source. |
| leaveOpen | Whether to leave the supplied stream open after use. |
Definition at line 27 of file VideoSource.cs.
|
static |
Creates a reusable URI source.
| source | The source. |
Definition at line 15 of file VideoSource.cs.