Class Texture2D
An RGBA texture shared by every sprite that references it.
public sealed class Texture2D
- Inheritance
-
Texture2D
- Inherited Members
Constructors
Texture2D(int, int, byte[])
public Texture2D(int width, int height, byte[] rgbaPixels)
Parameters
Properties
Height
public int Height { get; }
Property Value
Width
public int Width { get; }