ImageRepeat repeat = ImageRepeat.noRepeat,
Rect centerSlice = null,
bool invertColors = false,
FilterMode filterMode = FilterMode.Bilinear ,
) : base(key) {
this.image = image;
this.width = width;
public Texture( Key key = null, int? textureId = null) : base(key: key) {
D.assert(textureId != null);
if (textureId != null) {
this.textureId = textureId.Value;
}
public readonly int textureId;