Vytvoří texturu Texture uvedené velikosti a použití.

Jmenný prostor:  SGP.XSpace
Knihovna:  SGPRTL (v SGPRTL)
Verze: dll

Syntaxe

C#
public static Texture CreateTexture(
	int width,
	int height,
	Usage usage
)

Parametry

width
Typ: System..::.Int32
Šířka textury.
height
Typ: System..::.Int32
Výška textury.
usage
Typ: Usage
Typ použití pro daný zdroj.

Návratová hodnota

Vytvořená textura Texture.

Podívat se také na