PeriDyno 1.0.0
Loading...
Searching...
No Matches
vkglTF::Vertex Struct Reference

#include <VulkanglTFModel.h>

Static Public Member Functions

static VkVertexInputBindingDescription inputBindingDescription (uint32_t binding)
 
static VkVertexInputAttributeDescription inputAttributeDescription (uint32_t binding, uint32_t location, VertexComponent component)
 
static std::vector< VkVertexInputAttributeDescription > inputAttributeDescriptions (uint32_t binding, const std::vector< VertexComponent > components)
 
static VkPipelineVertexInputStateCreateInfo * getPipelineVertexInputState (const std::vector< VertexComponent > components)
 Returns the default pipeline vertex input state create info structure for the requested vertex components.
 

Public Attributes

glm::vec3 pos
 
glm::vec3 normal
 
glm::vec2 uv
 
glm::vec4 color
 
glm::vec4 joint0
 
glm::vec4 weight0
 
glm::vec4 tangent
 

Static Public Attributes

static VkVertexInputBindingDescription vertexInputBindingDescription
 
static std::vector< VkVertexInputAttributeDescription > vertexInputAttributeDescriptions
 
static VkPipelineVertexInputStateCreateInfo pipelineVertexInputStateCreateInfo
 

Detailed Description

Definition at line 220 of file VulkanglTFModel.h.

Member Function Documentation

◆ getPipelineVertexInputState()

VkPipelineVertexInputStateCreateInfo * vkglTF::Vertex::getPipelineVertexInputState ( const std::vector< VertexComponent > components)
static

Returns the default pipeline vertex input state create info structure for the requested vertex components.

Definition at line 614 of file VulkanglTFModel.cpp.

Here is the call graph for this function:

◆ inputAttributeDescription()

VkVertexInputAttributeDescription vkglTF::Vertex::inputAttributeDescription ( uint32_t binding,
uint32_t location,
VertexComponent component )
static

Definition at line 582 of file VulkanglTFModel.cpp.

Here is the caller graph for this function:

◆ inputAttributeDescriptions()

std::vector< VkVertexInputAttributeDescription > vkglTF::Vertex::inputAttributeDescriptions ( uint32_t binding,
const std::vector< VertexComponent > components )
static

Definition at line 603 of file VulkanglTFModel.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ inputBindingDescription()

VkVertexInputBindingDescription vkglTF::Vertex::inputBindingDescription ( uint32_t binding)
static

Definition at line 578 of file VulkanglTFModel.cpp.

Here is the caller graph for this function:

Member Data Documentation

◆ color

glm::vec4 vkglTF::Vertex::color

Definition at line 224 of file VulkanglTFModel.h.

◆ joint0

glm::vec4 vkglTF::Vertex::joint0

Definition at line 225 of file VulkanglTFModel.h.

◆ normal

glm::vec3 vkglTF::Vertex::normal

Definition at line 222 of file VulkanglTFModel.h.

◆ pipelineVertexInputStateCreateInfo

VkPipelineVertexInputStateCreateInfo vkglTF::Vertex::pipelineVertexInputStateCreateInfo
static

Definition at line 230 of file VulkanglTFModel.h.

◆ pos

glm::vec3 vkglTF::Vertex::pos

Definition at line 221 of file VulkanglTFModel.h.

◆ tangent

glm::vec4 vkglTF::Vertex::tangent

Definition at line 227 of file VulkanglTFModel.h.

◆ uv

glm::vec2 vkglTF::Vertex::uv

Definition at line 223 of file VulkanglTFModel.h.

◆ vertexInputAttributeDescriptions

std::vector< VkVertexInputAttributeDescription > vkglTF::Vertex::vertexInputAttributeDescriptions
static

Definition at line 229 of file VulkanglTFModel.h.

◆ vertexInputBindingDescription

VkVertexInputBindingDescription vkglTF::Vertex::vertexInputBindingDescription
static

Definition at line 228 of file VulkanglTFModel.h.

◆ weight0

glm::vec4 vkglTF::Vertex::weight0

Definition at line 226 of file VulkanglTFModel.h.


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