17 Commits

Author SHA1 Message Date
8f60701a51 大规模重构完成,下一步将Bind VBO工作在VertexInput前由MaterialInstance检测一次格式,并将新格式赋给VkVertexInputAttributeDescription 2019-04-28 16:06:53 +08:00
151e1af1e4 VAB增加SetStride函数 2019-04-27 00:48:49 +08:00
c01f46df5c 删除VertexInputState类,其内容并入Shader类。
VertexInputStateInstance类更名为VertexAttributeBinding
2019-04-26 22:34:51 +08:00
d3e99e6061 更改VertexInputState类的构造析构函数作用域,使其仅可以被Shader类创建和删除 2019-04-26 21:57:24 +08:00
3bd896e997 VertexInput拆分为VertexInptuState,VertexInputStateInstance 2019-04-26 21:43:22 +08:00
d485dd90e3 通过SPRIV-Cross获取shader中顶点输入变量名称和类型等,自动创建VertexInputState。提供根据名称获取binding,location的功能 2019-04-26 03:03:21 +08:00
e35fbf9a1a 将VertexInput拆分出VertexInputState。
VertexInputState传递给Material,未来可能改由Material创建,提供需要绑定的数据流格式。
VertexInput用于实际的缓冲区绑定
2019-04-25 16:02:13 +08:00
df149ee988 VertexInput/CommandBuffer支持IBO 2019-04-25 14:10:18 +08:00
0f389f907d 修正vkCmdBindVertexBuffers的错误用法,VertexInput类连动更改 2019-04-20 19:27:10 +08:00
339344fb30 VertexInput::Add增加location传入 2019-04-19 21:49:59 +08:00
89369484da include整理 2019-04-18 22:10:24 +08:00
ef86341146 增加Pipeline多边形设置和视口设置 2019-04-18 16:53:14 +08:00
a9374f01e1 VertexInput增加直接返回VkPipelineVertexInputStateCreateInfo结构的功能 2019-04-18 16:37:59 +08:00
ed0b26eec6 VertexInput增加缺省构造析构函数 2019-04-17 02:26:58 +08:00
2194cef2a8 VertexInput::Add增加instance输入参数 2019-04-16 14:17:39 +08:00
fc28d2d4fe 改进CommandBuffer::Bind 2019-04-16 13:21:21 +08:00
90d33abe0b 增加新的VertexInput类,用于存储vbo输入数据布局 2019-04-16 02:23:03 +08:00