19.09.2020
+ Vector-classes + Added Background ~ Changed OpenTK.Vector2 to SM.Base.Types.Vector2
This commit is contained in:
parent
a603ecc417
commit
acccf5f0e7
22 changed files with 295 additions and 27 deletions
|
|
@ -47,5 +47,9 @@ namespace SM.Base.Textures
|
|||
GL.BindTexture(TextureTarget.Texture2D, 0);
|
||||
Map.UnlockBits(data);
|
||||
}
|
||||
|
||||
public static implicit operator Texture(Bitmap map) => new Texture(map);
|
||||
public override TextureMinFilter Filter { get; set; }
|
||||
public override TextureWrapMode WrapMode { get; set; }
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue