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

#include <RenderAPI.hpp>

Collaboration diagram for ItemVertex:
Collaboration graph

Static Public Member Functions

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

Public Attributes

glm::vec3 pos
 
glm::vec3 normal
 
glm::vec2 tex_coord
 
uint32_t texture_index
 

Member Function Documentation

◆ getAttributeDescriptions()

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

◆ getBindingDescription()

static VkVertexInputBindingDescription ItemVertex::getBindingDescription ( )
inlinestatic

Member Data Documentation

◆ normal

glm::vec3 ItemVertex::normal

◆ pos

glm::vec3 ItemVertex::pos

◆ tex_coord

glm::vec2 ItemVertex::tex_coord

◆ texture_index

uint32_t ItemVertex::texture_index

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