draw  0.0.0
Public Member Functions | Public Attributes | List of all members
draw::Geometry::Vertex Struct Reference

2D-vertex. More...

#include <draw.h>

Public Member Functions

 Vertex ()=default
 constructs from zero values More...
 
 Vertex (const Vector2 &position, const Vector2 &uv)
 constructs from parameters More...
 

Public Attributes

Vector2 position
 2D-position in [0.0, 1.0] space More...
 
Vector2 uv
 UV-coordinates in [0.0, 1.0] space. More...
 

Detailed Description

2D-vertex.

Constructor & Destructor Documentation

draw::Geometry::Vertex::Vertex ( )
default

constructs from zero values

draw::Geometry::Vertex::Vertex ( const Vector2 position,
const Vector2 uv 
)
inline

constructs from parameters

Member Data Documentation

Vector2 draw::Geometry::Vertex::position

2D-position in [0.0, 1.0] space

Vector2 draw::Geometry::Vertex::uv

UV-coordinates in [0.0, 1.0] space.


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