@@ -1140,7 +1121,7 @@ class VkMemoryRequirements {
}
class VkSparseImageFormatProperties {
VkImageAspect aspect
VkImageAspectFlags aspect
VkExtent3D imageGranularity
VkSparseImageFormatFlags flags
}
@@ -1180,23 +1161,28 @@ class VkFormatProperties {
class VkImageFormatProperties {
VkExtent3D maxExtent /// max image dimensions for this resource type
u32 maxMipLevels /// max number of mipmap levels for this resource type
u32 maxArraySize /// max array size for this resource type
u32 maxArrayLayers /// max array layers for this resource type
VkSampleCountFlags sampleCounts /// supported sample counts for this resource type
VkDeviceSize maxResourceSize /// max size (in bytes) of this resource type
}
class VkDescriptorImageInfo {
VkSampler sampler
VkImageView imageView
VkImageLayout imageLayout
}
class VkDescriptorBufferInfo {
VkBuffer buffer /// Buffer used for this descriptor when the descriptor is UNIFORM_BUFFER[_DYNAMIC]
VkDeviceSize offset /// Base offset from buffer start in bytes to update in the descriptor set.
VkDeviceSize range /// Size in bytes of the buffer resource for this descriptor update.
}
@union
class VkDescriptorInfo {
VkBufferView bufferView /// Buffer view to write to the descriptor (in case it's a buffer descriptor, otherwise should be VK_NULL_HANDLE)
VkSampler sampler /// Sampler to write to the descriptor (in case it's a SAMPLER or COMBINED_IMAGE_SAMPLER descriptor, otherwise should be VK_NULL_HANDLE)
VkImageView imageView /// Image view to write to the descriptor (in case it's a SAMPLED_IMAGE, STORAGE_IMAGE, COMBINED_IMAGE_SAMPLER, or INPUT_ATTACHMENT descriptor, otherwise should be VK_NULL_HANDLE)
VkImageLayout imageLayout /// Layout the image is expected to be in when accessed using this descriptor (only used if imageView is not VK_NULL_HANDLE)
VkDescriptorImageInfo imageInfo
VkDescriptorBufferInfo bufferInfo /// Raw buffer, size and offset for UNIFORM_BUFFER[_DYNAMIC] or STORAGE_BUFFER[_DYNAMIC] descriptor types. Ignored otherwise.
VkBufferView texelBufferView
}
class VkWriteDescriptorSet {
@@ -1243,7 +1229,7 @@ class VkBufferViewCreateInfo {
}
class VkImageSubresource {
VkImageAspect aspect
VkImageAspectFlags aspect
u32 mipLevel
u32 arrayLayer
}
@@ -1251,9 +1237,9 @@ class VkImageSubresource {
class VkImageSubresourceRange {
VkImageAspectFlags aspectMask
u32 baseMipLevel
u32 mipLevels
u32 numLevels
u32 baseArrayLayer
u32 arraySize
u32 numLayers
}
class VkMemoryBarrier {
@@ -1295,7 +1281,7 @@ class VkImageCreateInfo {
VkFormat format
VkExtent3D extent
u32 mipLevels
u32 arraySize
u32 arrayLayers
u32 samples
VkImageTiling tiling
VkImageUsageFlags usage /// Image usage flags
@@ -1348,10 +1334,10 @@ class VkSparseImageMemoryBindInfo {
}
class VkImageSubresourceCopy {
VkImageAspect aspect
VkImageAspectFlags aspect
u32 mipLevel
u32 arrayLayer
u32 arraySize
u32 baseArrayLayer
u32 numLayers
}
class VkImageCopy {
@@ -1402,7 +1388,7 @@ class VkShaderCreateInfo {
VkShaderModule module /// Module containing entry point
const char* pName /// Null-terminated entry point name
VkShaderCreateFlags flags /// Reserved
VkShaderStage stage
VkShaderStageFlags stage
}
class VkDescriptorSetLayoutBinding {
@@ -1449,7 +1435,7 @@ class VkSpecializationInfo {
class VkPipelineShaderStageCreateInfo {
VkStructureType sType /// Must be VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_CREATE_INFO
const void* pNext /// Pointer to next structure
VkShaderStage stage
VkShaderStageFlags stage
VkShader shader
const VkSpecializationInfo* pSpecializationInfo
}
@@ -1668,7 +1654,7 @@ class VkCmdBufferCreateInfo {
class VkCmdBufferBeginInfo {
VkStructureType sType /// Must be VK_STRUCTURE_TYPE_CMD_BUFFER_BEGIN_INFO