VOX
A little voxel engine
Loading...
Searching...
No Matches
ObjVertex Struct Reference

#include <ObjLoader.hpp>

Collaboration diagram for ObjVertex:
Collaboration graph

Public Member Functions

bool operator== (const ObjVertex &other) const
 

Static Public Member Functions

static VkVertexInputBindingDescription getBindingDescription ()
 
static std::vector< VkVertexInputAttributeDescription > getAttributeDescriptions ()
 

Public Attributes

glm::vec3 pos
 
glm::vec3 normal
 
glm::vec2 tex_coord
 

Member Function Documentation

◆ getAttributeDescriptions()

static std::vector< VkVertexInputAttributeDescription > ObjVertex::getAttributeDescriptions ( )
inlinestatic

◆ getBindingDescription()

static VkVertexInputBindingDescription ObjVertex::getBindingDescription ( )
inlinestatic

◆ operator==()

bool ObjVertex::operator== ( const ObjVertex other) const
inline

Member Data Documentation

◆ normal

glm::vec3 ObjVertex::normal

◆ pos

glm::vec3 ObjVertex::pos

◆ tex_coord

glm::vec2 ObjVertex::tex_coord

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