C# Class Glare.Assets.Formats.DdsFormat

DirectDraw Surface Format.
Inheritance: AssetFormat
Afficher le fichier Open project: Burton-Radons/Alexandria

Méthodes publiques

Méthode Description
Load ( AssetLoader loader ) : Asset

Load the DDS file.

LoadMatch ( AssetLoader loader ) : LoadMatchStrength

Match the loader context to the format.

Save ( Asset asset, BinaryWriter writer, FileManager fileManager ) : void

Save the asset.

Save ( Texture texture, BinaryWriter writer ) : void

Save the texture to the file.

SaveCheck ( Asset resource ) : SaveCheckResult

Check that the asset can be saved by this type.

Private Methods

Méthode Description
DdsFormat ( DefaultPlugin plugin ) : System

Method Details

Load() public méthode

Load the DDS file.
public Load ( AssetLoader loader ) : Asset
loader AssetLoader
Résultat Asset

LoadMatch() public méthode

Match the loader context to the format.
public LoadMatch ( AssetLoader loader ) : LoadMatchStrength
loader AssetLoader
Résultat LoadMatchStrength

Save() public méthode

Save the asset.
public Save ( Asset asset, BinaryWriter writer, FileManager fileManager ) : void
asset Asset
writer System.IO.BinaryWriter
fileManager FileManager
Résultat void

Save() public méthode

Save the texture to the file.
public Save ( Texture texture, BinaryWriter writer ) : void
texture Texture
writer System.IO.BinaryWriter
Résultat void

SaveCheck() public méthode

Check that the asset can be saved by this type.
public SaveCheck ( Asset resource ) : SaveCheckResult
resource Asset
Résultat SaveCheckResult