VKSemaphore空定义
This commit is contained in:
parent
d31aa3460a
commit
772c147c71
@ -20,6 +20,7 @@ SET(VULKAN_TEST_SOURCE_FILES main.cpp
|
||||
VKRenderPass.cpp
|
||||
VKShader.cpp
|
||||
VKVertexInput.cpp
|
||||
VKSemaphore.cpp
|
||||
)
|
||||
|
||||
SET(VULKAN_TEST_HEADER_FILES VK.h
|
||||
@ -35,6 +36,7 @@ SET(VULKAN_TEST_HEADER_FILES VK.h
|
||||
VKRenderPass.h
|
||||
VKShader.h
|
||||
VKVertexInput.h
|
||||
VKSemaphore.h
|
||||
Window.h)
|
||||
|
||||
SET(SHADER_FILES shader_compile.bat
|
||||
|
@ -41,9 +41,9 @@ public:
|
||||
|
||||
class VertexBuffer:public Buffer
|
||||
{
|
||||
VkFormat format; ///<数据格式
|
||||
uint32_t stride; ///<单个数据字节数
|
||||
uint32_t count; ///<数据数量
|
||||
VkFormat format; ///<数据格式
|
||||
uint32_t stride; ///<单个数据字节数
|
||||
uint32_t count; ///<数据数量
|
||||
|
||||
private:
|
||||
|
||||
|
@ -1,16 +1,6 @@
|
||||
#include"VKVertexInput.h"
|
||||
|
||||
VK_NAMESPACE_BEGIN
|
||||
|
||||
//struct VertexInputBuffer
|
||||
//{
|
||||
// //按API,可以一个binding绑多个attrib,但我们仅支持1v1
|
||||
//
|
||||
// VkVertexInputBindingDescription binding;
|
||||
// VkVertexInputAttributeDescription attrib;
|
||||
// Buffer *buf;
|
||||
//};
|
||||
|
||||
bool VertexInput::Add(VertexBuffer *buf,bool instance)
|
||||
{
|
||||
if(!buf)
|
||||
|
Loading…
x
Reference in New Issue
Block a user