Creates the Texture texture of the given size and usage.

Namespace:  SGP.XSpace
Assembly:  SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825

Syntax

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

Parameters

width
Type: System..::.Int32
Texture width.
height
Type: System..::.Int32
Texture height.
usage
Type: Usage
Usage type for the given source.

Return Value

Created Texture texture.

See Also