C# Класс Glare.Assets.Formats.DdsFormat

DirectDraw Surface Format.
Наследование: AssetFormat
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
DdsFormat ( DefaultPlugin plugin ) : System

Описание методов

Load() публичный Метод

Load the DDS file.
public Load ( AssetLoader loader ) : Asset
loader AssetLoader
Результат Asset

LoadMatch() публичный Метод

Match the loader context to the format.
public LoadMatch ( AssetLoader loader ) : LoadMatchStrength
loader AssetLoader
Результат LoadMatchStrength

Save() публичный Метод

Save the asset.
public Save ( Asset asset, BinaryWriter writer, FileManager fileManager ) : void
asset Asset
writer System.IO.BinaryWriter
fileManager FileManager
Результат void

Save() публичный Метод

Save the texture to the file.
public Save ( Texture texture, BinaryWriter writer ) : void
texture Texture
writer System.IO.BinaryWriter
Результат void

SaveCheck() публичный Метод

Check that the asset can be saved by this type.
public SaveCheck ( Asset resource ) : SaveCheckResult
resource Asset
Результат SaveCheckResult