|
CBlueUI
C++ 跨平台跨框架的数据可视化工具
|
顶点布局格式描述结构 更多...
Public 成员函数 | |
| GShaderLayoutDesc () | |
Public 属性 | |
| std::string | name |
| shader中变量名称 | |
| int | slot |
| 槽位 | |
| GDataType | type |
| 数据类型 | |
| int | size |
| 每个顶点属性的分量数 | |
| int | offset |
| 数据位移 | |
| unsigned int | attrib_location |
顶点布局格式描述结构
| GShaderLayoutDesc::GShaderLayoutDesc | ( | ) |
| unsigned int GShaderLayoutDesc::attrib_location |
| std::string GShaderLayoutDesc::name |
shader中变量名称
| int GShaderLayoutDesc::offset |
数据位移
| int GShaderLayoutDesc::size |
每个顶点属性的分量数
| int GShaderLayoutDesc::slot |
槽位
| GDataType GShaderLayoutDesc::type |
数据类型