Tesla Graphics Engine Documentation (January 2012)
Texture1D Constructor (width, genMipMap, format)
TeslaTesla.GraphicsTexture1DTexture1D(Int32, Boolean, SurfaceFormat)
Creates a new instance of Texture1D. This creates an empty texture.
Declaration Syntax
C#
public Texture1D(
	int width,
	bool genMipMap,
	SurfaceFormat format
)
Parameters
width (Int32)
The width of the texture in pixels.
genMipMap (Boolean)
Whether or not mip maps should be generated. If so, the levels are created.
format (SurfaceFormat)
The surface format.
Exceptions
Exception Condition
TeslaException Thrown if creating the underlying texture fails or the render system was not initialized.
InvalidOperationException Thrown if the texture does not support the format.

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