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

#include <Graphics.h>

静态 Public 成员函数

static vk::VertexInputBindingDescription getBindingDescription (uint32_t binding)
 
static std::vector< vk::VertexInputAttributeDescription > getAttributeDescription (uint32_t binding)
 

Public 属性

glm::vec2 pos
 
glm::vec4 color
 
glm::vec2 uv
 

详细描述

在文件 Graphics.h44 行定义.

成员函数说明

◆ getAttributeDescription()

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

在文件 Graphics.h56 行定义.

引用了 color, pos , 以及 uv.

◆ getBindingDescription()

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

在文件 Graphics.h49 行定义.

引用了 b.

类成员变量说明

◆ color

glm::vec4 eve::graphics::vulkan::TexturedVertex::color

在文件 Graphics.h46 行定义.

被这些函数引用 getAttributeDescription().

◆ pos

glm::vec2 eve::graphics::vulkan::TexturedVertex::pos

在文件 Graphics.h45 行定义.

被这些函数引用 getAttributeDescription().

◆ uv

glm::vec2 eve::graphics::vulkan::TexturedVertex::uv

在文件 Graphics.h47 行定义.

被这些函数引用 getAttributeDescription().


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