No Name Engine
NoNameEngine est un moteur de jeu basé sur un système Entity Component System (ECS) utilisant Vulkan pour le rendu.
Loading...
Searching...
No Matches
NNE::Systems::Vertex Struct Reference

Public Member Functions

bool operator== (const Vertex &other) const

Static Public Member Functions

static VkVertexInputBindingDescription getBindingDescription ()
static std::array< VkVertexInputAttributeDescription, 3 > getAttributeDescriptions ()

Public Attributes

glm::vec3 pos
glm::vec3 color
glm::vec2 texCoord

Detailed Description

Definition at line 55 of file VulkanManager.h.

Member Function Documentation

◆ getAttributeDescriptions()

std::array< VkVertexInputAttributeDescription, 3 > NNE::Systems::Vertex::getAttributeDescriptions ( )
inlinestatic

Definition at line 69 of file VulkanManager.h.

◆ getBindingDescription()

VkVertexInputBindingDescription NNE::Systems::Vertex::getBindingDescription ( )
inlinestatic

Definition at line 60 of file VulkanManager.h.

◆ operator==()

bool NNE::Systems::Vertex::operator== ( const Vertex & other) const
inline

Definition at line 90 of file VulkanManager.h.

Member Data Documentation

◆ color

glm::vec3 NNE::Systems::Vertex::color

Definition at line 57 of file VulkanManager.h.

◆ pos

glm::vec3 NNE::Systems::Vertex::pos

Definition at line 56 of file VulkanManager.h.

◆ texCoord

glm::vec2 NNE::Systems::Vertex::texCoord

Definition at line 58 of file VulkanManager.h.


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