Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ MustClamp

override bool Microsoft.Xna.Framework.Graphics.Texture2D.MustClamp
getprotected

Definition at line 24 of file Texture2D.cs.

25 {
26 [return: MarshalAs(UnmanagedType.U1)]
27 get
28 {
30 {
31 return false;
32 }
33 if (Texture.IsPowerOfTwo((uint)_width) && Texture.IsPowerOfTwo((uint)_height))
34 {
35 return false;
36 }
37 return true;
38 }
39 }