scop
a small 3D object loader
Loading...
Searching...
No Matches
Vertex Struct Reference

#include <VulkanApp.hpp>

Collaboration diagram for Vertex:

Static Public Member Functions

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

Public Attributes

vec3 pos
 
vec3 color
 
vec2 texCoord
 
vec3 ambientColor
 
vec3 specularColor
 
float dissolveFactor
 
float dissolveTexture {1.0}
 
std::string material_name
 
vec3 original_color
 

Detailed Description

Definition at line 95 of file VulkanApp.hpp.

Member Function Documentation

◆ getAttributeDescriptions()

static std::array< VkVertexInputAttributeDescription, 7 > Vertex::getAttributeDescriptions ( )
inlinestatic

Definition at line 116 of file VulkanApp.hpp.

Here is the caller graph for this function:

◆ getBindingDescription()

static VkVertexInputBindingDescription Vertex::getBindingDescription ( )
inlinestatic

Definition at line 107 of file VulkanApp.hpp.

Here is the caller graph for this function:

Member Data Documentation

◆ ambientColor

vec3 Vertex::ambientColor

Definition at line 99 of file VulkanApp.hpp.

◆ color

vec3 Vertex::color

Definition at line 97 of file VulkanApp.hpp.

◆ dissolveFactor

float Vertex::dissolveFactor

Definition at line 101 of file VulkanApp.hpp.

◆ dissolveTexture

float Vertex::dissolveTexture {1.0}

Definition at line 102 of file VulkanApp.hpp.

◆ material_name

std::string Vertex::material_name

Definition at line 104 of file VulkanApp.hpp.

◆ original_color

vec3 Vertex::original_color

Definition at line 105 of file VulkanApp.hpp.

◆ pos

vec3 Vertex::pos

Definition at line 96 of file VulkanApp.hpp.

◆ specularColor

vec3 Vertex::specularColor

Definition at line 100 of file VulkanApp.hpp.

◆ texCoord

vec2 Vertex::texCoord

Definition at line 98 of file VulkanApp.hpp.


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