载入中...
搜索中...
未找到
eve::graphics::vulkan::MeshVertex结构体 参考

MeshVertex public API. 更多...

#include <Graphics.h>

静态 Public 成员函数

static vk::VertexInputBindingDescription getBindingDescription (uint32_t binding)
 Returns the binding description.
 
static std::vector< vk::VertexInputAttributeDescription > getAttributeDescription (uint32_t binding)
 Returns the attribute description.
 

Public 属性

glm::vec3 pos
 
glm::vec3 normal
 
glm::vec2 uv
 
glm::u16vec4 joints {0}
 
glm::vec4 weights {0.f}
 
glm::vec4 color {1.f}
 
glm::vec4 tangent {0.f}
 

详细描述

MeshVertex public API.

在文件 Graphics.h 第 141 行定义.

成员函数说明

◆ getAttributeDescription()

static std::vector< vk::VertexInputAttributeDescription > eve::graphics::vulkan::MeshVertex::getAttributeDescription ( uint32_t  binding)
inlinestatic

Returns the attribute description.

在文件 Graphics.h 第 160 行定义.

引用了 binding, color, joints, normal, pos, tangent, uv , 以及 weights.

◆ getBindingDescription()

static vk::VertexInputBindingDescription eve::graphics::vulkan::MeshVertex::getBindingDescription ( uint32_t  binding)
inlinestatic

Returns the binding description.

在文件 Graphics.h 第 152 行定义.

引用了 b , 以及 binding.

类成员变量说明

◆ color

glm::vec4 eve::graphics::vulkan::MeshVertex::color {1.f}

在文件 Graphics.h 第 147 行定义.

被这些函数引用 getAttributeDescription().

◆ joints

glm::u16vec4 eve::graphics::vulkan::MeshVertex::joints {0}

在文件 Graphics.h 第 145 行定义.

被这些函数引用 getAttributeDescription().

◆ normal

glm::vec3 eve::graphics::vulkan::MeshVertex::normal

在文件 Graphics.h 第 143 行定义.

被这些函数引用 getAttributeDescription().

◆ pos

◆ tangent

glm::vec4 eve::graphics::vulkan::MeshVertex::tangent {0.f}

在文件 Graphics.h 第 149 行定义.

被这些函数引用 getAttributeDescription().

◆ uv

glm::vec2 eve::graphics::vulkan::MeshVertex::uv

在文件 Graphics.h 第 144 行定义.

被这些函数引用 getAttributeDescription().

◆ weights

glm::vec4 eve::graphics::vulkan::MeshVertex::weights {0.f}

在文件 Graphics.h 第 146 行定义.

被这些函数引用 getAttributeDescription().


该结构体的文档由以下文件生成: