Fling Engine  0.00.1
Fling Engine is a game engine written in Vulkan
Public Member Functions | Static Public Member Functions | Data Fields
Fling::Vertex Struct Reference

Basic Vertex outline for use with our vertex buffers. More...

#include <Vertex.h>

Public Member Functions

bool operator== (const Vertex &other) const
 

Static Public Member Functions

static VkVertexInputBindingDescription GetBindingDescription ()
 Gets the shader binding of a vertex. More...
 
static std::array< VkVertexInputAttributeDescription, 3 > GetAttributeDescriptions ()
 

Data Fields

glm::vec3 Pos
 
glm::vec3 Color
 
glm::vec2 TexCoord
 

Detailed Description

Basic Vertex outline for use with our vertex buffers.

Member Function Documentation

◆ GetAttributeDescriptions()

static std::array<VkVertexInputAttributeDescription, 3> Fling::Vertex::GetAttributeDescriptions ( )
inlinestatic

◆ GetBindingDescription()

static VkVertexInputBindingDescription Fling::Vertex::GetBindingDescription ( )
inlinestatic

Gets the shader binding of a vertex.

◆ operator==()

bool Fling::Vertex::operator== ( const Vertex other) const
inline

Field Documentation

◆ Color

glm::vec3 Fling::Vertex::Color

◆ Pos

glm::vec3 Fling::Vertex::Pos

◆ TexCoord

glm::vec2 Fling::Vertex::TexCoord

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