Merge pull request #121 from asuessenbach/PrivateSType

Made StructureType sType private, as nobody should need to access that.
This commit is contained in:
Markus Tavenrath 2016-06-16 03:00:15 +02:00 committed by GitHub
commit af6d55398d
2 changed files with 192 additions and 4 deletions

View File

@ -2702,12 +2702,23 @@ void writeTypeStruct( std::ofstream & ofs, VkData const& vkData, DependencyData
// the member variables // the member variables
for (size_t i = 0; i < it->second.members.size(); i++) for (size_t i = 0; i < it->second.members.size(); i++)
{ {
ofs << " " << it->second.members[i].type << " " << it->second.members[i].name; if (it->second.members[i].type == "StructureType")
if (!it->second.members[i].arraySize.empty())
{ {
ofs << "[" << it->second.members[i].arraySize << "]"; assert((i == 0) && (it->second.members[i].name == "sType"));
ofs << " private:" << std::endl
<< " StructureType sType;" << std::endl
<< std::endl
<< " public:" << std::endl;
}
else
{
ofs << " " << it->second.members[i].type << " " << it->second.members[i].name;
if (!it->second.members[i].arraySize.empty())
{
ofs << "[" << it->second.members[i].arraySize << "]";
}
ofs << ";" << std::endl;
} }
ofs << ";" << std::endl;
} }
ofs << " };" << std::endl; ofs << " };" << std::endl;
#if 1 #if 1

View File

@ -4624,7 +4624,10 @@ namespace vk
return *reinterpret_cast<const VkApplicationInfo*>(this); return *reinterpret_cast<const VkApplicationInfo*>(this);
} }
private:
StructureType sType; StructureType sType;
public:
const void* pNext; const void* pNext;
const char* pApplicationName; const char* pApplicationName;
uint32_t applicationVersion; uint32_t applicationVersion;
@ -4698,7 +4701,10 @@ namespace vk
return *reinterpret_cast<const VkDeviceQueueCreateInfo*>(this); return *reinterpret_cast<const VkDeviceQueueCreateInfo*>(this);
} }
private:
StructureType sType; StructureType sType;
public:
const void* pNext; const void* pNext;
DeviceQueueCreateFlags flags; DeviceQueueCreateFlags flags;
uint32_t queueFamilyIndex; uint32_t queueFamilyIndex;
@ -4799,7 +4805,10 @@ namespace vk
return *reinterpret_cast<const VkDeviceCreateInfo*>(this); return *reinterpret_cast<const VkDeviceCreateInfo*>(this);
} }
private:
StructureType sType; StructureType sType;
public:
const void* pNext; const void* pNext;
DeviceCreateFlags flags; DeviceCreateFlags flags;
uint32_t queueCreateInfoCount; uint32_t queueCreateInfoCount;
@ -4890,7 +4899,10 @@ namespace vk
return *reinterpret_cast<const VkInstanceCreateInfo*>(this); return *reinterpret_cast<const VkInstanceCreateInfo*>(this);
} }
private:
StructureType sType; StructureType sType;
public:
const void* pNext; const void* pNext;
InstanceCreateFlags flags; InstanceCreateFlags flags;
const ApplicationInfo* pApplicationInfo; const ApplicationInfo* pApplicationInfo;
@ -4951,7 +4963,10 @@ namespace vk
return *reinterpret_cast<const VkMemoryAllocateInfo*>(this); return *reinterpret_cast<const VkMemoryAllocateInfo*>(this);
} }
private:
StructureType sType; StructureType sType;
public:
const void* pNext; const void* pNext;
DeviceSize allocationSize; DeviceSize allocationSize;
uint32_t memoryTypeIndex; uint32_t memoryTypeIndex;
@ -5015,7 +5030,10 @@ namespace vk
return *reinterpret_cast<const VkMappedMemoryRange*>(this); return *reinterpret_cast<const VkMappedMemoryRange*>(this);
} }
private:
StructureType sType; StructureType sType;
public:
const void* pNext; const void* pNext;
DeviceMemory memory; DeviceMemory memory;
DeviceSize offset; DeviceSize offset;
@ -5115,7 +5133,10 @@ namespace vk
return *reinterpret_cast<const VkWriteDescriptorSet*>(this); return *reinterpret_cast<const VkWriteDescriptorSet*>(this);
} }
private:
StructureType sType; StructureType sType;
public:
const void* pNext; const void* pNext;
DescriptorSet dstSet; DescriptorSet dstSet;
uint32_t dstBinding; uint32_t dstBinding;
@ -5213,7 +5234,10 @@ namespace vk
return *reinterpret_cast<const VkCopyDescriptorSet*>(this); return *reinterpret_cast<const VkCopyDescriptorSet*>(this);
} }
private:
StructureType sType; StructureType sType;
public:
const void* pNext; const void* pNext;
DescriptorSet srcSet; DescriptorSet srcSet;
uint32_t srcBinding; uint32_t srcBinding;
@ -5296,7 +5320,10 @@ namespace vk
return *reinterpret_cast<const VkBufferViewCreateInfo*>(this); return *reinterpret_cast<const VkBufferViewCreateInfo*>(this);
} }
private:
StructureType sType; StructureType sType;
public:
const void* pNext; const void* pNext;
BufferViewCreateFlags flags; BufferViewCreateFlags flags;
Buffer buffer; Buffer buffer;
@ -5363,7 +5390,10 @@ namespace vk
return *reinterpret_cast<const VkShaderModuleCreateInfo*>(this); return *reinterpret_cast<const VkShaderModuleCreateInfo*>(this);
} }
private:
StructureType sType; StructureType sType;
public:
const void* pNext; const void* pNext;
ShaderModuleCreateFlags flags; ShaderModuleCreateFlags flags;
size_t codeSize; size_t codeSize;
@ -5428,7 +5458,10 @@ namespace vk
return *reinterpret_cast<const VkDescriptorSetAllocateInfo*>(this); return *reinterpret_cast<const VkDescriptorSetAllocateInfo*>(this);
} }
private:
StructureType sType; StructureType sType;
public:
const void* pNext; const void* pNext;
DescriptorPool descriptorPool; DescriptorPool descriptorPool;
uint32_t descriptorSetCount; uint32_t descriptorSetCount;
@ -5507,7 +5540,10 @@ namespace vk
return *reinterpret_cast<const VkPipelineVertexInputStateCreateInfo*>(this); return *reinterpret_cast<const VkPipelineVertexInputStateCreateInfo*>(this);
} }
private:
StructureType sType; StructureType sType;
public:
const void* pNext; const void* pNext;
PipelineVertexInputStateCreateFlags flags; PipelineVertexInputStateCreateFlags flags;
uint32_t vertexBindingDescriptionCount; uint32_t vertexBindingDescriptionCount;
@ -5574,7 +5610,10 @@ namespace vk
return *reinterpret_cast<const VkPipelineInputAssemblyStateCreateInfo*>(this); return *reinterpret_cast<const VkPipelineInputAssemblyStateCreateInfo*>(this);
} }
private:
StructureType sType; StructureType sType;
public:
const void* pNext; const void* pNext;
PipelineInputAssemblyStateCreateFlags flags; PipelineInputAssemblyStateCreateFlags flags;
PrimitiveTopology topology; PrimitiveTopology topology;
@ -5632,7 +5671,10 @@ namespace vk
return *reinterpret_cast<const VkPipelineTessellationStateCreateInfo*>(this); return *reinterpret_cast<const VkPipelineTessellationStateCreateInfo*>(this);
} }
private:
StructureType sType; StructureType sType;
public:
const void* pNext; const void* pNext;
PipelineTessellationStateCreateFlags flags; PipelineTessellationStateCreateFlags flags;
uint32_t patchControlPoints; uint32_t patchControlPoints;
@ -5710,7 +5752,10 @@ namespace vk
return *reinterpret_cast<const VkPipelineViewportStateCreateInfo*>(this); return *reinterpret_cast<const VkPipelineViewportStateCreateInfo*>(this);
} }
private:
StructureType sType; StructureType sType;
public:
const void* pNext; const void* pNext;
PipelineViewportStateCreateFlags flags; PipelineViewportStateCreateFlags flags;
uint32_t viewportCount; uint32_t viewportCount;
@ -5833,7 +5878,10 @@ namespace vk
return *reinterpret_cast<const VkPipelineRasterizationStateCreateInfo*>(this); return *reinterpret_cast<const VkPipelineRasterizationStateCreateInfo*>(this);
} }
private:
StructureType sType; StructureType sType;
public:
const void* pNext; const void* pNext;
PipelineRasterizationStateCreateFlags flags; PipelineRasterizationStateCreateFlags flags;
Bool32 depthClampEnable; Bool32 depthClampEnable;
@ -5955,7 +6003,10 @@ namespace vk
return *reinterpret_cast<const VkPipelineDepthStencilStateCreateInfo*>(this); return *reinterpret_cast<const VkPipelineDepthStencilStateCreateInfo*>(this);
} }
private:
StructureType sType; StructureType sType;
public:
const void* pNext; const void* pNext;
PipelineDepthStencilStateCreateFlags flags; PipelineDepthStencilStateCreateFlags flags;
Bool32 depthTestEnable; Bool32 depthTestEnable;
@ -6027,7 +6078,10 @@ namespace vk
return *reinterpret_cast<const VkPipelineCacheCreateInfo*>(this); return *reinterpret_cast<const VkPipelineCacheCreateInfo*>(this);
} }
private:
StructureType sType; StructureType sType;
public:
const void* pNext; const void* pNext;
PipelineCacheCreateFlags flags; PipelineCacheCreateFlags flags;
size_t initialDataSize; size_t initialDataSize;
@ -6183,7 +6237,10 @@ namespace vk
return *reinterpret_cast<const VkSamplerCreateInfo*>(this); return *reinterpret_cast<const VkSamplerCreateInfo*>(this);
} }
private:
StructureType sType; StructureType sType;
public:
const void* pNext; const void* pNext;
SamplerCreateFlags flags; SamplerCreateFlags flags;
Filter magFilter; Filter magFilter;
@ -6261,7 +6318,10 @@ namespace vk
return *reinterpret_cast<const VkCommandBufferAllocateInfo*>(this); return *reinterpret_cast<const VkCommandBufferAllocateInfo*>(this);
} }
private:
StructureType sType; StructureType sType;
public:
const void* pNext; const void* pNext;
CommandPool commandPool; CommandPool commandPool;
CommandBufferLevel level; CommandBufferLevel level;
@ -6340,7 +6400,10 @@ namespace vk
return *reinterpret_cast<const VkRenderPassBeginInfo*>(this); return *reinterpret_cast<const VkRenderPassBeginInfo*>(this);
} }
private:
StructureType sType; StructureType sType;
public:
const void* pNext; const void* pNext;
RenderPass renderPass; RenderPass renderPass;
Framebuffer framebuffer; Framebuffer framebuffer;
@ -6393,7 +6456,10 @@ namespace vk
return *reinterpret_cast<const VkEventCreateInfo*>(this); return *reinterpret_cast<const VkEventCreateInfo*>(this);
} }
private:
StructureType sType; StructureType sType;
public:
const void* pNext; const void* pNext;
EventCreateFlags flags; EventCreateFlags flags;
}; };
@ -6442,7 +6508,10 @@ namespace vk
return *reinterpret_cast<const VkSemaphoreCreateInfo*>(this); return *reinterpret_cast<const VkSemaphoreCreateInfo*>(this);
} }
private:
StructureType sType; StructureType sType;
public:
const void* pNext; const void* pNext;
SemaphoreCreateFlags flags; SemaphoreCreateFlags flags;
}; };
@ -6533,7 +6602,10 @@ namespace vk
return *reinterpret_cast<const VkFramebufferCreateInfo*>(this); return *reinterpret_cast<const VkFramebufferCreateInfo*>(this);
} }
private:
StructureType sType; StructureType sType;
public:
const void* pNext; const void* pNext;
FramebufferCreateFlags flags; FramebufferCreateFlags flags;
RenderPass renderPass; RenderPass renderPass;
@ -6595,7 +6667,10 @@ namespace vk
return *reinterpret_cast<const VkDisplayModeCreateInfoKHR*>(this); return *reinterpret_cast<const VkDisplayModeCreateInfoKHR*>(this);
} }
private:
StructureType sType; StructureType sType;
public:
const void* pNext; const void* pNext;
DisplayModeCreateFlagsKHR flags; DisplayModeCreateFlagsKHR flags;
DisplayModeParametersKHR parameters; DisplayModeParametersKHR parameters;
@ -6659,7 +6734,10 @@ namespace vk
return *reinterpret_cast<const VkDisplayPresentInfoKHR*>(this); return *reinterpret_cast<const VkDisplayPresentInfoKHR*>(this);
} }
private:
StructureType sType; StructureType sType;
public:
const void* pNext; const void* pNext;
Rect2D srcRect; Rect2D srcRect;
Rect2D dstRect; Rect2D dstRect;
@ -6718,7 +6796,10 @@ namespace vk
return *reinterpret_cast<const VkAndroidSurfaceCreateInfoKHR*>(this); return *reinterpret_cast<const VkAndroidSurfaceCreateInfoKHR*>(this);
} }
private:
StructureType sType; StructureType sType;
public:
const void* pNext; const void* pNext;
AndroidSurfaceCreateFlagsKHR flags; AndroidSurfaceCreateFlagsKHR flags;
ANativeWindow* window; ANativeWindow* window;
@ -6784,7 +6865,10 @@ namespace vk
return *reinterpret_cast<const VkMirSurfaceCreateInfoKHR*>(this); return *reinterpret_cast<const VkMirSurfaceCreateInfoKHR*>(this);
} }
private:
StructureType sType; StructureType sType;
public:
const void* pNext; const void* pNext;
MirSurfaceCreateFlagsKHR flags; MirSurfaceCreateFlagsKHR flags;
MirConnection* connection; MirConnection* connection;
@ -6851,7 +6935,10 @@ namespace vk
return *reinterpret_cast<const VkWaylandSurfaceCreateInfoKHR*>(this); return *reinterpret_cast<const VkWaylandSurfaceCreateInfoKHR*>(this);
} }
private:
StructureType sType; StructureType sType;
public:
const void* pNext; const void* pNext;
WaylandSurfaceCreateFlagsKHR flags; WaylandSurfaceCreateFlagsKHR flags;
struct wl_display* display; struct wl_display* display;
@ -6918,7 +7005,10 @@ namespace vk
return *reinterpret_cast<const VkWin32SurfaceCreateInfoKHR*>(this); return *reinterpret_cast<const VkWin32SurfaceCreateInfoKHR*>(this);
} }
private:
StructureType sType; StructureType sType;
public:
const void* pNext; const void* pNext;
Win32SurfaceCreateFlagsKHR flags; Win32SurfaceCreateFlagsKHR flags;
HINSTANCE hinstance; HINSTANCE hinstance;
@ -6985,7 +7075,10 @@ namespace vk
return *reinterpret_cast<const VkXlibSurfaceCreateInfoKHR*>(this); return *reinterpret_cast<const VkXlibSurfaceCreateInfoKHR*>(this);
} }
private:
StructureType sType; StructureType sType;
public:
const void* pNext; const void* pNext;
XlibSurfaceCreateFlagsKHR flags; XlibSurfaceCreateFlagsKHR flags;
Display* dpy; Display* dpy;
@ -7052,7 +7145,10 @@ namespace vk
return *reinterpret_cast<const VkXcbSurfaceCreateInfoKHR*>(this); return *reinterpret_cast<const VkXcbSurfaceCreateInfoKHR*>(this);
} }
private:
StructureType sType; StructureType sType;
public:
const void* pNext; const void* pNext;
XcbSurfaceCreateFlagsKHR flags; XcbSurfaceCreateFlagsKHR flags;
xcb_connection_t* connection; xcb_connection_t* connection;
@ -7145,7 +7241,10 @@ namespace vk
return *reinterpret_cast<const VkPresentInfoKHR*>(this); return *reinterpret_cast<const VkPresentInfoKHR*>(this);
} }
private:
StructureType sType; StructureType sType;
public:
const void* pNext; const void* pNext;
uint32_t waitSemaphoreCount; uint32_t waitSemaphoreCount;
const Semaphore* pWaitSemaphores; const Semaphore* pWaitSemaphores;
@ -7226,7 +7325,10 @@ namespace vk
return *reinterpret_cast<const VkPipelineDynamicStateCreateInfo*>(this); return *reinterpret_cast<const VkPipelineDynamicStateCreateInfo*>(this);
} }
private:
StructureType sType; StructureType sType;
public:
const void* pNext; const void* pNext;
PipelineDynamicStateCreateFlags flags; PipelineDynamicStateCreateFlags flags;
uint32_t dynamicStateCount; uint32_t dynamicStateCount;
@ -7407,7 +7509,10 @@ namespace vk
return *reinterpret_cast<const VkMemoryBarrier*>(this); return *reinterpret_cast<const VkMemoryBarrier*>(this);
} }
private:
StructureType sType; StructureType sType;
public:
const void* pNext; const void* pNext;
AccessFlags srcAccessMask; AccessFlags srcAccessMask;
AccessFlags dstAccessMask; AccessFlags dstAccessMask;
@ -7499,7 +7604,10 @@ namespace vk
return *reinterpret_cast<const VkBufferMemoryBarrier*>(this); return *reinterpret_cast<const VkBufferMemoryBarrier*>(this);
} }
private:
StructureType sType; StructureType sType;
public:
const void* pNext; const void* pNext;
AccessFlags srcAccessMask; AccessFlags srcAccessMask;
AccessFlags dstAccessMask; AccessFlags dstAccessMask;
@ -7623,7 +7731,10 @@ namespace vk
return *reinterpret_cast<const VkBufferCreateInfo*>(this); return *reinterpret_cast<const VkBufferCreateInfo*>(this);
} }
private:
StructureType sType; StructureType sType;
public:
const void* pNext; const void* pNext;
BufferCreateFlags flags; BufferCreateFlags flags;
DeviceSize size; DeviceSize size;
@ -7775,7 +7886,10 @@ namespace vk
return *reinterpret_cast<const VkDescriptorSetLayoutCreateInfo*>(this); return *reinterpret_cast<const VkDescriptorSetLayoutCreateInfo*>(this);
} }
private:
StructureType sType; StructureType sType;
public:
const void* pNext; const void* pNext;
DescriptorSetLayoutCreateFlags flags; DescriptorSetLayoutCreateFlags flags;
uint32_t bindingCount; uint32_t bindingCount;
@ -7854,7 +7968,10 @@ namespace vk
return *reinterpret_cast<const VkPipelineShaderStageCreateInfo*>(this); return *reinterpret_cast<const VkPipelineShaderStageCreateInfo*>(this);
} }
private:
StructureType sType; StructureType sType;
public:
const void* pNext; const void* pNext;
PipelineShaderStageCreateFlags flags; PipelineShaderStageCreateFlags flags;
ShaderStageFlagBits stage; ShaderStageFlagBits stage;
@ -7984,7 +8101,10 @@ namespace vk
return *reinterpret_cast<const VkPipelineLayoutCreateInfo*>(this); return *reinterpret_cast<const VkPipelineLayoutCreateInfo*>(this);
} }
private:
StructureType sType; StructureType sType;
public:
const void* pNext; const void* pNext;
PipelineLayoutCreateFlags flags; PipelineLayoutCreateFlags flags;
uint32_t setLayoutCount; uint32_t setLayoutCount;
@ -8114,7 +8234,10 @@ namespace vk
return *reinterpret_cast<const VkComputePipelineCreateInfo*>(this); return *reinterpret_cast<const VkComputePipelineCreateInfo*>(this);
} }
private:
StructureType sType; StructureType sType;
public:
const void* pNext; const void* pNext;
PipelineCreateFlags flags; PipelineCreateFlags flags;
PipelineShaderStageCreateInfo stage; PipelineShaderStageCreateInfo stage;
@ -8306,7 +8429,10 @@ namespace vk
return *reinterpret_cast<const VkPipelineColorBlendStateCreateInfo*>(this); return *reinterpret_cast<const VkPipelineColorBlendStateCreateInfo*>(this);
} }
private:
StructureType sType; StructureType sType;
public:
const void* pNext; const void* pNext;
PipelineColorBlendStateCreateFlags flags; PipelineColorBlendStateCreateFlags flags;
Bool32 logicOpEnable; Bool32 logicOpEnable;
@ -8372,7 +8498,10 @@ namespace vk
return *reinterpret_cast<const VkFenceCreateInfo*>(this); return *reinterpret_cast<const VkFenceCreateInfo*>(this);
} }
private:
StructureType sType; StructureType sType;
public:
const void* pNext; const void* pNext;
FenceCreateFlags flags; FenceCreateFlags flags;
}; };
@ -8557,7 +8686,10 @@ namespace vk
return *reinterpret_cast<const VkCommandBufferInheritanceInfo*>(this); return *reinterpret_cast<const VkCommandBufferInheritanceInfo*>(this);
} }
private:
StructureType sType; StructureType sType;
public:
const void* pNext; const void* pNext;
RenderPass renderPass; RenderPass renderPass;
uint32_t subpass; uint32_t subpass;
@ -8618,7 +8750,10 @@ namespace vk
return *reinterpret_cast<const VkCommandBufferBeginInfo*>(this); return *reinterpret_cast<const VkCommandBufferBeginInfo*>(this);
} }
private:
StructureType sType; StructureType sType;
public:
const void* pNext; const void* pNext;
CommandBufferUsageFlags flags; CommandBufferUsageFlags flags;
const CommandBufferInheritanceInfo* pInheritanceInfo; const CommandBufferInheritanceInfo* pInheritanceInfo;
@ -8689,7 +8824,10 @@ namespace vk
return *reinterpret_cast<const VkQueryPoolCreateInfo*>(this); return *reinterpret_cast<const VkQueryPoolCreateInfo*>(this);
} }
private:
StructureType sType; StructureType sType;
public:
const void* pNext; const void* pNext;
QueryPoolCreateFlags flags; QueryPoolCreateFlags flags;
QueryType queryType; QueryType queryType;
@ -8976,7 +9114,10 @@ namespace vk
return *reinterpret_cast<const VkImageMemoryBarrier*>(this); return *reinterpret_cast<const VkImageMemoryBarrier*>(this);
} }
private:
StructureType sType; StructureType sType;
public:
const void* pNext; const void* pNext;
AccessFlags srcAccessMask; AccessFlags srcAccessMask;
AccessFlags dstAccessMask; AccessFlags dstAccessMask;
@ -9067,7 +9208,10 @@ namespace vk
return *reinterpret_cast<const VkImageViewCreateInfo*>(this); return *reinterpret_cast<const VkImageViewCreateInfo*>(this);
} }
private:
StructureType sType; StructureType sType;
public:
const void* pNext; const void* pNext;
ImageViewCreateFlags flags; ImageViewCreateFlags flags;
Image image; Image image;
@ -9832,7 +9976,10 @@ namespace vk
return *reinterpret_cast<const VkBindSparseInfo*>(this); return *reinterpret_cast<const VkBindSparseInfo*>(this);
} }
private:
StructureType sType; StructureType sType;
public:
const void* pNext; const void* pNext;
uint32_t waitSemaphoreCount; uint32_t waitSemaphoreCount;
const Semaphore* pWaitSemaphores; const Semaphore* pWaitSemaphores;
@ -9938,7 +10085,10 @@ namespace vk
return *reinterpret_cast<const VkCommandPoolCreateInfo*>(this); return *reinterpret_cast<const VkCommandPoolCreateInfo*>(this);
} }
private:
StructureType sType; StructureType sType;
public:
const void* pNext; const void* pNext;
CommandPoolCreateFlags flags; CommandPoolCreateFlags flags;
uint32_t queueFamilyIndex; uint32_t queueFamilyIndex;
@ -10129,7 +10279,10 @@ namespace vk
return *reinterpret_cast<const VkImageCreateInfo*>(this); return *reinterpret_cast<const VkImageCreateInfo*>(this);
} }
private:
StructureType sType; StructureType sType;
public:
const void* pNext; const void* pNext;
ImageCreateFlags flags; ImageCreateFlags flags;
ImageType imageType; ImageType imageType;
@ -10232,7 +10385,10 @@ namespace vk
return *reinterpret_cast<const VkPipelineMultisampleStateCreateInfo*>(this); return *reinterpret_cast<const VkPipelineMultisampleStateCreateInfo*>(this);
} }
private:
StructureType sType; StructureType sType;
public:
const void* pNext; const void* pNext;
PipelineMultisampleStateCreateFlags flags; PipelineMultisampleStateCreateFlags flags;
SampleCountFlagBits rasterizationSamples; SampleCountFlagBits rasterizationSamples;
@ -10399,7 +10555,10 @@ namespace vk
return *reinterpret_cast<const VkGraphicsPipelineCreateInfo*>(this); return *reinterpret_cast<const VkGraphicsPipelineCreateInfo*>(this);
} }
private:
StructureType sType; StructureType sType;
public:
const void* pNext; const void* pNext;
PipelineCreateFlags flags; PipelineCreateFlags flags;
uint32_t stageCount; uint32_t stageCount;
@ -10755,7 +10914,10 @@ namespace vk
return *reinterpret_cast<const VkDescriptorPoolCreateInfo*>(this); return *reinterpret_cast<const VkDescriptorPoolCreateInfo*>(this);
} }
private:
StructureType sType; StructureType sType;
public:
const void* pNext; const void* pNext;
DescriptorPoolCreateFlags flags; DescriptorPoolCreateFlags flags;
uint32_t maxSets; uint32_t maxSets;
@ -11616,7 +11778,10 @@ namespace vk
return *reinterpret_cast<const VkRenderPassCreateInfo*>(this); return *reinterpret_cast<const VkRenderPassCreateInfo*>(this);
} }
private:
StructureType sType; StructureType sType;
public:
const void* pNext; const void* pNext;
RenderPassCreateFlags flags; RenderPassCreateFlags flags;
uint32_t attachmentCount; uint32_t attachmentCount;
@ -11713,7 +11878,10 @@ namespace vk
return *reinterpret_cast<const VkSubmitInfo*>(this); return *reinterpret_cast<const VkSubmitInfo*>(this);
} }
private:
StructureType sType; StructureType sType;
public:
const void* pNext; const void* pNext;
uint32_t waitSemaphoreCount; uint32_t waitSemaphoreCount;
const Semaphore* pWaitSemaphores; const Semaphore* pWaitSemaphores;
@ -12195,7 +12363,10 @@ namespace vk
return *reinterpret_cast<const VkDisplaySurfaceCreateInfoKHR*>(this); return *reinterpret_cast<const VkDisplaySurfaceCreateInfoKHR*>(this);
} }
private:
StructureType sType; StructureType sType;
public:
const void* pNext; const void* pNext;
DisplaySurfaceCreateFlagsKHR flags; DisplaySurfaceCreateFlagsKHR flags;
DisplayModeKHR displayMode; DisplayModeKHR displayMode;
@ -12461,7 +12632,10 @@ namespace vk
return *reinterpret_cast<const VkSwapchainCreateInfoKHR*>(this); return *reinterpret_cast<const VkSwapchainCreateInfoKHR*>(this);
} }
private:
StructureType sType; StructureType sType;
public:
const void* pNext; const void* pNext;
SwapchainCreateFlagsKHR flags; SwapchainCreateFlagsKHR flags;
SurfaceKHR surface; SurfaceKHR surface;
@ -14145,7 +14319,10 @@ namespace vk
return *reinterpret_cast<const VkDebugReportCallbackCreateInfoEXT*>(this); return *reinterpret_cast<const VkDebugReportCallbackCreateInfoEXT*>(this);
} }
private:
StructureType sType; StructureType sType;
public:
const void* pNext; const void* pNext;
DebugReportFlagsEXT flags; DebugReportFlagsEXT flags;
PFN_vkDebugReportCallbackEXT pfnCallback; PFN_vkDebugReportCallbackEXT pfnCallback;