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

◆ operator==()

static bool Microsoft.Xna.Framework.Graphics.VertexElement.operator== ( VertexElement left,
VertexElement right )
inlinestatic

Definition at line 94 of file VertexElement.cs.

95 {
96 if (left._offset == right._offset && left._usageIndex == right._usageIndex && left._usage == right._usage)
97 {
98 return left._format == right._format;
99 }
100 return false;
101 }

References Microsoft.Xna.Framework.Graphics.VertexElement._format, Microsoft.Xna.Framework.Graphics.VertexElement._offset, Microsoft.Xna.Framework.Graphics.VertexElement._usage, and Microsoft.Xna.Framework.Graphics.VertexElement._usageIndex.