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()
|
inlinestatic |
◆ getBindingDescription()
|
inlinestatic |
类成员变量说明
◆ 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
| glm::vec3 eve::graphics::vulkan::MeshVertex::pos |
在文件 Graphics.h 第 142 行定义.
被这些函数引用 eve::graphics::raytracing::VulkanRayTracing::addMesh(), eve::graphics::vulkan::Graphics::bakeMeshMorph(), getAttributeDescription(), eve::graphics::vulkan::Graphics::newMeshCylinder(), eve::graphics::vulkan::Graphics::newMeshFromArraysColored(), eve::graphics::vulkan::Graphics::newMeshFromAssimp(), eve::graphics::vulkan::Graphics::newMeshSphere() , 以及 eve::graphics::vulkan::Graphics::updateMeshVertices().
◆ 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().
该结构体的文档由以下文件生成:
- src/modules/graphics/vulkan/Graphics.h