Creates a new instance of Texture1D. This creates an empty texture.
Declaration Syntax
C# |
public Texture1D( int width )
Parameters
- width (Int32)
- The width 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)