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.Audio.GSND.AudioDefinitionSource Class Referencesealed

Captures provenance details for a Gondwana audio (.gsnd) definition. More...

Static Public Member Functions

static AudioDefinitionSource LooseDefinitionFile (string gsndFilePath)
 Creates provenance for a definition stored in a loose file.
static AudioDefinitionSource PackedDefinitionFile (string assetsFilePath, string assetEntryName)
 Creates provenance for a definition stored inside an assets file.
static AudioDefinitionSource Generated ()
 Creates provenance for a definition generated from runtime state.
static AudioDefinitionSource None ()
 Creates an empty definition-source descriptor.

Properties

AudioDefinitionSourceKind Kind [get]
 Gets the kind.
string? GsndFilePath [get]
 Gets the path to the loose GSND definition file.
string? AssetsFilePath [get]
 Gets the path to the containing assets file.
string? AssetEntryName [get]
 Gets the entry name inside the assets file.

Detailed Description

Captures provenance details for a Gondwana audio (.gsnd) definition.

Definition at line 8 of file AudioDefinitionSource.cs.

Member Function Documentation

◆ Generated()

AudioDefinitionSource Gondwana.Audio.GSND.AudioDefinitionSource.Generated ( )
static

Creates provenance for a definition generated from runtime state.

Returns
A source descriptor identifying runtime-generated content.

◆ LooseDefinitionFile()

AudioDefinitionSource Gondwana.Audio.GSND.AudioDefinitionSource.LooseDefinitionFile ( string gsndFilePath)
static

Creates provenance for a definition stored in a loose file.

Parameters
gsndFilePathThe path to the loose GSND audio definition.
Returns
A source descriptor containing the loose definition file path.

Definition at line 42 of file AudioDefinitionSource.cs.

◆ None()

AudioDefinitionSource Gondwana.Audio.GSND.AudioDefinitionSource.None ( )
static

Creates an empty definition-source descriptor.

Returns
A descriptor with no persisted source.

◆ PackedDefinitionFile()

AudioDefinitionSource Gondwana.Audio.GSND.AudioDefinitionSource.PackedDefinitionFile ( string assetsFilePath,
string assetEntryName )
static

Creates provenance for a definition stored inside an assets file.

Parameters
assetsFilePathThe path to the assets file.
assetEntryNameThe entry name inside the assets file.
Returns
A source descriptor containing the assets file path and entry name.

Definition at line 58 of file AudioDefinitionSource.cs.

Property Documentation

◆ AssetEntryName

string? Gondwana.Audio.GSND.AudioDefinitionSource.AssetEntryName
get

Gets the entry name inside the assets file.

Definition at line 35 of file AudioDefinitionSource.cs.

◆ AssetsFilePath

string? Gondwana.Audio.GSND.AudioDefinitionSource.AssetsFilePath
get

Gets the path to the containing assets file.

Definition at line 29 of file AudioDefinitionSource.cs.

◆ GsndFilePath

string? Gondwana.Audio.GSND.AudioDefinitionSource.GsndFilePath
get

Gets the path to the loose GSND definition file.

Definition at line 23 of file AudioDefinitionSource.cs.

◆ Kind

AudioDefinitionSourceKind Gondwana.Audio.GSND.AudioDefinitionSource.Kind
get

Gets the kind.

Definition at line 17 of file AudioDefinitionSource.cs.