1.0.12 & 1.0.12.1
+ Utility Methods for texture transformations ~ Fixed an issue, where the horizontal & vertical flip was wrongly applied ~ Added missing summaries
This commit is contained in:
parent
a29a2cab53
commit
f11a954b5a
10 changed files with 116 additions and 21 deletions
|
|
@ -33,6 +33,9 @@ namespace SM.Base.Textures
|
|||
private int? _height;
|
||||
private int? _width;
|
||||
|
||||
/// <summary>
|
||||
/// The unpack alignment for this texture.
|
||||
/// </summary>
|
||||
public int UnpackAlignment = 4;
|
||||
|
||||
/// <summary>
|
||||
|
|
@ -120,6 +123,7 @@ namespace SM.Base.Textures
|
|||
/// <param name="filter">The filter</param>
|
||||
/// <param name="wrapMode">The wrap mode</param>
|
||||
/// <param name="dispose">Auto dispose of the bitmap? Default: false</param>
|
||||
/// <param name="unpackAlignment">The unpack alignment for this texture.</param>
|
||||
/// <returns></returns>
|
||||
public static int GenerateTexture(Bitmap map, TextureMinFilter filter, TextureWrapMode wrapMode,
|
||||
bool dispose = false, int unpackAlignment = 4)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue