CBlueUI  
C++ 跨平台跨框架的数据可视化工具
载入中...
搜索中...
未找到
BUI::GShaderLayoutDesc结构体 参考

顶点布局格式描述结构 更多...

Public 成员函数

 GShaderLayoutDesc ()

Public 属性

std::string name
 shader中变量名称
int slot
 槽位
GDataType type
 数据类型
int size
 每个顶点属性的分量数
int offset
 数据位移
unsigned int attrib_location

详细描述

顶点布局格式描述结构

构造及析构函数说明

◆ GShaderLayoutDesc()

BUI::GShaderLayoutDesc::GShaderLayoutDesc ( )

类成员变量说明

◆ attrib_location

unsigned int BUI::GShaderLayoutDesc::attrib_location

◆ name

std::string BUI::GShaderLayoutDesc::name

shader中变量名称

◆ offset

int BUI::GShaderLayoutDesc::offset

数据位移

◆ size

int BUI::GShaderLayoutDesc::size

每个顶点属性的分量数

◆ slot

int BUI::GShaderLayoutDesc::slot

槽位

◆ type

GDataType BUI::GShaderLayoutDesc::type

数据类型

鄂公网安备42018502007752 鄂ICP备2024082886
Copyright © 2026 · CBlueStudio 版权所有