C# Class Glare.Assets.Formats.DdsFormat

DirectDraw Surface Format.
Inheritance: AssetFormat
Exibir arquivo Open project: Burton-Radons/Alexandria

Public Methods

Method 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

Method Description
DdsFormat ( DefaultPlugin plugin ) : System

Method Details

Load() public method

Load the DDS file.
public Load ( AssetLoader loader ) : Asset
loader AssetLoader
return Asset

LoadMatch() public method

Match the loader context to the format.
public LoadMatch ( AssetLoader loader ) : LoadMatchStrength
loader AssetLoader
return LoadMatchStrength

Save() public method

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

Save() public method

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

SaveCheck() public method

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