| 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, 5 > | GetAttributeDescriptions ()

## Data Fields
glm::vec3 | Pos {}
glm::vec3 | Color {}
glm::vec3 | Tangent {}
glm::vec3 | Normal {}
glm::vec2 | TexCoord {}

## Detailed Description

Basic Vertex outline for use with our vertex buffers.

## Member Function Documentation

## ◆ GetAttributeDescriptions()

static std::array<VkVertexInputAttributeDescription, 5> Fling::Vertex::GetAttributeDescriptions | ( |  | ) |
| inline static

## ◆ GetBindingDescription()

static VkVertexInputBindingDescription Fling::Vertex::GetBindingDescription | ( |  | ) |
| inline static

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 {}

## ◆ Normal

glm::vec3 Fling::Vertex::Normal {}

## ◆ Pos

glm::vec3 Fling::Vertex::Pos {}

## ◆ Tangent

glm::vec3 Fling::Vertex::Tangent {}

## ◆ TexCoord

glm::vec2 Fling::Vertex::TexCoord {}

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

- FlingEngine/Graphics/inc/Vertex.h