Tesla Graphics Engine Documentation (January 2012)
Texture2D Constructor (width, height)
TeslaTesla.GraphicsTexture2DTexture2D(Int32, Int32)
Creates a new instance of Texture2D. This creates an empty texture with Color.
Declaration Syntax
C#
public Texture2D(
	int width,
	int height
)
Parameters
width (Int32)
The width of the texture in pixels.
height (Int32)
The height of the texture in pixels.
Exceptions
Exception Condition
TeslaException Thrown if creating the underlying texture fails or the render system was not initialized.

Assembly: Tesla (Module: Tesla) Version: 0.5.0.0 (0.5.0.0)