Declaration Syntax
C# |
public Texture2D( IRenderSystemProvider renderSystem, int width, int height )
Parameters
- renderSystem (IRenderSystemProvider)
- Render system used to create the underlying implementation.
- width (Int32)
- The width of the texture in pixels.
- height (Int32)
- The height of the texture in pixels.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | Thrown if the render system is null. |
TeslaException | Thrown if creating the underlying texture fails. |
Assembly: Tesla (Module: Tesla) Version: 0.5.0.0 (0.5.0.0)