Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
Terraria.Graphics.VertexStrip.CustomVertexInfo Struct Reference

Public Member Functions

 CustomVertexInfo (Vector2 position, Color color, Vector2 texCoord)
 

Public Attributes

Vector2 Position
 
Color Color
 
Vector2 TexCoord
 

Properties

VertexDeclaration VertexDeclaration [get]
 

Static Private Attributes

static VertexDeclaration _vertexDeclaration = new VertexDeclaration(new VertexElement(0, VertexElementFormat.Vector2, VertexElementUsage.Position, 0), new VertexElement(8, VertexElementFormat.Color, VertexElementUsage.Color, 0), new VertexElement(12, VertexElementFormat.Vector2, VertexElementUsage.TextureCoordinate, 0))
 

Detailed Description

Definition at line 14 of file VertexStrip.cs.


The documentation for this struct was generated from the following file: