2D_Game_Engine
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
Vertex Struct Reference

#include <structs.hpp>

Public Member Functions

 Vertex ()
 
 Vertex (Vec2 pos, Vec2 texcoords, int layer, float texID)
 

Public Attributes

Vec2 position
 
Vec2 texcoords
 
int layer
 
float texID
 

Detailed Description

Definition at line 28 of file structs.hpp.

Constructor & Destructor Documentation

◆ Vertex() [1/2]

Vertex::Vertex ( )

Definition at line 22 of file structs.cpp.

◆ Vertex() [2/2]

Vertex::Vertex ( Vec2 pos,
Vec2 texcoords,
int layer,
float texID )

Definition at line 23 of file structs.cpp.

Member Data Documentation

◆ layer

int Vertex::layer

Definition at line 31 of file structs.hpp.

◆ position

Vec2 Vertex::position

Definition at line 29 of file structs.hpp.

◆ texcoords

Vec2 Vertex::texcoords

Definition at line 30 of file structs.hpp.

◆ texID

float Vertex::texID

Definition at line 32 of file structs.hpp.


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