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

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

Public 成员函数

 GShaderLayoutDesc ()
 

Public 属性

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

详细描述

顶点布局格式描述结构

构造及析构函数说明

◆ GShaderLayoutDesc()

GShaderLayoutDesc::GShaderLayoutDesc ( )

类成员变量说明

◆ attrib_location

unsigned int GShaderLayoutDesc::attrib_location

◆ name

std::string GShaderLayoutDesc::name

shader中变量名称

◆ offset

int GShaderLayoutDesc::offset

数据位移

◆ size

int GShaderLayoutDesc::size

每个顶点属性的分量数

◆ slot

int GShaderLayoutDesc::slot

槽位

◆ type

GDataType GShaderLayoutDesc::type

数据类型

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