C# Класс Glare.Assets.IndexedTextureAsset

A texture that is indexed by a palette.
Наследование: TextureAsset
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
IndexedTextureAsset ( AssetLoader loader, PaletteAsset palette, int width, int height, int indices, int pitch = -1 ) : System

Initialise the texture.

IndexedTextureAsset ( AssetManager manager, string name, PaletteAsset palette, int width, int height, int indices, int pitch = -1 ) : System

Initialise the texture.

Защищенные методы

Метод Описание
IndexedTextureAsset ( AssetLoader loader ) : System

Initialise the texture.

IndexedTextureAsset ( AssetManager manager, string name ) : System

Initialise the texture.

IndexedTextureAsset ( FolderAsset parent, AssetLoader loader ) : System

Initialise the texture.

Setup ( PaletteAsset palette, int width, int height, int indices, int pitch = -1 ) : void

Setup the texture.

Update ( int width, int height ) : void

Update the texture.

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

Метод Описание
ConvertColor ( Color color ) : int

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

IndexedTextureAsset() защищенный Метод

Initialise the texture.
protected IndexedTextureAsset ( AssetLoader loader ) : System
loader AssetLoader
Результат System

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

Initialise the texture.
public IndexedTextureAsset ( AssetLoader loader, PaletteAsset palette, int width, int height, int indices, int pitch = -1 ) : System
loader AssetLoader The asset loader state.
palette PaletteAsset
width int
height int
indices int
pitch int
Результат System

IndexedTextureAsset() защищенный Метод

Initialise the texture.
protected IndexedTextureAsset ( AssetManager manager, string name ) : System
manager AssetManager
name string
Результат System

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

Initialise the texture.
public IndexedTextureAsset ( AssetManager manager, string name, PaletteAsset palette, int width, int height, int indices, int pitch = -1 ) : System
manager AssetManager
name string
palette PaletteAsset
width int
height int
indices int
pitch int
Результат System

IndexedTextureAsset() защищенный Метод

Initialise the texture.
protected IndexedTextureAsset ( FolderAsset parent, AssetLoader loader ) : System
parent FolderAsset
loader AssetLoader
Результат System

Setup() защищенный Метод

Setup the texture.
protected Setup ( PaletteAsset palette, int width, int height, int indices, int pitch = -1 ) : void
palette PaletteAsset
width int
height int
indices int
pitch int
Результат void

Update() защищенный Метод

Update the texture.
protected Update ( int width, int height ) : void
width int
height int
Результат void