Gondwana Game Engine Development (master) - 2.7.0
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.Assets Namespace Reference

Classes

class  AssetLocation
 A physical endpoint for reference transformation, without opening files or archives. Definition member identities remain in the existing format-specific source models. More...
class  AssetsFile
 Represents an asset file used by the engine, providing functionality to load, manage, and save assets. More...
class  AssetsFileEntry
 Represents an entry for an engine asset file, including its type and name. More...
class  AssetsFileIdentifier
 Represents an identifier for a specific asset within a file, including its type and name. More...
class  ReferenceRelocation
 A requested physical change; it never changes a logical definition identity. More...

Enumerations

enum  AssetTypes {
  Image = 0 , Audio = 1 , Video = 2 , Cursor = 3 ,
  Font = 4 , Misc = 5 , Svg = 6 , TilesheetDefinition = 7 ,
  SceneDefinition = 8 , AnimationDefinition = 9 , AudioDefinition = 10 , SpriteDefinition = 11
}
 Defines the types of assets that can be stored and managed by the engine. More...

Functions

record AssetsFileReadLimits (long MaximumEntryBytes, long MaximumTotalBytes, int MaximumEntries=10_000)
 Optional bounds for buffering untrusted archives. Normal runtime loads remain unrestricted.

Enumeration Type Documentation

◆ AssetTypes

Defines the types of assets that can be stored and managed by the engine.

This enumeration is used to categorize assets in AssetsFile and related asset management components.

Enumerator
Image 

Represents an image file type.

Audio 

Represents the audio media type for Gondwana.Audio.AudioResourceManager

Video 

Video; supported via platform-specific media players.

Cursor 

Mouse cursor; not currently supported.

Font 

Specifies that the content type is a font.

Misc 

not currently supported

Svg 

Represents a scalable vector graphic (SVG) asset.

TilesheetDefinition 

Represents a tilesheet definition file (.gts) for Gondwana.Drawing.Tilesheets.GTS.TilesheetDefinition.

SceneDefinition 

Represents a scene definition file (.gscn) for Gondwana.Scenes.GSCN.SceneDefinition.

AnimationDefinition 

Represents an animation definition file (.gani) for Gondwana.Drawing.Animation.GANI.AnimationDefinition.

AudioDefinition 

Represents an audio definition file (.gsnd) for Gondwana.Audio.GSND.AudioDefinition.

SpriteDefinition 

Gondwana sprite collection definition (.gspr).

Definition at line 7 of file AssetTypes.cs.

Function Documentation

◆ AssetsFileReadLimits()

record Gondwana.Assets.AssetsFileReadLimits ( long MaximumEntryBytes,
long MaximumTotalBytes,
int MaximumEntries = 10_000 )
sealed

Optional bounds for buffering untrusted archives. Normal runtime loads remain unrestricted.

Parameters
MaximumEntryBytesMaximum uncompressed bytes in any one entry.
MaximumTotalBytesMaximum uncompressed bytes across the archive.
MaximumEntriesMaximum number of archive entries, including directories.

Definition at line 9 of file AssetsFileReadLimits.cs.