API

Vulkan.AabbPositionsKHRType
AabbPositionsKHR(min_x::Real, min_y::Real, min_z::Real, max_x::Real, max_y::Real, max_z::Real)

Arguments:

  • min_x::Real
  • min_y::Real
  • min_z::Real
  • max_x::Real
  • max_y::Real
  • max_z::Real
source
Vulkan.AccelerationStructureBuildGeometryInfoKHRType
AccelerationStructureBuildGeometryInfoKHR(type::VkAccelerationStructureTypeKHR, update::Bool, dst_acceleration_structure::AccelerationStructureKHR, geometry_array_of_pointers::Bool, geometries::AccelerationStructureGeometryKHR, scratch_data::VkDeviceOrHostAddressKHR; next = C_NULL, flags = 0, src_acceleration_structure = C_NULL, geometry_count = 0)

Arguments:

  • type::VkAccelerationStructureTypeKHR
  • update::Bool
  • dst_acceleration_structure::AccelerationStructureKHR
  • geometry_array_of_pointers::Bool
  • geometries::AccelerationStructureGeometryKHR
  • scratch_data::VkDeviceOrHostAddressKHR
  • next: defaults to C_NULL
  • flags: defaults to 0
  • src_acceleration_structure: defaults to C_NULL
  • geometry_count: defaults to 0
source
Vulkan.AccelerationStructureBuildOffsetInfoKHRType
AccelerationStructureBuildOffsetInfoKHR(primitive_count::Integer, primitive_offset::Integer; first_vertex = 0, transform_offset = 0)

Arguments:

  • primitive_count::Integer
  • primitive_offset::Integer
  • first_vertex: defaults to 0
  • transform_offset: defaults to 0
source
Vulkan.AccelerationStructureCreateGeometryTypeInfoKHRType
AccelerationStructureCreateGeometryTypeInfoKHR(geometry_type::VkGeometryTypeKHR, max_primitive_count::Integer, index_type::VkIndexType; next = C_NULL, max_vertex_count = 0, vertex_format = 0, allows_transforms = 0)

Arguments:

  • geometry_type::VkGeometryTypeKHR
  • max_primitive_count::Integer
  • index_type::VkIndexType
  • next: defaults to C_NULL
  • max_vertex_count: defaults to 0
  • vertex_format: defaults to 0
  • allows_transforms: defaults to 0
source
Vulkan.AccelerationStructureCreateInfoKHRType
AccelerationStructureCreateInfoKHR(compacted_size::Integer, type::VkAccelerationStructureTypeKHR, geometry_infos::AbstractArray{<:AccelerationStructureCreateGeometryTypeInfoKHR}; next = C_NULL, flags = 0, device_address = 0)

Arguments:

  • compacted_size::Integer
  • type::VkAccelerationStructureTypeKHR
  • geometry_infos::AbstractArray{<:AccelerationStructureCreateGeometryTypeInfoKHR}
  • next: defaults to C_NULL
  • flags: defaults to 0
  • device_address: defaults to 0
source
Vulkan.AccelerationStructureCreateInfoNVType
AccelerationStructureCreateInfoNV(compacted_size::Integer, info::AccelerationStructureInfoNV; next = C_NULL)

Arguments:

  • compacted_size::Integer
  • info::AccelerationStructureInfoNV
  • next: defaults to C_NULL
source
Vulkan.AccelerationStructureGeometryKHRType
AccelerationStructureGeometryKHR(geometry_type::VkGeometryTypeKHR, geometry::VkAccelerationStructureGeometryDataKHR; next = C_NULL, flags = 0)

Arguments:

  • geometry_type::VkGeometryTypeKHR
  • geometry::VkAccelerationStructureGeometryDataKHR
  • next: defaults to C_NULL
  • flags: defaults to 0
source
Vulkan.AccelerationStructureGeometryTrianglesDataKHRType
AccelerationStructureGeometryTrianglesDataKHR(vertex_format::VkFormat, vertex_data::VkDeviceOrHostAddressConstKHR, vertex_stride::Integer, index_type::VkIndexType; next = C_NULL, index_data = 0, transform_data = 0)

Arguments:

  • vertex_format::VkFormat
  • vertex_data::VkDeviceOrHostAddressConstKHR
  • vertex_stride::Integer
  • index_type::VkIndexType
  • next: defaults to C_NULL
  • index_data: defaults to 0
  • transform_data: defaults to 0
source
Vulkan.AccelerationStructureInfoNVType
AccelerationStructureInfoNV(type::VkAccelerationStructureTypeNV, geometries::AbstractArray{<:GeometryNV}; next = C_NULL, flags = 0, instance_count = 0)

Arguments:

  • type::VkAccelerationStructureTypeNV
  • geometries::AbstractArray{<:GeometryNV}
  • next: defaults to C_NULL
  • flags: defaults to 0
  • instance_count: defaults to 0
source
Vulkan.AccelerationStructureInstanceKHRType
AccelerationStructureInstanceKHR(transform::TransformMatrixKHR, instance_custom_index::Integer, mask::Integer, instance_shader_binding_table_record_offset::Integer, acceleration_structure_reference::Integer; flags = 0)

Arguments:

  • transform::TransformMatrixKHR
  • instance_custom_index::Integer
  • mask::Integer
  • instance_shader_binding_table_record_offset::Integer
  • acceleration_structure_reference::Integer
  • flags: defaults to 0
source
Vulkan.AccelerationStructureKHRMethod
AccelerationStructureKHR(device::Device, compacted_size::Integer, info::AccelerationStructureInfoNV; allocator = C_NULL, next = C_NULL)
AccelerationStructureKHR(device::Device, compacted_size::Integer, info::AccelerationStructureInfoNV; allocator, next) -> Ptr{Nothing}
source
Vulkan.AccelerationStructureKHRMethod
AccelerationStructureKHR(device::Device, compacted_size::Integer, type::VkAccelerationStructureTypeKHR, geometry_infos::AbstractArray{<:AccelerationStructureCreateGeometryTypeInfoKHR}; allocator = C_NULL, next = C_NULL, flags = 0, device_address = 0)
source
Vulkan.AccelerationStructureMemoryRequirementsInfoKHRType
AccelerationStructureMemoryRequirementsInfoKHR(type::VkAccelerationStructureMemoryRequirementsTypeKHR, build_type::VkAccelerationStructureBuildTypeKHR, acceleration_structure::AccelerationStructureKHR; next = C_NULL)

Arguments:

  • type::VkAccelerationStructureMemoryRequirementsTypeKHR
  • build_type::VkAccelerationStructureBuildTypeKHR
  • acceleration_structure::AccelerationStructureKHR
  • next: defaults to C_NULL
source
Vulkan.AccelerationStructureMemoryRequirementsInfoNVType
AccelerationStructureMemoryRequirementsInfoNV(type::VkAccelerationStructureMemoryRequirementsTypeNV, acceleration_structure::VkAccelerationStructureNV; next = C_NULL)

Arguments:

  • type::VkAccelerationStructureMemoryRequirementsTypeNV
  • acceleration_structure::VkAccelerationStructureNV
  • next: defaults to C_NULL
source
Vulkan.AcquireNextImageInfoKHRType
AcquireNextImageInfoKHR(swapchain::SwapchainKHR, timeout::Integer, device_mask::Integer; next = C_NULL, semaphore = C_NULL, fence = C_NULL)

Arguments:

  • swapchain::SwapchainKHR (externsync)
  • timeout::Integer
  • device_mask::Integer
  • next: defaults to C_NULL
  • semaphore: defaults to C_NULL (externsync)
  • fence: defaults to C_NULL (externsync)
source
Vulkan.AllocationCallbacksType
AllocationCallbacks(pfn_allocation::FunctionPtr, pfn_reallocation::FunctionPtr, pfn_free::FunctionPtr; user_data = C_NULL, pfn_internal_allocation = 0, pfn_internal_free = 0)

Arguments:

  • pfn_allocation::FunctionPtr
  • pfn_reallocation::FunctionPtr
  • pfn_free::FunctionPtr
  • user_data: defaults to C_NULL
  • pfn_internal_allocation: defaults to 0
  • pfn_internal_free: defaults to 0
source
Vulkan.AndroidSurfaceCreateInfoKHRType
AndroidSurfaceCreateInfoKHR(window::vk.ANativeWindow; next = C_NULL, flags = 0)

Arguments:

  • window::vk.ANativeWindow
  • next: defaults to C_NULL
  • flags: defaults to 0
source
Vulkan.ApplicationInfoType
ApplicationInfo(application_version::VersionNumber, engine_version::VersionNumber, api_version::VersionNumber; next = C_NULL, application_name = C_NULL, engine_name = C_NULL)

Arguments:

  • application_version::VersionNumber
  • engine_version::VersionNumber
  • api_version::VersionNumber
  • next: defaults to C_NULL
  • application_name: defaults to C_NULL
  • engine_name: defaults to C_NULL
source
Vulkan.AttachmentDescriptionType
AttachmentDescription(format::VkFormat, samples::SampleCountFlag, load_op::VkAttachmentLoadOp, store_op::VkAttachmentStoreOp, stencil_load_op::VkAttachmentLoadOp, stencil_store_op::VkAttachmentStoreOp, initial_layout::VkImageLayout, final_layout::VkImageLayout; flags = 0)

Arguments:

  • format::VkFormat
  • samples::SampleCountFlag
  • load_op::VkAttachmentLoadOp
  • store_op::VkAttachmentStoreOp
  • stencil_load_op::VkAttachmentLoadOp
  • stencil_store_op::VkAttachmentStoreOp
  • initial_layout::VkImageLayout
  • final_layout::VkImageLayout
  • flags: defaults to 0
source
Vulkan.AttachmentDescription2Type
AttachmentDescription2(format::VkFormat, samples::SampleCountFlag, load_op::VkAttachmentLoadOp, store_op::VkAttachmentStoreOp, stencil_load_op::VkAttachmentLoadOp, stencil_store_op::VkAttachmentStoreOp, initial_layout::VkImageLayout, final_layout::VkImageLayout; next = C_NULL, flags = 0)

Arguments:

  • format::VkFormat
  • samples::SampleCountFlag
  • load_op::VkAttachmentLoadOp
  • store_op::VkAttachmentStoreOp
  • stencil_load_op::VkAttachmentLoadOp
  • stencil_store_op::VkAttachmentStoreOp
  • initial_layout::VkImageLayout
  • final_layout::VkImageLayout
  • next: defaults to C_NULL
  • flags: defaults to 0
source
Vulkan.AttachmentDescriptionStencilLayoutType
AttachmentDescriptionStencilLayout(stencil_initial_layout::VkImageLayout, stencil_final_layout::VkImageLayout; next = C_NULL)

Arguments:

  • stencil_initial_layout::VkImageLayout
  • stencil_final_layout::VkImageLayout
  • next: defaults to C_NULL
source
Vulkan.AttachmentReference2Type
AttachmentReference2(attachment::Integer, layout::VkImageLayout, aspect_mask::ImageAspectFlag; next = C_NULL)

Arguments:

  • attachment::Integer
  • layout::VkImageLayout
  • aspect_mask::ImageAspectFlag
  • next: defaults to C_NULL
source
Vulkan.AttachmentSampleLocationsEXTType
AttachmentSampleLocationsEXT(attachment_index::Integer, sample_locations_info::SampleLocationsInfoEXT)

Arguments:

  • attachment_index::Integer
  • sample_locations_info::SampleLocationsInfoEXT
source
Vulkan.BindAccelerationStructureMemoryInfoKHRType
BindAccelerationStructureMemoryInfoKHR(acceleration_structure::AccelerationStructureKHR, memory::DeviceMemory, memory_offset::Integer, device_indices::AbstractArray{<:Integer}; next = C_NULL)

Arguments:

  • acceleration_structure::AccelerationStructureKHR
  • memory::DeviceMemory
  • memory_offset::Integer
  • device_indices::AbstractArray{<:Integer}
  • next: defaults to C_NULL
source
Vulkan.BindBufferMemoryInfoType
BindBufferMemoryInfo(buffer::Buffer, memory::DeviceMemory, memory_offset::Integer; next = C_NULL)

Arguments:

  • buffer::Buffer
  • memory::DeviceMemory
  • memory_offset::Integer
  • next: defaults to C_NULL
source
Vulkan.BindImageMemoryDeviceGroupInfoType
BindImageMemoryDeviceGroupInfo(device_indices::AbstractArray{<:Integer}, split_instance_bind_regions::AbstractArray{<:Rect2D}; next = C_NULL)

Arguments:

  • device_indices::AbstractArray{<:Integer}
  • split_instance_bind_regions::AbstractArray{<:Rect2D}
  • next: defaults to C_NULL
source
Vulkan.BindImageMemoryInfoType
BindImageMemoryInfo(image::Image, memory::DeviceMemory, memory_offset::Integer; next = C_NULL)

Arguments:

  • image::Image
  • memory::DeviceMemory
  • memory_offset::Integer
  • next: defaults to C_NULL
source
Vulkan.BindImageMemorySwapchainInfoKHRType
BindImageMemorySwapchainInfoKHR(swapchain::SwapchainKHR, image_index::Integer; next = C_NULL)

Arguments:

  • swapchain::SwapchainKHR (externsync)
  • image_index::Integer
  • next: defaults to C_NULL
source
Vulkan.BindSparseInfoType
BindSparseInfo(wait_semaphores::AbstractArray{<:Semaphore}, buffer_binds::AbstractArray{<:SparseBufferMemoryBindInfo}, image_opaque_binds::AbstractArray{<:SparseImageOpaqueMemoryBindInfo}, image_binds::AbstractArray{<:SparseImageMemoryBindInfo}, signal_semaphores::AbstractArray{<:Semaphore}; next = C_NULL)

Arguments:

  • wait_semaphores::AbstractArray{<:Semaphore}
  • buffer_binds::AbstractArray{<:SparseBufferMemoryBindInfo}
  • image_opaque_binds::AbstractArray{<:SparseImageOpaqueMemoryBindInfo}
  • image_binds::AbstractArray{<:SparseImageMemoryBindInfo}
  • signal_semaphores::AbstractArray{<:Semaphore}
  • next: defaults to C_NULL
source
Vulkan.BufferMethod
Buffer(device::Device, size::Integer, usage::BufferUsageFlag, sharing_mode::VkSharingMode, queue_family_indices::AbstractArray{<:Integer}; allocator = C_NULL, next = C_NULL, flags = 0)
source
Vulkan.BufferCopyType
BufferCopy(src_offset::Integer, dst_offset::Integer, size::Integer)

Arguments:

  • src_offset::Integer
  • dst_offset::Integer
  • size::Integer
source
Vulkan.BufferCreateInfoType
BufferCreateInfo(size::Integer, usage::BufferUsageFlag, sharing_mode::VkSharingMode, queue_family_indices::AbstractArray{<:Integer}; next = C_NULL, flags = 0)

Arguments:

  • size::Integer
  • usage::BufferUsageFlag
  • sharing_mode::VkSharingMode
  • queue_family_indices::AbstractArray{<:Integer}
  • next: defaults to C_NULL
  • flags: defaults to 0
source
Vulkan.BufferImageCopyType
BufferImageCopy(buffer_offset::Integer, buffer_row_length::Integer, buffer_image_height::Integer, image_subresource::ImageSubresourceLayers, image_offset::Offset3D, image_extent::Extent3D)

Arguments:

  • buffer_offset::Integer
  • buffer_row_length::Integer
  • buffer_image_height::Integer
  • image_subresource::ImageSubresourceLayers
  • image_offset::Offset3D
  • image_extent::Extent3D
source
Vulkan.BufferMemoryBarrierType
BufferMemoryBarrier(src_access_mask::AccessFlag, dst_access_mask::AccessFlag, src_queue_family_index::Integer, dst_queue_family_index::Integer, buffer::Buffer, offset::Integer, size::Integer; next = C_NULL)

Arguments:

  • src_access_mask::AccessFlag
  • dst_access_mask::AccessFlag
  • src_queue_family_index::Integer
  • dst_queue_family_index::Integer
  • buffer::Buffer
  • offset::Integer
  • size::Integer
  • next: defaults to C_NULL
source
Vulkan.BufferViewMethod
BufferView(device::Device, buffer::Buffer, format::VkFormat, offset::Integer, range::Integer; allocator = C_NULL, next = C_NULL, flags = 0)
BufferView(device::Device, buffer::Buffer, format::VkFormat, offset::Integer, range::Integer; allocator, next, flags) -> BufferView
source
Vulkan.BufferViewCreateInfoType
BufferViewCreateInfo(buffer::Buffer, format::VkFormat, offset::Integer, range::Integer; next = C_NULL, flags = 0)

Arguments:

  • buffer::Buffer
  • format::VkFormat
  • offset::Integer
  • range::Integer
  • next: defaults to C_NULL
  • flags: defaults to 0
source
Vulkan.ClearAttachmentType
ClearAttachment(aspect_mask::ImageAspectFlag, color_attachment::Integer, clear_value::VkClearValue)

Arguments:

  • aspect_mask::ImageAspectFlag
  • color_attachment::Integer
  • clear_value::VkClearValue
source
Vulkan.ClearRectType
ClearRect(rect::Rect2D, base_array_layer::Integer, layer_count::Integer)

Arguments:

  • rect::Rect2D
  • base_array_layer::Integer
  • layer_count::Integer
source
Vulkan.CoarseSampleLocationNVType
CoarseSampleLocationNV(pixel_x::Integer, pixel_y::Integer, sample::Integer)

Arguments:

  • pixel_x::Integer
  • pixel_y::Integer
  • sample::Integer
source
Vulkan.CoarseSampleOrderCustomNVType
CoarseSampleOrderCustomNV(shading_rate::VkShadingRatePaletteEntryNV, sample_count::Integer, sample_locations::AbstractArray{<:CoarseSampleLocationNV})

Arguments:

  • shading_rate::VkShadingRatePaletteEntryNV
  • sample_count::Integer
  • sample_locations::AbstractArray{<:CoarseSampleLocationNV}
source
Vulkan.CommandBufferAllocateInfoType
CommandBufferAllocateInfo(command_pool::CommandPool, level::VkCommandBufferLevel, command_buffer_count::Integer; next = C_NULL)

Arguments:

  • command_pool::CommandPool
  • level::VkCommandBufferLevel
  • command_buffer_count::Integer
  • next: defaults to C_NULL
source
Vulkan.CommandBufferBeginInfoType
CommandBufferBeginInfo(; next = C_NULL, flags = 0, inheritance_info = C_NULL)

Arguments:

  • next: defaults to C_NULL
  • flags: defaults to 0
  • inheritance_info: defaults to C_NULL
source
Vulkan.CommandBufferInheritanceInfoType
CommandBufferInheritanceInfo(subpass::Integer, occlusion_query_enable::Bool; next = C_NULL, render_pass = C_NULL, framebuffer = C_NULL, query_flags = 0, pipeline_statistics = 0)

Arguments:

  • subpass::Integer
  • occlusion_query_enable::Bool
  • next: defaults to C_NULL
  • render_pass: defaults to C_NULL
  • framebuffer: defaults to C_NULL
  • query_flags: defaults to 0
  • pipeline_statistics: defaults to 0
source
Vulkan.CommandPoolMethod
CommandPool(device::Device, queue_family_index::Integer; allocator = C_NULL, next = C_NULL, flags = 0)
CommandPool(device::Device, queue_family_index::Integer; allocator, next, flags) -> CommandPool
source
Vulkan.CommandPoolCreateInfoType
CommandPoolCreateInfo(queue_family_index::Integer; next = C_NULL, flags = 0)

Arguments:

  • queue_family_index::Integer
  • next: defaults to C_NULL
  • flags: defaults to 0
source
Vulkan.ComponentMappingType
ComponentMapping(r::VkComponentSwizzle, g::VkComponentSwizzle, b::VkComponentSwizzle, a::VkComponentSwizzle)

Arguments:

  • r::VkComponentSwizzle
  • g::VkComponentSwizzle
  • b::VkComponentSwizzle
  • a::VkComponentSwizzle
source
Vulkan.ComputePipelineCreateInfoType
ComputePipelineCreateInfo(stage::PipelineShaderStageCreateInfo, layout::PipelineLayout, base_pipeline_index::Integer; next = C_NULL, flags = 0, base_pipeline_handle = C_NULL)

Arguments:

  • stage::PipelineShaderStageCreateInfo
  • layout::PipelineLayout
  • base_pipeline_index::Integer
  • next: defaults to C_NULL
  • flags: defaults to 0
  • base_pipeline_handle: defaults to C_NULL
source
Vulkan.ConditionalRenderingBeginInfoEXTType
ConditionalRenderingBeginInfoEXT(buffer::Buffer, offset::Integer; next = C_NULL, flags = 0)

Arguments:

  • buffer::Buffer
  • offset::Integer
  • next: defaults to C_NULL
  • flags: defaults to 0
source
Vulkan.ConformanceVersionType
ConformanceVersion(major::Integer, minor::Integer, subminor::Integer, patch::Integer)

Arguments:

  • major::Integer
  • minor::Integer
  • subminor::Integer
  • patch::Integer
source
Vulkan.CooperativeMatrixPropertiesNVType
CooperativeMatrixPropertiesNV(m_size::Integer, n_size::Integer, k_size::Integer, a_type::VkComponentTypeNV, b_type::VkComponentTypeNV, c_type::VkComponentTypeNV, d_type::VkComponentTypeNV, scope::VkScopeNV; next = C_NULL)

Arguments:

  • m_size::Integer
  • n_size::Integer
  • k_size::Integer
  • a_type::VkComponentTypeNV
  • b_type::VkComponentTypeNV
  • c_type::VkComponentTypeNV
  • d_type::VkComponentTypeNV
  • scope::VkScopeNV
  • next: defaults to C_NULL
source
Vulkan.CopyAccelerationStructureInfoKHRType
CopyAccelerationStructureInfoKHR(src::AccelerationStructureKHR, dst::AccelerationStructureKHR, mode::VkCopyAccelerationStructureModeKHR; next = C_NULL)

Arguments:

  • src::AccelerationStructureKHR
  • dst::AccelerationStructureKHR
  • mode::VkCopyAccelerationStructureModeKHR
  • next: defaults to C_NULL
source
Vulkan.CopyAccelerationStructureToMemoryInfoKHRType
CopyAccelerationStructureToMemoryInfoKHR(src::AccelerationStructureKHR, dst::VkDeviceOrHostAddressKHR, mode::VkCopyAccelerationStructureModeKHR; next = C_NULL)

Arguments:

  • src::AccelerationStructureKHR
  • dst::VkDeviceOrHostAddressKHR
  • mode::VkCopyAccelerationStructureModeKHR
  • next: defaults to C_NULL
source
Vulkan.CopyDescriptorSetType
CopyDescriptorSet(src_set::DescriptorSet, src_binding::Integer, src_array_element::Integer, dst_set::DescriptorSet, dst_binding::Integer, dst_array_element::Integer, descriptor_count::Integer; next = C_NULL)

Arguments:

  • src_set::DescriptorSet
  • src_binding::Integer
  • src_array_element::Integer
  • dst_set::DescriptorSet
  • dst_binding::Integer
  • dst_array_element::Integer
  • descriptor_count::Integer
  • next: defaults to C_NULL
source
Vulkan.CopyMemoryToAccelerationStructureInfoKHRType
CopyMemoryToAccelerationStructureInfoKHR(src::VkDeviceOrHostAddressConstKHR, dst::AccelerationStructureKHR, mode::VkCopyAccelerationStructureModeKHR; next = C_NULL)

Arguments:

  • src::VkDeviceOrHostAddressConstKHR
  • dst::AccelerationStructureKHR
  • mode::VkCopyAccelerationStructureModeKHR
  • next: defaults to C_NULL
source
Vulkan.D3D12FenceSubmitInfoKHRType
D3D12FenceSubmitInfoKHR(; next = C_NULL, wait_semaphore_values = C_NULL, signal_semaphore_values = C_NULL)

Arguments:

  • next: defaults to C_NULL
  • wait_semaphore_values: defaults to C_NULL
  • signal_semaphore_values: defaults to C_NULL
source
Vulkan.DebugMarkerMarkerInfoEXTType
DebugMarkerMarkerInfoEXT(marker_name::AbstractString; next = C_NULL, color = 0)

Arguments:

  • marker_name::AbstractString
  • next: defaults to C_NULL
  • color: defaults to 0
source
Vulkan.DebugMarkerObjectNameInfoEXTType
DebugMarkerObjectNameInfoEXT(object_type::VkDebugReportObjectTypeEXT, object::Integer, object_name::AbstractString; next = C_NULL)

Arguments:

  • object_type::VkDebugReportObjectTypeEXT
  • object::Integer
  • object_name::AbstractString
  • next: defaults to C_NULL
source
Vulkan.DebugMarkerObjectTagInfoEXTType
DebugMarkerObjectTagInfoEXT(object_type::VkDebugReportObjectTypeEXT, object::Integer, tag_name::Integer, tag_size::Integer, tag::Ptr{Cvoid}; next = C_NULL)

Arguments:

  • object_type::VkDebugReportObjectTypeEXT
  • object::Integer
  • tag_name::Integer
  • tag_size::Integer
  • tag::Ptr{Cvoid}
  • next: defaults to C_NULL
source
Vulkan.DebugReportCallbackCreateInfoEXTType
DebugReportCallbackCreateInfoEXT(pfn_callback::FunctionPtr; next = C_NULL, flags = 0, user_data = C_NULL)

Arguments:

  • pfn_callback::FunctionPtr
  • next: defaults to C_NULL
  • flags: defaults to 0
  • user_data: defaults to C_NULL
source
Vulkan.DebugReportCallbackEXTMethod
DebugReportCallbackEXT(instance::Instance, pfn_callback::FunctionPtr; allocator = C_NULL, next = C_NULL, flags = 0, user_data = C_NULL)
DebugReportCallbackEXT(instance::Instance, pfn_callback::Union{Ptr{Nothing}, Base.CFunction}; allocator, next, flags, user_data) -> DebugReportCallbackEXT
source
Vulkan.DebugUtilsLabelEXTType
DebugUtilsLabelEXT(label_name::AbstractString; next = C_NULL, color = 0)

Arguments:

  • label_name::AbstractString
  • next: defaults to C_NULL
  • color: defaults to 0
source
Vulkan.DebugUtilsMessengerCallbackDataEXTType
DebugUtilsMessengerCallbackDataEXT(message::AbstractString, queue_labels::AbstractArray{<:DebugUtilsLabelEXT}, cmd_buf_labels::AbstractArray{<:DebugUtilsLabelEXT}, objects::AbstractArray{<:DebugUtilsObjectNameInfoEXT}; next = C_NULL, flags = 0, message_id_name = C_NULL, message_id_number = 0)

Arguments:

  • message::AbstractString
  • queue_labels::AbstractArray{<:DebugUtilsLabelEXT}
  • cmd_buf_labels::AbstractArray{<:DebugUtilsLabelEXT}
  • objects::AbstractArray{<:DebugUtilsObjectNameInfoEXT}
  • next: defaults to C_NULL
  • flags: defaults to 0
  • message_id_name: defaults to C_NULL
  • message_id_number: defaults to 0
source
Vulkan.DebugUtilsMessengerCreateInfoEXTType
DebugUtilsMessengerCreateInfoEXT(message_severity::DebugUtilsMessageSeverityFlagEXT, message_type::DebugUtilsMessageTypeFlagEXT, pfn_user_callback::FunctionPtr; next = C_NULL, flags = 0, user_data = C_NULL)

Arguments:

  • message_severity::DebugUtilsMessageSeverityFlagEXT
  • message_type::DebugUtilsMessageTypeFlagEXT
  • pfn_user_callback::FunctionPtr
  • next: defaults to C_NULL
  • flags: defaults to 0
  • user_data: defaults to C_NULL
source
Vulkan.DebugUtilsMessengerEXTMethod
DebugUtilsMessengerEXT(instance::Instance, message_severity::DebugUtilsMessageSeverityFlagEXT, message_type::DebugUtilsMessageTypeFlagEXT, pfn_user_callback::FunctionPtr; allocator = C_NULL, next = C_NULL, flags = 0, user_data = C_NULL)
DebugUtilsMessengerEXT(instance::Instance, message_severity::DebugUtilsMessageSeverityFlagEXT, message_type::DebugUtilsMessageTypeFlagEXT, pfn_user_callback::Union{Ptr{Nothing}, Base.CFunction}; allocator, next, flags, user_data) -> DebugUtilsMessengerEXT
source
Vulkan.DebugUtilsMessengerEXTMethod

Register a user callback and return the corresponding messenger.

A default named default_debug_callback can be converted to a function pointer to use as a callback.

Warning

callback must be a function pointer of type Ptr{Nothing} obtained from a callback_f function as follows: callback = @cfunction(callback_f, UInt32, (VkDebugUtilsMessageSeverityFlagBitsEXT, VkDebugUtilsMessageTypeFlagBitsEXT, Ptr{vk.VkDebugUtilsMessengerCallbackDataEXT}, Ptr{Cvoid})) with callback_f a Julia function with a signature matching the @cfunction call.

DebugUtilsMessengerEXT(instance::Instance, callback::Ptr{Nothing}; severity, types) -> DebugUtilsMessengerEXT
source
Vulkan.DebugUtilsObjectNameInfoEXTType
DebugUtilsObjectNameInfoEXT(object_type::VkObjectType, object_handle::Integer; next = C_NULL, object_name = C_NULL)

Arguments:

  • object_type::VkObjectType
  • object_handle::Integer
  • next: defaults to C_NULL
  • object_name: defaults to C_NULL
source
Vulkan.DebugUtilsObjectTagInfoEXTType
DebugUtilsObjectTagInfoEXT(object_type::VkObjectType, object_handle::Integer, tag_name::Integer, tag_size::Integer, tag::Ptr{Cvoid}; next = C_NULL)

Arguments:

  • object_type::VkObjectType
  • object_handle::Integer
  • tag_name::Integer
  • tag_size::Integer
  • tag::Ptr{Cvoid}
  • next: defaults to C_NULL
source
Vulkan.DeferredOperationInfoKHRType
DeferredOperationInfoKHR(operation_handle::DeferredOperationKHR; next = C_NULL)

Arguments:

  • operation_handle::DeferredOperationKHR
  • next: defaults to C_NULL
source
Vulkan.DeferredOperationKHRMethod
DeferredOperationKHR(device::Device; allocator = C_NULL)
DeferredOperationKHR(device::Device; allocator) -> Result{DeferredOperationKHR, VulkanError}
source
Vulkan.DescriptorBufferInfoType
DescriptorBufferInfo(offset::Integer, range::Integer; buffer = C_NULL)

Arguments:

  • offset::Integer
  • range::Integer
  • buffer: defaults to C_NULL
source
Vulkan.DescriptorImageInfoType
DescriptorImageInfo(sampler::Sampler, image_view::ImageView, image_layout::VkImageLayout)

Arguments:

  • sampler::Sampler
  • image_view::ImageView
  • image_layout::VkImageLayout
source
Vulkan.DescriptorPoolMethod
DescriptorPool(device::Device, max_sets::Integer, pool_sizes::AbstractArray{<:DescriptorPoolSize}; allocator = C_NULL, next = C_NULL, flags = 0)
source
Vulkan.DescriptorPoolCreateInfoType
DescriptorPoolCreateInfo(max_sets::Integer, pool_sizes::AbstractArray{<:DescriptorPoolSize}; next = C_NULL, flags = 0)

Arguments:

  • max_sets::Integer
  • pool_sizes::AbstractArray{<:DescriptorPoolSize}
  • next: defaults to C_NULL
  • flags: defaults to 0
source
Vulkan.DescriptorPoolSizeType
DescriptorPoolSize(type::VkDescriptorType, descriptor_count::Integer)

Arguments:

  • type::VkDescriptorType
  • descriptor_count::Integer
source
Vulkan.DescriptorSetAllocateInfoType
DescriptorSetAllocateInfo(descriptor_pool::DescriptorPool, set_layouts::AbstractArray{<:DescriptorSetLayout}; next = C_NULL)

Arguments:

  • descriptor_pool::DescriptorPool
  • set_layouts::AbstractArray{<:DescriptorSetLayout}
  • next: defaults to C_NULL
source
Vulkan.DescriptorSetLayoutMethod
DescriptorSetLayout(device::Device, bindings::AbstractArray{<:DescriptorSetLayoutBinding}; allocator = C_NULL, next = C_NULL, flags = 0)
source
Vulkan.DescriptorSetLayoutBindingType
DescriptorSetLayoutBinding(binding::Integer, descriptor_type::VkDescriptorType, stage_flags::ShaderStageFlag; descriptor_count = 0, immutable_samplers = C_NULL)

Arguments:

  • binding::Integer
  • descriptor_type::VkDescriptorType
  • stage_flags::ShaderStageFlag
  • descriptor_count: defaults to 0
  • immutable_samplers: defaults to C_NULL
source
Vulkan.DescriptorSetLayoutCreateInfoType
DescriptorSetLayoutCreateInfo(bindings::AbstractArray{<:DescriptorSetLayoutBinding}; next = C_NULL, flags = 0)

Arguments:

  • bindings::AbstractArray{<:DescriptorSetLayoutBinding}
  • next: defaults to C_NULL
  • flags: defaults to 0
source
Vulkan.DescriptorUpdateTemplateMethod
DescriptorUpdateTemplate(device::Device, descriptor_update_entries::AbstractArray{<:DescriptorUpdateTemplateEntry}, template_type::VkDescriptorUpdateTemplateType, descriptor_set_layout::DescriptorSetLayout, pipeline_bind_point::VkPipelineBindPoint, pipeline_layout::PipelineLayout, set::Integer; allocator = C_NULL, next = C_NULL, flags = 0)
source
Vulkan.DescriptorUpdateTemplateCreateInfoType
DescriptorUpdateTemplateCreateInfo(descriptor_update_entries::AbstractArray{<:DescriptorUpdateTemplateEntry}, template_type::VkDescriptorUpdateTemplateType, descriptor_set_layout::DescriptorSetLayout, pipeline_bind_point::VkPipelineBindPoint, pipeline_layout::PipelineLayout, set::Integer; next = C_NULL, flags = 0)

Arguments:

  • descriptor_update_entries::AbstractArray{<:DescriptorUpdateTemplateEntry}
  • template_type::VkDescriptorUpdateTemplateType
  • descriptor_set_layout::DescriptorSetLayout
  • pipeline_bind_point::VkPipelineBindPoint
  • pipeline_layout::PipelineLayout
  • set::Integer
  • next: defaults to C_NULL
  • flags: defaults to 0
source
Vulkan.DescriptorUpdateTemplateEntryType
DescriptorUpdateTemplateEntry(dst_binding::Integer, dst_array_element::Integer, descriptor_count::Integer, descriptor_type::VkDescriptorType, offset::Integer, stride::Integer)

Arguments:

  • dst_binding::Integer
  • dst_array_element::Integer
  • descriptor_count::Integer
  • descriptor_type::VkDescriptorType
  • offset::Integer
  • stride::Integer
source
Vulkan.DeviceMethod
Device(physical_device::PhysicalDevice, queue_create_infos::AbstractArray{<:DeviceQueueCreateInfo}, enabled_layer_names::AbstractArray{<:AbstractString}, enabled_extension_names::AbstractArray{<:AbstractString}; allocator = C_NULL, next = C_NULL, flags = 0, enabled_features = C_NULL)
source
Vulkan.DeviceCreateInfoType
DeviceCreateInfo(queue_create_infos::AbstractArray{<:DeviceQueueCreateInfo}, enabled_layer_names::AbstractArray{<:AbstractString}, enabled_extension_names::AbstractArray{<:AbstractString}; next = C_NULL, flags = 0, enabled_features = C_NULL)

Arguments:

  • queue_create_infos::AbstractArray{<:DeviceQueueCreateInfo}
  • enabled_layer_names::AbstractArray{<:AbstractString}
  • enabled_extension_names::AbstractArray{<:AbstractString}
  • next: defaults to C_NULL
  • flags: defaults to 0
  • enabled_features: defaults to C_NULL
source
Vulkan.DeviceEventInfoEXTType
DeviceEventInfoEXT(device_event::VkDeviceEventTypeEXT; next = C_NULL)

Arguments:

  • device_event::VkDeviceEventTypeEXT
  • next: defaults to C_NULL
source
Vulkan.DeviceGroupBindSparseInfoType
DeviceGroupBindSparseInfo(resource_device_index::Integer, memory_device_index::Integer; next = C_NULL)

Arguments:

  • resource_device_index::Integer
  • memory_device_index::Integer
  • next: defaults to C_NULL
source
Vulkan.DeviceGroupDeviceCreateInfoType
DeviceGroupDeviceCreateInfo(physical_devices::AbstractArray{<:PhysicalDevice}; next = C_NULL)

Arguments:

  • physical_devices::AbstractArray{<:PhysicalDevice}
  • next: defaults to C_NULL
source
Vulkan.DeviceGroupPresentInfoKHRType
DeviceGroupPresentInfoKHR(device_masks::AbstractArray{<:Integer}, mode::DeviceGroupPresentModeFlagKHR; next = C_NULL)

Arguments:

  • device_masks::AbstractArray{<:Integer}
  • mode::DeviceGroupPresentModeFlagKHR
  • next: defaults to C_NULL
source
Vulkan.DeviceGroupRenderPassBeginInfoType
DeviceGroupRenderPassBeginInfo(device_mask::Integer, device_render_areas::AbstractArray{<:Rect2D}; next = C_NULL)

Arguments:

  • device_mask::Integer
  • device_render_areas::AbstractArray{<:Rect2D}
  • next: defaults to C_NULL
source
Vulkan.DeviceGroupSubmitInfoType
DeviceGroupSubmitInfo(wait_semaphore_device_indices::AbstractArray{<:Integer}, command_buffer_device_masks::AbstractArray{<:Integer}, signal_semaphore_device_indices::AbstractArray{<:Integer}; next = C_NULL)

Arguments:

  • wait_semaphore_device_indices::AbstractArray{<:Integer}
  • command_buffer_device_masks::AbstractArray{<:Integer}
  • signal_semaphore_device_indices::AbstractArray{<:Integer}
  • next: defaults to C_NULL
source
Vulkan.DeviceMemoryMethod
DeviceMemory(device::Device, allocation_size::Integer, memory_type_index::Integer; allocator = C_NULL, next = C_NULL)
DeviceMemory(device::Device, allocation_size::Integer, memory_type_index::Integer; allocator, next) -> DeviceMemory
source
Vulkan.DeviceMemoryOverallocationCreateInfoAMDType
DeviceMemoryOverallocationCreateInfoAMD(overallocation_behavior::VkMemoryOverallocationBehaviorAMD; next = C_NULL)

Arguments:

  • overallocation_behavior::VkMemoryOverallocationBehaviorAMD
  • next: defaults to C_NULL
source
Vulkan.DeviceQueueCreateInfoType
DeviceQueueCreateInfo(queue_family_index::Integer, queue_priorities::AbstractArray{<:Real}; next = C_NULL, flags = 0)

Arguments:

  • queue_family_index::Integer
  • queue_priorities::AbstractArray{<:Real}
  • next: defaults to C_NULL
  • flags: defaults to 0
source
Vulkan.DeviceQueueInfo2Type
DeviceQueueInfo2(queue_family_index::Integer, queue_index::Integer; next = C_NULL, flags = 0)

Arguments:

  • queue_family_index::Integer
  • queue_index::Integer
  • next: defaults to C_NULL
  • flags: defaults to 0
source
Vulkan.DirectFBSurfaceCreateInfoEXTType
DirectFBSurfaceCreateInfoEXT(dfb::vk.IDirectFB, surface::vk.IDirectFBSurface; next = C_NULL, flags = 0)

Arguments:

  • dfb::vk.IDirectFB
  • surface::vk.IDirectFBSurface
  • next: defaults to C_NULL
  • flags: defaults to 0
source
Vulkan.DisplayEventInfoEXTType
DisplayEventInfoEXT(display_event::VkDisplayEventTypeEXT; next = C_NULL)

Arguments:

  • display_event::VkDisplayEventTypeEXT
  • next: defaults to C_NULL
source
Vulkan.DisplayModeCreateInfoKHRType
DisplayModeCreateInfoKHR(parameters::DisplayModeParametersKHR; next = C_NULL, flags = 0)

Arguments:

  • parameters::DisplayModeParametersKHR
  • next: defaults to C_NULL
  • flags: defaults to 0
source
Vulkan.DisplayModeKHRMethod
DisplayModeKHR(physical_device::PhysicalDevice, display::DisplayKHR, parameters::DisplayModeParametersKHR; allocator = C_NULL, next = C_NULL, flags = 0)
DisplayModeKHR(physical_device::PhysicalDevice, display::DisplayKHR, parameters::DisplayModeParametersKHR; allocator, next, flags) -> DisplayModeKHR
source
Vulkan.DisplayPlaneInfo2KHRType
DisplayPlaneInfo2KHR(mode::DisplayModeKHR, plane_index::Integer; next = C_NULL)

Arguments:

  • mode::DisplayModeKHR (externsync)
  • plane_index::Integer
  • next: defaults to C_NULL
source
Vulkan.DisplayPowerInfoEXTType
DisplayPowerInfoEXT(power_state::VkDisplayPowerStateEXT; next = C_NULL)

Arguments:

  • power_state::VkDisplayPowerStateEXT
  • next: defaults to C_NULL
source
Vulkan.DisplayPresentInfoKHRType
DisplayPresentInfoKHR(src_rect::Rect2D, dst_rect::Rect2D, persistent::Bool; next = C_NULL)

Arguments:

  • src_rect::Rect2D
  • dst_rect::Rect2D
  • persistent::Bool
  • next: defaults to C_NULL
source
Vulkan.DisplaySurfaceCreateInfoKHRType
DisplaySurfaceCreateInfoKHR(display_mode::DisplayModeKHR, plane_index::Integer, plane_stack_index::Integer, transform::SurfaceTransformFlagKHR, global_alpha::Real, alpha_mode::DisplayPlaneAlphaFlagKHR, image_extent::Extent2D; next = C_NULL, flags = 0)

Arguments:

  • display_mode::DisplayModeKHR
  • plane_index::Integer
  • plane_stack_index::Integer
  • transform::SurfaceTransformFlagKHR
  • global_alpha::Real
  • alpha_mode::DisplayPlaneAlphaFlagKHR
  • image_extent::Extent2D
  • next: defaults to C_NULL
  • flags: defaults to 0
source
Vulkan.DrawIndexedIndirectCommandType
DrawIndexedIndirectCommand(index_count::Integer, instance_count::Integer, first_index::Integer, vertex_offset::Integer, first_instance::Integer)

Arguments:

  • index_count::Integer
  • instance_count::Integer
  • first_index::Integer
  • vertex_offset::Integer
  • first_instance::Integer
source
Vulkan.DrawIndirectCommandType
DrawIndirectCommand(vertex_count::Integer, instance_count::Integer, first_vertex::Integer, first_instance::Integer)

Arguments:

  • vertex_count::Integer
  • instance_count::Integer
  • first_vertex::Integer
  • first_instance::Integer
source
Vulkan.EventMethod
Event(device::Device; allocator = C_NULL, next = C_NULL, flags = 0)
Event(device::Device; allocator, next, flags) -> Event
source
Vulkan.ExportFenceWin32HandleInfoKHRType
ExportFenceWin32HandleInfoKHR(dw_access::vk.DWORD, name::vk.LPCWSTR; next = C_NULL, attributes = C_NULL)

Arguments:

  • dw_access::vk.DWORD
  • name::vk.LPCWSTR
  • next: defaults to C_NULL
  • attributes: defaults to C_NULL
source
Vulkan.ExportMemoryWin32HandleInfoKHRType
ExportMemoryWin32HandleInfoKHR(dw_access::vk.DWORD, name::vk.LPCWSTR; next = C_NULL, attributes = C_NULL)

Arguments:

  • dw_access::vk.DWORD
  • name::vk.LPCWSTR
  • next: defaults to C_NULL
  • attributes: defaults to C_NULL
source
Vulkan.ExportMemoryWin32HandleInfoNVType
ExportMemoryWin32HandleInfoNV(; next = C_NULL, attributes = C_NULL, dw_access = 0)

Arguments:

  • next: defaults to C_NULL
  • attributes: defaults to C_NULL
  • dw_access: defaults to 0
source
Vulkan.ExportSemaphoreWin32HandleInfoKHRType
ExportSemaphoreWin32HandleInfoKHR(dw_access::vk.DWORD, name::vk.LPCWSTR; next = C_NULL, attributes = C_NULL)

Arguments:

  • dw_access::vk.DWORD
  • name::vk.LPCWSTR
  • next: defaults to C_NULL
  • attributes: defaults to C_NULL
source
Vulkan.Extent2DType
Extent2D(width::Integer, height::Integer)

Arguments:

  • width::Integer
  • height::Integer
source
Vulkan.Extent3DType
Extent3D(width::Integer, height::Integer, depth::Integer)

Arguments:

  • width::Integer
  • height::Integer
  • depth::Integer
source
Vulkan.ExternalMemoryImageCreateInfoType
ExternalMemoryImageCreateInfo(handle_types::ExternalMemoryHandleTypeFlag; next = C_NULL)

Arguments:

  • handle_types::ExternalMemoryHandleTypeFlag
  • next: defaults to C_NULL
source
Vulkan.FenceMethod
Fence(device::Device; allocator = C_NULL, next = C_NULL, flags = 0)
Fence(device::Device; allocator, next, flags) -> Fence
source
Vulkan.FenceGetFdInfoKHRType
FenceGetFdInfoKHR(fence::Fence, handle_type::ExternalFenceHandleTypeFlag; next = C_NULL)

Arguments:

  • fence::Fence
  • handle_type::ExternalFenceHandleTypeFlag
  • next: defaults to C_NULL
source
Vulkan.FenceGetWin32HandleInfoKHRType
FenceGetWin32HandleInfoKHR(fence::Fence, handle_type::ExternalFenceHandleTypeFlag; next = C_NULL)

Arguments:

  • fence::Fence
  • handle_type::ExternalFenceHandleTypeFlag
  • next: defaults to C_NULL
source
Vulkan.FramebufferMethod
Framebuffer(device::Device, render_pass::RenderPass, attachments::AbstractArray{<:ImageView}, width::Integer, height::Integer, layers::Integer; allocator = C_NULL, next = C_NULL, flags = 0)
source
Vulkan.FramebufferAttachmentImageInfoType
FramebufferAttachmentImageInfo(usage::ImageUsageFlag, width::Integer, height::Integer, layer_count::Integer, view_formats::AbstractArray{<:VkFormat}; next = C_NULL, flags = 0)

Arguments:

  • usage::ImageUsageFlag
  • width::Integer
  • height::Integer
  • layer_count::Integer
  • view_formats::AbstractArray{<:VkFormat}
  • next: defaults to C_NULL
  • flags: defaults to 0
source
Vulkan.FramebufferAttachmentsCreateInfoType
FramebufferAttachmentsCreateInfo(attachment_image_infos::AbstractArray{<:FramebufferAttachmentImageInfo}; next = C_NULL)

Arguments:

  • attachment_image_infos::AbstractArray{<:FramebufferAttachmentImageInfo}
  • next: defaults to C_NULL
source
Vulkan.FramebufferCreateInfoType
FramebufferCreateInfo(render_pass::RenderPass, attachments::AbstractArray{<:ImageView}, width::Integer, height::Integer, layers::Integer; next = C_NULL, flags = 0)

Arguments:

  • render_pass::RenderPass
  • attachments::AbstractArray{<:ImageView}
  • width::Integer
  • height::Integer
  • layers::Integer
  • next: defaults to C_NULL
  • flags: defaults to 0
source
Vulkan.GeneratedCommandsInfoNVType
GeneratedCommandsInfoNV(pipeline_bind_point::VkPipelineBindPoint, pipeline::Pipeline, indirect_commands_layout::IndirectCommandsLayoutNV, streams::AbstractArray{<:IndirectCommandsStreamNV}, sequences_count::Integer, preprocess_buffer::Buffer, preprocess_offset::Integer, preprocess_size::Integer; next = C_NULL, sequences_count_buffer = C_NULL, sequences_count_offset = 0, sequences_index_buffer = C_NULL, sequences_index_offset = 0)

Arguments:

  • pipeline_bind_point::VkPipelineBindPoint
  • pipeline::Pipeline
  • indirect_commands_layout::IndirectCommandsLayoutNV
  • streams::AbstractArray{<:IndirectCommandsStreamNV}
  • sequences_count::Integer
  • preprocess_buffer::Buffer
  • preprocess_offset::Integer
  • preprocess_size::Integer
  • next: defaults to C_NULL
  • sequences_count_buffer: defaults to C_NULL
  • sequences_count_offset: defaults to 0
  • sequences_index_buffer: defaults to C_NULL
  • sequences_index_offset: defaults to 0
source
Vulkan.GeneratedCommandsMemoryRequirementsInfoNVType
GeneratedCommandsMemoryRequirementsInfoNV(pipeline_bind_point::VkPipelineBindPoint, pipeline::Pipeline, indirect_commands_layout::IndirectCommandsLayoutNV, max_sequences_count::Integer; next = C_NULL)

Arguments:

  • pipeline_bind_point::VkPipelineBindPoint
  • pipeline::Pipeline
  • indirect_commands_layout::IndirectCommandsLayoutNV
  • max_sequences_count::Integer
  • next: defaults to C_NULL
source
Vulkan.GeometryAABBNVType
GeometryAABBNV(num_aab_bs::Integer, stride::Integer, offset::Integer; next = C_NULL, aabb_data = C_NULL)

Arguments:

  • num_aab_bs::Integer
  • stride::Integer
  • offset::Integer
  • next: defaults to C_NULL
  • aabb_data: defaults to C_NULL
source
Vulkan.GeometryDataNVType
GeometryDataNV(triangles::GeometryTrianglesNV, aabbs::GeometryAABBNV)

Arguments:

  • triangles::GeometryTrianglesNV
  • aabbs::GeometryAABBNV
source
Vulkan.GeometryNVType
GeometryNV(geometry_type::VkGeometryTypeKHR, geometry::GeometryDataNV; next = C_NULL, flags = 0)

Arguments:

  • geometry_type::VkGeometryTypeKHR
  • geometry::GeometryDataNV
  • next: defaults to C_NULL
  • flags: defaults to 0
source
Vulkan.GeometryTrianglesNVType
GeometryTrianglesNV(vertex_offset::Integer, vertex_count::Integer, vertex_stride::Integer, vertex_format::VkFormat, index_offset::Integer, index_count::Integer, index_type::VkIndexType, transform_offset::Integer; next = C_NULL, vertex_data = C_NULL, index_data = C_NULL, transform_data = C_NULL)

Arguments:

  • vertex_offset::Integer
  • vertex_count::Integer
  • vertex_stride::Integer
  • vertex_format::VkFormat
  • index_offset::Integer
  • index_count::Integer
  • index_type::VkIndexType
  • transform_offset::Integer
  • next: defaults to C_NULL
  • vertex_data: defaults to C_NULL
  • index_data: defaults to C_NULL
  • transform_data: defaults to C_NULL
source
Vulkan.GraphicsPipelineCreateInfoType
GraphicsPipelineCreateInfo(stages::AbstractArray{<:PipelineShaderStageCreateInfo}, rasterization_state::PipelineRasterizationStateCreateInfo, layout::PipelineLayout, render_pass::RenderPass, subpass::Integer, base_pipeline_index::Integer; next = C_NULL, flags = 0, vertex_input_state = C_NULL, input_assembly_state = C_NULL, tessellation_state = C_NULL, viewport_state = C_NULL, multisample_state = C_NULL, depth_stencil_state = C_NULL, color_blend_state = C_NULL, dynamic_state = C_NULL, base_pipeline_handle = C_NULL)

Arguments:

  • stages::AbstractArray{<:PipelineShaderStageCreateInfo}
  • rasterization_state::PipelineRasterizationStateCreateInfo
  • layout::PipelineLayout
  • render_pass::RenderPass
  • subpass::Integer
  • base_pipeline_index::Integer
  • next: defaults to C_NULL
  • flags: defaults to 0
  • vertex_input_state: defaults to C_NULL
  • input_assembly_state: defaults to C_NULL
  • tessellation_state: defaults to C_NULL
  • viewport_state: defaults to C_NULL
  • multisample_state: defaults to C_NULL
  • depth_stencil_state: defaults to C_NULL
  • color_blend_state: defaults to C_NULL
  • dynamic_state: defaults to C_NULL
  • base_pipeline_handle: defaults to C_NULL
source
Vulkan.GraphicsPipelineShaderGroupsCreateInfoNVType
GraphicsPipelineShaderGroupsCreateInfoNV(groups::AbstractArray{<:GraphicsShaderGroupCreateInfoNV}, pipelines::AbstractArray{<:Pipeline}; next = C_NULL)

Arguments:

  • groups::AbstractArray{<:GraphicsShaderGroupCreateInfoNV}
  • pipelines::AbstractArray{<:Pipeline}
  • next: defaults to C_NULL
source
Vulkan.GraphicsShaderGroupCreateInfoNVType
GraphicsShaderGroupCreateInfoNV(stages::AbstractArray{<:PipelineShaderStageCreateInfo}; next = C_NULL, vertex_input_state = C_NULL, tessellation_state = C_NULL)

Arguments:

  • stages::AbstractArray{<:PipelineShaderStageCreateInfo}
  • next: defaults to C_NULL
  • vertex_input_state: defaults to C_NULL
  • tessellation_state: defaults to C_NULL
source
Vulkan.HandleType

Opaque handle referring to internal Vulkan data. Finalizer registration is taken care of by constructors.

abstract type Handle <: VulkanStruct{false}
source
Vulkan.HdrMetadataEXTType
HdrMetadataEXT(display_primary_red::XYColorEXT, display_primary_green::XYColorEXT, display_primary_blue::XYColorEXT, white_point::XYColorEXT, max_luminance::Real, min_luminance::Real, max_content_light_level::Real, max_frame_average_light_level::Real; next = C_NULL)

Arguments:

  • display_primary_red::XYColorEXT
  • display_primary_green::XYColorEXT
  • display_primary_blue::XYColorEXT
  • white_point::XYColorEXT
  • max_luminance::Real
  • min_luminance::Real
  • max_content_light_level::Real
  • max_frame_average_light_level::Real
  • next: defaults to C_NULL
source
Vulkan.IOSSurfaceCreateInfoMVKType
IOSSurfaceCreateInfoMVK(view::Ptr{Cvoid}; next = C_NULL, flags = 0)

Arguments:

  • view::Ptr{Cvoid}
  • next: defaults to C_NULL
  • flags: defaults to 0
source
Vulkan.ImageMethod
Image(device::Device, image_type::VkImageType, format::VkFormat, extent::Extent3D, mip_levels::Integer, array_layers::Integer, samples::SampleCountFlag, tiling::VkImageTiling, usage::ImageUsageFlag, sharing_mode::VkSharingMode, queue_family_indices::AbstractArray{<:Integer}, initial_layout::VkImageLayout; allocator = C_NULL, next = C_NULL, flags = 0)
source
Vulkan.ImageBlitType
ImageBlit(src_subresource::ImageSubresourceLayers, src_offsets::NTuple{2, Offset3D}, dst_subresource::ImageSubresourceLayers, dst_offsets::NTuple{2, Offset3D})

Arguments:

  • src_subresource::ImageSubresourceLayers
  • src_offsets::NTuple{2, Offset3D}
  • dst_subresource::ImageSubresourceLayers
  • dst_offsets::NTuple{2, Offset3D}
source
Vulkan.ImageCopyType
ImageCopy(src_subresource::ImageSubresourceLayers, src_offset::Offset3D, dst_subresource::ImageSubresourceLayers, dst_offset::Offset3D, extent::Extent3D)

Arguments:

  • src_subresource::ImageSubresourceLayers
  • src_offset::Offset3D
  • dst_subresource::ImageSubresourceLayers
  • dst_offset::Offset3D
  • extent::Extent3D
source
Vulkan.ImageCreateInfoType
ImageCreateInfo(image_type::VkImageType, format::VkFormat, extent::Extent3D, mip_levels::Integer, array_layers::Integer, samples::SampleCountFlag, tiling::VkImageTiling, usage::ImageUsageFlag, sharing_mode::VkSharingMode, queue_family_indices::AbstractArray{<:Integer}, initial_layout::VkImageLayout; next = C_NULL, flags = 0)

Arguments:

  • image_type::VkImageType
  • format::VkFormat
  • extent::Extent3D
  • mip_levels::Integer
  • array_layers::Integer
  • samples::SampleCountFlag
  • tiling::VkImageTiling
  • usage::ImageUsageFlag
  • sharing_mode::VkSharingMode
  • queue_family_indices::AbstractArray{<:Integer}
  • initial_layout::VkImageLayout
  • next: defaults to C_NULL
  • flags: defaults to 0
source
Vulkan.ImageDrmFormatModifierExplicitCreateInfoEXTType
ImageDrmFormatModifierExplicitCreateInfoEXT(drm_format_modifier::Integer, plane_layouts::AbstractArray{<:SubresourceLayout}; next = C_NULL)

Arguments:

  • drm_format_modifier::Integer
  • plane_layouts::AbstractArray{<:SubresourceLayout}
  • next: defaults to C_NULL
source
Vulkan.ImageFormatListCreateInfoType
ImageFormatListCreateInfo(view_formats::AbstractArray{<:VkFormat}; next = C_NULL)

Arguments:

  • view_formats::AbstractArray{<:VkFormat}
  • next: defaults to C_NULL
source
Vulkan.ImageMemoryBarrierType
ImageMemoryBarrier(src_access_mask::AccessFlag, dst_access_mask::AccessFlag, old_layout::VkImageLayout, new_layout::VkImageLayout, src_queue_family_index::Integer, dst_queue_family_index::Integer, image::Image, subresource_range::ImageSubresourceRange; next = C_NULL)

Arguments:

  • src_access_mask::AccessFlag
  • dst_access_mask::AccessFlag
  • old_layout::VkImageLayout
  • new_layout::VkImageLayout
  • src_queue_family_index::Integer
  • dst_queue_family_index::Integer
  • image::Image
  • subresource_range::ImageSubresourceRange
  • next: defaults to C_NULL
source
Vulkan.ImagePipeSurfaceCreateInfoFUCHSIAType
ImagePipeSurfaceCreateInfoFUCHSIA(image_pipe_handle::vk.zx_handle_t; next = C_NULL, flags = 0)

Arguments:

  • image_pipe_handle::vk.zx_handle_t
  • next: defaults to C_NULL
  • flags: defaults to 0
source
Vulkan.ImageResolveType
ImageResolve(src_subresource::ImageSubresourceLayers, src_offset::Offset3D, dst_subresource::ImageSubresourceLayers, dst_offset::Offset3D, extent::Extent3D)

Arguments:

  • src_subresource::ImageSubresourceLayers
  • src_offset::Offset3D
  • dst_subresource::ImageSubresourceLayers
  • dst_offset::Offset3D
  • extent::Extent3D
source
Vulkan.ImageSubresourceType
ImageSubresource(aspect_mask::ImageAspectFlag, mip_level::Integer, array_layer::Integer)

Arguments:

  • aspect_mask::ImageAspectFlag
  • mip_level::Integer
  • array_layer::Integer
source
Vulkan.ImageSubresourceLayersType
ImageSubresourceLayers(aspect_mask::ImageAspectFlag, mip_level::Integer, base_array_layer::Integer, layer_count::Integer)

Arguments:

  • aspect_mask::ImageAspectFlag
  • mip_level::Integer
  • base_array_layer::Integer
  • layer_count::Integer
source
Vulkan.ImageSubresourceRangeType
ImageSubresourceRange(aspect_mask::ImageAspectFlag, base_mip_level::Integer, level_count::Integer, base_array_layer::Integer, layer_count::Integer)

Arguments:

  • aspect_mask::ImageAspectFlag
  • base_mip_level::Integer
  • level_count::Integer
  • base_array_layer::Integer
  • layer_count::Integer
source
Vulkan.ImageViewMethod
ImageView(device::Device, image::Image, view_type::VkImageViewType, format::VkFormat, components::ComponentMapping, subresource_range::ImageSubresourceRange; allocator = C_NULL, next = C_NULL, flags = 0)
ImageView(device::Device, image::Image, view_type::VkImageViewType, format::VkFormat, components::ComponentMapping, subresource_range::ImageSubresourceRange; allocator, next, flags) -> ImageView
source
Vulkan.ImageViewCreateInfoType
ImageViewCreateInfo(image::Image, view_type::VkImageViewType, format::VkFormat, components::ComponentMapping, subresource_range::ImageSubresourceRange; next = C_NULL, flags = 0)

Arguments:

  • image::Image
  • view_type::VkImageViewType
  • format::VkFormat
  • components::ComponentMapping
  • subresource_range::ImageSubresourceRange
  • next: defaults to C_NULL
  • flags: defaults to 0
source
Vulkan.ImageViewHandleInfoNVXType
ImageViewHandleInfoNVX(image_view::ImageView, descriptor_type::VkDescriptorType; next = C_NULL, sampler = C_NULL)

Arguments:

  • image_view::ImageView
  • descriptor_type::VkDescriptorType
  • next: defaults to C_NULL
  • sampler: defaults to C_NULL
source
Vulkan.ImportFenceFdInfoKHRType
ImportFenceFdInfoKHR(fence::Fence, handle_type::ExternalFenceHandleTypeFlag, fd::Integer; next = C_NULL, flags = 0)

Arguments:

  • fence::Fence (externsync)
  • handle_type::ExternalFenceHandleTypeFlag
  • fd::Integer
  • next: defaults to C_NULL
  • flags: defaults to 0
source
Vulkan.ImportFenceWin32HandleInfoKHRType
ImportFenceWin32HandleInfoKHR(fence::Fence; next = C_NULL, flags = 0, handle_type = 0, handle = 0, name = 0)

Arguments:

  • fence::Fence (externsync)
  • next: defaults to C_NULL
  • flags: defaults to 0
  • handle_type: defaults to 0
  • handle: defaults to 0
  • name: defaults to 0
source
Vulkan.ImportMemoryFdInfoKHRType
ImportMemoryFdInfoKHR(fd::Integer; next = C_NULL, handle_type = 0)

Arguments:

  • fd::Integer
  • next: defaults to C_NULL
  • handle_type: defaults to 0
source
Vulkan.ImportMemoryHostPointerInfoEXTType
ImportMemoryHostPointerInfoEXT(handle_type::ExternalMemoryHandleTypeFlag, host_pointer::Ptr{Cvoid}; next = C_NULL)

Arguments:

  • handle_type::ExternalMemoryHandleTypeFlag
  • host_pointer::Ptr{Cvoid}
  • next: defaults to C_NULL
source
Vulkan.ImportMemoryWin32HandleInfoKHRType
ImportMemoryWin32HandleInfoKHR(; next = C_NULL, handle_type = 0, handle = 0, name = 0)

Arguments:

  • next: defaults to C_NULL
  • handle_type: defaults to 0
  • handle: defaults to 0
  • name: defaults to 0
source
Vulkan.ImportSemaphoreFdInfoKHRType
ImportSemaphoreFdInfoKHR(semaphore::Semaphore, handle_type::ExternalSemaphoreHandleTypeFlag, fd::Integer; next = C_NULL, flags = 0)

Arguments:

  • semaphore::Semaphore (externsync)
  • handle_type::ExternalSemaphoreHandleTypeFlag
  • fd::Integer
  • next: defaults to C_NULL
  • flags: defaults to 0
source
Vulkan.ImportSemaphoreWin32HandleInfoKHRType
ImportSemaphoreWin32HandleInfoKHR(semaphore::Semaphore; next = C_NULL, flags = 0, handle_type = 0, handle = 0, name = 0)

Arguments:

  • semaphore::Semaphore (externsync)
  • next: defaults to C_NULL
  • flags: defaults to 0
  • handle_type: defaults to 0
  • handle: defaults to 0
  • name: defaults to 0
source
Vulkan.IndirectCommandsLayoutCreateInfoNVType
IndirectCommandsLayoutCreateInfoNV(flags::IndirectCommandsLayoutUsageFlagNV, pipeline_bind_point::VkPipelineBindPoint, tokens::AbstractArray{<:IndirectCommandsLayoutTokenNV}, stream_strides::AbstractArray{<:Integer}; next = C_NULL)

Arguments:

  • flags::IndirectCommandsLayoutUsageFlagNV
  • pipeline_bind_point::VkPipelineBindPoint
  • tokens::AbstractArray{<:IndirectCommandsLayoutTokenNV}
  • stream_strides::AbstractArray{<:Integer}
  • next: defaults to C_NULL
source
Vulkan.IndirectCommandsLayoutNVMethod
IndirectCommandsLayoutNV(device::Device, flags::IndirectCommandsLayoutUsageFlagNV, pipeline_bind_point::VkPipelineBindPoint, tokens::AbstractArray{<:IndirectCommandsLayoutTokenNV}, stream_strides::AbstractArray{<:Integer}; allocator = C_NULL, next = C_NULL)
source
Vulkan.IndirectCommandsLayoutTokenNVType
IndirectCommandsLayoutTokenNV(token_type::VkIndirectCommandsTokenTypeNV, stream::Integer, offset::Integer, vertex_binding_unit::Integer, vertex_dynamic_stride::Bool, pushconstant_offset::Integer, pushconstant_size::Integer, index_types::AbstractArray{<:VkIndexType}, index_type_values::AbstractArray{<:Integer}; next = C_NULL, pushconstant_pipeline_layout = C_NULL, pushconstant_shader_stage_flags = 0, indirect_state_flags = 0)

Arguments:

  • token_type::VkIndirectCommandsTokenTypeNV
  • stream::Integer
  • offset::Integer
  • vertex_binding_unit::Integer
  • vertex_dynamic_stride::Bool
  • pushconstant_offset::Integer
  • pushconstant_size::Integer
  • index_types::AbstractArray{<:VkIndexType}
  • index_type_values::AbstractArray{<:Integer}
  • next: defaults to C_NULL
  • pushconstant_pipeline_layout: defaults to C_NULL
  • pushconstant_shader_stage_flags: defaults to 0
  • indirect_state_flags: defaults to 0
source
Vulkan.InputAttachmentAspectReferenceType
InputAttachmentAspectReference(subpass::Integer, input_attachment_index::Integer, aspect_mask::ImageAspectFlag)

Arguments:

  • subpass::Integer
  • input_attachment_index::Integer
  • aspect_mask::ImageAspectFlag
source
Vulkan.InstanceMethod
Instance(enabled_layer_names::AbstractArray{<:AbstractString}, enabled_extension_names::AbstractArray{<:AbstractString}; allocator = C_NULL, next = C_NULL, flags = 0, application_info = C_NULL)
source
Vulkan.InstanceCreateInfoType
InstanceCreateInfo(enabled_layer_names::AbstractArray{<:AbstractString}, enabled_extension_names::AbstractArray{<:AbstractString}; next = C_NULL, flags = 0, application_info = C_NULL)

Arguments:

  • enabled_layer_names::AbstractArray{<:AbstractString}
  • enabled_extension_names::AbstractArray{<:AbstractString}
  • next: defaults to C_NULL
  • flags: defaults to 0
  • application_info: defaults to C_NULL
source
Vulkan.MappedMemoryRangeType
MappedMemoryRange(memory::DeviceMemory, offset::Integer, size::Integer; next = C_NULL)

Arguments:

  • memory::DeviceMemory
  • offset::Integer
  • size::Integer
  • next: defaults to C_NULL
source
Vulkan.MemoryAllocateFlagsInfoType
MemoryAllocateFlagsInfo(device_mask::Integer; next = C_NULL, flags = 0)

Arguments:

  • device_mask::Integer
  • next: defaults to C_NULL
  • flags: defaults to 0
source
Vulkan.MemoryAllocateInfoType
MemoryAllocateInfo(allocation_size::Integer, memory_type_index::Integer; next = C_NULL)

Arguments:

  • allocation_size::Integer
  • memory_type_index::Integer
  • next: defaults to C_NULL
source
Vulkan.MemoryBarrierType
MemoryBarrier(; next = C_NULL, src_access_mask = 0, dst_access_mask = 0)

Arguments:

  • next: defaults to C_NULL
  • src_access_mask: defaults to 0
  • dst_access_mask: defaults to 0
source
Vulkan.MemoryDedicatedAllocateInfoType
MemoryDedicatedAllocateInfo(; next = C_NULL, image = C_NULL, buffer = C_NULL)

Arguments:

  • next: defaults to C_NULL
  • image: defaults to C_NULL
  • buffer: defaults to C_NULL
source
Vulkan.MemoryGetFdInfoKHRType
MemoryGetFdInfoKHR(memory::DeviceMemory, handle_type::ExternalMemoryHandleTypeFlag; next = C_NULL)

Arguments:

  • memory::DeviceMemory
  • handle_type::ExternalMemoryHandleTypeFlag
  • next: defaults to C_NULL
source
Vulkan.MemoryGetWin32HandleInfoKHRType
MemoryGetWin32HandleInfoKHR(memory::DeviceMemory, handle_type::ExternalMemoryHandleTypeFlag; next = C_NULL)

Arguments:

  • memory::DeviceMemory
  • handle_type::ExternalMemoryHandleTypeFlag
  • next: defaults to C_NULL
source
Vulkan.MetalSurfaceCreateInfoEXTType
MetalSurfaceCreateInfoEXT(layer::vk.CAMetalLayer; next = C_NULL, flags = 0)

Arguments:

  • layer::vk.CAMetalLayer
  • next: defaults to C_NULL
  • flags: defaults to 0
source
Vulkan.Offset3DType
Offset3D(x::Integer, y::Integer, z::Integer)

Arguments:

  • x::Integer
  • y::Integer
  • z::Integer
source
Vulkan.PerformanceOverrideInfoINTELType
PerformanceOverrideInfoINTEL(type::VkPerformanceOverrideTypeINTEL, enable::Bool, parameter::Integer; next = C_NULL)

Arguments:

  • type::VkPerformanceOverrideTypeINTEL
  • enable::Bool
  • parameter::Integer
  • next: defaults to C_NULL
source
Vulkan.PerformanceValueINTELType
PerformanceValueINTEL(type::VkPerformanceValueTypeINTEL, data::VkPerformanceValueDataINTEL)

Arguments:

  • type::VkPerformanceValueTypeINTEL
  • data::VkPerformanceValueDataINTEL
source
Vulkan.PhysicalDevice16BitStorageFeaturesType
PhysicalDevice16BitStorageFeatures(storage_buffer_16_bit_access::Bool, uniform_and_storage_buffer_16_bit_access::Bool, storage_push_constant_16::Bool, storage_input_output_16::Bool; next = C_NULL)

Arguments:

  • storage_buffer_16_bit_access::Bool
  • uniform_and_storage_buffer_16_bit_access::Bool
  • storage_push_constant_16::Bool
  • storage_input_output_16::Bool
  • next: defaults to C_NULL
source
Vulkan.PhysicalDevice8BitStorageFeaturesType
PhysicalDevice8BitStorageFeatures(storage_buffer_8_bit_access::Bool, uniform_and_storage_buffer_8_bit_access::Bool, storage_push_constant_8::Bool; next = C_NULL)

Arguments:

  • storage_buffer_8_bit_access::Bool
  • uniform_and_storage_buffer_8_bit_access::Bool
  • storage_push_constant_8::Bool
  • next: defaults to C_NULL
source
Vulkan.PhysicalDeviceBufferDeviceAddressFeaturesType
PhysicalDeviceBufferDeviceAddressFeatures(buffer_device_address::Bool, buffer_device_address_capture_replay::Bool, buffer_device_address_multi_device::Bool; next = C_NULL)

Arguments:

  • buffer_device_address::Bool
  • buffer_device_address_capture_replay::Bool
  • buffer_device_address_multi_device::Bool
  • next: defaults to C_NULL
source
Vulkan.PhysicalDeviceBufferDeviceAddressFeaturesEXTType
PhysicalDeviceBufferDeviceAddressFeaturesEXT(buffer_device_address::Bool, buffer_device_address_capture_replay::Bool, buffer_device_address_multi_device::Bool; next = C_NULL)

Arguments:

  • buffer_device_address::Bool
  • buffer_device_address_capture_replay::Bool
  • buffer_device_address_multi_device::Bool
  • next: defaults to C_NULL
source
Vulkan.PhysicalDeviceComputeShaderDerivativesFeaturesNVType
PhysicalDeviceComputeShaderDerivativesFeaturesNV(compute_derivative_group_quads::Bool, compute_derivative_group_linear::Bool; next = C_NULL)

Arguments:

  • compute_derivative_group_quads::Bool
  • compute_derivative_group_linear::Bool
  • next: defaults to C_NULL
source
Vulkan.PhysicalDeviceConditionalRenderingFeaturesEXTType
PhysicalDeviceConditionalRenderingFeaturesEXT(conditional_rendering::Bool, inherited_conditional_rendering::Bool; next = C_NULL)

Arguments:

  • conditional_rendering::Bool
  • inherited_conditional_rendering::Bool
  • next: defaults to C_NULL
source
Vulkan.PhysicalDeviceCooperativeMatrixFeaturesNVType
PhysicalDeviceCooperativeMatrixFeaturesNV(cooperative_matrix::Bool, cooperative_matrix_robust_buffer_access::Bool; next = C_NULL)

Arguments:

  • cooperative_matrix::Bool
  • cooperative_matrix_robust_buffer_access::Bool
  • next: defaults to C_NULL
source
Vulkan.PhysicalDeviceCustomBorderColorFeaturesEXTType
PhysicalDeviceCustomBorderColorFeaturesEXT(custom_border_colors::Bool, custom_border_color_without_format::Bool; next = C_NULL)

Arguments:

  • custom_border_colors::Bool
  • custom_border_color_without_format::Bool
  • next: defaults to C_NULL
source
Vulkan.PhysicalDeviceDescriptorIndexingFeaturesType
PhysicalDeviceDescriptorIndexingFeatures(shader_input_attachment_array_dynamic_indexing::Bool, shader_uniform_texel_buffer_array_dynamic_indexing::Bool, shader_storage_texel_buffer_array_dynamic_indexing::Bool, shader_uniform_buffer_array_non_uniform_indexing::Bool, shader_sampled_image_array_non_uniform_indexing::Bool, shader_storage_buffer_array_non_uniform_indexing::Bool, shader_storage_image_array_non_uniform_indexing::Bool, shader_input_attachment_array_non_uniform_indexing::Bool, shader_uniform_texel_buffer_array_non_uniform_indexing::Bool, shader_storage_texel_buffer_array_non_uniform_indexing::Bool, descriptor_binding_uniform_buffer_update_after_bind::Bool, descriptor_binding_sampled_image_update_after_bind::Bool, descriptor_binding_storage_image_update_after_bind::Bool, descriptor_binding_storage_buffer_update_after_bind::Bool, descriptor_binding_uniform_texel_buffer_update_after_bind::Bool, descriptor_binding_storage_texel_buffer_update_after_bind::Bool, descriptor_binding_update_unused_while_pending::Bool, descriptor_binding_partially_bound::Bool, descriptor_binding_variable_descriptor_count::Bool, runtime_descriptor_array::Bool; next = C_NULL)

Arguments:

  • shader_input_attachment_array_dynamic_indexing::Bool
  • shader_uniform_texel_buffer_array_dynamic_indexing::Bool
  • shader_storage_texel_buffer_array_dynamic_indexing::Bool
  • shader_uniform_buffer_array_non_uniform_indexing::Bool
  • shader_sampled_image_array_non_uniform_indexing::Bool
  • shader_storage_buffer_array_non_uniform_indexing::Bool
  • shader_storage_image_array_non_uniform_indexing::Bool
  • shader_input_attachment_array_non_uniform_indexing::Bool
  • shader_uniform_texel_buffer_array_non_uniform_indexing::Bool
  • shader_storage_texel_buffer_array_non_uniform_indexing::Bool
  • descriptor_binding_uniform_buffer_update_after_bind::Bool
  • descriptor_binding_sampled_image_update_after_bind::Bool
  • descriptor_binding_storage_image_update_after_bind::Bool
  • descriptor_binding_storage_buffer_update_after_bind::Bool
  • descriptor_binding_uniform_texel_buffer_update_after_bind::Bool
  • descriptor_binding_storage_texel_buffer_update_after_bind::Bool
  • descriptor_binding_update_unused_while_pending::Bool
  • descriptor_binding_partially_bound::Bool
  • descriptor_binding_variable_descriptor_count::Bool
  • runtime_descriptor_array::Bool
  • next: defaults to C_NULL
source
Vulkan.PhysicalDeviceExternalBufferInfoType
PhysicalDeviceExternalBufferInfo(usage::BufferUsageFlag, handle_type::ExternalMemoryHandleTypeFlag; next = C_NULL, flags = 0)

Arguments:

  • usage::BufferUsageFlag
  • handle_type::ExternalMemoryHandleTypeFlag
  • next: defaults to C_NULL
  • flags: defaults to 0
source
Vulkan.PhysicalDeviceFeaturesType
PhysicalDeviceFeatures(robust_buffer_access::Bool, full_draw_index_uint_32::Bool, image_cube_array::Bool, independent_blend::Bool, geometry_shader::Bool, tessellation_shader::Bool, sample_rate_shading::Bool, dual_src_blend::Bool, logic_op::Bool, multi_draw_indirect::Bool, draw_indirect_first_instance::Bool, depth_clamp::Bool, depth_bias_clamp::Bool, fill_mode_non_solid::Bool, depth_bounds::Bool, wide_lines::Bool, large_points::Bool, alpha_to_one::Bool, multi_viewport::Bool, sampler_anisotropy::Bool, texture_compression_etc_2::Bool, texture_compression_astc_ldr::Bool, texture_compression_bc::Bool, occlusion_query_precise::Bool, pipeline_statistics_query::Bool, vertex_pipeline_stores_and_atomics::Bool, fragment_stores_and_atomics::Bool, shader_tessellation_and_geometry_point_size::Bool, shader_image_gather_extended::Bool, shader_storage_image_extended_formats::Bool, shader_storage_image_multisample::Bool, shader_storage_image_read_without_format::Bool, shader_storage_image_write_without_format::Bool, shader_uniform_buffer_array_dynamic_indexing::Bool, shader_sampled_image_array_dynamic_indexing::Bool, shader_storage_buffer_array_dynamic_indexing::Bool, shader_storage_image_array_dynamic_indexing::Bool, shader_clip_distance::Bool, shader_cull_distance::Bool, shader_float_64::Bool, shader_int_64::Bool, shader_int_16::Bool, shader_resource_residency::Bool, shader_resource_min_lod::Bool, sparse_binding::Bool, sparse_residency_buffer::Bool, sparse_residency_image_2_d::Bool, sparse_residency_image_3_d::Bool, sparse_residency_2_samples::Bool, sparse_residency_4_samples::Bool, sparse_residency_8_samples::Bool, sparse_residency_16_samples::Bool, sparse_residency_aliased::Bool, variable_multisample_rate::Bool, inherited_queries::Bool)

Arguments:

  • robust_buffer_access::Bool
  • full_draw_index_uint_32::Bool
  • image_cube_array::Bool
  • independent_blend::Bool
  • geometry_shader::Bool
  • tessellation_shader::Bool
  • sample_rate_shading::Bool
  • dual_src_blend::Bool
  • logic_op::Bool
  • multi_draw_indirect::Bool
  • draw_indirect_first_instance::Bool
  • depth_clamp::Bool
  • depth_bias_clamp::Bool
  • fill_mode_non_solid::Bool
  • depth_bounds::Bool
  • wide_lines::Bool
  • large_points::Bool
  • alpha_to_one::Bool
  • multi_viewport::Bool
  • sampler_anisotropy::Bool
  • texture_compression_etc_2::Bool
  • texture_compression_astc_ldr::Bool
  • texture_compression_bc::Bool
  • occlusion_query_precise::Bool
  • pipeline_statistics_query::Bool
  • vertex_pipeline_stores_and_atomics::Bool
  • fragment_stores_and_atomics::Bool
  • shader_tessellation_and_geometry_point_size::Bool
  • shader_image_gather_extended::Bool
  • shader_storage_image_extended_formats::Bool
  • shader_storage_image_multisample::Bool
  • shader_storage_image_read_without_format::Bool
  • shader_storage_image_write_without_format::Bool
  • shader_uniform_buffer_array_dynamic_indexing::Bool
  • shader_sampled_image_array_dynamic_indexing::Bool
  • shader_storage_buffer_array_dynamic_indexing::Bool
  • shader_storage_image_array_dynamic_indexing::Bool
  • shader_clip_distance::Bool
  • shader_cull_distance::Bool
  • shader_float_64::Bool
  • shader_int_64::Bool
  • shader_int_16::Bool
  • shader_resource_residency::Bool
  • shader_resource_min_lod::Bool
  • sparse_binding::Bool
  • sparse_residency_buffer::Bool
  • sparse_residency_image_2_d::Bool
  • sparse_residency_image_3_d::Bool
  • sparse_residency_2_samples::Bool
  • sparse_residency_4_samples::Bool
  • sparse_residency_8_samples::Bool
  • sparse_residency_16_samples::Bool
  • sparse_residency_aliased::Bool
  • variable_multisample_rate::Bool
  • inherited_queries::Bool
source
Vulkan.PhysicalDeviceFeaturesMethod

Return a PhysicalDeviceFeatures object with the fields present in features set to true.

julia> PhysicalDeviceFeatures([])
PhysicalDeviceFeatures()

julia> PhysicalDeviceFeatures([:wideLines, :sparseBinding])
PhysicalDeviceFeatures(wideLines, sparseBinding)
PhysicalDeviceFeatures(features::AbstractArray) -> Any
source
Vulkan.PhysicalDeviceFeatures2Type
PhysicalDeviceFeatures2(features::PhysicalDeviceFeatures; next = C_NULL)

Arguments:

  • features::PhysicalDeviceFeatures
  • next: defaults to C_NULL
source
Vulkan.PhysicalDeviceFragmentDensityMapFeaturesEXTType
PhysicalDeviceFragmentDensityMapFeaturesEXT(fragment_density_map::Bool, fragment_density_map_dynamic::Bool, fragment_density_map_non_subsampled_images::Bool; next = C_NULL)

Arguments:

  • fragment_density_map::Bool
  • fragment_density_map_dynamic::Bool
  • fragment_density_map_non_subsampled_images::Bool
  • next: defaults to C_NULL
source
Vulkan.PhysicalDeviceFragmentShaderInterlockFeaturesEXTType
PhysicalDeviceFragmentShaderInterlockFeaturesEXT(fragment_shader_sample_interlock::Bool, fragment_shader_pixel_interlock::Bool, fragment_shader_shading_rate_interlock::Bool; next = C_NULL)

Arguments:

  • fragment_shader_sample_interlock::Bool
  • fragment_shader_pixel_interlock::Bool
  • fragment_shader_shading_rate_interlock::Bool
  • next: defaults to C_NULL
source
Vulkan.PhysicalDeviceImageDrmFormatModifierInfoEXTType
PhysicalDeviceImageDrmFormatModifierInfoEXT(drm_format_modifier::Integer, sharing_mode::VkSharingMode, queue_family_indices::AbstractArray{<:Integer}; next = C_NULL)

Arguments:

  • drm_format_modifier::Integer
  • sharing_mode::VkSharingMode
  • queue_family_indices::AbstractArray{<:Integer}
  • next: defaults to C_NULL
source
Vulkan.PhysicalDeviceImageFormatInfo2Type
PhysicalDeviceImageFormatInfo2(format::VkFormat, type::VkImageType, tiling::VkImageTiling, usage::ImageUsageFlag; next = C_NULL, flags = 0)

Arguments:

  • format::VkFormat
  • type::VkImageType
  • tiling::VkImageTiling
  • usage::ImageUsageFlag
  • next: defaults to C_NULL
  • flags: defaults to 0
source
Vulkan.PhysicalDeviceInlineUniformBlockFeaturesEXTType
PhysicalDeviceInlineUniformBlockFeaturesEXT(inline_uniform_block::Bool, descriptor_binding_inline_uniform_block_update_after_bind::Bool; next = C_NULL)

Arguments:

  • inline_uniform_block::Bool
  • descriptor_binding_inline_uniform_block_update_after_bind::Bool
  • next: defaults to C_NULL
source
Vulkan.PhysicalDeviceLineRasterizationFeaturesEXTType
PhysicalDeviceLineRasterizationFeaturesEXT(rectangular_lines::Bool, bresenham_lines::Bool, smooth_lines::Bool, stippled_rectangular_lines::Bool, stippled_bresenham_lines::Bool, stippled_smooth_lines::Bool; next = C_NULL)

Arguments:

  • rectangular_lines::Bool
  • bresenham_lines::Bool
  • smooth_lines::Bool
  • stippled_rectangular_lines::Bool
  • stippled_bresenham_lines::Bool
  • stippled_smooth_lines::Bool
  • next: defaults to C_NULL
source
Vulkan.PhysicalDeviceMultiviewFeaturesType
PhysicalDeviceMultiviewFeatures(multiview::Bool, multiview_geometry_shader::Bool, multiview_tessellation_shader::Bool; next = C_NULL)

Arguments:

  • multiview::Bool
  • multiview_geometry_shader::Bool
  • multiview_tessellation_shader::Bool
  • next: defaults to C_NULL
source
Vulkan.PhysicalDevicePerformanceQueryFeaturesKHRType
PhysicalDevicePerformanceQueryFeaturesKHR(performance_counter_query_pools::Bool, performance_counter_multiple_query_pools::Bool; next = C_NULL)

Arguments:

  • performance_counter_query_pools::Bool
  • performance_counter_multiple_query_pools::Bool
  • next: defaults to C_NULL
source
Vulkan.PhysicalDeviceRayTracingFeaturesKHRType
PhysicalDeviceRayTracingFeaturesKHR(ray_tracing::Bool, ray_tracing_shader_group_handle_capture_replay::Bool, ray_tracing_shader_group_handle_capture_replay_mixed::Bool, ray_tracing_acceleration_structure_capture_replay::Bool, ray_tracing_indirect_trace_rays::Bool, ray_tracing_indirect_acceleration_structure_build::Bool, ray_tracing_host_acceleration_structure_commands::Bool, ray_query::Bool, ray_tracing_primitive_culling::Bool; next = C_NULL)

Arguments:

  • ray_tracing::Bool
  • ray_tracing_shader_group_handle_capture_replay::Bool
  • ray_tracing_shader_group_handle_capture_replay_mixed::Bool
  • ray_tracing_acceleration_structure_capture_replay::Bool
  • ray_tracing_indirect_trace_rays::Bool
  • ray_tracing_indirect_acceleration_structure_build::Bool
  • ray_tracing_host_acceleration_structure_commands::Bool
  • ray_query::Bool
  • ray_tracing_primitive_culling::Bool
  • next: defaults to C_NULL
source
Vulkan.PhysicalDeviceRobustness2FeaturesEXTType
PhysicalDeviceRobustness2FeaturesEXT(robust_buffer_access_2::Bool, robust_image_access_2::Bool, null_descriptor::Bool; next = C_NULL)

Arguments:

  • robust_buffer_access_2::Bool
  • robust_image_access_2::Bool
  • null_descriptor::Bool
  • next: defaults to C_NULL
source
Vulkan.PhysicalDeviceShaderAtomicFloatFeaturesEXTType
PhysicalDeviceShaderAtomicFloatFeaturesEXT(shader_buffer_float_32_atomics::Bool, shader_buffer_float_32_atomic_add::Bool, shader_buffer_float_64_atomics::Bool, shader_buffer_float_64_atomic_add::Bool, shader_shared_float_32_atomics::Bool, shader_shared_float_32_atomic_add::Bool, shader_shared_float_64_atomics::Bool, shader_shared_float_64_atomic_add::Bool, shader_image_float_32_atomics::Bool, shader_image_float_32_atomic_add::Bool, sparse_image_float_32_atomics::Bool, sparse_image_float_32_atomic_add::Bool; next = C_NULL)

Arguments:

  • shader_buffer_float_32_atomics::Bool
  • shader_buffer_float_32_atomic_add::Bool
  • shader_buffer_float_64_atomics::Bool
  • shader_buffer_float_64_atomic_add::Bool
  • shader_shared_float_32_atomics::Bool
  • shader_shared_float_32_atomic_add::Bool
  • shader_shared_float_64_atomics::Bool
  • shader_shared_float_64_atomic_add::Bool
  • shader_image_float_32_atomics::Bool
  • shader_image_float_32_atomic_add::Bool
  • sparse_image_float_32_atomics::Bool
  • sparse_image_float_32_atomic_add::Bool
  • next: defaults to C_NULL
source
Vulkan.PhysicalDeviceShaderAtomicInt64FeaturesType
PhysicalDeviceShaderAtomicInt64Features(shader_buffer_int_64_atomics::Bool, shader_shared_int_64_atomics::Bool; next = C_NULL)

Arguments:

  • shader_buffer_int_64_atomics::Bool
  • shader_shared_int_64_atomics::Bool
  • next: defaults to C_NULL
source
Vulkan.PhysicalDeviceShaderClockFeaturesKHRType
PhysicalDeviceShaderClockFeaturesKHR(shader_subgroup_clock::Bool, shader_device_clock::Bool; next = C_NULL)

Arguments:

  • shader_subgroup_clock::Bool
  • shader_device_clock::Bool
  • next: defaults to C_NULL
source
Vulkan.PhysicalDeviceShadingRateImageFeaturesNVType
PhysicalDeviceShadingRateImageFeaturesNV(shading_rate_image::Bool, shading_rate_coarse_sample_order::Bool; next = C_NULL)

Arguments:

  • shading_rate_image::Bool
  • shading_rate_coarse_sample_order::Bool
  • next: defaults to C_NULL
source
Vulkan.PhysicalDeviceSparseImageFormatInfo2Type
PhysicalDeviceSparseImageFormatInfo2(format::VkFormat, type::VkImageType, samples::SampleCountFlag, usage::ImageUsageFlag, tiling::VkImageTiling; next = C_NULL)

Arguments:

  • format::VkFormat
  • type::VkImageType
  • samples::SampleCountFlag
  • usage::ImageUsageFlag
  • tiling::VkImageTiling
  • next: defaults to C_NULL
source
Vulkan.PhysicalDeviceVariablePointersFeaturesType
PhysicalDeviceVariablePointersFeatures(variable_pointers_storage_buffer::Bool, variable_pointers::Bool; next = C_NULL)

Arguments:

  • variable_pointers_storage_buffer::Bool
  • variable_pointers::Bool
  • next: defaults to C_NULL
source
Vulkan.PhysicalDeviceVertexAttributeDivisorFeaturesEXTType
PhysicalDeviceVertexAttributeDivisorFeaturesEXT(vertex_attribute_instance_rate_divisor::Bool, vertex_attribute_instance_rate_zero_divisor::Bool; next = C_NULL)

Arguments:

  • vertex_attribute_instance_rate_divisor::Bool
  • vertex_attribute_instance_rate_zero_divisor::Bool
  • next: defaults to C_NULL
source
Vulkan.PhysicalDeviceVulkan11FeaturesType
PhysicalDeviceVulkan11Features(storage_buffer_16_bit_access::Bool, uniform_and_storage_buffer_16_bit_access::Bool, storage_push_constant_16::Bool, storage_input_output_16::Bool, multiview::Bool, multiview_geometry_shader::Bool, multiview_tessellation_shader::Bool, variable_pointers_storage_buffer::Bool, variable_pointers::Bool, protected_memory::Bool, sampler_ycbcr_conversion::VersionNumber, shader_draw_parameters::Bool; next = C_NULL)

Arguments:

  • storage_buffer_16_bit_access::Bool
  • uniform_and_storage_buffer_16_bit_access::Bool
  • storage_push_constant_16::Bool
  • storage_input_output_16::Bool
  • multiview::Bool
  • multiview_geometry_shader::Bool
  • multiview_tessellation_shader::Bool
  • variable_pointers_storage_buffer::Bool
  • variable_pointers::Bool
  • protected_memory::Bool
  • sampler_ycbcr_conversion::VersionNumber
  • shader_draw_parameters::Bool
  • next: defaults to C_NULL
source
Vulkan.PhysicalDeviceVulkan12FeaturesType
PhysicalDeviceVulkan12Features(sampler_mirror_clamp_to_edge::Bool, draw_indirect_count::Bool, storage_buffer_8_bit_access::Bool, uniform_and_storage_buffer_8_bit_access::Bool, storage_push_constant_8::Bool, shader_buffer_int_64_atomics::Bool, shader_shared_int_64_atomics::Bool, shader_float_16::Bool, shader_int_8::Bool, descriptor_indexing::Bool, shader_input_attachment_array_dynamic_indexing::Bool, shader_uniform_texel_buffer_array_dynamic_indexing::Bool, shader_storage_texel_buffer_array_dynamic_indexing::Bool, shader_uniform_buffer_array_non_uniform_indexing::Bool, shader_sampled_image_array_non_uniform_indexing::Bool, shader_storage_buffer_array_non_uniform_indexing::Bool, shader_storage_image_array_non_uniform_indexing::Bool, shader_input_attachment_array_non_uniform_indexing::Bool, shader_uniform_texel_buffer_array_non_uniform_indexing::Bool, shader_storage_texel_buffer_array_non_uniform_indexing::Bool, descriptor_binding_uniform_buffer_update_after_bind::Bool, descriptor_binding_sampled_image_update_after_bind::Bool, descriptor_binding_storage_image_update_after_bind::Bool, descriptor_binding_storage_buffer_update_after_bind::Bool, descriptor_binding_uniform_texel_buffer_update_after_bind::Bool, descriptor_binding_storage_texel_buffer_update_after_bind::Bool, descriptor_binding_update_unused_while_pending::Bool, descriptor_binding_partially_bound::Bool, descriptor_binding_variable_descriptor_count::Bool, runtime_descriptor_array::Bool, sampler_filter_minmax::Bool, scalar_block_layout::Bool, imageless_framebuffer::Bool, uniform_buffer_standard_layout::Bool, shader_subgroup_extended_types::Bool, separate_depth_stencil_layouts::Bool, host_query_reset::Bool, timeline_semaphore::Bool, buffer_device_address::Bool, buffer_device_address_capture_replay::Bool, buffer_device_address_multi_device::Bool, vulkan_memory_model::Bool, vulkan_memory_model_device_scope::Bool, vulkan_memory_model_availability_visibility_chains::Bool, shader_output_viewport_index::Bool, shader_output_layer::Bool, subgroup_broadcast_dynamic_id::Bool; next = C_NULL)

Arguments:

  • sampler_mirror_clamp_to_edge::Bool
  • draw_indirect_count::Bool
  • storage_buffer_8_bit_access::Bool
  • uniform_and_storage_buffer_8_bit_access::Bool
  • storage_push_constant_8::Bool
  • shader_buffer_int_64_atomics::Bool
  • shader_shared_int_64_atomics::Bool
  • shader_float_16::Bool
  • shader_int_8::Bool
  • descriptor_indexing::Bool
  • shader_input_attachment_array_dynamic_indexing::Bool
  • shader_uniform_texel_buffer_array_dynamic_indexing::Bool
  • shader_storage_texel_buffer_array_dynamic_indexing::Bool
  • shader_uniform_buffer_array_non_uniform_indexing::Bool
  • shader_sampled_image_array_non_uniform_indexing::Bool
  • shader_storage_buffer_array_non_uniform_indexing::Bool
  • shader_storage_image_array_non_uniform_indexing::Bool
  • shader_input_attachment_array_non_uniform_indexing::Bool
  • shader_uniform_texel_buffer_array_non_uniform_indexing::Bool
  • shader_storage_texel_buffer_array_non_uniform_indexing::Bool
  • descriptor_binding_uniform_buffer_update_after_bind::Bool
  • descriptor_binding_sampled_image_update_after_bind::Bool
  • descriptor_binding_storage_image_update_after_bind::Bool
  • descriptor_binding_storage_buffer_update_after_bind::Bool
  • descriptor_binding_uniform_texel_buffer_update_after_bind::Bool
  • descriptor_binding_storage_texel_buffer_update_after_bind::Bool
  • descriptor_binding_update_unused_while_pending::Bool
  • descriptor_binding_partially_bound::Bool
  • descriptor_binding_variable_descriptor_count::Bool
  • runtime_descriptor_array::Bool
  • sampler_filter_minmax::Bool
  • scalar_block_layout::Bool
  • imageless_framebuffer::Bool
  • uniform_buffer_standard_layout::Bool
  • shader_subgroup_extended_types::Bool
  • separate_depth_stencil_layouts::Bool
  • host_query_reset::Bool
  • timeline_semaphore::Bool
  • buffer_device_address::Bool
  • buffer_device_address_capture_replay::Bool
  • buffer_device_address_multi_device::Bool
  • vulkan_memory_model::Bool
  • vulkan_memory_model_device_scope::Bool
  • vulkan_memory_model_availability_visibility_chains::Bool
  • shader_output_viewport_index::Bool
  • shader_output_layer::Bool
  • subgroup_broadcast_dynamic_id::Bool
  • next: defaults to C_NULL
source
Vulkan.PhysicalDeviceVulkanMemoryModelFeaturesType
PhysicalDeviceVulkanMemoryModelFeatures(vulkan_memory_model::Bool, vulkan_memory_model_device_scope::Bool, vulkan_memory_model_availability_visibility_chains::Bool; next = C_NULL)

Arguments:

  • vulkan_memory_model::Bool
  • vulkan_memory_model_device_scope::Bool
  • vulkan_memory_model_availability_visibility_chains::Bool
  • next: defaults to C_NULL
source
Vulkan.PipelineCacheMethod
PipelineCache(device::Device, initial_data::Ptr{Cvoid}; allocator = C_NULL, next = C_NULL, flags = 0, initial_data_size = 0)
PipelineCache(device::Device, initial_data::Ptr{Nothing}; allocator, next, flags, initial_data_size) -> PipelineCache
source
Vulkan.PipelineCacheCreateInfoType
PipelineCacheCreateInfo(initial_data::Ptr{Cvoid}; next = C_NULL, flags = 0, initial_data_size = 0)

Arguments:

  • initial_data::Ptr{Cvoid}
  • next: defaults to C_NULL
  • flags: defaults to 0
  • initial_data_size: defaults to 0
source
Vulkan.PipelineColorBlendAdvancedStateCreateInfoEXTType
PipelineColorBlendAdvancedStateCreateInfoEXT(src_premultiplied::Bool, dst_premultiplied::Bool, blend_overlap::VkBlendOverlapEXT; next = C_NULL)

Arguments:

  • src_premultiplied::Bool
  • dst_premultiplied::Bool
  • blend_overlap::VkBlendOverlapEXT
  • next: defaults to C_NULL
source
Vulkan.PipelineColorBlendAttachmentStateType
PipelineColorBlendAttachmentState(blend_enable::Bool, src_color_blend_factor::VkBlendFactor, dst_color_blend_factor::VkBlendFactor, color_blend_op::VkBlendOp, src_alpha_blend_factor::VkBlendFactor, dst_alpha_blend_factor::VkBlendFactor, alpha_blend_op::VkBlendOp; color_write_mask = 0)

Arguments:

  • blend_enable::Bool
  • src_color_blend_factor::VkBlendFactor
  • dst_color_blend_factor::VkBlendFactor
  • color_blend_op::VkBlendOp
  • src_alpha_blend_factor::VkBlendFactor
  • dst_alpha_blend_factor::VkBlendFactor
  • alpha_blend_op::VkBlendOp
  • color_write_mask: defaults to 0
source
Vulkan.PipelineColorBlendStateCreateInfoType
PipelineColorBlendStateCreateInfo(logic_op_enable::Bool, logic_op::VkLogicOp, attachments::AbstractArray{<:PipelineColorBlendAttachmentState}, blend_constants::NTuple{4, Float32}; next = C_NULL, flags = 0)

Arguments:

  • logic_op_enable::Bool
  • logic_op::VkLogicOp
  • attachments::AbstractArray{<:PipelineColorBlendAttachmentState}
  • blend_constants::NTuple{4, Float32}
  • next: defaults to C_NULL
  • flags: defaults to 0
source
Vulkan.PipelineCoverageModulationStateCreateInfoNVType
PipelineCoverageModulationStateCreateInfoNV(coverage_modulation_mode::VkCoverageModulationModeNV, coverage_modulation_table_enable::Bool; next = C_NULL, flags = 0, coverage_modulation_table = C_NULL)

Arguments:

  • coverage_modulation_mode::VkCoverageModulationModeNV
  • coverage_modulation_table_enable::Bool
  • next: defaults to C_NULL
  • flags: defaults to 0
  • coverage_modulation_table: defaults to C_NULL
source
Vulkan.PipelineCoverageReductionStateCreateInfoNVType
PipelineCoverageReductionStateCreateInfoNV(coverage_reduction_mode::VkCoverageReductionModeNV; next = C_NULL, flags = 0)

Arguments:

  • coverage_reduction_mode::VkCoverageReductionModeNV
  • next: defaults to C_NULL
  • flags: defaults to 0
source
Vulkan.PipelineCoverageToColorStateCreateInfoNVType
PipelineCoverageToColorStateCreateInfoNV(coverage_to_color_enable::Bool; next = C_NULL, flags = 0, coverage_to_color_location = 0)

Arguments:

  • coverage_to_color_enable::Bool
  • next: defaults to C_NULL
  • flags: defaults to 0
  • coverage_to_color_location: defaults to 0
source
Vulkan.PipelineCreationFeedbackCreateInfoEXTType
PipelineCreationFeedbackCreateInfoEXT(pipeline_creation_feedback::PipelineCreationFeedbackEXT, pipeline_stage_creation_feedbacks::AbstractArray{<:PipelineCreationFeedbackEXT}; next = C_NULL)

Arguments:

  • pipeline_creation_feedback::PipelineCreationFeedbackEXT
  • pipeline_stage_creation_feedbacks::AbstractArray{<:PipelineCreationFeedbackEXT}
  • next: defaults to C_NULL
source
Vulkan.PipelineDepthStencilStateCreateInfoType
PipelineDepthStencilStateCreateInfo(depth_test_enable::Bool, depth_write_enable::Bool, depth_compare_op::VkCompareOp, depth_bounds_test_enable::Bool, stencil_test_enable::Bool, front::StencilOpState, back::StencilOpState, min_depth_bounds::Real, max_depth_bounds::Real; next = C_NULL, flags = 0)

Arguments:

  • depth_test_enable::Bool
  • depth_write_enable::Bool
  • depth_compare_op::VkCompareOp
  • depth_bounds_test_enable::Bool
  • stencil_test_enable::Bool
  • front::StencilOpState
  • back::StencilOpState
  • min_depth_bounds::Real
  • max_depth_bounds::Real
  • next: defaults to C_NULL
  • flags: defaults to 0
source
Vulkan.PipelineDiscardRectangleStateCreateInfoEXTType
PipelineDiscardRectangleStateCreateInfoEXT(discard_rectangle_mode::VkDiscardRectangleModeEXT, discard_rectangles::AbstractArray{<:Rect2D}; next = C_NULL, flags = 0)

Arguments:

  • discard_rectangle_mode::VkDiscardRectangleModeEXT
  • discard_rectangles::AbstractArray{<:Rect2D}
  • next: defaults to C_NULL
  • flags: defaults to 0
source
Vulkan.PipelineDynamicStateCreateInfoType
PipelineDynamicStateCreateInfo(dynamic_states::AbstractArray{<:VkDynamicState}; next = C_NULL, flags = 0)

Arguments:

  • dynamic_states::AbstractArray{<:VkDynamicState}
  • next: defaults to C_NULL
  • flags: defaults to 0
source
Vulkan.PipelineExecutableInfoKHRType
PipelineExecutableInfoKHR(pipeline::Pipeline, executable_index::Integer; next = C_NULL)

Arguments:

  • pipeline::Pipeline
  • executable_index::Integer
  • next: defaults to C_NULL
source
Vulkan.PipelineInputAssemblyStateCreateInfoType
PipelineInputAssemblyStateCreateInfo(topology::VkPrimitiveTopology, primitive_restart_enable::Bool; next = C_NULL, flags = 0)

Arguments:

  • topology::VkPrimitiveTopology
  • primitive_restart_enable::Bool
  • next: defaults to C_NULL
  • flags: defaults to 0
source
Vulkan.PipelineLayoutMethod
PipelineLayout(device::Device, set_layouts::AbstractArray{<:DescriptorSetLayout}, push_constant_ranges::AbstractArray{<:PushConstantRange}; allocator = C_NULL, next = C_NULL, flags = 0)
source
Vulkan.PipelineLayoutCreateInfoType
PipelineLayoutCreateInfo(set_layouts::AbstractArray{<:DescriptorSetLayout}, push_constant_ranges::AbstractArray{<:PushConstantRange}; next = C_NULL, flags = 0)

Arguments:

  • set_layouts::AbstractArray{<:DescriptorSetLayout}
  • push_constant_ranges::AbstractArray{<:PushConstantRange}
  • next: defaults to C_NULL
  • flags: defaults to 0
source
Vulkan.PipelineMultisampleStateCreateInfoType
PipelineMultisampleStateCreateInfo(rasterization_samples::SampleCountFlag, sample_shading_enable::Bool, min_sample_shading::Real, alpha_to_coverage_enable::Bool, alpha_to_one_enable::Bool; next = C_NULL, flags = 0, sample_mask = C_NULL)

Arguments:

  • rasterization_samples::SampleCountFlag
  • sample_shading_enable::Bool
  • min_sample_shading::Real
  • alpha_to_coverage_enable::Bool
  • alpha_to_one_enable::Bool
  • next: defaults to C_NULL
  • flags: defaults to 0
  • sample_mask: defaults to C_NULL
source
Vulkan.PipelineRasterizationConservativeStateCreateInfoEXTType
PipelineRasterizationConservativeStateCreateInfoEXT(conservative_rasterization_mode::VkConservativeRasterizationModeEXT, extra_primitive_overestimation_size::Real; next = C_NULL, flags = 0)

Arguments:

  • conservative_rasterization_mode::VkConservativeRasterizationModeEXT
  • extra_primitive_overestimation_size::Real
  • next: defaults to C_NULL
  • flags: defaults to 0
source
Vulkan.PipelineRasterizationLineStateCreateInfoEXTType
PipelineRasterizationLineStateCreateInfoEXT(line_rasterization_mode::VkLineRasterizationModeEXT, stippled_line_enable::Bool; next = C_NULL, line_stipple_factor = 0, line_stipple_pattern = 0)

Arguments:

  • line_rasterization_mode::VkLineRasterizationModeEXT
  • stippled_line_enable::Bool
  • next: defaults to C_NULL
  • line_stipple_factor: defaults to 0
  • line_stipple_pattern: defaults to 0
source
Vulkan.PipelineRasterizationStateCreateInfoType
PipelineRasterizationStateCreateInfo(depth_clamp_enable::Bool, rasterizer_discard_enable::Bool, polygon_mode::VkPolygonMode, front_face::VkFrontFace, depth_bias_enable::Bool, depth_bias_constant_factor::Real, depth_bias_clamp::Real, depth_bias_slope_factor::Real, line_width::Real; next = C_NULL, flags = 0, cull_mode = 0)

Arguments:

  • depth_clamp_enable::Bool
  • rasterizer_discard_enable::Bool
  • polygon_mode::VkPolygonMode
  • front_face::VkFrontFace
  • depth_bias_enable::Bool
  • depth_bias_constant_factor::Real
  • depth_bias_clamp::Real
  • depth_bias_slope_factor::Real
  • line_width::Real
  • next: defaults to C_NULL
  • flags: defaults to 0
  • cull_mode: defaults to 0
source
Vulkan.PipelineSampleLocationsStateCreateInfoEXTType
PipelineSampleLocationsStateCreateInfoEXT(sample_locations_enable::Bool, sample_locations_info::SampleLocationsInfoEXT; next = C_NULL)

Arguments:

  • sample_locations_enable::Bool
  • sample_locations_info::SampleLocationsInfoEXT
  • next: defaults to C_NULL
source
Vulkan.PipelineShaderStageCreateInfoType
PipelineShaderStageCreateInfo(stage::ShaderStageFlag, _module::ShaderModule, name::AbstractString; next = C_NULL, flags = 0, specialization_info = C_NULL)

Arguments:

  • stage::ShaderStageFlag
  • _module::ShaderModule
  • name::AbstractString
  • next: defaults to C_NULL
  • flags: defaults to 0
  • specialization_info: defaults to C_NULL
source
Vulkan.PipelineVertexInputDivisorStateCreateInfoEXTType
PipelineVertexInputDivisorStateCreateInfoEXT(vertex_binding_divisors::AbstractArray{<:VertexInputBindingDivisorDescriptionEXT}; next = C_NULL)

Arguments:

  • vertex_binding_divisors::AbstractArray{<:VertexInputBindingDivisorDescriptionEXT}
  • next: defaults to C_NULL
source
Vulkan.PipelineVertexInputStateCreateInfoType
PipelineVertexInputStateCreateInfo(vertex_binding_descriptions::AbstractArray{<:VertexInputBindingDescription}, vertex_attribute_descriptions::AbstractArray{<:VertexInputAttributeDescription}; next = C_NULL, flags = 0)

Arguments:

  • vertex_binding_descriptions::AbstractArray{<:VertexInputBindingDescription}
  • vertex_attribute_descriptions::AbstractArray{<:VertexInputAttributeDescription}
  • next: defaults to C_NULL
  • flags: defaults to 0
source
Vulkan.PipelineViewportCoarseSampleOrderStateCreateInfoNVType
PipelineViewportCoarseSampleOrderStateCreateInfoNV(sample_order_type::VkCoarseSampleOrderTypeNV, custom_sample_orders::AbstractArray{<:CoarseSampleOrderCustomNV}; next = C_NULL)

Arguments:

  • sample_order_type::VkCoarseSampleOrderTypeNV
  • custom_sample_orders::AbstractArray{<:CoarseSampleOrderCustomNV}
  • next: defaults to C_NULL
source
Vulkan.PipelineViewportShadingRateImageStateCreateInfoNVType
PipelineViewportShadingRateImageStateCreateInfoNV(shading_rate_image_enable::Bool, shading_rate_palettes::AbstractArray{<:ShadingRatePaletteNV}; next = C_NULL)

Arguments:

  • shading_rate_image_enable::Bool
  • shading_rate_palettes::AbstractArray{<:ShadingRatePaletteNV}
  • next: defaults to C_NULL
source
Vulkan.PipelineViewportStateCreateInfoType
PipelineViewportStateCreateInfo(; next = C_NULL, flags = 0, viewports = C_NULL, scissors = C_NULL)

Arguments:

  • next: defaults to C_NULL
  • flags: defaults to 0
  • viewports: defaults to C_NULL
  • scissors: defaults to C_NULL
source
Vulkan.PipelineViewportSwizzleStateCreateInfoNVType
PipelineViewportSwizzleStateCreateInfoNV(viewport_swizzles::AbstractArray{<:ViewportSwizzleNV}; next = C_NULL, flags = 0)

Arguments:

  • viewport_swizzles::AbstractArray{<:ViewportSwizzleNV}
  • next: defaults to C_NULL
  • flags: defaults to 0
source
Vulkan.PipelineViewportWScalingStateCreateInfoNVType
PipelineViewportWScalingStateCreateInfoNV(viewport_w_scaling_enable::Bool; next = C_NULL, viewport_w_scalings = C_NULL)

Arguments:

  • viewport_w_scaling_enable::Bool
  • next: defaults to C_NULL
  • viewport_w_scalings: defaults to C_NULL
source
Vulkan.PresentFrameTokenGGPType
PresentFrameTokenGGP(frame_token::vk.GgpFrameToken; next = C_NULL)

Arguments:

  • frame_token::vk.GgpFrameToken
  • next: defaults to C_NULL
source
Vulkan.PresentInfoKHRType
PresentInfoKHR(wait_semaphores::AbstractArray{<:Semaphore}, swapchains::AbstractArray{<:SwapchainKHR}, image_indices::AbstractArray{<:Integer}; next = C_NULL, results = C_NULL)

Arguments:

  • wait_semaphores::AbstractArray{<:Semaphore}
  • swapchains::AbstractArray{<:SwapchainKHR}
  • image_indices::AbstractArray{<:Integer}
  • next: defaults to C_NULL
  • results: defaults to C_NULL
source
Vulkan.PresentRegionsKHRType
PresentRegionsKHR(; next = C_NULL, regions = C_NULL)

Arguments:

  • next: defaults to C_NULL
  • regions: defaults to C_NULL
source
Vulkan.PresentTimeGOOGLEType
PresentTimeGOOGLE(present_id::Integer, desired_present_time::Integer)

Arguments:

  • present_id::Integer
  • desired_present_time::Integer
source
Vulkan.PrivateDataSlotEXTMethod
PrivateDataSlotEXT(device::Device, flags::PrivateDataSlotCreateFlagEXT; allocator = C_NULL, next = C_NULL)
PrivateDataSlotEXT(device::Device, flags::PrivateDataSlotCreateFlagEXT; allocator, next) -> PrivateDataSlotEXT
source
Vulkan.PushConstantRangeType
PushConstantRange(stage_flags::ShaderStageFlag, offset::Integer, size::Integer)

Arguments:

  • stage_flags::ShaderStageFlag
  • offset::Integer
  • size::Integer
source
Vulkan.QueryPoolMethod
QueryPool(device::Device, query_type::VkQueryType, query_count::Integer; allocator = C_NULL, next = C_NULL, flags = 0, pipeline_statistics = 0)
QueryPool(device::Device, query_type::VkQueryType, query_count::Integer; allocator, next, flags, pipeline_statistics) -> QueryPool
source
Vulkan.QueryPoolCreateInfoType
QueryPoolCreateInfo(query_type::VkQueryType, query_count::Integer; next = C_NULL, flags = 0, pipeline_statistics = 0)

Arguments:

  • query_type::VkQueryType
  • query_count::Integer
  • next: defaults to C_NULL
  • flags: defaults to 0
  • pipeline_statistics: defaults to 0
source
Vulkan.QueryPoolPerformanceCreateInfoKHRType
QueryPoolPerformanceCreateInfoKHR(queue_family_index::Integer, counter_indices::AbstractArray{<:Integer}; next = C_NULL)

Arguments:

  • queue_family_index::Integer
  • counter_indices::AbstractArray{<:Integer}
  • next: defaults to C_NULL
source
Vulkan.QueryPoolPerformanceQueryCreateInfoINTELType
QueryPoolPerformanceQueryCreateInfoINTEL(performance_counters_sampling::VkQueryPoolSamplingModeINTEL; next = C_NULL)

Arguments:

  • performance_counters_sampling::VkQueryPoolSamplingModeINTEL
  • next: defaults to C_NULL
source
Vulkan.RayTracingPipelineCreateInfoKHRType
RayTracingPipelineCreateInfoKHR(stages::AbstractArray{<:PipelineShaderStageCreateInfo}, groups::AbstractArray{<:RayTracingShaderGroupCreateInfoKHR}, max_recursion_depth::Integer, libraries::PipelineLibraryCreateInfoKHR, layout::PipelineLayout, base_pipeline_index::Integer; next = C_NULL, flags = 0, library_interface = C_NULL, base_pipeline_handle = C_NULL)

Arguments:

  • stages::AbstractArray{<:PipelineShaderStageCreateInfo}
  • groups::AbstractArray{<:RayTracingShaderGroupCreateInfoKHR}
  • max_recursion_depth::Integer
  • libraries::PipelineLibraryCreateInfoKHR
  • layout::PipelineLayout
  • base_pipeline_index::Integer
  • next: defaults to C_NULL
  • flags: defaults to 0
  • library_interface: defaults to C_NULL
  • base_pipeline_handle: defaults to C_NULL
source
Vulkan.RayTracingPipelineCreateInfoNVType
RayTracingPipelineCreateInfoNV(stages::AbstractArray{<:PipelineShaderStageCreateInfo}, groups::AbstractArray{<:RayTracingShaderGroupCreateInfoNV}, max_recursion_depth::Integer, layout::PipelineLayout, base_pipeline_index::Integer; next = C_NULL, flags = 0, base_pipeline_handle = C_NULL)

Arguments:

  • stages::AbstractArray{<:PipelineShaderStageCreateInfo}
  • groups::AbstractArray{<:RayTracingShaderGroupCreateInfoNV}
  • max_recursion_depth::Integer
  • layout::PipelineLayout
  • base_pipeline_index::Integer
  • next: defaults to C_NULL
  • flags: defaults to 0
  • base_pipeline_handle: defaults to C_NULL
source
Vulkan.RayTracingPipelineInterfaceCreateInfoKHRType
RayTracingPipelineInterfaceCreateInfoKHR(max_payload_size::Integer, max_attribute_size::Integer, max_callable_size::Integer; next = C_NULL)

Arguments:

  • max_payload_size::Integer
  • max_attribute_size::Integer
  • max_callable_size::Integer
  • next: defaults to C_NULL
source
Vulkan.RayTracingShaderGroupCreateInfoKHRType
RayTracingShaderGroupCreateInfoKHR(type::VkRayTracingShaderGroupTypeKHR, general_shader::Integer, closest_hit_shader::Integer, any_hit_shader::Integer, intersection_shader::Integer; next = C_NULL, shader_group_capture_replay_handle = C_NULL)

Arguments:

  • type::VkRayTracingShaderGroupTypeKHR
  • general_shader::Integer
  • closest_hit_shader::Integer
  • any_hit_shader::Integer
  • intersection_shader::Integer
  • next: defaults to C_NULL
  • shader_group_capture_replay_handle: defaults to C_NULL
source
Vulkan.RayTracingShaderGroupCreateInfoNVType
RayTracingShaderGroupCreateInfoNV(type::VkRayTracingShaderGroupTypeKHR, general_shader::Integer, closest_hit_shader::Integer, any_hit_shader::Integer, intersection_shader::Integer; next = C_NULL)

Arguments:

  • type::VkRayTracingShaderGroupTypeKHR
  • general_shader::Integer
  • closest_hit_shader::Integer
  • any_hit_shader::Integer
  • intersection_shader::Integer
  • next: defaults to C_NULL
source
Vulkan.Rect2DType
Rect2D(offset::Offset2D, extent::Extent2D)

Arguments:

  • offset::Offset2D
  • extent::Extent2D
source
Vulkan.RectLayerKHRType
RectLayerKHR(offset::Offset2D, extent::Extent2D, layer::Integer)

Arguments:

  • offset::Offset2D
  • extent::Extent2D
  • layer::Integer
source
Vulkan.RenderPassMethod
RenderPass(device::Device, attachments::AbstractArray{<:AttachmentDescription}, subpasses::AbstractArray{<:SubpassDescription}, dependencies::AbstractArray{<:SubpassDependency}; allocator = C_NULL, next = C_NULL, flags = 0)
source
Vulkan.RenderPassMethod
RenderPass(device::Device, attachments::AbstractArray{<:AttachmentDescription2}, subpasses::AbstractArray{<:SubpassDescription2}, dependencies::AbstractArray{<:SubpassDependency2}, correlated_view_masks::AbstractArray{<:Integer}; allocator = C_NULL, next = C_NULL, flags = 0)
source
Vulkan.RenderPassBeginInfoType
RenderPassBeginInfo(render_pass::RenderPass, framebuffer::Framebuffer, render_area::Rect2D, clear_values::AbstractArray{<:VkClearValue}; next = C_NULL)

Arguments:

  • render_pass::RenderPass
  • framebuffer::Framebuffer
  • render_area::Rect2D
  • clear_values::AbstractArray{<:VkClearValue}
  • next: defaults to C_NULL
source
Vulkan.RenderPassCreateInfoType
RenderPassCreateInfo(attachments::AbstractArray{<:AttachmentDescription}, subpasses::AbstractArray{<:SubpassDescription}, dependencies::AbstractArray{<:SubpassDependency}; next = C_NULL, flags = 0)

Arguments:

  • attachments::AbstractArray{<:AttachmentDescription}
  • subpasses::AbstractArray{<:SubpassDescription}
  • dependencies::AbstractArray{<:SubpassDependency}
  • next: defaults to C_NULL
  • flags: defaults to 0
source
Vulkan.RenderPassCreateInfo2Type
RenderPassCreateInfo2(attachments::AbstractArray{<:AttachmentDescription2}, subpasses::AbstractArray{<:SubpassDescription2}, dependencies::AbstractArray{<:SubpassDependency2}, correlated_view_masks::AbstractArray{<:Integer}; next = C_NULL, flags = 0)

Arguments:

  • attachments::AbstractArray{<:AttachmentDescription2}
  • subpasses::AbstractArray{<:SubpassDescription2}
  • dependencies::AbstractArray{<:SubpassDependency2}
  • correlated_view_masks::AbstractArray{<:Integer}
  • next: defaults to C_NULL
  • flags: defaults to 0
source
Vulkan.RenderPassInputAttachmentAspectCreateInfoType
RenderPassInputAttachmentAspectCreateInfo(aspect_references::AbstractArray{<:InputAttachmentAspectReference}; next = C_NULL)

Arguments:

  • aspect_references::AbstractArray{<:InputAttachmentAspectReference}
  • next: defaults to C_NULL
source
Vulkan.RenderPassMultiviewCreateInfoType
RenderPassMultiviewCreateInfo(view_masks::AbstractArray{<:Integer}, view_offsets::AbstractArray{<:Integer}, correlation_masks::AbstractArray{<:Integer}; next = C_NULL)

Arguments:

  • view_masks::AbstractArray{<:Integer}
  • view_offsets::AbstractArray{<:Integer}
  • correlation_masks::AbstractArray{<:Integer}
  • next: defaults to C_NULL
source
Vulkan.RenderPassSampleLocationsBeginInfoEXTType
RenderPassSampleLocationsBeginInfoEXT(attachment_initial_sample_locations::AbstractArray{<:AttachmentSampleLocationsEXT}, post_subpass_sample_locations::AbstractArray{<:SubpassSampleLocationsEXT}; next = C_NULL)

Arguments:

  • attachment_initial_sample_locations::AbstractArray{<:AttachmentSampleLocationsEXT}
  • post_subpass_sample_locations::AbstractArray{<:SubpassSampleLocationsEXT}
  • next: defaults to C_NULL
source
Vulkan.ReturnedOnlyType

Represents a structure that will never be requested by API functions.

abstract type ReturnedOnly <: VulkanStruct{false}
source
Vulkan.SampleLocationsInfoEXTType
SampleLocationsInfoEXT(sample_location_grid_size::Extent2D, sample_locations::AbstractArray{<:SampleLocationEXT}; next = C_NULL, sample_locations_per_pixel = 0)

Arguments:

  • sample_location_grid_size::Extent2D
  • sample_locations::AbstractArray{<:SampleLocationEXT}
  • next: defaults to C_NULL
  • sample_locations_per_pixel: defaults to 0
source
Vulkan.SamplerMethod
Sampler(device::Device, mag_filter::VkFilter, min_filter::VkFilter, mipmap_mode::VkSamplerMipmapMode, address_mode_u::VkSamplerAddressMode, address_mode_v::VkSamplerAddressMode, address_mode_w::VkSamplerAddressMode, mip_lod_bias::Real, anisotropy_enable::Bool, max_anisotropy::Real, compare_enable::Bool, compare_op::VkCompareOp, min_lod::Real, max_lod::Real, border_color::VkBorderColor, unnormalized_coordinates::Bool; allocator = C_NULL, next = C_NULL, flags = 0)
Sampler(device::Device, mag_filter::VkFilter, min_filter::VkFilter, mipmap_mode::VkSamplerMipmapMode, address_mode_u::VkSamplerAddressMode, address_mode_v::VkSamplerAddressMode, address_mode_w::VkSamplerAddressMode, mip_lod_bias::Real, anisotropy_enable::Bool, max_anisotropy::Real, compare_enable::Bool, compare_op::VkCompareOp, min_lod::Real, max_lod::Real, border_color::VkBorderColor, unnormalized_coordinates::Bool; allocator, next, flags) -> Sampler
source
Vulkan.SamplerCreateInfoType
SamplerCreateInfo(mag_filter::VkFilter, min_filter::VkFilter, mipmap_mode::VkSamplerMipmapMode, address_mode_u::VkSamplerAddressMode, address_mode_v::VkSamplerAddressMode, address_mode_w::VkSamplerAddressMode, mip_lod_bias::Real, anisotropy_enable::Bool, max_anisotropy::Real, compare_enable::Bool, compare_op::VkCompareOp, min_lod::Real, max_lod::Real, border_color::VkBorderColor, unnormalized_coordinates::Bool; next = C_NULL, flags = 0)

Arguments:

  • mag_filter::VkFilter
  • min_filter::VkFilter
  • mipmap_mode::VkSamplerMipmapMode
  • address_mode_u::VkSamplerAddressMode
  • address_mode_v::VkSamplerAddressMode
  • address_mode_w::VkSamplerAddressMode
  • mip_lod_bias::Real
  • anisotropy_enable::Bool
  • max_anisotropy::Real
  • compare_enable::Bool
  • compare_op::VkCompareOp
  • min_lod::Real
  • max_lod::Real
  • border_color::VkBorderColor
  • unnormalized_coordinates::Bool
  • next: defaults to C_NULL
  • flags: defaults to 0
source
Vulkan.SamplerCustomBorderColorCreateInfoEXTType
SamplerCustomBorderColorCreateInfoEXT(custom_border_color::VkClearColorValue, format::VkFormat; next = C_NULL)

Arguments:

  • custom_border_color::VkClearColorValue
  • format::VkFormat
  • next: defaults to C_NULL
source
Vulkan.SamplerYcbcrConversionMethod
SamplerYcbcrConversion(device::Device, format::VkFormat, ycbcr_model::VkSamplerYcbcrModelConversion, ycbcr_range::VkSamplerYcbcrRange, components::ComponentMapping, x_chroma_offset::VkChromaLocation, y_chroma_offset::VkChromaLocation, chroma_filter::VkFilter, force_explicit_reconstruction::Bool; allocator = C_NULL, next = C_NULL)
SamplerYcbcrConversion(device::Device, format::VkFormat, ycbcr_model::VkSamplerYcbcrModelConversion, ycbcr_range::VkSamplerYcbcrRange, components::ComponentMapping, x_chroma_offset::VkChromaLocation, y_chroma_offset::VkChromaLocation, chroma_filter::VkFilter, force_explicit_reconstruction::Bool; allocator, next) -> SamplerYcbcrConversion
source
Vulkan.SamplerYcbcrConversionCreateInfoType
SamplerYcbcrConversionCreateInfo(format::VkFormat, ycbcr_model::VkSamplerYcbcrModelConversion, ycbcr_range::VkSamplerYcbcrRange, components::ComponentMapping, x_chroma_offset::VkChromaLocation, y_chroma_offset::VkChromaLocation, chroma_filter::VkFilter, force_explicit_reconstruction::Bool; next = C_NULL)

Arguments:

  • format::VkFormat
  • ycbcr_model::VkSamplerYcbcrModelConversion
  • ycbcr_range::VkSamplerYcbcrRange
  • components::ComponentMapping
  • x_chroma_offset::VkChromaLocation
  • y_chroma_offset::VkChromaLocation
  • chroma_filter::VkFilter
  • force_explicit_reconstruction::Bool
  • next: defaults to C_NULL
source
Vulkan.SemaphoreMethod
Semaphore(device::Device; allocator = C_NULL, next = C_NULL, flags = 0)
Semaphore(device::Device; allocator, next, flags) -> Semaphore
source
Vulkan.SemaphoreGetFdInfoKHRType
SemaphoreGetFdInfoKHR(semaphore::Semaphore, handle_type::ExternalSemaphoreHandleTypeFlag; next = C_NULL)

Arguments:

  • semaphore::Semaphore
  • handle_type::ExternalSemaphoreHandleTypeFlag
  • next: defaults to C_NULL
source
Vulkan.SemaphoreGetWin32HandleInfoKHRType
SemaphoreGetWin32HandleInfoKHR(semaphore::Semaphore, handle_type::ExternalSemaphoreHandleTypeFlag; next = C_NULL)

Arguments:

  • semaphore::Semaphore
  • handle_type::ExternalSemaphoreHandleTypeFlag
  • next: defaults to C_NULL
source
Vulkan.SemaphoreSignalInfoType
SemaphoreSignalInfo(semaphore::Semaphore, value::Integer; next = C_NULL)

Arguments:

  • semaphore::Semaphore
  • value::Integer
  • next: defaults to C_NULL
source
Vulkan.SemaphoreTypeCreateInfoType
SemaphoreTypeCreateInfo(semaphore_type::VkSemaphoreType, initial_value::Integer; next = C_NULL)

Arguments:

  • semaphore_type::VkSemaphoreType
  • initial_value::Integer
  • next: defaults to C_NULL
source
Vulkan.SemaphoreWaitInfoType
SemaphoreWaitInfo(semaphores::AbstractArray{<:Semaphore}, values::AbstractArray{<:Integer}; next = C_NULL, flags = 0)

Arguments:

  • semaphores::AbstractArray{<:Semaphore}
  • values::AbstractArray{<:Integer}
  • next: defaults to C_NULL
  • flags: defaults to 0
source
Vulkan.ShaderModuleMethod
ShaderModule(device::Device, code_size::Integer, code::AbstractArray{<:Integer}; allocator = C_NULL, next = C_NULL, flags = 0)
source
Vulkan.ShaderModuleCreateInfoType
ShaderModuleCreateInfo(code_size::Integer, code::AbstractArray{<:Integer}; next = C_NULL, flags = 0)

Arguments:

  • code_size::Integer
  • code::AbstractArray{<:Integer}
  • next: defaults to C_NULL
  • flags: defaults to 0
source
Vulkan.ShadingRatePaletteNVType
ShadingRatePaletteNV(shading_rate_palette_entries::AbstractArray{<:VkShadingRatePaletteEntryNV})

Arguments:

  • shading_rate_palette_entries::AbstractArray{<:VkShadingRatePaletteEntryNV}
source
Vulkan.SparseBufferMemoryBindInfoType
SparseBufferMemoryBindInfo(buffer::Buffer, binds::AbstractArray{<:SparseMemoryBind})

Arguments:

  • buffer::Buffer
  • binds::AbstractArray{<:SparseMemoryBind}
source
Vulkan.SparseImageMemoryBindType
SparseImageMemoryBind(subresource::ImageSubresource, offset::Offset3D, extent::Extent3D, memory_offset::Integer; memory = C_NULL, flags = 0)

Arguments:

  • subresource::ImageSubresource
  • offset::Offset3D
  • extent::Extent3D
  • memory_offset::Integer
  • memory: defaults to C_NULL
  • flags: defaults to 0
source
Vulkan.SparseImageMemoryBindInfoType
SparseImageMemoryBindInfo(image::Image, binds::AbstractArray{<:SparseImageMemoryBind})

Arguments:

  • image::Image
  • binds::AbstractArray{<:SparseImageMemoryBind}
source
Vulkan.SparseMemoryBindType
SparseMemoryBind(resource_offset::Integer, size::Integer, memory_offset::Integer; memory = C_NULL, flags = 0)

Arguments:

  • resource_offset::Integer
  • size::Integer
  • memory_offset::Integer
  • memory: defaults to C_NULL
  • flags: defaults to 0
source
Vulkan.SpecializationInfoType
SpecializationInfo(map_entries::AbstractArray{<:SpecializationMapEntry}, data::Ptr{Cvoid}; data_size = 0)

Arguments:

  • map_entries::AbstractArray{<:SpecializationMapEntry}
  • data::Ptr{Cvoid}
  • data_size: defaults to 0
source
Vulkan.SpecializationMapEntryType
SpecializationMapEntry(constant_id::Integer, offset::Integer, size::Integer)

Arguments:

  • constant_id::Integer
  • offset::Integer
  • size::Integer
source
Vulkan.StencilOpStateType
StencilOpState(fail_op::VkStencilOp, pass_op::VkStencilOp, depth_fail_op::VkStencilOp, compare_op::VkCompareOp, compare_mask::Integer, write_mask::Integer, reference::Integer)

Arguments:

  • fail_op::VkStencilOp
  • pass_op::VkStencilOp
  • depth_fail_op::VkStencilOp
  • compare_op::VkCompareOp
  • compare_mask::Integer
  • write_mask::Integer
  • reference::Integer
source
Vulkan.StreamDescriptorSurfaceCreateInfoGGPType
StreamDescriptorSurfaceCreateInfoGGP(stream_descriptor::vk.GgpStreamDescriptor; next = C_NULL, flags = 0)

Arguments:

  • stream_descriptor::vk.GgpStreamDescriptor
  • next: defaults to C_NULL
  • flags: defaults to 0
source
Vulkan.StridedBufferRegionKHRType
StridedBufferRegionKHR(offset::Integer, stride::Integer, size::Integer; buffer = C_NULL)

Arguments:

  • offset::Integer
  • stride::Integer
  • size::Integer
  • buffer: defaults to C_NULL
source
Vulkan.SubmitInfoType
SubmitInfo(wait_semaphores::AbstractArray{<:Semaphore}, wait_dst_stage_mask::AbstractArray{<:PipelineStageFlag}, command_buffers::AbstractArray{<:CommandBuffer}, signal_semaphores::AbstractArray{<:Semaphore}; next = C_NULL)

Arguments:

  • wait_semaphores::AbstractArray{<:Semaphore}
  • wait_dst_stage_mask::AbstractArray{<:PipelineStageFlag}
  • command_buffers::AbstractArray{<:CommandBuffer}
  • signal_semaphores::AbstractArray{<:Semaphore}
  • next: defaults to C_NULL
source
Vulkan.SubpassBeginInfoType
SubpassBeginInfo(contents::VkSubpassContents; next = C_NULL)

Arguments:

  • contents::VkSubpassContents
  • next: defaults to C_NULL
source
Vulkan.SubpassDependencyType
SubpassDependency(src_subpass::Integer, dst_subpass::Integer, src_stage_mask::PipelineStageFlag, dst_stage_mask::PipelineStageFlag; src_access_mask = 0, dst_access_mask = 0, dependency_flags = 0)

Arguments:

  • src_subpass::Integer
  • dst_subpass::Integer
  • src_stage_mask::PipelineStageFlag
  • dst_stage_mask::PipelineStageFlag
  • src_access_mask: defaults to 0
  • dst_access_mask: defaults to 0
  • dependency_flags: defaults to 0
source
Vulkan.SubpassDependency2Type
SubpassDependency2(src_subpass::Integer, dst_subpass::Integer, src_stage_mask::PipelineStageFlag, dst_stage_mask::PipelineStageFlag; next = C_NULL, src_access_mask = 0, dst_access_mask = 0, dependency_flags = 0, view_offset = 0)

Arguments:

  • src_subpass::Integer
  • dst_subpass::Integer
  • src_stage_mask::PipelineStageFlag
  • dst_stage_mask::PipelineStageFlag
  • next: defaults to C_NULL
  • src_access_mask: defaults to 0
  • dst_access_mask: defaults to 0
  • dependency_flags: defaults to 0
  • view_offset: defaults to 0
source
Vulkan.SubpassDescriptionType
SubpassDescription(pipeline_bind_point::VkPipelineBindPoint, input_attachments::AbstractArray{<:AttachmentReference}, color_attachments::AbstractArray{<:AttachmentReference}, preserve_attachments::AbstractArray{<:Integer}; flags = 0, resolve_attachments = C_NULL, depth_stencil_attachment = C_NULL)

Arguments:

  • pipeline_bind_point::VkPipelineBindPoint
  • input_attachments::AbstractArray{<:AttachmentReference}
  • color_attachments::AbstractArray{<:AttachmentReference}
  • preserve_attachments::AbstractArray{<:Integer}
  • flags: defaults to 0
  • resolve_attachments: defaults to C_NULL
  • depth_stencil_attachment: defaults to C_NULL
source
Vulkan.SubpassDescription2Type
SubpassDescription2(pipeline_bind_point::VkPipelineBindPoint, view_mask::Integer, input_attachments::AbstractArray{<:AttachmentReference2}, color_attachments::AbstractArray{<:AttachmentReference2}, preserve_attachments::AbstractArray{<:Integer}; next = C_NULL, flags = 0, resolve_attachments = C_NULL, depth_stencil_attachment = C_NULL)

Arguments:

  • pipeline_bind_point::VkPipelineBindPoint
  • view_mask::Integer
  • input_attachments::AbstractArray{<:AttachmentReference2}
  • color_attachments::AbstractArray{<:AttachmentReference2}
  • preserve_attachments::AbstractArray{<:Integer}
  • next: defaults to C_NULL
  • flags: defaults to 0
  • resolve_attachments: defaults to C_NULL
  • depth_stencil_attachment: defaults to C_NULL
source
Vulkan.SubpassDescriptionDepthStencilResolveType
SubpassDescriptionDepthStencilResolve(depth_resolve_mode::ResolveModeFlag, stencil_resolve_mode::ResolveModeFlag; next = C_NULL, depth_stencil_resolve_attachment = C_NULL)

Arguments:

  • depth_resolve_mode::ResolveModeFlag
  • stencil_resolve_mode::ResolveModeFlag
  • next: defaults to C_NULL
  • depth_stencil_resolve_attachment: defaults to C_NULL
source
Vulkan.SubpassSampleLocationsEXTType
SubpassSampleLocationsEXT(subpass_index::Integer, sample_locations_info::SampleLocationsInfoEXT)

Arguments:

  • subpass_index::Integer
  • sample_locations_info::SampleLocationsInfoEXT
source
Vulkan.SurfaceFullScreenExclusiveInfoEXTType
SurfaceFullScreenExclusiveInfoEXT(full_screen_exclusive::VkFullScreenExclusiveEXT; next = C_NULL)

Arguments:

  • full_screen_exclusive::VkFullScreenExclusiveEXT
  • next: defaults to C_NULL
source
Vulkan.SwapchainCreateInfoKHRType
SwapchainCreateInfoKHR(surface::SurfaceKHR, min_image_count::Integer, image_format::VkFormat, image_color_space::VkColorSpaceKHR, image_extent::Extent2D, image_array_layers::Integer, image_usage::ImageUsageFlag, image_sharing_mode::VkSharingMode, queue_family_indices::AbstractArray{<:Integer}, pre_transform::SurfaceTransformFlagKHR, composite_alpha::CompositeAlphaFlagKHR, present_mode::VkPresentModeKHR, clipped::Bool; next = C_NULL, flags = 0, old_swapchain = C_NULL)

Arguments:

  • surface::SurfaceKHR
  • min_image_count::Integer
  • image_format::VkFormat
  • image_color_space::VkColorSpaceKHR
  • image_extent::Extent2D
  • image_array_layers::Integer
  • image_usage::ImageUsageFlag
  • image_sharing_mode::VkSharingMode
  • queue_family_indices::AbstractArray{<:Integer}
  • pre_transform::SurfaceTransformFlagKHR
  • composite_alpha::CompositeAlphaFlagKHR
  • present_mode::VkPresentModeKHR
  • clipped::Bool
  • next: defaults to C_NULL
  • flags: defaults to 0
  • old_swapchain: defaults to C_NULL
source
Vulkan.SwapchainKHRMethod
SwapchainKHR(device::Device, surface::SurfaceKHR, min_image_count::Integer, image_format::VkFormat, image_color_space::VkColorSpaceKHR, image_extent::Extent2D, image_array_layers::Integer, image_usage::ImageUsageFlag, image_sharing_mode::VkSharingMode, queue_family_indices::AbstractArray{<:Integer}, pre_transform::SurfaceTransformFlagKHR, composite_alpha::CompositeAlphaFlagKHR, present_mode::VkPresentModeKHR, clipped::Bool; allocator = C_NULL, next = C_NULL, flags = 0, old_swapchain = C_NULL)
source
Vulkan.TimelineSemaphoreSubmitInfoType
TimelineSemaphoreSubmitInfo(; next = C_NULL, wait_semaphore_values = C_NULL, signal_semaphore_values = C_NULL)

Arguments:

  • next: defaults to C_NULL
  • wait_semaphore_values: defaults to C_NULL
  • signal_semaphore_values: defaults to C_NULL
source
Vulkan.ValidationCacheCreateInfoEXTType
ValidationCacheCreateInfoEXT(initial_data::Ptr{Cvoid}; next = C_NULL, flags = 0, initial_data_size = 0)

Arguments:

  • initial_data::Ptr{Cvoid}
  • next: defaults to C_NULL
  • flags: defaults to 0
  • initial_data_size: defaults to 0
source
Vulkan.ValidationCacheEXTMethod
ValidationCacheEXT(device::Device, initial_data::Ptr{Cvoid}; allocator = C_NULL, next = C_NULL, flags = 0, initial_data_size = 0)
ValidationCacheEXT(device::Device, initial_data::Ptr{Nothing}; allocator, next, flags, initial_data_size) -> ValidationCacheEXT
source
Vulkan.ValidationFeaturesEXTType
ValidationFeaturesEXT(enabled_validation_features::AbstractArray{<:VkValidationFeatureEnableEXT}, disabled_validation_features::AbstractArray{<:VkValidationFeatureDisableEXT}; next = C_NULL)

Arguments:

  • enabled_validation_features::AbstractArray{<:VkValidationFeatureEnableEXT}
  • disabled_validation_features::AbstractArray{<:VkValidationFeatureDisableEXT}
  • next: defaults to C_NULL
source
Vulkan.ValidationFlagsEXTType
ValidationFlagsEXT(disabled_validation_checks::AbstractArray{<:VkValidationCheckEXT}; next = C_NULL)

Arguments:

  • disabled_validation_checks::AbstractArray{<:VkValidationCheckEXT}
  • next: defaults to C_NULL
source
Vulkan.VertexInputAttributeDescriptionType
VertexInputAttributeDescription(location::Integer, binding::Integer, format::VkFormat, offset::Integer)

Arguments:

  • location::Integer
  • binding::Integer
  • format::VkFormat
  • offset::Integer
source
Vulkan.VertexInputBindingDescriptionType
VertexInputBindingDescription(binding::Integer, stride::Integer, input_rate::VkVertexInputRate)

Arguments:

  • binding::Integer
  • stride::Integer
  • input_rate::VkVertexInputRate
source
Vulkan.ViSurfaceCreateInfoNNType
ViSurfaceCreateInfoNN(window::Ptr{Cvoid}; next = C_NULL, flags = 0)

Arguments:

  • window::Ptr{Cvoid}
  • next: defaults to C_NULL
  • flags: defaults to 0
source
Vulkan.ViewportType
Viewport(x::Real, y::Real, width::Real, height::Real, min_depth::Real, max_depth::Real)

Arguments:

  • x::Real
  • y::Real
  • width::Real
  • height::Real
  • min_depth::Real
  • max_depth::Real
source
Vulkan.ViewportSwizzleNVType
ViewportSwizzleNV(x::VkViewportCoordinateSwizzleNV, y::VkViewportCoordinateSwizzleNV, z::VkViewportCoordinateSwizzleNV, w::VkViewportCoordinateSwizzleNV)

Arguments:

  • x::VkViewportCoordinateSwizzleNV
  • y::VkViewportCoordinateSwizzleNV
  • z::VkViewportCoordinateSwizzleNV
  • w::VkViewportCoordinateSwizzleNV
source
Vulkan.VulkanErrorType

Exception type indicating that an API function returned a non-success code.

struct VulkanError <: Exception
  • msg::AbstractString

  • code::VkResult

source
Vulkan.VulkanStructType

Represents any kind of wrapper structure that was generated from a Vulkan structure. D is a Bool parameter indicating whether the structure has specific dependencies or not.

source
Vulkan.WaylandSurfaceCreateInfoKHRType
WaylandSurfaceCreateInfoKHR(display::vk.wl_display, surface::vk.wl_surface; next = C_NULL, flags = 0)

Arguments:

  • display::vk.wl_display
  • surface::vk.wl_surface
  • next: defaults to C_NULL
  • flags: defaults to 0
source
Vulkan.Win32KeyedMutexAcquireReleaseInfoKHRType
Win32KeyedMutexAcquireReleaseInfoKHR(acquire_syncs::AbstractArray{<:DeviceMemory}, acquire_keys::AbstractArray{<:Integer}, acquire_timeouts::AbstractArray{<:Integer}, release_syncs::AbstractArray{<:DeviceMemory}, release_keys::AbstractArray{<:Integer}; next = C_NULL)

Arguments:

  • acquire_syncs::AbstractArray{<:DeviceMemory}
  • acquire_keys::AbstractArray{<:Integer}
  • acquire_timeouts::AbstractArray{<:Integer}
  • release_syncs::AbstractArray{<:DeviceMemory}
  • release_keys::AbstractArray{<:Integer}
  • next: defaults to C_NULL
source
Vulkan.Win32KeyedMutexAcquireReleaseInfoNVType
Win32KeyedMutexAcquireReleaseInfoNV(acquire_syncs::AbstractArray{<:DeviceMemory}, acquire_keys::AbstractArray{<:Integer}, acquire_timeout_milliseconds::AbstractArray{<:Integer}, release_syncs::AbstractArray{<:DeviceMemory}, release_keys::AbstractArray{<:Integer}; next = C_NULL)

Arguments:

  • acquire_syncs::AbstractArray{<:DeviceMemory}
  • acquire_keys::AbstractArray{<:Integer}
  • acquire_timeout_milliseconds::AbstractArray{<:Integer}
  • release_syncs::AbstractArray{<:DeviceMemory}
  • release_keys::AbstractArray{<:Integer}
  • next: defaults to C_NULL
source
Vulkan.Win32SurfaceCreateInfoKHRType
Win32SurfaceCreateInfoKHR(hinstance::vk.HINSTANCE, hwnd::vk.HWND; next = C_NULL, flags = 0)

Arguments:

  • hinstance::vk.HINSTANCE
  • hwnd::vk.HWND
  • next: defaults to C_NULL
  • flags: defaults to 0
source
Vulkan.WriteDescriptorSetType
WriteDescriptorSet(dst_set::DescriptorSet, dst_binding::Integer, dst_array_element::Integer, descriptor_type::VkDescriptorType, image_info::AbstractArray{<:DescriptorImageInfo}, buffer_info::AbstractArray{<:DescriptorBufferInfo}, texel_buffer_view::AbstractArray{<:BufferView}; next = C_NULL)

Arguments:

  • dst_set::DescriptorSet
  • dst_binding::Integer
  • dst_array_element::Integer
  • descriptor_type::VkDescriptorType
  • image_info::AbstractArray{<:DescriptorImageInfo}
  • buffer_info::AbstractArray{<:DescriptorBufferInfo}
  • texel_buffer_view::AbstractArray{<:BufferView}
  • next: defaults to C_NULL
source
Vulkan.WriteDescriptorSetAccelerationStructureKHRType
WriteDescriptorSetAccelerationStructureKHR(acceleration_structures::AbstractArray{<:AccelerationStructureKHR}; next = C_NULL)

Arguments:

  • acceleration_structures::AbstractArray{<:AccelerationStructureKHR}
  • next: defaults to C_NULL
source
Vulkan.XcbSurfaceCreateInfoKHRType
XcbSurfaceCreateInfoKHR(connection::vk.xcb_connection_t, window::vk.xcb_window_t; next = C_NULL, flags = 0)

Arguments:

  • connection::vk.xcb_connection_t
  • window::vk.xcb_window_t
  • next: defaults to C_NULL
  • flags: defaults to 0
source
Vulkan.XlibSurfaceCreateInfoKHRType
XlibSurfaceCreateInfoKHR(dpy::vk.Display, window::vk.Window; next = C_NULL, flags = 0)

Arguments:

  • dpy::vk.Display
  • window::vk.Window
  • next: defaults to C_NULL
  • flags: defaults to 0
source
Vulkan.acquire_full_screen_exclusive_mode_extFunction
acquire_full_screen_exclusive_mode_ext(device::Device, swapchain::SwapchainKHR)::Result{VkResult, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY
    • VK_ERROR_INITIALIZATION_FAILED
    • VK_ERROR_SURFACE_LOST_KHR

Arguments:

  • device::Device
  • swapchain::SwapchainKHR
source
Vulkan.acquire_next_image_2_khrFunction
acquire_next_image_2_khr(device::Device, acquire_info::AcquireNextImageInfoKHR)::Result{Tuple{UInt32, VkResult}, VulkanError}

Return codes:

  • Success:
    • VK_SUCCESS
    • VK_TIMEOUT
    • VK_NOT_READY
    • VK_SUBOPTIMAL_KHR
  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY
    • VK_ERROR_DEVICE_LOST
    • VK_ERROR_OUT_OF_DATE_KHR
    • VK_ERROR_SURFACE_LOST_KHR
    • VK_ERROR_FULL_SCREEN_EXCLUSIVE_MODE_LOST_EXT

Arguments:

  • device::Device
  • acquire_info::AcquireNextImageInfoKHR
source
Vulkan.acquire_next_image_khrFunction
acquire_next_image_khr(device::Device, swapchain::SwapchainKHR, timeout::Integer; semaphore = C_NULL, fence = C_NULL)::Result{Tuple{UInt32, VkResult}, VulkanError}

Return codes:

  • Success:
    • VK_SUCCESS
    • VK_TIMEOUT
    • VK_NOT_READY
    • VK_SUBOPTIMAL_KHR
  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY
    • VK_ERROR_DEVICE_LOST
    • VK_ERROR_OUT_OF_DATE_KHR
    • VK_ERROR_SURFACE_LOST_KHR
    • VK_ERROR_FULL_SCREEN_EXCLUSIVE_MODE_LOST_EXT

Arguments:

  • device::Device
  • swapchain::SwapchainKHR (externsync)
  • timeout::Integer
  • semaphore: defaults to C_NULL (externsync)
  • fence: defaults to C_NULL (externsync)
source
Vulkan.acquire_performance_configuration_intelFunction
acquire_performance_configuration_intel(device::Device, acquire_info::PerformanceConfigurationAcquireInfoINTEL)::Result{PerformanceConfigurationINTEL, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_TOO_MANY_OBJECTS
    • VK_ERROR_OUT_OF_HOST_MEMORY

Arguments:

  • device::Device
  • acquire_info::PerformanceConfigurationAcquireInfoINTEL
source
Vulkan.acquire_profiling_lock_khrFunction
acquire_profiling_lock_khr(device::Device, info::AcquireProfilingLockInfoKHR)::Result{VkResult, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_TIMEOUT

Arguments:

  • device::Device
  • info::AcquireProfilingLockInfoKHR
source
Vulkan.acquire_xlib_display_extFunction
acquire_xlib_display_ext(physical_device::PhysicalDevice, dpy::vk.Display, display::DisplayKHR)::Result{VkResult, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_INITIALIZATION_FAILED

Arguments:

  • physical_device::PhysicalDevice
  • dpy::vk.Display
  • display::DisplayKHR
source
Vulkan.allocate_command_buffersFunction
allocate_command_buffers(device::Device, allocate_info::CommandBufferAllocateInfo)::Result{Vector{CommandBuffer}, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY

Arguments:

  • device::Device
  • allocate_info::CommandBufferAllocateInfo (externsync)
source
Vulkan.allocate_descriptor_setsFunction
allocate_descriptor_sets(device::Device, allocate_info::DescriptorSetAllocateInfo)::Result{Vector{DescriptorSet}, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY
    • VK_ERROR_FRAGMENTED_POOL
    • VK_ERROR_OUT_OF_POOL_MEMORY

Arguments:

  • device::Device
  • allocate_info::DescriptorSetAllocateInfo (externsync)
source
Vulkan.allocate_memoryFunction
allocate_memory(device::Device, allocate_info::MemoryAllocateInfo; allocator = C_NULL)::Result{DeviceMemory, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY
    • VK_ERROR_INVALID_EXTERNAL_HANDLE
    • VK_ERROR_INVALID_OPAQUE_CAPTURE_ADDRESS_KHR

Arguments:

  • device::Device
  • allocate_info::MemoryAllocateInfo
  • allocator: defaults to C_NULL
source
Vulkan.begin_command_bufferFunction
begin_command_buffer(command_buffer::CommandBuffer, begin_info::CommandBufferBeginInfo)::Result{VkResult, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY

Arguments:

  • command_buffer::CommandBuffer (externsync)
  • begin_info::CommandBufferBeginInfo
source
Vulkan.bind_acceleration_structure_memory_khrFunction
bind_acceleration_structure_memory_khr(device::Device, bind_infos::AbstractArray{<:BindAccelerationStructureMemoryInfoKHR})::Result{VkResult, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY

Arguments:

  • device::Device
  • bind_infos::AbstractArray{<:BindAccelerationStructureMemoryInfoKHR}
source
Vulkan.bind_buffer_memoryFunction
bind_buffer_memory(device::Device, buffer::Buffer, memory::DeviceMemory, memory_offset::Integer)::Result{VkResult, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY
    • VK_ERROR_INVALID_OPAQUE_CAPTURE_ADDRESS_KHR

Arguments:

  • device::Device
  • buffer::Buffer (externsync)
  • memory::DeviceMemory
  • memory_offset::Integer
source
Vulkan.bind_buffer_memory_2Function
bind_buffer_memory_2(device::Device, bind_infos::AbstractArray{<:BindBufferMemoryInfo})::Result{VkResult, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY
    • VK_ERROR_INVALID_OPAQUE_CAPTURE_ADDRESS_KHR

Arguments:

  • device::Device
  • bind_infos::AbstractArray{<:BindBufferMemoryInfo}
source
Vulkan.bind_image_memoryFunction
bind_image_memory(device::Device, image::Image, memory::DeviceMemory, memory_offset::Integer)::Result{VkResult, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY

Arguments:

  • device::Device
  • image::Image (externsync)
  • memory::DeviceMemory
  • memory_offset::Integer
source
Vulkan.bind_image_memory_2Function
bind_image_memory_2(device::Device, bind_infos::AbstractArray{<:BindImageMemoryInfo})::Result{VkResult, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY

Arguments:

  • device::Device
  • bind_infos::AbstractArray{<:BindImageMemoryInfo}
source
Vulkan.build_acceleration_structure_khrFunction
build_acceleration_structure_khr(device::Device, infos::AbstractArray{<:AccelerationStructureBuildGeometryInfoKHR}, offset_infos::AbstractArray{<:AccelerationStructureBuildOffsetInfoKHR})::Result{VkResult, VulkanError}

Return codes:

  • Success:
    • VK_SUCCESS
    • VK_OPERATION_DEFERRED_KHR
    • VK_OPERATION_NOT_DEFERRED_KHR
  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY

Arguments:

  • device::Device
  • infos::AbstractArray{<:AccelerationStructureBuildGeometryInfoKHR}
  • offset_infos::AbstractArray{<:AccelerationStructureBuildOffsetInfoKHR}
source
Vulkan.cmd_begin_conditional_rendering_extFunction
cmd_begin_conditional_rendering_ext(command_buffer::CommandBuffer, conditional_rendering_begin::ConditionalRenderingBeginInfoEXT)::Cvoid

Arguments:

  • command_buffer::CommandBuffer (externsync)
  • conditional_rendering_begin::ConditionalRenderingBeginInfoEXT
source
Vulkan.cmd_begin_debug_utils_label_extFunction
cmd_begin_debug_utils_label_ext(command_buffer::CommandBuffer, label_info::DebugUtilsLabelEXT)::Cvoid

Arguments:

  • command_buffer::CommandBuffer (externsync)
  • label_info::DebugUtilsLabelEXT
source
Vulkan.cmd_begin_queryFunction
cmd_begin_query(command_buffer::CommandBuffer, query_pool::QueryPool, query::Integer; flags = 0)::Cvoid

Arguments:

  • command_buffer::CommandBuffer (externsync)
  • query_pool::QueryPool
  • query::Integer
  • flags: defaults to 0
source
Vulkan.cmd_begin_query_indexed_extFunction
cmd_begin_query_indexed_ext(command_buffer::CommandBuffer, query_pool::QueryPool, query::Integer, index::Integer; flags = 0)::Cvoid

Arguments:

  • command_buffer::CommandBuffer (externsync)
  • query_pool::QueryPool
  • query::Integer
  • index::Integer
  • flags: defaults to 0
source
Vulkan.cmd_begin_render_passFunction
cmd_begin_render_pass(command_buffer::CommandBuffer, render_pass_begin::RenderPassBeginInfo, contents::VkSubpassContents)::Cvoid

Arguments:

  • command_buffer::CommandBuffer (externsync)
  • render_pass_begin::RenderPassBeginInfo
  • contents::VkSubpassContents
source
Vulkan.cmd_begin_render_pass_2Function
cmd_begin_render_pass_2(command_buffer::CommandBuffer, render_pass_begin::RenderPassBeginInfo, subpass_begin_info::SubpassBeginInfo)::Cvoid

Arguments:

  • command_buffer::CommandBuffer (externsync)
  • render_pass_begin::RenderPassBeginInfo
  • subpass_begin_info::SubpassBeginInfo
source
Vulkan.cmd_begin_transform_feedback_extFunction
cmd_begin_transform_feedback_ext(command_buffer::CommandBuffer, counter_buffers::AbstractArray{<:Buffer}; counter_buffer_offsets = C_NULL)::Cvoid

Arguments:

  • command_buffer::CommandBuffer (externsync)
  • counter_buffers::AbstractArray{<:Buffer}
  • counter_buffer_offsets: defaults to C_NULL
source
Vulkan.cmd_bind_descriptor_setsFunction
cmd_bind_descriptor_sets(command_buffer::CommandBuffer, pipeline_bind_point::VkPipelineBindPoint, layout::PipelineLayout, first_set::Integer, descriptor_sets::AbstractArray{<:DescriptorSet}, dynamic_offsets::AbstractArray{<:Integer})::Cvoid

Arguments:

  • command_buffer::CommandBuffer (externsync)
  • pipeline_bind_point::VkPipelineBindPoint
  • layout::PipelineLayout
  • first_set::Integer
  • descriptor_sets::AbstractArray{<:DescriptorSet}
  • dynamic_offsets::AbstractArray{<:Integer}
source
Vulkan.cmd_bind_index_bufferFunction
cmd_bind_index_buffer(command_buffer::CommandBuffer, buffer::Buffer, offset::Integer, index_type::VkIndexType)::Cvoid

Arguments:

  • command_buffer::CommandBuffer (externsync)
  • buffer::Buffer
  • offset::Integer
  • index_type::VkIndexType
source
Vulkan.cmd_bind_pipelineFunction
cmd_bind_pipeline(command_buffer::CommandBuffer, pipeline_bind_point::VkPipelineBindPoint, pipeline::Pipeline)::Cvoid

Arguments:

  • command_buffer::CommandBuffer (externsync)
  • pipeline_bind_point::VkPipelineBindPoint
  • pipeline::Pipeline
source
Vulkan.cmd_bind_pipeline_shader_group_nvFunction
cmd_bind_pipeline_shader_group_nv(command_buffer::CommandBuffer, pipeline_bind_point::VkPipelineBindPoint, pipeline::Pipeline, group_index::Integer)::Cvoid

Arguments:

  • command_buffer::CommandBuffer (externsync)
  • pipeline_bind_point::VkPipelineBindPoint
  • pipeline::Pipeline
  • group_index::Integer
source
Vulkan.cmd_bind_shading_rate_image_nvFunction
cmd_bind_shading_rate_image_nv(command_buffer::CommandBuffer, image_layout::VkImageLayout; image_view = C_NULL)::Cvoid

Arguments:

  • command_buffer::CommandBuffer (externsync)
  • image_layout::VkImageLayout
  • image_view: defaults to C_NULL
source
Vulkan.cmd_bind_transform_feedback_buffers_extFunction
cmd_bind_transform_feedback_buffers_ext(command_buffer::CommandBuffer, buffers::AbstractArray{<:Buffer}, offsets::AbstractArray{<:Integer}; sizes = C_NULL)::Cvoid

Arguments:

  • command_buffer::CommandBuffer (externsync)
  • buffers::AbstractArray{<:Buffer}
  • offsets::AbstractArray{<:Integer}
  • sizes: defaults to C_NULL
source
Vulkan.cmd_bind_vertex_buffersFunction
cmd_bind_vertex_buffers(command_buffer::CommandBuffer, buffers::AbstractArray{<:Buffer}, offsets::AbstractArray{<:Integer})::Cvoid

Arguments:

  • command_buffer::CommandBuffer (externsync)
  • buffers::AbstractArray{<:Buffer}
  • offsets::AbstractArray{<:Integer}
source
Vulkan.cmd_bind_vertex_buffers_2_extFunction
cmd_bind_vertex_buffers_2_ext(command_buffer::CommandBuffer, buffers::AbstractArray{<:Buffer}, offsets::AbstractArray{<:Integer}; sizes = C_NULL, strides = C_NULL)::Cvoid

Arguments:

  • command_buffer::CommandBuffer (externsync)
  • buffers::AbstractArray{<:Buffer}
  • offsets::AbstractArray{<:Integer}
  • sizes: defaults to C_NULL
  • strides: defaults to C_NULL
source
Vulkan.cmd_blit_imageFunction
cmd_blit_image(command_buffer::CommandBuffer, src_image::Image, src_image_layout::VkImageLayout, dst_image::Image, dst_image_layout::VkImageLayout, regions::AbstractArray{<:ImageBlit}, filter::VkFilter)::Cvoid

Arguments:

  • command_buffer::CommandBuffer (externsync)
  • src_image::Image
  • src_image_layout::VkImageLayout
  • dst_image::Image
  • dst_image_layout::VkImageLayout
  • regions::AbstractArray{<:ImageBlit}
  • filter::VkFilter
source
Vulkan.cmd_build_acceleration_structure_indirect_khrFunction
cmd_build_acceleration_structure_indirect_khr(command_buffer::CommandBuffer, info::AccelerationStructureBuildGeometryInfoKHR, indirect_buffer::Buffer, indirect_offset::Integer, indirect_stride::Integer)::Cvoid

Arguments:

  • command_buffer::CommandBuffer (externsync)
  • info::AccelerationStructureBuildGeometryInfoKHR
  • indirect_buffer::Buffer
  • indirect_offset::Integer
  • indirect_stride::Integer
source
Vulkan.cmd_build_acceleration_structure_khrFunction
cmd_build_acceleration_structure_khr(command_buffer::CommandBuffer, infos::AbstractArray{<:AccelerationStructureBuildGeometryInfoKHR}, offset_infos::AbstractArray{<:AccelerationStructureBuildOffsetInfoKHR})::Cvoid

Arguments:

  • command_buffer::CommandBuffer (externsync)
  • infos::AbstractArray{<:AccelerationStructureBuildGeometryInfoKHR}
  • offset_infos::AbstractArray{<:AccelerationStructureBuildOffsetInfoKHR}
source
Vulkan.cmd_build_acceleration_structure_nvFunction
cmd_build_acceleration_structure_nv(command_buffer::CommandBuffer, info::AccelerationStructureInfoNV, instance_offset::Integer, update::Bool, dst::AccelerationStructureKHR, scratch::Buffer, scratch_offset::Integer; instance_data = C_NULL, src = C_NULL)::Cvoid

Arguments:

  • command_buffer::CommandBuffer (externsync)
  • info::AccelerationStructureInfoNV
  • instance_offset::Integer
  • update::Bool
  • dst::AccelerationStructureKHR
  • scratch::Buffer
  • scratch_offset::Integer
  • instance_data: defaults to C_NULL
  • src: defaults to C_NULL
source
Vulkan.cmd_clear_attachmentsFunction
cmd_clear_attachments(command_buffer::CommandBuffer, attachments::AbstractArray{<:ClearAttachment}, rects::AbstractArray{<:ClearRect})::Cvoid

Arguments:

  • command_buffer::CommandBuffer (externsync)
  • attachments::AbstractArray{<:ClearAttachment}
  • rects::AbstractArray{<:ClearRect}
source
Vulkan.cmd_clear_color_imageFunction
cmd_clear_color_image(command_buffer::CommandBuffer, image::Image, image_layout::VkImageLayout, color::VkClearColorValue, ranges::AbstractArray{<:ImageSubresourceRange})::Cvoid

Arguments:

  • command_buffer::CommandBuffer (externsync)
  • image::Image
  • image_layout::VkImageLayout
  • color::VkClearColorValue
  • ranges::AbstractArray{<:ImageSubresourceRange}
source
Vulkan.cmd_clear_depth_stencil_imageFunction
cmd_clear_depth_stencil_image(command_buffer::CommandBuffer, image::Image, image_layout::VkImageLayout, depth_stencil::ClearDepthStencilValue, ranges::AbstractArray{<:ImageSubresourceRange})::Cvoid

Arguments:

  • command_buffer::CommandBuffer (externsync)
  • image::Image
  • image_layout::VkImageLayout
  • depth_stencil::ClearDepthStencilValue
  • ranges::AbstractArray{<:ImageSubresourceRange}
source
Vulkan.cmd_copy_acceleration_structure_khrFunction
cmd_copy_acceleration_structure_khr(command_buffer::CommandBuffer, info::CopyAccelerationStructureInfoKHR)::Cvoid

Arguments:

  • command_buffer::CommandBuffer (externsync)
  • info::CopyAccelerationStructureInfoKHR
source
Vulkan.cmd_copy_acceleration_structure_nvFunction
cmd_copy_acceleration_structure_nv(command_buffer::CommandBuffer, dst::AccelerationStructureKHR, src::AccelerationStructureKHR, mode::VkCopyAccelerationStructureModeKHR)::Cvoid

Arguments:

  • command_buffer::CommandBuffer (externsync)
  • dst::AccelerationStructureKHR
  • src::AccelerationStructureKHR
  • mode::VkCopyAccelerationStructureModeKHR
source
Vulkan.cmd_copy_acceleration_structure_to_memory_khrFunction
cmd_copy_acceleration_structure_to_memory_khr(command_buffer::CommandBuffer, info::CopyAccelerationStructureToMemoryInfoKHR)::Cvoid

Arguments:

  • command_buffer::CommandBuffer (externsync)
  • info::CopyAccelerationStructureToMemoryInfoKHR
source
Vulkan.cmd_copy_bufferFunction
cmd_copy_buffer(command_buffer::CommandBuffer, src_buffer::Buffer, dst_buffer::Buffer, regions::AbstractArray{<:BufferCopy})::Cvoid

Arguments:

  • command_buffer::CommandBuffer (externsync)
  • src_buffer::Buffer
  • dst_buffer::Buffer
  • regions::AbstractArray{<:BufferCopy}
source
Vulkan.cmd_copy_buffer_to_imageFunction
cmd_copy_buffer_to_image(command_buffer::CommandBuffer, src_buffer::Buffer, dst_image::Image, dst_image_layout::VkImageLayout, regions::AbstractArray{<:BufferImageCopy})::Cvoid

Arguments:

  • command_buffer::CommandBuffer (externsync)
  • src_buffer::Buffer
  • dst_image::Image
  • dst_image_layout::VkImageLayout
  • regions::AbstractArray{<:BufferImageCopy}
source
Vulkan.cmd_copy_imageFunction
cmd_copy_image(command_buffer::CommandBuffer, src_image::Image, src_image_layout::VkImageLayout, dst_image::Image, dst_image_layout::VkImageLayout, regions::AbstractArray{<:ImageCopy})::Cvoid

Arguments:

  • command_buffer::CommandBuffer (externsync)
  • src_image::Image
  • src_image_layout::VkImageLayout
  • dst_image::Image
  • dst_image_layout::VkImageLayout
  • regions::AbstractArray{<:ImageCopy}
source
Vulkan.cmd_copy_image_to_bufferFunction
cmd_copy_image_to_buffer(command_buffer::CommandBuffer, src_image::Image, src_image_layout::VkImageLayout, dst_buffer::Buffer, regions::AbstractArray{<:BufferImageCopy})::Cvoid

Arguments:

  • command_buffer::CommandBuffer (externsync)
  • src_image::Image
  • src_image_layout::VkImageLayout
  • dst_buffer::Buffer
  • regions::AbstractArray{<:BufferImageCopy}
source
Vulkan.cmd_copy_memory_to_acceleration_structure_khrFunction
cmd_copy_memory_to_acceleration_structure_khr(command_buffer::CommandBuffer, info::CopyMemoryToAccelerationStructureInfoKHR)::Cvoid

Arguments:

  • command_buffer::CommandBuffer (externsync)
  • info::CopyMemoryToAccelerationStructureInfoKHR
source
Vulkan.cmd_copy_query_pool_resultsFunction
cmd_copy_query_pool_results(command_buffer::CommandBuffer, query_pool::QueryPool, first_query::Integer, query_count::Integer, dst_buffer::Buffer, dst_offset::Integer, stride::Integer; flags = 0)::Cvoid

Arguments:

  • command_buffer::CommandBuffer (externsync)
  • query_pool::QueryPool
  • first_query::Integer
  • query_count::Integer
  • dst_buffer::Buffer
  • dst_offset::Integer
  • stride::Integer
  • flags: defaults to 0
source
Vulkan.cmd_debug_marker_begin_extFunction
cmd_debug_marker_begin_ext(command_buffer::CommandBuffer, marker_info::DebugMarkerMarkerInfoEXT)::Cvoid

Arguments:

  • command_buffer::CommandBuffer (externsync)
  • marker_info::DebugMarkerMarkerInfoEXT
source
Vulkan.cmd_debug_marker_insert_extFunction
cmd_debug_marker_insert_ext(command_buffer::CommandBuffer, marker_info::DebugMarkerMarkerInfoEXT)::Cvoid

Arguments:

  • command_buffer::CommandBuffer (externsync)
  • marker_info::DebugMarkerMarkerInfoEXT
source
Vulkan.cmd_dispatchFunction
cmd_dispatch(command_buffer::CommandBuffer, group_count_x::Integer, group_count_y::Integer, group_count_z::Integer)::Cvoid

Arguments:

  • command_buffer::CommandBuffer (externsync)
  • group_count_x::Integer
  • group_count_y::Integer
  • group_count_z::Integer
source
Vulkan.cmd_dispatch_baseFunction
cmd_dispatch_base(command_buffer::CommandBuffer, base_group_x::Integer, base_group_y::Integer, base_group_z::Integer, group_count_x::Integer, group_count_y::Integer, group_count_z::Integer)::Cvoid

Arguments:

  • command_buffer::CommandBuffer (externsync)
  • base_group_x::Integer
  • base_group_y::Integer
  • base_group_z::Integer
  • group_count_x::Integer
  • group_count_y::Integer
  • group_count_z::Integer
source
Vulkan.cmd_dispatch_indirectFunction
cmd_dispatch_indirect(command_buffer::CommandBuffer, buffer::Buffer, offset::Integer)::Cvoid

Arguments:

  • command_buffer::CommandBuffer (externsync)
  • buffer::Buffer
  • offset::Integer
source
Vulkan.cmd_drawFunction
cmd_draw(command_buffer::CommandBuffer, vertex_count::Integer, instance_count::Integer, first_vertex::Integer, first_instance::Integer)::Cvoid

Arguments:

  • command_buffer::CommandBuffer (externsync)
  • vertex_count::Integer
  • instance_count::Integer
  • first_vertex::Integer
  • first_instance::Integer
source
Vulkan.cmd_draw_indexedFunction
cmd_draw_indexed(command_buffer::CommandBuffer, index_count::Integer, instance_count::Integer, first_index::Integer, vertex_offset::Integer, first_instance::Integer)::Cvoid

Arguments:

  • command_buffer::CommandBuffer (externsync)
  • index_count::Integer
  • instance_count::Integer
  • first_index::Integer
  • vertex_offset::Integer
  • first_instance::Integer
source
Vulkan.cmd_draw_indexed_indirectFunction
cmd_draw_indexed_indirect(command_buffer::CommandBuffer, buffer::Buffer, offset::Integer, draw_count::Integer, stride::Integer)::Cvoid

Arguments:

  • command_buffer::CommandBuffer (externsync)
  • buffer::Buffer
  • offset::Integer
  • draw_count::Integer
  • stride::Integer
source
Vulkan.cmd_draw_indexed_indirect_countFunction
cmd_draw_indexed_indirect_count(command_buffer::CommandBuffer, buffer::Buffer, offset::Integer, count_buffer::Buffer, count_buffer_offset::Integer, max_draw_count::Integer, stride::Integer)::Cvoid

Arguments:

  • command_buffer::CommandBuffer (externsync)
  • buffer::Buffer
  • offset::Integer
  • count_buffer::Buffer
  • count_buffer_offset::Integer
  • max_draw_count::Integer
  • stride::Integer
source
Vulkan.cmd_draw_indirectFunction
cmd_draw_indirect(command_buffer::CommandBuffer, buffer::Buffer, offset::Integer, draw_count::Integer, stride::Integer)::Cvoid

Arguments:

  • command_buffer::CommandBuffer (externsync)
  • buffer::Buffer
  • offset::Integer
  • draw_count::Integer
  • stride::Integer
source
Vulkan.cmd_draw_indirect_byte_count_extFunction
cmd_draw_indirect_byte_count_ext(command_buffer::CommandBuffer, instance_count::Integer, first_instance::Integer, counter_buffer::Buffer, counter_buffer_offset::Integer, counter_offset::Integer, vertex_stride::Integer)::Cvoid

Arguments:

  • command_buffer::CommandBuffer (externsync)
  • instance_count::Integer
  • first_instance::Integer
  • counter_buffer::Buffer
  • counter_buffer_offset::Integer
  • counter_offset::Integer
  • vertex_stride::Integer
source
Vulkan.cmd_draw_indirect_countFunction
cmd_draw_indirect_count(command_buffer::CommandBuffer, buffer::Buffer, offset::Integer, count_buffer::Buffer, count_buffer_offset::Integer, max_draw_count::Integer, stride::Integer)::Cvoid

Arguments:

  • command_buffer::CommandBuffer (externsync)
  • buffer::Buffer
  • offset::Integer
  • count_buffer::Buffer
  • count_buffer_offset::Integer
  • max_draw_count::Integer
  • stride::Integer
source
Vulkan.cmd_draw_mesh_tasks_indirect_count_nvFunction
cmd_draw_mesh_tasks_indirect_count_nv(command_buffer::CommandBuffer, buffer::Buffer, offset::Integer, count_buffer::Buffer, count_buffer_offset::Integer, max_draw_count::Integer, stride::Integer)::Cvoid

Arguments:

  • command_buffer::CommandBuffer (externsync)
  • buffer::Buffer
  • offset::Integer
  • count_buffer::Buffer
  • count_buffer_offset::Integer
  • max_draw_count::Integer
  • stride::Integer
source
Vulkan.cmd_draw_mesh_tasks_indirect_nvFunction
cmd_draw_mesh_tasks_indirect_nv(command_buffer::CommandBuffer, buffer::Buffer, offset::Integer, draw_count::Integer, stride::Integer)::Cvoid

Arguments:

  • command_buffer::CommandBuffer (externsync)
  • buffer::Buffer
  • offset::Integer
  • draw_count::Integer
  • stride::Integer
source
Vulkan.cmd_draw_mesh_tasks_nvFunction
cmd_draw_mesh_tasks_nv(command_buffer::CommandBuffer, task_count::Integer, first_task::Integer)::Cvoid

Arguments:

  • command_buffer::CommandBuffer (externsync)
  • task_count::Integer
  • first_task::Integer
source
Vulkan.cmd_end_queryFunction
cmd_end_query(command_buffer::CommandBuffer, query_pool::QueryPool, query::Integer)::Cvoid

Arguments:

  • command_buffer::CommandBuffer (externsync)
  • query_pool::QueryPool
  • query::Integer
source
Vulkan.cmd_end_query_indexed_extFunction
cmd_end_query_indexed_ext(command_buffer::CommandBuffer, query_pool::QueryPool, query::Integer, index::Integer)::Cvoid

Arguments:

  • command_buffer::CommandBuffer (externsync)
  • query_pool::QueryPool
  • query::Integer
  • index::Integer
source
Vulkan.cmd_end_render_pass_2Function
cmd_end_render_pass_2(command_buffer::CommandBuffer, subpass_end_info::SubpassEndInfo)::Cvoid

Arguments:

  • command_buffer::CommandBuffer (externsync)
  • subpass_end_info::SubpassEndInfo
source
Vulkan.cmd_end_transform_feedback_extFunction
cmd_end_transform_feedback_ext(command_buffer::CommandBuffer, counter_buffers::AbstractArray{<:Buffer}; counter_buffer_offsets = C_NULL)::Cvoid

Arguments:

  • command_buffer::CommandBuffer (externsync)
  • counter_buffers::AbstractArray{<:Buffer}
  • counter_buffer_offsets: defaults to C_NULL
source
Vulkan.cmd_execute_commandsFunction
cmd_execute_commands(command_buffer::CommandBuffer, command_buffers::AbstractArray{<:CommandBuffer})::Cvoid

Arguments:

  • command_buffer::CommandBuffer (externsync)
  • command_buffers::AbstractArray{<:CommandBuffer}
source
Vulkan.cmd_execute_generated_commands_nvFunction
cmd_execute_generated_commands_nv(command_buffer::CommandBuffer, is_preprocessed::Bool, generated_commands_info::GeneratedCommandsInfoNV)::Cvoid

Arguments:

  • command_buffer::CommandBuffer (externsync)
  • is_preprocessed::Bool
  • generated_commands_info::GeneratedCommandsInfoNV
source
Vulkan.cmd_fill_bufferFunction
cmd_fill_buffer(command_buffer::CommandBuffer, dst_buffer::Buffer, dst_offset::Integer, size::Integer, data::Integer)::Cvoid

Arguments:

  • command_buffer::CommandBuffer (externsync)
  • dst_buffer::Buffer
  • dst_offset::Integer
  • size::Integer
  • data::Integer
source
Vulkan.cmd_insert_debug_utils_label_extFunction
cmd_insert_debug_utils_label_ext(command_buffer::CommandBuffer, label_info::DebugUtilsLabelEXT)::Cvoid

Arguments:

  • command_buffer::CommandBuffer (externsync)
  • label_info::DebugUtilsLabelEXT
source
Vulkan.cmd_next_subpassFunction
cmd_next_subpass(command_buffer::CommandBuffer, contents::VkSubpassContents)::Cvoid

Arguments:

  • command_buffer::CommandBuffer (externsync)
  • contents::VkSubpassContents
source
Vulkan.cmd_next_subpass_2Function
cmd_next_subpass_2(command_buffer::CommandBuffer, subpass_begin_info::SubpassBeginInfo, subpass_end_info::SubpassEndInfo)::Cvoid

Arguments:

  • command_buffer::CommandBuffer (externsync)
  • subpass_begin_info::SubpassBeginInfo
  • subpass_end_info::SubpassEndInfo
source
Vulkan.cmd_pipeline_barrierFunction
cmd_pipeline_barrier(command_buffer::CommandBuffer, src_stage_mask::PipelineStageFlag, dst_stage_mask::PipelineStageFlag, memory_barriers::AbstractArray{<:MemoryBarrier}, buffer_memory_barriers::AbstractArray{<:BufferMemoryBarrier}, image_memory_barriers::AbstractArray{<:ImageMemoryBarrier}; dependency_flags = 0)::Cvoid

Arguments:

  • command_buffer::CommandBuffer (externsync)
  • src_stage_mask::PipelineStageFlag
  • dst_stage_mask::PipelineStageFlag
  • memory_barriers::AbstractArray{<:MemoryBarrier}
  • buffer_memory_barriers::AbstractArray{<:BufferMemoryBarrier}
  • image_memory_barriers::AbstractArray{<:ImageMemoryBarrier}
  • dependency_flags: defaults to 0
source
Vulkan.cmd_preprocess_generated_commands_nvFunction
cmd_preprocess_generated_commands_nv(command_buffer::CommandBuffer, generated_commands_info::GeneratedCommandsInfoNV)::Cvoid

Arguments:

  • command_buffer::CommandBuffer (externsync)
  • generated_commands_info::GeneratedCommandsInfoNV
source
Vulkan.cmd_push_constantsFunction
cmd_push_constants(command_buffer::CommandBuffer, layout::PipelineLayout, stage_flags::ShaderStageFlag, offset::Integer, values::Ptr{Cvoid})::Cvoid

Arguments:

  • command_buffer::CommandBuffer (externsync)
  • layout::PipelineLayout
  • stage_flags::ShaderStageFlag
  • offset::Integer
  • values::Ptr{Cvoid} (must be a valid pointer with size bytes)
source
Vulkan.cmd_push_descriptor_set_khrFunction
cmd_push_descriptor_set_khr(command_buffer::CommandBuffer, pipeline_bind_point::VkPipelineBindPoint, layout::PipelineLayout, set::Integer, descriptor_writes::AbstractArray{<:WriteDescriptorSet})::Cvoid

Arguments:

  • command_buffer::CommandBuffer (externsync)
  • pipeline_bind_point::VkPipelineBindPoint
  • layout::PipelineLayout
  • set::Integer
  • descriptor_writes::AbstractArray{<:WriteDescriptorSet}
source
Vulkan.cmd_push_descriptor_set_with_template_khrFunction
cmd_push_descriptor_set_with_template_khr(command_buffer::CommandBuffer, descriptor_update_template::DescriptorUpdateTemplate, layout::PipelineLayout, set::Integer, data::Ptr{Cvoid})::Cvoid

Arguments:

  • command_buffer::CommandBuffer (externsync)
  • descriptor_update_template::DescriptorUpdateTemplate
  • layout::PipelineLayout
  • set::Integer
  • data::Ptr{Cvoid}
source
Vulkan.cmd_reset_eventFunction
cmd_reset_event(command_buffer::CommandBuffer, event::Event, stage_mask::PipelineStageFlag)::Cvoid

Arguments:

  • command_buffer::CommandBuffer (externsync)
  • event::Event
  • stage_mask::PipelineStageFlag
source
Vulkan.cmd_reset_query_poolFunction
cmd_reset_query_pool(command_buffer::CommandBuffer, query_pool::QueryPool, first_query::Integer, query_count::Integer)::Cvoid

Arguments:

  • command_buffer::CommandBuffer (externsync)
  • query_pool::QueryPool
  • first_query::Integer
  • query_count::Integer
source
Vulkan.cmd_resolve_imageFunction
cmd_resolve_image(command_buffer::CommandBuffer, src_image::Image, src_image_layout::VkImageLayout, dst_image::Image, dst_image_layout::VkImageLayout, regions::AbstractArray{<:ImageResolve})::Cvoid

Arguments:

  • command_buffer::CommandBuffer (externsync)
  • src_image::Image
  • src_image_layout::VkImageLayout
  • dst_image::Image
  • dst_image_layout::VkImageLayout
  • regions::AbstractArray{<:ImageResolve}
source
Vulkan.cmd_set_blend_constantsFunction
cmd_set_blend_constants(command_buffer::CommandBuffer, blend_constants::NTuple{4, Float32})::Cvoid

Arguments:

  • command_buffer::CommandBuffer (externsync)
  • blend_constants::NTuple{4, Float32}
source
Vulkan.cmd_set_checkpoint_nvFunction
cmd_set_checkpoint_nv(command_buffer::CommandBuffer, checkpoint_marker::Ptr{Cvoid})::Cvoid

Arguments:

  • command_buffer::CommandBuffer (externsync)
  • checkpoint_marker::Ptr{Cvoid}
source
Vulkan.cmd_set_coarse_sample_order_nvFunction
cmd_set_coarse_sample_order_nv(command_buffer::CommandBuffer, sample_order_type::VkCoarseSampleOrderTypeNV, custom_sample_orders::AbstractArray{<:CoarseSampleOrderCustomNV})::Cvoid

Arguments:

  • command_buffer::CommandBuffer (externsync)
  • sample_order_type::VkCoarseSampleOrderTypeNV
  • custom_sample_orders::AbstractArray{<:CoarseSampleOrderCustomNV}
source
Vulkan.cmd_set_cull_mode_extFunction
cmd_set_cull_mode_ext(command_buffer::CommandBuffer; cull_mode = 0)::Cvoid

Arguments:

  • command_buffer::CommandBuffer (externsync)
  • cull_mode: defaults to 0
source
Vulkan.cmd_set_depth_biasFunction
cmd_set_depth_bias(command_buffer::CommandBuffer, depth_bias_constant_factor::Real, depth_bias_clamp::Real, depth_bias_slope_factor::Real)::Cvoid

Arguments:

  • command_buffer::CommandBuffer (externsync)
  • depth_bias_constant_factor::Real
  • depth_bias_clamp::Real
  • depth_bias_slope_factor::Real
source
Vulkan.cmd_set_depth_boundsFunction
cmd_set_depth_bounds(command_buffer::CommandBuffer, min_depth_bounds::Real, max_depth_bounds::Real)::Cvoid

Arguments:

  • command_buffer::CommandBuffer (externsync)
  • min_depth_bounds::Real
  • max_depth_bounds::Real
source
Vulkan.cmd_set_depth_bounds_test_enable_extFunction
cmd_set_depth_bounds_test_enable_ext(command_buffer::CommandBuffer, depth_bounds_test_enable::Bool)::Cvoid

Arguments:

  • command_buffer::CommandBuffer (externsync)
  • depth_bounds_test_enable::Bool
source
Vulkan.cmd_set_depth_compare_op_extFunction
cmd_set_depth_compare_op_ext(command_buffer::CommandBuffer, depth_compare_op::VkCompareOp)::Cvoid

Arguments:

  • command_buffer::CommandBuffer (externsync)
  • depth_compare_op::VkCompareOp
source
Vulkan.cmd_set_depth_test_enable_extFunction
cmd_set_depth_test_enable_ext(command_buffer::CommandBuffer, depth_test_enable::Bool)::Cvoid

Arguments:

  • command_buffer::CommandBuffer (externsync)
  • depth_test_enable::Bool
source
Vulkan.cmd_set_depth_write_enable_extFunction
cmd_set_depth_write_enable_ext(command_buffer::CommandBuffer, depth_write_enable::Bool)::Cvoid

Arguments:

  • command_buffer::CommandBuffer (externsync)
  • depth_write_enable::Bool
source
Vulkan.cmd_set_device_maskFunction
cmd_set_device_mask(command_buffer::CommandBuffer, device_mask::Integer)::Cvoid

Arguments:

  • command_buffer::CommandBuffer (externsync)
  • device_mask::Integer
source
Vulkan.cmd_set_discard_rectangle_extFunction
cmd_set_discard_rectangle_ext(command_buffer::CommandBuffer, discard_rectangles::AbstractArray{<:Rect2D})::Cvoid

Arguments:

  • command_buffer::CommandBuffer (externsync)
  • discard_rectangles::AbstractArray{<:Rect2D}
source
Vulkan.cmd_set_eventFunction
cmd_set_event(command_buffer::CommandBuffer, event::Event, stage_mask::PipelineStageFlag)::Cvoid

Arguments:

  • command_buffer::CommandBuffer (externsync)
  • event::Event
  • stage_mask::PipelineStageFlag
source
Vulkan.cmd_set_exclusive_scissor_nvFunction
cmd_set_exclusive_scissor_nv(command_buffer::CommandBuffer, exclusive_scissors::AbstractArray{<:Rect2D})::Cvoid

Arguments:

  • command_buffer::CommandBuffer (externsync)
  • exclusive_scissors::AbstractArray{<:Rect2D}
source
Vulkan.cmd_set_front_face_extFunction
cmd_set_front_face_ext(command_buffer::CommandBuffer, front_face::VkFrontFace)::Cvoid

Arguments:

  • command_buffer::CommandBuffer (externsync)
  • front_face::VkFrontFace
source
Vulkan.cmd_set_line_stipple_extFunction
cmd_set_line_stipple_ext(command_buffer::CommandBuffer, line_stipple_factor::Integer, line_stipple_pattern::Integer)::Cvoid

Arguments:

  • command_buffer::CommandBuffer (externsync)
  • line_stipple_factor::Integer
  • line_stipple_pattern::Integer
source
Vulkan.cmd_set_line_widthFunction
cmd_set_line_width(command_buffer::CommandBuffer, line_width::Real)::Cvoid

Arguments:

  • command_buffer::CommandBuffer (externsync)
  • line_width::Real
source
Vulkan.cmd_set_performance_marker_intelFunction
cmd_set_performance_marker_intel(command_buffer::CommandBuffer, marker_info::PerformanceMarkerInfoINTEL)::Result{VkResult, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_TOO_MANY_OBJECTS
    • VK_ERROR_OUT_OF_HOST_MEMORY

Arguments:

  • command_buffer::CommandBuffer (externsync)
  • marker_info::PerformanceMarkerInfoINTEL
source
Vulkan.cmd_set_performance_override_intelFunction
cmd_set_performance_override_intel(command_buffer::CommandBuffer, override_info::PerformanceOverrideInfoINTEL)::Result{VkResult, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_TOO_MANY_OBJECTS
    • VK_ERROR_OUT_OF_HOST_MEMORY

Arguments:

  • command_buffer::CommandBuffer (externsync)
  • override_info::PerformanceOverrideInfoINTEL
source
Vulkan.cmd_set_performance_stream_marker_intelFunction
cmd_set_performance_stream_marker_intel(command_buffer::CommandBuffer, marker_info::PerformanceStreamMarkerInfoINTEL)::Result{VkResult, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_TOO_MANY_OBJECTS
    • VK_ERROR_OUT_OF_HOST_MEMORY

Arguments:

  • command_buffer::CommandBuffer (externsync)
  • marker_info::PerformanceStreamMarkerInfoINTEL
source
Vulkan.cmd_set_primitive_topology_extFunction
cmd_set_primitive_topology_ext(command_buffer::CommandBuffer, primitive_topology::VkPrimitiveTopology)::Cvoid

Arguments:

  • command_buffer::CommandBuffer (externsync)
  • primitive_topology::VkPrimitiveTopology
source
Vulkan.cmd_set_sample_locations_extFunction
cmd_set_sample_locations_ext(command_buffer::CommandBuffer, sample_locations_info::SampleLocationsInfoEXT)::Cvoid

Arguments:

  • command_buffer::CommandBuffer (externsync)
  • sample_locations_info::SampleLocationsInfoEXT
source
Vulkan.cmd_set_scissorFunction
cmd_set_scissor(command_buffer::CommandBuffer, scissors::AbstractArray{<:Rect2D})::Cvoid

Arguments:

  • command_buffer::CommandBuffer (externsync)
  • scissors::AbstractArray{<:Rect2D}
source
Vulkan.cmd_set_scissor_with_count_extFunction
cmd_set_scissor_with_count_ext(command_buffer::CommandBuffer, scissors::AbstractArray{<:Rect2D})::Cvoid

Arguments:

  • command_buffer::CommandBuffer (externsync)
  • scissors::AbstractArray{<:Rect2D}
source
Vulkan.cmd_set_stencil_compare_maskFunction
cmd_set_stencil_compare_mask(command_buffer::CommandBuffer, face_mask::StencilFaceFlag, compare_mask::Integer)::Cvoid

Arguments:

  • command_buffer::CommandBuffer (externsync)
  • face_mask::StencilFaceFlag
  • compare_mask::Integer
source
Vulkan.cmd_set_stencil_op_extFunction
cmd_set_stencil_op_ext(command_buffer::CommandBuffer, face_mask::StencilFaceFlag, fail_op::VkStencilOp, pass_op::VkStencilOp, depth_fail_op::VkStencilOp, compare_op::VkCompareOp)::Cvoid

Arguments:

  • command_buffer::CommandBuffer (externsync)
  • face_mask::StencilFaceFlag
  • fail_op::VkStencilOp
  • pass_op::VkStencilOp
  • depth_fail_op::VkStencilOp
  • compare_op::VkCompareOp
source
Vulkan.cmd_set_stencil_referenceFunction
cmd_set_stencil_reference(command_buffer::CommandBuffer, face_mask::StencilFaceFlag, reference::Integer)::Cvoid

Arguments:

  • command_buffer::CommandBuffer (externsync)
  • face_mask::StencilFaceFlag
  • reference::Integer
source
Vulkan.cmd_set_stencil_test_enable_extFunction
cmd_set_stencil_test_enable_ext(command_buffer::CommandBuffer, stencil_test_enable::Bool)::Cvoid

Arguments:

  • command_buffer::CommandBuffer (externsync)
  • stencil_test_enable::Bool
source
Vulkan.cmd_set_stencil_write_maskFunction
cmd_set_stencil_write_mask(command_buffer::CommandBuffer, face_mask::StencilFaceFlag, write_mask::Integer)::Cvoid

Arguments:

  • command_buffer::CommandBuffer (externsync)
  • face_mask::StencilFaceFlag
  • write_mask::Integer
source
Vulkan.cmd_set_viewportFunction
cmd_set_viewport(command_buffer::CommandBuffer, viewports::AbstractArray{<:Viewport})::Cvoid

Arguments:

  • command_buffer::CommandBuffer (externsync)
  • viewports::AbstractArray{<:Viewport}
source
Vulkan.cmd_set_viewport_shading_rate_palette_nvFunction
cmd_set_viewport_shading_rate_palette_nv(command_buffer::CommandBuffer, shading_rate_palettes::AbstractArray{<:ShadingRatePaletteNV})::Cvoid

Arguments:

  • command_buffer::CommandBuffer (externsync)
  • shading_rate_palettes::AbstractArray{<:ShadingRatePaletteNV}
source
Vulkan.cmd_set_viewport_w_scaling_nvFunction
cmd_set_viewport_w_scaling_nv(command_buffer::CommandBuffer, viewport_w_scalings::AbstractArray{<:ViewportWScalingNV})::Cvoid

Arguments:

  • command_buffer::CommandBuffer (externsync)
  • viewport_w_scalings::AbstractArray{<:ViewportWScalingNV}
source
Vulkan.cmd_set_viewport_with_count_extFunction
cmd_set_viewport_with_count_ext(command_buffer::CommandBuffer, viewports::AbstractArray{<:Viewport})::Cvoid

Arguments:

  • command_buffer::CommandBuffer (externsync)
  • viewports::AbstractArray{<:Viewport}
source
Vulkan.cmd_trace_rays_indirect_khrFunction
cmd_trace_rays_indirect_khr(command_buffer::CommandBuffer, raygen_shader_binding_table::StridedBufferRegionKHR, miss_shader_binding_table::StridedBufferRegionKHR, hit_shader_binding_table::StridedBufferRegionKHR, callable_shader_binding_table::StridedBufferRegionKHR, buffer::Buffer, offset::Integer)::Cvoid

Arguments:

  • command_buffer::CommandBuffer (externsync)
  • raygen_shader_binding_table::StridedBufferRegionKHR
  • miss_shader_binding_table::StridedBufferRegionKHR
  • hit_shader_binding_table::StridedBufferRegionKHR
  • callable_shader_binding_table::StridedBufferRegionKHR
  • buffer::Buffer
  • offset::Integer
source
Vulkan.cmd_trace_rays_khrFunction
cmd_trace_rays_khr(command_buffer::CommandBuffer, raygen_shader_binding_table::StridedBufferRegionKHR, miss_shader_binding_table::StridedBufferRegionKHR, hit_shader_binding_table::StridedBufferRegionKHR, callable_shader_binding_table::StridedBufferRegionKHR, width::Integer, height::Integer, depth::Integer)::Cvoid

Arguments:

  • command_buffer::CommandBuffer (externsync)
  • raygen_shader_binding_table::StridedBufferRegionKHR
  • miss_shader_binding_table::StridedBufferRegionKHR
  • hit_shader_binding_table::StridedBufferRegionKHR
  • callable_shader_binding_table::StridedBufferRegionKHR
  • width::Integer
  • height::Integer
  • depth::Integer
source
Vulkan.cmd_trace_rays_nvFunction
cmd_trace_rays_nv(command_buffer::CommandBuffer, raygen_shader_binding_table_buffer::Buffer, raygen_shader_binding_offset::Integer, miss_shader_binding_offset::Integer, miss_shader_binding_stride::Integer, hit_shader_binding_offset::Integer, hit_shader_binding_stride::Integer, callable_shader_binding_offset::Integer, callable_shader_binding_stride::Integer, width::Integer, height::Integer, depth::Integer; miss_shader_binding_table_buffer = C_NULL, hit_shader_binding_table_buffer = C_NULL, callable_shader_binding_table_buffer = C_NULL)::Cvoid

Arguments:

  • command_buffer::CommandBuffer (externsync)
  • raygen_shader_binding_table_buffer::Buffer
  • raygen_shader_binding_offset::Integer
  • miss_shader_binding_offset::Integer
  • miss_shader_binding_stride::Integer
  • hit_shader_binding_offset::Integer
  • hit_shader_binding_stride::Integer
  • callable_shader_binding_offset::Integer
  • callable_shader_binding_stride::Integer
  • width::Integer
  • height::Integer
  • depth::Integer
  • miss_shader_binding_table_buffer: defaults to C_NULL
  • hit_shader_binding_table_buffer: defaults to C_NULL
  • callable_shader_binding_table_buffer: defaults to C_NULL
source
Vulkan.cmd_update_bufferFunction
cmd_update_buffer(command_buffer::CommandBuffer, dst_buffer::Buffer, dst_offset::Integer, data_size::Integer, data::Ptr{Cvoid})::Cvoid

Arguments:

  • command_buffer::CommandBuffer (externsync)
  • dst_buffer::Buffer
  • dst_offset::Integer
  • data_size::Integer
  • data::Ptr{Cvoid} (must be a valid pointer with data_size bytes)
source
Vulkan.cmd_wait_eventsFunction
cmd_wait_events(command_buffer::CommandBuffer, events::AbstractArray{<:Event}, src_stage_mask::PipelineStageFlag, dst_stage_mask::PipelineStageFlag, memory_barriers::AbstractArray{<:MemoryBarrier}, buffer_memory_barriers::AbstractArray{<:BufferMemoryBarrier}, image_memory_barriers::AbstractArray{<:ImageMemoryBarrier})::Cvoid

Arguments:

  • command_buffer::CommandBuffer (externsync)
  • events::AbstractArray{<:Event}
  • src_stage_mask::PipelineStageFlag
  • dst_stage_mask::PipelineStageFlag
  • memory_barriers::AbstractArray{<:MemoryBarrier}
  • buffer_memory_barriers::AbstractArray{<:BufferMemoryBarrier}
  • image_memory_barriers::AbstractArray{<:ImageMemoryBarrier}
source
Vulkan.cmd_write_acceleration_structures_properties_khrFunction
cmd_write_acceleration_structures_properties_khr(command_buffer::CommandBuffer, acceleration_structures::AbstractArray{<:AccelerationStructureKHR}, query_type::VkQueryType, query_pool::QueryPool, first_query::Integer)::Cvoid

Arguments:

  • command_buffer::CommandBuffer (externsync)
  • acceleration_structures::AbstractArray{<:AccelerationStructureKHR}
  • query_type::VkQueryType
  • query_pool::QueryPool
  • first_query::Integer
source
Vulkan.cmd_write_buffer_marker_amdFunction
cmd_write_buffer_marker_amd(command_buffer::CommandBuffer, pipeline_stage::PipelineStageFlag, dst_buffer::Buffer, dst_offset::Integer, marker::Integer)::Cvoid

Arguments:

  • command_buffer::CommandBuffer (externsync)
  • pipeline_stage::PipelineStageFlag
  • dst_buffer::Buffer
  • dst_offset::Integer
  • marker::Integer
source
Vulkan.cmd_write_timestampFunction
cmd_write_timestamp(command_buffer::CommandBuffer, pipeline_stage::PipelineStageFlag, query_pool::QueryPool, query::Integer)::Cvoid

Arguments:

  • command_buffer::CommandBuffer (externsync)
  • pipeline_stage::PipelineStageFlag
  • query_pool::QueryPool
  • query::Integer
source
Vulkan.compile_deferred_nvFunction
compile_deferred_nv(device::Device, pipeline::Pipeline, shader::Integer)::Result{VkResult, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY

Arguments:

  • device::Device
  • pipeline::Pipeline
  • shader::Integer
source
Vulkan.copy_acceleration_structure_khrFunction
copy_acceleration_structure_khr(device::Device, info::CopyAccelerationStructureInfoKHR)::Result{VkResult, VulkanError}

Return codes:

  • Success:
    • VK_SUCCESS
    • VK_OPERATION_DEFERRED_KHR
    • VK_OPERATION_NOT_DEFERRED_KHR
  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY

Arguments:

  • device::Device
  • info::CopyAccelerationStructureInfoKHR
source
Vulkan.copy_acceleration_structure_to_memory_khrFunction
copy_acceleration_structure_to_memory_khr(device::Device, info::CopyAccelerationStructureToMemoryInfoKHR)::Result{VkResult, VulkanError}

Return codes:

  • Success:
    • VK_SUCCESS
    • VK_OPERATION_DEFERRED_KHR
    • VK_OPERATION_NOT_DEFERRED_KHR
  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY

Arguments:

  • device::Device
  • info::CopyAccelerationStructureToMemoryInfoKHR
source
Vulkan.copy_memory_to_acceleration_structure_khrFunction
copy_memory_to_acceleration_structure_khr(device::Device, info::CopyMemoryToAccelerationStructureInfoKHR)::Result{VkResult, VulkanError}

Return codes:

  • Success:
    • VK_SUCCESS
    • VK_OPERATION_DEFERRED_KHR
    • VK_OPERATION_NOT_DEFERRED_KHR
  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY

Arguments:

  • device::Device
  • info::CopyMemoryToAccelerationStructureInfoKHR
source
Vulkan.create_acceleration_structure_khrFunction
create_acceleration_structure_khr(device::Device, create_info::AccelerationStructureCreateInfoKHR; allocator = C_NULL)::Result{AccelerationStructureKHR, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_INVALID_OPAQUE_CAPTURE_ADDRESS_KHR

Arguments:

  • device::Device
  • create_info::AccelerationStructureCreateInfoKHR
  • allocator: defaults to C_NULL
source
Vulkan.create_acceleration_structure_nvFunction
create_acceleration_structure_nv(device::Device, create_info::AccelerationStructureCreateInfoNV; allocator = C_NULL)::Result{VkAccelerationStructureNV, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY

Arguments:

  • device::Device
  • create_info::AccelerationStructureCreateInfoNV
  • allocator: defaults to C_NULL
source
Vulkan.create_android_surface_khrFunction
create_android_surface_khr(instance::Instance, create_info::AndroidSurfaceCreateInfoKHR; allocator = C_NULL)::Result{SurfaceKHR, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY
    • VK_ERROR_NATIVE_WINDOW_IN_USE_KHR

Arguments:

  • instance::Instance
  • create_info::AndroidSurfaceCreateInfoKHR
  • allocator: defaults to C_NULL
source
Vulkan.create_bufferFunction
create_buffer(device::Device, create_info::BufferCreateInfo; allocator = C_NULL)::Result{Buffer, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY
    • VK_ERROR_INVALID_OPAQUE_CAPTURE_ADDRESS_KHR

Arguments:

  • device::Device
  • create_info::BufferCreateInfo
  • allocator: defaults to C_NULL
source
Vulkan.create_buffer_viewFunction
create_buffer_view(device::Device, create_info::BufferViewCreateInfo; allocator = C_NULL)::Result{BufferView, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY

Arguments:

  • device::Device
  • create_info::BufferViewCreateInfo
  • allocator: defaults to C_NULL
source
Vulkan.create_command_poolFunction
create_command_pool(device::Device, create_info::CommandPoolCreateInfo; allocator = C_NULL)::Result{CommandPool, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY

Arguments:

  • device::Device
  • create_info::CommandPoolCreateInfo
  • allocator: defaults to C_NULL
source
Vulkan.create_compute_pipelinesFunction
create_compute_pipelines(device::Device, create_infos::AbstractArray{<:ComputePipelineCreateInfo}; pipeline_cache = C_NULL, allocator = C_NULL)::Result{Tuple{Vector{Pipeline}, VkResult}, VulkanError}

Return codes:

  • Success:
    • VK_SUCCESS
    • VK_PIPELINE_COMPILE_REQUIRED_EXT
  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY
    • VK_ERROR_INVALID_SHADER_NV

Arguments:

  • device::Device
  • create_infos::AbstractArray{<:ComputePipelineCreateInfo}
  • pipeline_cache: defaults to C_NULL
  • allocator: defaults to C_NULL
source
Vulkan.create_debug_report_callback_extFunction
create_debug_report_callback_ext(instance::Instance, create_info::DebugReportCallbackCreateInfoEXT; allocator = C_NULL)::Result{DebugReportCallbackEXT, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY

Arguments:

  • instance::Instance
  • create_info::DebugReportCallbackCreateInfoEXT
  • allocator: defaults to C_NULL
source
Vulkan.create_debug_utils_messenger_extFunction
create_debug_utils_messenger_ext(instance::Instance, create_info::DebugUtilsMessengerCreateInfoEXT; allocator = C_NULL)::Result{DebugUtilsMessengerEXT, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY

Arguments:

  • instance::Instance
  • create_info::DebugUtilsMessengerCreateInfoEXT
  • allocator: defaults to C_NULL
source
Vulkan.create_deferred_operation_khrFunction
create_deferred_operation_khr(device::Device; allocator = C_NULL)::Result{DeferredOperationKHR, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY

Arguments:

  • device::Device
  • allocator: defaults to C_NULL
source
Vulkan.create_descriptor_poolFunction
create_descriptor_pool(device::Device, create_info::DescriptorPoolCreateInfo; allocator = C_NULL)::Result{DescriptorPool, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY
    • VK_ERROR_FRAGMENTATION_EXT

Arguments:

  • device::Device
  • create_info::DescriptorPoolCreateInfo
  • allocator: defaults to C_NULL
source
Vulkan.create_descriptor_set_layoutFunction
create_descriptor_set_layout(device::Device, create_info::DescriptorSetLayoutCreateInfo; allocator = C_NULL)::Result{DescriptorSetLayout, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY

Arguments:

  • device::Device
  • create_info::DescriptorSetLayoutCreateInfo
  • allocator: defaults to C_NULL
source
Vulkan.create_descriptor_update_templateFunction
create_descriptor_update_template(device::Device, create_info::DescriptorUpdateTemplateCreateInfo; allocator = C_NULL)::Result{DescriptorUpdateTemplate, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY

Arguments:

  • device::Device
  • create_info::DescriptorUpdateTemplateCreateInfo
  • allocator: defaults to C_NULL
source
Vulkan.create_deviceFunction
create_device(physical_device::PhysicalDevice, create_info::DeviceCreateInfo; allocator = C_NULL)::Result{Device, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY
    • VK_ERROR_INITIALIZATION_FAILED
    • VK_ERROR_EXTENSION_NOT_PRESENT
    • VK_ERROR_FEATURE_NOT_PRESENT
    • VK_ERROR_TOO_MANY_OBJECTS
    • VK_ERROR_DEVICE_LOST

Arguments:

  • physical_device::PhysicalDevice
  • create_info::DeviceCreateInfo
  • allocator: defaults to C_NULL
source
Vulkan.create_direct_fb_surface_extFunction
create_direct_fb_surface_ext(instance::Instance, create_info::DirectFBSurfaceCreateInfoEXT; allocator = C_NULL)::Result{SurfaceKHR, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY

Arguments:

  • instance::Instance
  • create_info::DirectFBSurfaceCreateInfoEXT
  • allocator: defaults to C_NULL
source
Vulkan.create_display_mode_khrFunction
create_display_mode_khr(physical_device::PhysicalDevice, display::DisplayKHR, create_info::DisplayModeCreateInfoKHR; allocator = C_NULL)::Result{DisplayModeKHR, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY
    • VK_ERROR_INITIALIZATION_FAILED

Arguments:

  • physical_device::PhysicalDevice
  • display::DisplayKHR (externsync)
  • create_info::DisplayModeCreateInfoKHR
  • allocator: defaults to C_NULL
source
Vulkan.create_display_plane_surface_khrFunction
create_display_plane_surface_khr(instance::Instance, create_info::DisplaySurfaceCreateInfoKHR; allocator = C_NULL)::Result{SurfaceKHR, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY

Arguments:

  • instance::Instance
  • create_info::DisplaySurfaceCreateInfoKHR
  • allocator: defaults to C_NULL
source
Vulkan.create_eventFunction
create_event(device::Device, create_info::EventCreateInfo; allocator = C_NULL)::Result{Event, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY

Arguments:

  • device::Device
  • create_info::EventCreateInfo
  • allocator: defaults to C_NULL
source
Vulkan.create_fenceFunction
create_fence(device::Device, create_info::FenceCreateInfo; allocator = C_NULL)::Result{Fence, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY

Arguments:

  • device::Device
  • create_info::FenceCreateInfo
  • allocator: defaults to C_NULL
source
Vulkan.create_framebufferFunction
create_framebuffer(device::Device, create_info::FramebufferCreateInfo; allocator = C_NULL)::Result{Framebuffer, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY

Arguments:

  • device::Device
  • create_info::FramebufferCreateInfo
  • allocator: defaults to C_NULL
source
Vulkan.create_graphics_pipelinesFunction
create_graphics_pipelines(device::Device, create_infos::AbstractArray{<:GraphicsPipelineCreateInfo}; pipeline_cache = C_NULL, allocator = C_NULL)::Result{Tuple{Vector{Pipeline}, VkResult}, VulkanError}

Return codes:

  • Success:
    • VK_SUCCESS
    • VK_PIPELINE_COMPILE_REQUIRED_EXT
  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY
    • VK_ERROR_INVALID_SHADER_NV

Arguments:

  • device::Device
  • create_infos::AbstractArray{<:GraphicsPipelineCreateInfo}
  • pipeline_cache: defaults to C_NULL
  • allocator: defaults to C_NULL
source
Vulkan.create_headless_surface_extFunction
create_headless_surface_ext(instance::Instance, create_info::HeadlessSurfaceCreateInfoEXT; allocator = C_NULL)::Result{SurfaceKHR, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY

Arguments:

  • instance::Instance
  • create_info::HeadlessSurfaceCreateInfoEXT
  • allocator: defaults to C_NULL
source
Vulkan.create_imageFunction
create_image(device::Device, create_info::ImageCreateInfo; allocator = C_NULL)::Result{Image, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY

Arguments:

  • device::Device
  • create_info::ImageCreateInfo
  • allocator: defaults to C_NULL
source
Vulkan.create_image_pipe_surface_fuchsiaFunction
create_image_pipe_surface_fuchsia(instance::Instance, create_info::ImagePipeSurfaceCreateInfoFUCHSIA; allocator = C_NULL)::Result{SurfaceKHR, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY

Arguments:

  • instance::Instance
  • create_info::ImagePipeSurfaceCreateInfoFUCHSIA
  • allocator: defaults to C_NULL
source
Vulkan.create_image_viewFunction
create_image_view(device::Device, create_info::ImageViewCreateInfo; allocator = C_NULL)::Result{ImageView, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY

Arguments:

  • device::Device
  • create_info::ImageViewCreateInfo
  • allocator: defaults to C_NULL
source
Vulkan.create_indirect_commands_layout_nvFunction
create_indirect_commands_layout_nv(device::Device, create_info::IndirectCommandsLayoutCreateInfoNV; allocator = C_NULL)::Result{IndirectCommandsLayoutNV, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY

Arguments:

  • device::Device
  • create_info::IndirectCommandsLayoutCreateInfoNV
  • allocator: defaults to C_NULL
source
Vulkan.create_instanceFunction
create_instance(create_info::InstanceCreateInfo; allocator = C_NULL)::Result{Instance, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY
    • VK_ERROR_INITIALIZATION_FAILED
    • VK_ERROR_LAYER_NOT_PRESENT
    • VK_ERROR_EXTENSION_NOT_PRESENT
    • VK_ERROR_INCOMPATIBLE_DRIVER

Arguments:

  • create_info::InstanceCreateInfo
  • allocator: defaults to C_NULL
source
Vulkan.create_ios_surface_mvkFunction
create_ios_surface_mvk(instance::Instance, create_info::IOSSurfaceCreateInfoMVK; allocator = C_NULL)::Result{SurfaceKHR, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY
    • VK_ERROR_NATIVE_WINDOW_IN_USE_KHR

Arguments:

  • instance::Instance
  • create_info::IOSSurfaceCreateInfoMVK
  • allocator: defaults to C_NULL
source
Vulkan.create_mac_os_surface_mvkFunction
create_mac_os_surface_mvk(instance::Instance, create_info::MacOSSurfaceCreateInfoMVK; allocator = C_NULL)::Result{SurfaceKHR, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY
    • VK_ERROR_NATIVE_WINDOW_IN_USE_KHR

Arguments:

  • instance::Instance
  • create_info::MacOSSurfaceCreateInfoMVK
  • allocator: defaults to C_NULL
source
Vulkan.create_metal_surface_extFunction
create_metal_surface_ext(instance::Instance, create_info::MetalSurfaceCreateInfoEXT; allocator = C_NULL)::Result{SurfaceKHR, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY
    • VK_ERROR_NATIVE_WINDOW_IN_USE_KHR

Arguments:

  • instance::Instance
  • create_info::MetalSurfaceCreateInfoEXT
  • allocator: defaults to C_NULL
source
Vulkan.create_pipeline_cacheFunction
create_pipeline_cache(device::Device, create_info::PipelineCacheCreateInfo; allocator = C_NULL)::Result{PipelineCache, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY

Arguments:

  • device::Device
  • create_info::PipelineCacheCreateInfo
  • allocator: defaults to C_NULL
source
Vulkan.create_pipeline_layoutFunction
create_pipeline_layout(device::Device, create_info::PipelineLayoutCreateInfo; allocator = C_NULL)::Result{PipelineLayout, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY

Arguments:

  • device::Device
  • create_info::PipelineLayoutCreateInfo
  • allocator: defaults to C_NULL
source
Vulkan.create_private_data_slot_extFunction
create_private_data_slot_ext(device::Device, create_info::PrivateDataSlotCreateInfoEXT; allocator = C_NULL)::Result{PrivateDataSlotEXT, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY

Arguments:

  • device::Device
  • create_info::PrivateDataSlotCreateInfoEXT
  • allocator: defaults to C_NULL
source
Vulkan.create_query_poolFunction
create_query_pool(device::Device, create_info::QueryPoolCreateInfo; allocator = C_NULL)::Result{QueryPool, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY

Arguments:

  • device::Device
  • create_info::QueryPoolCreateInfo
  • allocator: defaults to C_NULL
source
Vulkan.create_ray_tracing_pipelines_khrFunction
create_ray_tracing_pipelines_khr(device::Device, create_infos::AbstractArray{<:RayTracingPipelineCreateInfoKHR}; pipeline_cache = C_NULL, allocator = C_NULL)::Result{Tuple{Vector{Pipeline}, VkResult}, VulkanError}

Return codes:

  • Success:
    • VK_SUCCESS
    • VK_OPERATION_DEFERRED_KHR
    • VK_OPERATION_NOT_DEFERRED_KHR
    • VK_PIPELINE_COMPILE_REQUIRED_EXT
  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY
    • VK_ERROR_INVALID_OPAQUE_CAPTURE_ADDRESS

Arguments:

  • device::Device
  • create_infos::AbstractArray{<:RayTracingPipelineCreateInfoKHR}
  • pipeline_cache: defaults to C_NULL
  • allocator: defaults to C_NULL
source
Vulkan.create_ray_tracing_pipelines_nvFunction
create_ray_tracing_pipelines_nv(device::Device, create_infos::AbstractArray{<:RayTracingPipelineCreateInfoNV}; pipeline_cache = C_NULL, allocator = C_NULL)::Result{Tuple{Vector{Pipeline}, VkResult}, VulkanError}

Return codes:

  • Success:
    • VK_SUCCESS
    • VK_PIPELINE_COMPILE_REQUIRED_EXT
  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY
    • VK_ERROR_INVALID_SHADER_NV

Arguments:

  • device::Device
  • create_infos::AbstractArray{<:RayTracingPipelineCreateInfoNV}
  • pipeline_cache: defaults to C_NULL
  • allocator: defaults to C_NULL
source
Vulkan.create_render_passFunction
create_render_pass(device::Device, create_info::RenderPassCreateInfo; allocator = C_NULL)::Result{RenderPass, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY

Arguments:

  • device::Device
  • create_info::RenderPassCreateInfo
  • allocator: defaults to C_NULL
source
Vulkan.create_render_pass_2Function
create_render_pass_2(device::Device, create_info::RenderPassCreateInfo2; allocator = C_NULL)::Result{RenderPass, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY

Arguments:

  • device::Device
  • create_info::RenderPassCreateInfo2
  • allocator: defaults to C_NULL
source
Vulkan.create_samplerFunction
create_sampler(device::Device, create_info::SamplerCreateInfo; allocator = C_NULL)::Result{Sampler, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY

Arguments:

  • device::Device
  • create_info::SamplerCreateInfo
  • allocator: defaults to C_NULL
source
Vulkan.create_sampler_ycbcr_conversionFunction
create_sampler_ycbcr_conversion(device::Device, create_info::SamplerYcbcrConversionCreateInfo; allocator = C_NULL)::Result{SamplerYcbcrConversion, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY

Arguments:

  • device::Device
  • create_info::SamplerYcbcrConversionCreateInfo
  • allocator: defaults to C_NULL
source
Vulkan.create_semaphoreFunction
create_semaphore(device::Device, create_info::SemaphoreCreateInfo; allocator = C_NULL)::Result{Semaphore, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY

Arguments:

  • device::Device
  • create_info::SemaphoreCreateInfo
  • allocator: defaults to C_NULL
source
Vulkan.create_shader_moduleFunction
create_shader_module(device::Device, create_info::ShaderModuleCreateInfo; allocator = C_NULL)::Result{ShaderModule, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY
    • VK_ERROR_INVALID_SHADER_NV

Arguments:

  • device::Device
  • create_info::ShaderModuleCreateInfo
  • allocator: defaults to C_NULL
source
Vulkan.create_shared_swapchains_khrFunction
create_shared_swapchains_khr(device::Device, create_infos::AbstractArray{<:SwapchainCreateInfoKHR}; allocator = C_NULL)::Result{Vector{SwapchainKHR}, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY
    • VK_ERROR_INCOMPATIBLE_DISPLAY_KHR
    • VK_ERROR_DEVICE_LOST
    • VK_ERROR_SURFACE_LOST_KHR

Arguments:

  • device::Device
  • create_infos::AbstractArray{<:SwapchainCreateInfoKHR} (externsync)
  • allocator: defaults to C_NULL
source
Vulkan.create_stream_descriptor_surface_ggpFunction
create_stream_descriptor_surface_ggp(instance::Instance, create_info::StreamDescriptorSurfaceCreateInfoGGP; allocator = C_NULL)::Result{SurfaceKHR, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY
    • VK_ERROR_NATIVE_WINDOW_IN_USE_KHR

Arguments:

  • instance::Instance
  • create_info::StreamDescriptorSurfaceCreateInfoGGP
  • allocator: defaults to C_NULL
source
Vulkan.create_swapchain_khrFunction
create_swapchain_khr(device::Device, create_info::SwapchainCreateInfoKHR; allocator = C_NULL)::Result{SwapchainKHR, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY
    • VK_ERROR_DEVICE_LOST
    • VK_ERROR_SURFACE_LOST_KHR
    • VK_ERROR_NATIVE_WINDOW_IN_USE_KHR
    • VK_ERROR_INITIALIZATION_FAILED

Arguments:

  • device::Device
  • create_info::SwapchainCreateInfoKHR (externsync)
  • allocator: defaults to C_NULL
source
Vulkan.create_validation_cache_extFunction
create_validation_cache_ext(device::Device, create_info::ValidationCacheCreateInfoEXT; allocator = C_NULL)::Result{ValidationCacheEXT, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY

Arguments:

  • device::Device
  • create_info::ValidationCacheCreateInfoEXT
  • allocator: defaults to C_NULL
source
Vulkan.create_vi_surface_nnFunction
create_vi_surface_nn(instance::Instance, create_info::ViSurfaceCreateInfoNN; allocator = C_NULL)::Result{SurfaceKHR, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY
    • VK_ERROR_NATIVE_WINDOW_IN_USE_KHR

Arguments:

  • instance::Instance
  • create_info::ViSurfaceCreateInfoNN
  • allocator: defaults to C_NULL
source
Vulkan.create_wayland_surface_khrFunction
create_wayland_surface_khr(instance::Instance, create_info::WaylandSurfaceCreateInfoKHR; allocator = C_NULL)::Result{SurfaceKHR, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY

Arguments:

  • instance::Instance
  • create_info::WaylandSurfaceCreateInfoKHR
  • allocator: defaults to C_NULL
source
Vulkan.create_win_32_surface_khrFunction
create_win_32_surface_khr(instance::Instance, create_info::Win32SurfaceCreateInfoKHR; allocator = C_NULL)::Result{SurfaceKHR, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY

Arguments:

  • instance::Instance
  • create_info::Win32SurfaceCreateInfoKHR
  • allocator: defaults to C_NULL
source
Vulkan.create_xcb_surface_khrFunction
create_xcb_surface_khr(instance::Instance, create_info::XcbSurfaceCreateInfoKHR; allocator = C_NULL)::Result{SurfaceKHR, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY

Arguments:

  • instance::Instance
  • create_info::XcbSurfaceCreateInfoKHR
  • allocator: defaults to C_NULL
source
Vulkan.create_xlib_surface_khrFunction
create_xlib_surface_khr(instance::Instance, create_info::XlibSurfaceCreateInfoKHR; allocator = C_NULL)::Result{SurfaceKHR, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY

Arguments:

  • instance::Instance
  • create_info::XlibSurfaceCreateInfoKHR
  • allocator: defaults to C_NULL
source
Vulkan.debug_marker_set_object_name_extFunction
debug_marker_set_object_name_ext(device::Device, name_info::DebugMarkerObjectNameInfoEXT)::Result{VkResult, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY

Arguments:

  • device::Device
  • name_info::DebugMarkerObjectNameInfoEXT (externsync)
source
Vulkan.debug_marker_set_object_tag_extFunction
debug_marker_set_object_tag_ext(device::Device, tag_info::DebugMarkerObjectTagInfoEXT)::Result{VkResult, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY

Arguments:

  • device::Device
  • tag_info::DebugMarkerObjectTagInfoEXT (externsync)
source
Vulkan.debug_report_message_extFunction
debug_report_message_ext(instance::Instance, flags::DebugReportFlagEXT, object_type::VkDebugReportObjectTypeEXT, object::Integer, location::Integer, message_code::Integer, layer_prefix::AbstractString, message::AbstractString)::Cvoid

Arguments:

  • instance::Instance
  • flags::DebugReportFlagEXT
  • object_type::VkDebugReportObjectTypeEXT
  • object::Integer
  • location::Integer
  • message_code::Integer
  • layer_prefix::AbstractString
  • message::AbstractString
source
Vulkan.deferred_operation_join_khrFunction
deferred_operation_join_khr(device::Device, operation::DeferredOperationKHR)::Result{VkResult, VulkanError}

Return codes:

  • Success:
    • VK_SUCCESS
    • VK_THREAD_DONE_KHR
    • VK_THREAD_IDLE_KHR
  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY

Arguments:

  • device::Device
  • operation::DeferredOperationKHR
source
Vulkan.destroy_acceleration_structure_khrFunction
destroy_acceleration_structure_khr(device::Device, acceleration_structure::AccelerationStructureKHR; allocator = C_NULL)::Cvoid

Arguments:

  • device::Device
  • acceleration_structure::AccelerationStructureKHR (externsync)
  • allocator: defaults to C_NULL
source
Vulkan.destroy_bufferFunction
destroy_buffer(device::Device, buffer::Buffer; allocator = C_NULL)::Cvoid

Arguments:

  • device::Device
  • buffer::Buffer (externsync)
  • allocator: defaults to C_NULL
source
Vulkan.destroy_buffer_viewFunction
destroy_buffer_view(device::Device, buffer_view::BufferView; allocator = C_NULL)::Cvoid

Arguments:

  • device::Device
  • buffer_view::BufferView (externsync)
  • allocator: defaults to C_NULL
source
Vulkan.destroy_command_poolFunction
destroy_command_pool(device::Device, command_pool::CommandPool; allocator = C_NULL)::Cvoid

Arguments:

  • device::Device
  • command_pool::CommandPool (externsync)
  • allocator: defaults to C_NULL
source
Vulkan.destroy_debug_report_callback_extFunction
destroy_debug_report_callback_ext(instance::Instance, callback::DebugReportCallbackEXT; allocator = C_NULL)::Cvoid

Arguments:

  • instance::Instance
  • callback::DebugReportCallbackEXT (externsync)
  • allocator: defaults to C_NULL
source
Vulkan.destroy_debug_utils_messenger_extFunction
destroy_debug_utils_messenger_ext(instance::Instance, messenger::DebugUtilsMessengerEXT; allocator = C_NULL)::Cvoid

Arguments:

  • instance::Instance
  • messenger::DebugUtilsMessengerEXT (externsync)
  • allocator: defaults to C_NULL
source
Vulkan.destroy_deferred_operation_khrFunction
destroy_deferred_operation_khr(device::Device, operation::DeferredOperationKHR; allocator = C_NULL)::Cvoid

Arguments:

  • device::Device
  • operation::DeferredOperationKHR (externsync)
  • allocator: defaults to C_NULL
source
Vulkan.destroy_descriptor_poolFunction
destroy_descriptor_pool(device::Device, descriptor_pool::DescriptorPool; allocator = C_NULL)::Cvoid

Arguments:

  • device::Device
  • descriptor_pool::DescriptorPool (externsync)
  • allocator: defaults to C_NULL
source
Vulkan.destroy_descriptor_set_layoutFunction
destroy_descriptor_set_layout(device::Device, descriptor_set_layout::DescriptorSetLayout; allocator = C_NULL)::Cvoid

Arguments:

  • device::Device
  • descriptor_set_layout::DescriptorSetLayout (externsync)
  • allocator: defaults to C_NULL
source
Vulkan.destroy_descriptor_update_templateFunction
destroy_descriptor_update_template(device::Device, descriptor_update_template::DescriptorUpdateTemplate; allocator = C_NULL)::Cvoid

Arguments:

  • device::Device
  • descriptor_update_template::DescriptorUpdateTemplate (externsync)
  • allocator: defaults to C_NULL
source
Vulkan.destroy_deviceFunction
destroy_device(device::Device; allocator = C_NULL)::Cvoid

Arguments:

  • device::Device (externsync)
  • allocator: defaults to C_NULL
source
Vulkan.destroy_eventFunction
destroy_event(device::Device, event::Event; allocator = C_NULL)::Cvoid

Arguments:

  • device::Device
  • event::Event (externsync)
  • allocator: defaults to C_NULL
source
Vulkan.destroy_fenceFunction
destroy_fence(device::Device, fence::Fence; allocator = C_NULL)::Cvoid

Arguments:

  • device::Device
  • fence::Fence (externsync)
  • allocator: defaults to C_NULL
source
Vulkan.destroy_framebufferFunction
destroy_framebuffer(device::Device, framebuffer::Framebuffer; allocator = C_NULL)::Cvoid

Arguments:

  • device::Device
  • framebuffer::Framebuffer (externsync)
  • allocator: defaults to C_NULL
source
Vulkan.destroy_imageFunction
destroy_image(device::Device, image::Image; allocator = C_NULL)::Cvoid

Arguments:

  • device::Device
  • image::Image (externsync)
  • allocator: defaults to C_NULL
source
Vulkan.destroy_image_viewFunction
destroy_image_view(device::Device, image_view::ImageView; allocator = C_NULL)::Cvoid

Arguments:

  • device::Device
  • image_view::ImageView (externsync)
  • allocator: defaults to C_NULL
source
Vulkan.destroy_indirect_commands_layout_nvFunction
destroy_indirect_commands_layout_nv(device::Device, indirect_commands_layout::IndirectCommandsLayoutNV; allocator = C_NULL)::Cvoid

Arguments:

  • device::Device
  • indirect_commands_layout::IndirectCommandsLayoutNV (externsync)
  • allocator: defaults to C_NULL
source
Vulkan.destroy_instanceFunction
destroy_instance(instance::Instance; allocator = C_NULL)::Cvoid

Arguments:

  • instance::Instance (externsync)
  • allocator: defaults to C_NULL
source
Vulkan.destroy_pipelineFunction
destroy_pipeline(device::Device, pipeline::Pipeline; allocator = C_NULL)::Cvoid

Arguments:

  • device::Device
  • pipeline::Pipeline (externsync)
  • allocator: defaults to C_NULL
source
Vulkan.destroy_pipeline_cacheFunction
destroy_pipeline_cache(device::Device, pipeline_cache::PipelineCache; allocator = C_NULL)::Cvoid

Arguments:

  • device::Device
  • pipeline_cache::PipelineCache (externsync)
  • allocator: defaults to C_NULL
source
Vulkan.destroy_pipeline_layoutFunction
destroy_pipeline_layout(device::Device, pipeline_layout::PipelineLayout; allocator = C_NULL)::Cvoid

Arguments:

  • device::Device
  • pipeline_layout::PipelineLayout (externsync)
  • allocator: defaults to C_NULL
source
Vulkan.destroy_private_data_slot_extFunction
destroy_private_data_slot_ext(device::Device, private_data_slot::PrivateDataSlotEXT; allocator = C_NULL)::Cvoid

Arguments:

  • device::Device
  • private_data_slot::PrivateDataSlotEXT (externsync)
  • allocator: defaults to C_NULL
source
Vulkan.destroy_query_poolFunction
destroy_query_pool(device::Device, query_pool::QueryPool; allocator = C_NULL)::Cvoid

Arguments:

  • device::Device
  • query_pool::QueryPool (externsync)
  • allocator: defaults to C_NULL
source
Vulkan.destroy_render_passFunction
destroy_render_pass(device::Device, render_pass::RenderPass; allocator = C_NULL)::Cvoid

Arguments:

  • device::Device
  • render_pass::RenderPass (externsync)
  • allocator: defaults to C_NULL
source
Vulkan.destroy_samplerFunction
destroy_sampler(device::Device, sampler::Sampler; allocator = C_NULL)::Cvoid

Arguments:

  • device::Device
  • sampler::Sampler (externsync)
  • allocator: defaults to C_NULL
source
Vulkan.destroy_sampler_ycbcr_conversionFunction
destroy_sampler_ycbcr_conversion(device::Device, ycbcr_conversion::SamplerYcbcrConversion; allocator = C_NULL)::Cvoid

Arguments:

  • device::Device
  • ycbcr_conversion::SamplerYcbcrConversion (externsync)
  • allocator: defaults to C_NULL
source
Vulkan.destroy_semaphoreFunction
destroy_semaphore(device::Device, semaphore::Semaphore; allocator = C_NULL)::Cvoid

Arguments:

  • device::Device
  • semaphore::Semaphore (externsync)
  • allocator: defaults to C_NULL
source
Vulkan.destroy_shader_moduleFunction
destroy_shader_module(device::Device, shader_module::ShaderModule; allocator = C_NULL)::Cvoid

Arguments:

  • device::Device
  • shader_module::ShaderModule (externsync)
  • allocator: defaults to C_NULL
source
Vulkan.destroy_surface_khrFunction
destroy_surface_khr(instance::Instance, surface::SurfaceKHR; allocator = C_NULL)::Cvoid

Arguments:

  • instance::Instance
  • surface::SurfaceKHR (externsync)
  • allocator: defaults to C_NULL
source
Vulkan.destroy_swapchain_khrFunction
destroy_swapchain_khr(device::Device, swapchain::SwapchainKHR; allocator = C_NULL)::Cvoid

Arguments:

  • device::Device
  • swapchain::SwapchainKHR (externsync)
  • allocator: defaults to C_NULL
source
Vulkan.destroy_validation_cache_extFunction
destroy_validation_cache_ext(device::Device, validation_cache::ValidationCacheEXT; allocator = C_NULL)::Cvoid

Arguments:

  • device::Device
  • validation_cache::ValidationCacheEXT (externsync)
  • allocator: defaults to C_NULL
source
Vulkan.device_wait_idleFunction
device_wait_idle(device::Device)::Result{VkResult, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY
    • VK_ERROR_DEVICE_LOST

Arguments:

  • device::Device
source
Vulkan.display_power_control_extFunction
display_power_control_ext(device::Device, display::DisplayKHR, display_power_info::DisplayPowerInfoEXT)::Result{VkResult, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY

Arguments:

  • device::Device
  • display::DisplayKHR
  • display_power_info::DisplayPowerInfoEXT
source
Vulkan.end_command_bufferFunction
end_command_buffer(command_buffer::CommandBuffer)::Result{VkResult, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY

Arguments:

  • command_buffer::CommandBuffer (externsync)
source
Vulkan.enumerate_device_extension_propertiesFunction
enumerate_device_extension_properties(physical_device::PhysicalDevice; layer_name = C_NULL)::Result{Vector{ExtensionProperties}, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY
    • VK_ERROR_LAYER_NOT_PRESENT

Arguments:

  • physical_device::PhysicalDevice
  • layer_name: defaults to C_NULL
source
Vulkan.enumerate_device_layer_propertiesFunction
enumerate_device_layer_properties(physical_device::PhysicalDevice)::Result{Vector{LayerProperties}, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY

Arguments:

  • physical_device::PhysicalDevice
source
Vulkan.enumerate_instance_extension_propertiesFunction
enumerate_instance_extension_properties(; layer_name = C_NULL)::Result{Vector{ExtensionProperties}, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY
    • VK_ERROR_LAYER_NOT_PRESENT

Arguments:

  • layer_name: defaults to C_NULL
source
Vulkan.enumerate_physical_device_groupsFunction
enumerate_physical_device_groups(instance::Instance)::Result{Vector{PhysicalDeviceGroupProperties}, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY
    • VK_ERROR_INITIALIZATION_FAILED

Arguments:

  • instance::Instance
source
Vulkan.enumerate_physical_device_queue_family_performance_query_counters_khrFunction
enumerate_physical_device_queue_family_performance_query_counters_khr(physical_device::PhysicalDevice, queue_family_index::Integer)::Result{Tuple{Vector{PerformanceCounterKHR}, Vector{PerformanceCounterDescriptionKHR}}, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY
    • VK_ERROR_INITIALIZATION_FAILED

Arguments:

  • physical_device::PhysicalDevice
  • queue_family_index::Integer
source
Vulkan.enumerate_physical_devicesFunction
enumerate_physical_devices(instance::Instance)::Result{Vector{PhysicalDevice}, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY
    • VK_ERROR_INITIALIZATION_FAILED

Arguments:

  • instance::Instance
source
Vulkan.find_queue_indexMethod

Find a queue index (starting at 0) from physical_device which matches the provided queue_capabilities.

julia> find_queue_index(physical_device, QUEUE_COMPUTE_BIT & QUEUE_GRAPHICS_BIT)
0
find_queue_index(physical_device::PhysicalDevice, queue_capabilities::QueueFlag) -> Int64
source
Vulkan.flush_mapped_memory_rangesFunction
flush_mapped_memory_ranges(device::Device, memory_ranges::AbstractArray{<:MappedMemoryRange})::Result{VkResult, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY

Arguments:

  • device::Device
  • memory_ranges::AbstractArray{<:MappedMemoryRange}
source
Vulkan.free_command_buffersFunction
free_command_buffers(device::Device, command_pool::CommandPool, command_buffers::AbstractArray{<:CommandBuffer})::Cvoid

Arguments:

  • device::Device
  • command_pool::CommandPool (externsync)
  • command_buffers::AbstractArray{<:CommandBuffer} (externsync)
source
Vulkan.free_descriptor_setsFunction
free_descriptor_sets(device::Device, descriptor_pool::DescriptorPool, descriptor_sets::AbstractArray{<:DescriptorSet})::Result{VkResult, VulkanError}

Return codes:

Arguments:

  • device::Device
  • descriptor_pool::DescriptorPool (externsync)
  • descriptor_sets::AbstractArray{<:DescriptorSet} (externsync)
source
Vulkan.free_memoryFunction
free_memory(device::Device, memory::DeviceMemory; allocator = C_NULL)::Cvoid

Arguments:

  • device::Device
  • memory::DeviceMemory (externsync)
  • allocator: defaults to C_NULL
source
Vulkan.from_vkFunction

Convert a Vulkan type into its corresponding Julia type.

Examples

julia> from_vk(VersionNumber, UInt32(VK_MAKE_VERSION(1, 2, 3)))
v"1.2.3"

julia> from_vk(String, (0x68, 0x65, 0x6c, 0x6c, 0x6f, 0x00))
"hello"

julia> from_vk(Bool, UInt32(1))
true
source
Vulkan.get_acceleration_structure_handle_nvFunction
get_acceleration_structure_handle_nv(device::Device, acceleration_structure::AccelerationStructureKHR, data_size::Integer, data::Ptr{Cvoid})::Result{VkResult, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY

Arguments:

  • device::Device
  • acceleration_structure::AccelerationStructureKHR
  • data_size::Integer
  • data::Ptr{Cvoid} (must be a valid pointer with data_size bytes)
source
Vulkan.get_android_hardware_buffer_properties_androidFunction
get_android_hardware_buffer_properties_android(device::Device, buffer::vk.AHardwareBuffer)::Result{AndroidHardwareBufferPropertiesANDROID, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_INVALID_EXTERNAL_HANDLE_KHR

Arguments:

  • device::Device
  • buffer::vk.AHardwareBuffer
source
Vulkan.get_calibrated_timestamps_extFunction
get_calibrated_timestamps_ext(device::Device, timestamp_infos::AbstractArray{<:CalibratedTimestampInfoEXT})::Result{Tuple{Vector{UInt64}, UInt64}, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY

Arguments:

  • device::Device
  • timestamp_infos::AbstractArray{<:CalibratedTimestampInfoEXT}
source
Vulkan.get_deferred_operation_result_khrFunction
get_deferred_operation_result_khr(device::Device, operation::DeferredOperationKHR)::Result{VkResult, VulkanError}

Return codes:

  • Success:
    • VK_SUCCESS
    • VK_NOT_READY

Arguments:

  • device::Device
  • operation::DeferredOperationKHR
source
Vulkan.get_descriptor_set_layout_supportFunction
get_descriptor_set_layout_support(device::Device, create_info::DescriptorSetLayoutCreateInfo)::DescriptorSetLayoutSupport

Arguments:

  • device::Device
  • create_info::DescriptorSetLayoutCreateInfo
source
Vulkan.get_device_acceleration_structure_compatibility_khrFunction
get_device_acceleration_structure_compatibility_khr(device::Device, version::AccelerationStructureVersionKHR)::Result{VkResult, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_INCOMPATIBLE_VERSION_KHR

Arguments:

  • device::Device
  • version::AccelerationStructureVersionKHR
source
Vulkan.get_device_group_peer_memory_featuresFunction
get_device_group_peer_memory_features(device::Device, heap_index::Integer, local_device_index::Integer, remote_device_index::Integer)::PeerMemoryFeatureFlag

Arguments:

  • device::Device
  • heap_index::Integer
  • local_device_index::Integer
  • remote_device_index::Integer
source
Vulkan.get_device_group_present_capabilities_khrFunction
get_device_group_present_capabilities_khr(device::Device)::Result{DeviceGroupPresentCapabilitiesKHR, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY

Arguments:

  • device::Device
source
Vulkan.get_device_group_surface_present_modes_2_extFunction
get_device_group_surface_present_modes_2_ext(device::Device, surface_info::PhysicalDeviceSurfaceInfo2KHR, modes::DeviceGroupPresentModeFlagKHR)::Result{DeviceGroupPresentModeFlagKHR, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY
    • VK_ERROR_SURFACE_LOST_KHR

Arguments:

  • device::Device
  • surface_info::PhysicalDeviceSurfaceInfo2KHR
  • modes::DeviceGroupPresentModeFlagKHR
source
Vulkan.get_device_group_surface_present_modes_khrFunction
get_device_group_surface_present_modes_khr(device::Device, surface::SurfaceKHR, modes::DeviceGroupPresentModeFlagKHR)::Result{DeviceGroupPresentModeFlagKHR, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY
    • VK_ERROR_SURFACE_LOST_KHR

Arguments:

  • device::Device
  • surface::SurfaceKHR (externsync)
  • modes::DeviceGroupPresentModeFlagKHR
source
Vulkan.get_device_queueFunction
get_device_queue(device::Device, queue_family_index::Integer, queue_index::Integer)::Queue

Arguments:

  • device::Device
  • queue_family_index::Integer
  • queue_index::Integer
source
Vulkan.get_device_queue_2Function
get_device_queue_2(device::Device, queue_info::DeviceQueueInfo2)::Queue

Arguments:

  • device::Device
  • queue_info::DeviceQueueInfo2
source
Vulkan.get_display_mode_properties_2_khrFunction
get_display_mode_properties_2_khr(physical_device::PhysicalDevice, display::DisplayKHR)::Result{Vector{DisplayModeProperties2KHR}, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY

Arguments:

  • physical_device::PhysicalDevice
  • display::DisplayKHR
source
Vulkan.get_display_mode_properties_khrFunction
get_display_mode_properties_khr(physical_device::PhysicalDevice, display::DisplayKHR)::Result{Vector{DisplayModePropertiesKHR}, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY

Arguments:

  • physical_device::PhysicalDevice
  • display::DisplayKHR
source
Vulkan.get_display_plane_capabilities_2_khrFunction
get_display_plane_capabilities_2_khr(physical_device::PhysicalDevice, display_plane_info::DisplayPlaneInfo2KHR)::Result{DisplayPlaneCapabilities2KHR, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY

Arguments:

  • physical_device::PhysicalDevice
  • display_plane_info::DisplayPlaneInfo2KHR
source
Vulkan.get_display_plane_capabilities_khrFunction
get_display_plane_capabilities_khr(physical_device::PhysicalDevice, mode::DisplayModeKHR, plane_index::Integer)::Result{DisplayPlaneCapabilitiesKHR, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY

Arguments:

  • physical_device::PhysicalDevice
  • mode::DisplayModeKHR (externsync)
  • plane_index::Integer
source
Vulkan.get_display_plane_supported_displays_khrFunction
get_display_plane_supported_displays_khr(physical_device::PhysicalDevice, plane_index::Integer)::Result{Vector{DisplayKHR}, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY

Arguments:

  • physical_device::PhysicalDevice
  • plane_index::Integer
source
Vulkan.get_event_statusFunction
get_event_status(device::Device, event::Event)::Result{VkResult, VulkanError}

Return codes:

  • Success:
    • VK_EVENT_SET
    • VK_EVENT_RESET
  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY
    • VK_ERROR_DEVICE_LOST

Arguments:

  • device::Device
  • event::Event
source
Vulkan.get_fence_fd_khrFunction
get_fence_fd_khr(device::Device, get_fd_info::FenceGetFdInfoKHR)::Result{Int, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_TOO_MANY_OBJECTS
    • VK_ERROR_OUT_OF_HOST_MEMORY

Arguments:

  • device::Device
  • get_fd_info::FenceGetFdInfoKHR
source
Vulkan.get_fence_statusFunction
get_fence_status(device::Device, fence::Fence)::Result{VkResult, VulkanError}

Return codes:

  • Success:
    • VK_SUCCESS
    • VK_NOT_READY
  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY
    • VK_ERROR_DEVICE_LOST

Arguments:

  • device::Device
  • fence::Fence
source
Vulkan.get_fence_win_32_handle_khrFunction
get_fence_win_32_handle_khr(device::Device, get_win_32_handle_info::FenceGetWin32HandleInfoKHR, handle::vk.HANDLE)::Result{VkResult, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_TOO_MANY_OBJECTS
    • VK_ERROR_OUT_OF_HOST_MEMORY

Arguments:

  • device::Device
  • get_win_32_handle_info::FenceGetWin32HandleInfoKHR
  • handle::vk.HANDLE
source
Vulkan.get_image_sparse_memory_requirements_2Function
get_image_sparse_memory_requirements_2(device::Device, info::ImageSparseMemoryRequirementsInfo2)::Vector{SparseImageMemoryRequirements2}

Arguments:

  • device::Device
  • info::ImageSparseMemoryRequirementsInfo2
source
Vulkan.get_image_subresource_layoutFunction
get_image_subresource_layout(device::Device, image::Image, subresource::ImageSubresource)::SubresourceLayout

Arguments:

  • device::Device
  • image::Image
  • subresource::ImageSubresource
source
Vulkan.get_image_view_address_nvxFunction
get_image_view_address_nvx(device::Device, image_view::ImageView)::Result{ImageViewAddressPropertiesNVX, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_UNKNOWN

Arguments:

  • device::Device
  • image_view::ImageView
source
Vulkan.get_instance_proc_addrFunction
get_instance_proc_addr(name::AbstractString; instance = C_NULL)::FunctionPtr

Arguments:

  • name::AbstractString
  • instance: defaults to C_NULL
source
Vulkan.get_memory_android_hardware_buffer_androidFunction
get_memory_android_hardware_buffer_android(device::Device, info::MemoryGetAndroidHardwareBufferInfoANDROID)::Result{vk.AHardwareBuffer, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_TOO_MANY_OBJECTS
    • VK_ERROR_OUT_OF_HOST_MEMORY

Arguments:

  • device::Device
  • info::MemoryGetAndroidHardwareBufferInfoANDROID
source
Vulkan.get_memory_fd_khrFunction
get_memory_fd_khr(device::Device, get_fd_info::MemoryGetFdInfoKHR)::Result{Int, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_TOO_MANY_OBJECTS
    • VK_ERROR_OUT_OF_HOST_MEMORY

Arguments:

  • device::Device
  • get_fd_info::MemoryGetFdInfoKHR
source
Vulkan.get_memory_fd_properties_khrFunction
get_memory_fd_properties_khr(device::Device, handle_type::ExternalMemoryHandleTypeFlag, fd::Integer)::Result{MemoryFdPropertiesKHR, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_INVALID_EXTERNAL_HANDLE

Arguments:

  • device::Device
  • handle_type::ExternalMemoryHandleTypeFlag
  • fd::Integer
source
Vulkan.get_memory_host_pointer_properties_extFunction
get_memory_host_pointer_properties_ext(device::Device, handle_type::ExternalMemoryHandleTypeFlag, host_pointer::Ptr{Cvoid})::Result{MemoryHostPointerPropertiesEXT, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_INVALID_EXTERNAL_HANDLE

Arguments:

  • device::Device
  • handle_type::ExternalMemoryHandleTypeFlag
  • host_pointer::Ptr{Cvoid}
source
Vulkan.get_memory_win_32_handle_khrFunction
get_memory_win_32_handle_khr(device::Device, get_win_32_handle_info::MemoryGetWin32HandleInfoKHR, handle::vk.HANDLE)::Result{VkResult, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_TOO_MANY_OBJECTS
    • VK_ERROR_OUT_OF_HOST_MEMORY

Arguments:

  • device::Device
  • get_win_32_handle_info::MemoryGetWin32HandleInfoKHR
  • handle::vk.HANDLE
source
Vulkan.get_memory_win_32_handle_nvFunction
get_memory_win_32_handle_nv(device::Device, memory::DeviceMemory, handle_type::ExternalMemoryHandleTypeFlagNV, handle::vk.HANDLE)::Result{VkResult, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_TOO_MANY_OBJECTS
    • VK_ERROR_OUT_OF_HOST_MEMORY

Arguments:

  • device::Device
  • memory::DeviceMemory
  • handle_type::ExternalMemoryHandleTypeFlagNV
  • handle::vk.HANDLE
source
Vulkan.get_memory_win_32_handle_properties_khrFunction
get_memory_win_32_handle_properties_khr(device::Device, handle_type::ExternalMemoryHandleTypeFlag, handle::vk.HANDLE)::Result{MemoryWin32HandlePropertiesKHR, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_INVALID_EXTERNAL_HANDLE

Arguments:

  • device::Device
  • handle_type::ExternalMemoryHandleTypeFlag
  • handle::vk.HANDLE
source
Vulkan.get_past_presentation_timing_googleFunction
get_past_presentation_timing_google(device::Device, swapchain::SwapchainKHR)::Result{Vector{PastPresentationTimingGOOGLE}, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_DEVICE_LOST
    • VK_ERROR_OUT_OF_DATE_KHR
    • VK_ERROR_SURFACE_LOST_KHR

Arguments:

  • device::Device
  • swapchain::SwapchainKHR (externsync)
source
Vulkan.get_performance_parameter_intelFunction
get_performance_parameter_intel(device::Device, parameter::VkPerformanceParameterTypeINTEL)::Result{PerformanceValueINTEL, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_TOO_MANY_OBJECTS
    • VK_ERROR_OUT_OF_HOST_MEMORY

Arguments:

  • device::Device
  • parameter::VkPerformanceParameterTypeINTEL
source
Vulkan.get_physical_device_calibrateable_time_domains_extFunction
get_physical_device_calibrateable_time_domains_ext(physical_device::PhysicalDevice)::Result{Vector{TimeDomainEXT}, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY

Arguments:

  • physical_device::PhysicalDevice
source
Vulkan.get_physical_device_cooperative_matrix_properties_nvFunction
get_physical_device_cooperative_matrix_properties_nv(physical_device::PhysicalDevice)::Result{Vector{CooperativeMatrixPropertiesNV}, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY

Arguments:

  • physical_device::PhysicalDevice
source
Vulkan.get_physical_device_display_plane_properties_2_khrFunction
get_physical_device_display_plane_properties_2_khr(physical_device::PhysicalDevice)::Result{Vector{DisplayPlaneProperties2KHR}, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY

Arguments:

  • physical_device::PhysicalDevice
source
Vulkan.get_physical_device_display_plane_properties_khrFunction
get_physical_device_display_plane_properties_khr(physical_device::PhysicalDevice)::Result{Vector{DisplayPlanePropertiesKHR}, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY

Arguments:

  • physical_device::PhysicalDevice
source
Vulkan.get_physical_device_display_properties_2_khrFunction
get_physical_device_display_properties_2_khr(physical_device::PhysicalDevice)::Result{Vector{DisplayProperties2KHR}, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY

Arguments:

  • physical_device::PhysicalDevice
source
Vulkan.get_physical_device_display_properties_khrFunction
get_physical_device_display_properties_khr(physical_device::PhysicalDevice)::Result{Vector{DisplayPropertiesKHR}, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY

Arguments:

  • physical_device::PhysicalDevice
source
Vulkan.get_physical_device_external_buffer_propertiesFunction
get_physical_device_external_buffer_properties(physical_device::PhysicalDevice, external_buffer_info::PhysicalDeviceExternalBufferInfo)::ExternalBufferProperties

Arguments:

  • physical_device::PhysicalDevice
  • external_buffer_info::PhysicalDeviceExternalBufferInfo
source
Vulkan.get_physical_device_external_fence_propertiesFunction
get_physical_device_external_fence_properties(physical_device::PhysicalDevice, external_fence_info::PhysicalDeviceExternalFenceInfo)::ExternalFenceProperties

Arguments:

  • physical_device::PhysicalDevice
  • external_fence_info::PhysicalDeviceExternalFenceInfo
source
Vulkan.get_physical_device_external_image_format_properties_nvFunction
get_physical_device_external_image_format_properties_nv(physical_device::PhysicalDevice, format::VkFormat, type::VkImageType, tiling::VkImageTiling, usage::ImageUsageFlag; flags = 0, external_handle_type = 0)::Result{ExternalImageFormatPropertiesNV, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY
    • VK_ERROR_FORMAT_NOT_SUPPORTED

Arguments:

  • physical_device::PhysicalDevice
  • format::VkFormat
  • type::VkImageType
  • tiling::VkImageTiling
  • usage::ImageUsageFlag
  • flags: defaults to 0
  • external_handle_type: defaults to 0
source
Vulkan.get_physical_device_external_semaphore_propertiesFunction
get_physical_device_external_semaphore_properties(physical_device::PhysicalDevice, external_semaphore_info::PhysicalDeviceExternalSemaphoreInfo)::ExternalSemaphoreProperties

Arguments:

  • physical_device::PhysicalDevice
  • external_semaphore_info::PhysicalDeviceExternalSemaphoreInfo
source
Vulkan.get_physical_device_image_format_propertiesFunction
get_physical_device_image_format_properties(physical_device::PhysicalDevice, format::VkFormat, type::VkImageType, tiling::VkImageTiling, usage::ImageUsageFlag; flags = 0)::Result{ImageFormatProperties, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY
    • VK_ERROR_FORMAT_NOT_SUPPORTED

Arguments:

  • physical_device::PhysicalDevice
  • format::VkFormat
  • type::VkImageType
  • tiling::VkImageTiling
  • usage::ImageUsageFlag
  • flags: defaults to 0
source
Vulkan.get_physical_device_image_format_properties_2Function
get_physical_device_image_format_properties_2(physical_device::PhysicalDevice, image_format_info::PhysicalDeviceImageFormatInfo2)::Result{ImageFormatProperties2, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY
    • VK_ERROR_FORMAT_NOT_SUPPORTED

Arguments:

  • physical_device::PhysicalDevice
  • image_format_info::PhysicalDeviceImageFormatInfo2
source
Vulkan.get_physical_device_present_rectangles_khrFunction
get_physical_device_present_rectangles_khr(physical_device::PhysicalDevice, surface::SurfaceKHR)::Result{Vector{Rect2D}, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY

Arguments:

  • physical_device::PhysicalDevice
  • surface::SurfaceKHR (externsync)
source
Vulkan.get_physical_device_sparse_image_format_propertiesFunction
get_physical_device_sparse_image_format_properties(physical_device::PhysicalDevice, format::VkFormat, type::VkImageType, samples::SampleCountFlag, usage::ImageUsageFlag, tiling::VkImageTiling)::Vector{SparseImageFormatProperties}

Arguments:

  • physical_device::PhysicalDevice
  • format::VkFormat
  • type::VkImageType
  • samples::SampleCountFlag
  • usage::ImageUsageFlag
  • tiling::VkImageTiling
source
Vulkan.get_physical_device_sparse_image_format_properties_2Function
get_physical_device_sparse_image_format_properties_2(physical_device::PhysicalDevice, format_info::PhysicalDeviceSparseImageFormatInfo2)::Vector{SparseImageFormatProperties2}

Arguments:

  • physical_device::PhysicalDevice
  • format_info::PhysicalDeviceSparseImageFormatInfo2
source
Vulkan.get_physical_device_surface_capabilities_2_extFunction
get_physical_device_surface_capabilities_2_ext(physical_device::PhysicalDevice, surface::SurfaceKHR)::Result{SurfaceCapabilities2EXT, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY
    • VK_ERROR_SURFACE_LOST_KHR

Arguments:

  • physical_device::PhysicalDevice
  • surface::SurfaceKHR
source
Vulkan.get_physical_device_surface_capabilities_2_khrFunction
get_physical_device_surface_capabilities_2_khr(physical_device::PhysicalDevice, surface_info::PhysicalDeviceSurfaceInfo2KHR)::Result{SurfaceCapabilities2KHR, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY
    • VK_ERROR_SURFACE_LOST_KHR

Arguments:

  • physical_device::PhysicalDevice
  • surface_info::PhysicalDeviceSurfaceInfo2KHR
source
Vulkan.get_physical_device_surface_capabilities_khrFunction
get_physical_device_surface_capabilities_khr(physical_device::PhysicalDevice, surface::SurfaceKHR)::Result{SurfaceCapabilitiesKHR, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY
    • VK_ERROR_SURFACE_LOST_KHR

Arguments:

  • physical_device::PhysicalDevice
  • surface::SurfaceKHR
source
Vulkan.get_physical_device_surface_formats_2_khrFunction
get_physical_device_surface_formats_2_khr(physical_device::PhysicalDevice, surface_info::PhysicalDeviceSurfaceInfo2KHR)::Result{Vector{SurfaceFormat2KHR}, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY
    • VK_ERROR_SURFACE_LOST_KHR

Arguments:

  • physical_device::PhysicalDevice
  • surface_info::PhysicalDeviceSurfaceInfo2KHR
source
Vulkan.get_physical_device_surface_formats_khrFunction
get_physical_device_surface_formats_khr(physical_device::PhysicalDevice, surface::SurfaceKHR)::Result{Vector{SurfaceFormatKHR}, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY
    • VK_ERROR_SURFACE_LOST_KHR

Arguments:

  • physical_device::PhysicalDevice
  • surface::SurfaceKHR
source
Vulkan.get_physical_device_surface_present_modes_2_extFunction
get_physical_device_surface_present_modes_2_ext(physical_device::PhysicalDevice, surface_info::PhysicalDeviceSurfaceInfo2KHR)::Result{Vector{PresentModeKHR}, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY
    • VK_ERROR_SURFACE_LOST_KHR

Arguments:

  • physical_device::PhysicalDevice
  • surface_info::PhysicalDeviceSurfaceInfo2KHR
source
Vulkan.get_physical_device_surface_present_modes_khrFunction
get_physical_device_surface_present_modes_khr(physical_device::PhysicalDevice, surface::SurfaceKHR)::Result{Vector{PresentModeKHR}, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY
    • VK_ERROR_SURFACE_LOST_KHR

Arguments:

  • physical_device::PhysicalDevice
  • surface::SurfaceKHR
source
Vulkan.get_physical_device_surface_support_khrFunction
get_physical_device_surface_support_khr(physical_device::PhysicalDevice, queue_family_index::Integer, surface::SurfaceKHR)::Result{Bool, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY
    • VK_ERROR_SURFACE_LOST_KHR

Arguments:

  • physical_device::PhysicalDevice
  • queue_family_index::Integer
  • surface::SurfaceKHR
source
Vulkan.get_physical_device_tool_properties_extFunction
get_physical_device_tool_properties_ext(physical_device::PhysicalDevice)::Result{Vector{PhysicalDeviceToolPropertiesEXT}, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY

Arguments:

  • physical_device::PhysicalDevice
source
Vulkan.get_physical_device_xcb_presentation_support_khrFunction
get_physical_device_xcb_presentation_support_khr(physical_device::PhysicalDevice, queue_family_index::Integer, connection::vk.xcb_connection_t, visual_id::vk.xcb_visualid_t)::Bool

Arguments:

  • physical_device::PhysicalDevice
  • queue_family_index::Integer
  • connection::vk.xcb_connection_t
  • visual_id::vk.xcb_visualid_t
source
Vulkan.get_physical_device_xlib_presentation_support_khrFunction
get_physical_device_xlib_presentation_support_khr(physical_device::PhysicalDevice, queue_family_index::Integer, dpy::vk.Display, visual_id::vk.VisualID)::Bool

Arguments:

  • physical_device::PhysicalDevice
  • queue_family_index::Integer
  • dpy::vk.Display
  • visual_id::vk.VisualID
source
Vulkan.get_pipeline_cache_dataFunction
get_pipeline_cache_data(device::Device, pipeline_cache::PipelineCache)::Result{Tuple{UInt, Ptr{Cvoid}}, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY

Arguments:

  • device::Device
  • pipeline_cache::PipelineCache
Warning

The pointer returned by this function holds memory owned by Julia. It is therefore your responsibility to free it after use (e.g. with Libc.free).

source
Vulkan.get_pipeline_executable_internal_representations_khrFunction
get_pipeline_executable_internal_representations_khr(device::Device, executable_info::PipelineExecutableInfoKHR)::Result{Vector{PipelineExecutableInternalRepresentationKHR}, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY

Arguments:

  • device::Device
  • executable_info::PipelineExecutableInfoKHR
source
Vulkan.get_pipeline_executable_properties_khrFunction
get_pipeline_executable_properties_khr(device::Device, pipeline_info::PipelineInfoKHR)::Result{Vector{PipelineExecutablePropertiesKHR}, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY

Arguments:

  • device::Device
  • pipeline_info::PipelineInfoKHR
source
Vulkan.get_pipeline_executable_statistics_khrFunction
get_pipeline_executable_statistics_khr(device::Device, executable_info::PipelineExecutableInfoKHR)::Result{Vector{PipelineExecutableStatisticKHR}, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY

Arguments:

  • device::Device
  • executable_info::PipelineExecutableInfoKHR
source
Vulkan.get_private_data_extFunction
get_private_data_ext(device::Device, object_type::VkObjectType, object_handle::Integer, private_data_slot::PrivateDataSlotEXT)::UInt64

Arguments:

  • device::Device
  • object_type::VkObjectType
  • object_handle::Integer
  • private_data_slot::PrivateDataSlotEXT
source
Vulkan.get_query_pool_resultsFunction
get_query_pool_results(device::Device, query_pool::QueryPool, first_query::Integer, query_count::Integer, data_size::Integer, data::Ptr{Cvoid}, stride::Integer; flags = 0)::Result{VkResult, VulkanError}

Return codes:

  • Success:
    • VK_SUCCESS
    • VK_NOT_READY
  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY
    • VK_ERROR_DEVICE_LOST

Arguments:

  • device::Device
  • query_pool::QueryPool
  • first_query::Integer
  • query_count::Integer
  • data_size::Integer
  • data::Ptr{Cvoid} (must be a valid pointer with data_size bytes)
  • stride::Integer
  • flags: defaults to 0
source
Vulkan.get_rand_r_output_display_extFunction
get_rand_r_output_display_ext(physical_device::PhysicalDevice, dpy::vk.Display, rr_output::vk.RROutput)::Result{DisplayKHR, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY

Arguments:

  • physical_device::PhysicalDevice
  • dpy::vk.Display
  • rr_output::vk.RROutput
source
Vulkan.get_ray_tracing_capture_replay_shader_group_handles_khrFunction
get_ray_tracing_capture_replay_shader_group_handles_khr(device::Device, pipeline::Pipeline, first_group::Integer, group_count::Integer, data_size::Integer, data::Ptr{Cvoid})::Result{VkResult, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY

Arguments:

  • device::Device
  • pipeline::Pipeline
  • first_group::Integer
  • group_count::Integer
  • data_size::Integer
  • data::Ptr{Cvoid} (must be a valid pointer with data_size bytes)
source
Vulkan.get_ray_tracing_shader_group_handles_khrFunction
get_ray_tracing_shader_group_handles_khr(device::Device, pipeline::Pipeline, first_group::Integer, group_count::Integer, data_size::Integer, data::Ptr{Cvoid})::Result{VkResult, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY

Arguments:

  • device::Device
  • pipeline::Pipeline
  • first_group::Integer
  • group_count::Integer
  • data_size::Integer
  • data::Ptr{Cvoid} (must be a valid pointer with data_size bytes)
source
Vulkan.get_refresh_cycle_duration_googleFunction
get_refresh_cycle_duration_google(device::Device, swapchain::SwapchainKHR)::Result{RefreshCycleDurationGOOGLE, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_DEVICE_LOST
    • VK_ERROR_SURFACE_LOST_KHR

Arguments:

  • device::Device
  • swapchain::SwapchainKHR (externsync)
source
Vulkan.get_semaphore_counter_valueFunction
get_semaphore_counter_value(device::Device, semaphore::Semaphore)::Result{UInt64, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY
    • VK_ERROR_DEVICE_LOST

Arguments:

  • device::Device
  • semaphore::Semaphore
source
Vulkan.get_semaphore_fd_khrFunction
get_semaphore_fd_khr(device::Device, get_fd_info::SemaphoreGetFdInfoKHR)::Result{Int, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_TOO_MANY_OBJECTS
    • VK_ERROR_OUT_OF_HOST_MEMORY

Arguments:

  • device::Device
  • get_fd_info::SemaphoreGetFdInfoKHR
source
Vulkan.get_semaphore_win_32_handle_khrFunction
get_semaphore_win_32_handle_khr(device::Device, get_win_32_handle_info::SemaphoreGetWin32HandleInfoKHR, handle::vk.HANDLE)::Result{VkResult, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_TOO_MANY_OBJECTS
    • VK_ERROR_OUT_OF_HOST_MEMORY

Arguments:

  • device::Device
  • get_win_32_handle_info::SemaphoreGetWin32HandleInfoKHR
  • handle::vk.HANDLE
source
Vulkan.get_shader_info_amdFunction
get_shader_info_amd(device::Device, pipeline::Pipeline, shader_stage::ShaderStageFlag, info_type::VkShaderInfoTypeAMD)::Result{Tuple{UInt, Ptr{Cvoid}}, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_FEATURE_NOT_PRESENT
    • VK_ERROR_OUT_OF_HOST_MEMORY

Arguments:

  • device::Device
  • pipeline::Pipeline
  • shader_stage::ShaderStageFlag
  • info_type::VkShaderInfoTypeAMD
Warning

The pointer returned by this function holds memory owned by Julia. It is therefore your responsibility to free it after use (e.g. with Libc.free).

source
Vulkan.get_swapchain_counter_extFunction
get_swapchain_counter_ext(device::Device, swapchain::SwapchainKHR, counter::SurfaceCounterFlagEXT)::Result{UInt64, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_DEVICE_LOST
    • VK_ERROR_OUT_OF_DATE_KHR

Arguments:

  • device::Device
  • swapchain::SwapchainKHR
  • counter::SurfaceCounterFlagEXT
source
Vulkan.get_swapchain_images_khrFunction
get_swapchain_images_khr(device::Device, swapchain::SwapchainKHR)::Result{Vector{Image}, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY

Arguments:

  • device::Device
  • swapchain::SwapchainKHR
source
Vulkan.get_swapchain_status_khrFunction
get_swapchain_status_khr(device::Device, swapchain::SwapchainKHR)::Result{VkResult, VulkanError}

Return codes:

  • Success:
    • VK_SUCCESS
    • VK_SUBOPTIMAL_KHR
  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY
    • VK_ERROR_DEVICE_LOST
    • VK_ERROR_OUT_OF_DATE_KHR
    • VK_ERROR_SURFACE_LOST_KHR
    • VK_ERROR_FULL_SCREEN_EXCLUSIVE_MODE_LOST_EXT

Arguments:

  • device::Device
  • swapchain::SwapchainKHR (externsync)
source
Vulkan.get_validation_cache_data_extFunction
get_validation_cache_data_ext(device::Device, validation_cache::ValidationCacheEXT)::Result{Tuple{UInt, Ptr{Cvoid}}, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY

Arguments:

  • device::Device
  • validation_cache::ValidationCacheEXT
Warning

The pointer returned by this function holds memory owned by Julia. It is therefore your responsibility to free it after use (e.g. with Libc.free).

source
Vulkan.import_fence_fd_khrFunction
import_fence_fd_khr(device::Device, import_fence_fd_info::ImportFenceFdInfoKHR)::Result{VkResult, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_INVALID_EXTERNAL_HANDLE

Arguments:

  • device::Device
  • import_fence_fd_info::ImportFenceFdInfoKHR
source
Vulkan.import_fence_win_32_handle_khrFunction
import_fence_win_32_handle_khr(device::Device, import_fence_win_32_handle_info::ImportFenceWin32HandleInfoKHR)::Result{VkResult, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_INVALID_EXTERNAL_HANDLE

Arguments:

  • device::Device
  • import_fence_win_32_handle_info::ImportFenceWin32HandleInfoKHR
source
Vulkan.import_semaphore_fd_khrFunction
import_semaphore_fd_khr(device::Device, import_semaphore_fd_info::ImportSemaphoreFdInfoKHR)::Result{VkResult, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_INVALID_EXTERNAL_HANDLE

Arguments:

  • device::Device
  • import_semaphore_fd_info::ImportSemaphoreFdInfoKHR
source
Vulkan.import_semaphore_win_32_handle_khrFunction
import_semaphore_win_32_handle_khr(device::Device, import_semaphore_win_32_handle_info::ImportSemaphoreWin32HandleInfoKHR)::Result{VkResult, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_INVALID_EXTERNAL_HANDLE

Arguments:

  • device::Device
  • import_semaphore_win_32_handle_info::ImportSemaphoreWin32HandleInfoKHR
source
Vulkan.initialize_performance_api_intelFunction
initialize_performance_api_intel(device::Device, initialize_info::InitializePerformanceApiInfoINTEL)::Result{VkResult, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_TOO_MANY_OBJECTS
    • VK_ERROR_OUT_OF_HOST_MEMORY

Arguments:

  • device::Device
  • initialize_info::InitializePerformanceApiInfoINTEL
source
Vulkan.invalidate_mapped_memory_rangesFunction
invalidate_mapped_memory_ranges(device::Device, memory_ranges::AbstractArray{<:MappedMemoryRange})::Result{VkResult, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY

Arguments:

  • device::Device
  • memory_ranges::AbstractArray{<:MappedMemoryRange}
source
Vulkan.map_memoryFunction
map_memory(device::Device, memory::DeviceMemory, offset::Integer, size::Integer; flags = 0)::Result{Ptr{Cvoid}, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY
    • VK_ERROR_MEMORY_MAP_FAILED

Arguments:

  • device::Device
  • memory::DeviceMemory (externsync)
  • offset::Integer
  • size::Integer
  • flags: defaults to 0
source
Vulkan.merge_pipeline_cachesFunction
merge_pipeline_caches(device::Device, dst_cache::PipelineCache, src_caches::AbstractArray{<:PipelineCache})::Result{VkResult, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY

Arguments:

  • device::Device
  • dst_cache::PipelineCache (externsync)
  • src_caches::AbstractArray{<:PipelineCache}
source
Vulkan.merge_validation_caches_extFunction
merge_validation_caches_ext(device::Device, dst_cache::ValidationCacheEXT, src_caches::AbstractArray{<:ValidationCacheEXT})::Result{VkResult, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY

Arguments:

  • device::Device
  • dst_cache::ValidationCacheEXT (externsync)
  • src_caches::AbstractArray{<:ValidationCacheEXT}
source
Vulkan.pointer_lengthFunction
`pointer_length(val)`

Return the length val considering it as an array.

Differ from Base.length in that pointer_length(C_NULL) == 0 and that a RefArrays return the length of their roots.

source
Vulkan.queue_bind_sparseFunction
queue_bind_sparse(queue::Queue, bind_info::AbstractArray{<:BindSparseInfo}; fence = C_NULL)::Result{VkResult, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY
    • VK_ERROR_DEVICE_LOST

Arguments:

  • queue::Queue (externsync)
  • bind_info::AbstractArray{<:BindSparseInfo} (externsync)
  • fence: defaults to C_NULL (externsync)
source
Vulkan.queue_present_khrFunction
queue_present_khr(queue::Queue, present_info::PresentInfoKHR)::Result{VkResult, VulkanError}

Return codes:

  • Success:
    • VK_SUCCESS
    • VK_SUBOPTIMAL_KHR
  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY
    • VK_ERROR_DEVICE_LOST
    • VK_ERROR_OUT_OF_DATE_KHR
    • VK_ERROR_SURFACE_LOST_KHR
    • VK_ERROR_FULL_SCREEN_EXCLUSIVE_MODE_LOST_EXT

Arguments:

  • queue::Queue (externsync)
  • present_info::PresentInfoKHR (externsync)
source
Vulkan.queue_set_performance_configuration_intelFunction
queue_set_performance_configuration_intel(queue::Queue, configuration::PerformanceConfigurationINTEL)::Result{VkResult, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_TOO_MANY_OBJECTS
    • VK_ERROR_OUT_OF_HOST_MEMORY

Arguments:

  • queue::Queue
  • configuration::PerformanceConfigurationINTEL
source
Vulkan.queue_submitFunction
queue_submit(queue::Queue, submits::AbstractArray{<:SubmitInfo}; fence = C_NULL)::Result{VkResult, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY
    • VK_ERROR_DEVICE_LOST

Arguments:

  • queue::Queue (externsync)
  • submits::AbstractArray{<:SubmitInfo}
  • fence: defaults to C_NULL (externsync)
source
Vulkan.queue_wait_idleFunction
queue_wait_idle(queue::Queue)::Result{VkResult, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY
    • VK_ERROR_DEVICE_LOST

Arguments:

  • queue::Queue (externsync)
source
Vulkan.register_device_event_extFunction
register_device_event_ext(device::Device, device_event_info::DeviceEventInfoEXT; allocator = C_NULL)::Result{Fence, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY

Arguments:

  • device::Device
  • device_event_info::DeviceEventInfoEXT
  • allocator: defaults to C_NULL
source
Vulkan.register_display_event_extFunction
register_display_event_ext(device::Device, display::DisplayKHR, display_event_info::DisplayEventInfoEXT; allocator = C_NULL)::Result{Fence, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY

Arguments:

  • device::Device
  • display::DisplayKHR
  • display_event_info::DisplayEventInfoEXT
  • allocator: defaults to C_NULL
source
Vulkan.release_display_extFunction
release_display_ext(physical_device::PhysicalDevice, display::DisplayKHR)::Result{VkResult, VulkanError}

Return codes:

Arguments:

  • physical_device::PhysicalDevice
  • display::DisplayKHR
source
Vulkan.release_full_screen_exclusive_mode_extFunction
release_full_screen_exclusive_mode_ext(device::Device, swapchain::SwapchainKHR)::Result{VkResult, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY
    • VK_ERROR_SURFACE_LOST_KHR

Arguments:

  • device::Device
  • swapchain::SwapchainKHR
source
Vulkan.release_performance_configuration_intelFunction
release_performance_configuration_intel(device::Device, configuration::PerformanceConfigurationINTEL)::Result{VkResult, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_TOO_MANY_OBJECTS
    • VK_ERROR_OUT_OF_HOST_MEMORY

Arguments:

  • device::Device
  • configuration::PerformanceConfigurationINTEL
source
Vulkan.reset_command_bufferFunction
reset_command_buffer(command_buffer::CommandBuffer; flags = 0)::Result{VkResult, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_DEVICE_MEMORY

Arguments:

  • command_buffer::CommandBuffer (externsync)
  • flags: defaults to 0
source
Vulkan.reset_command_poolFunction
reset_command_pool(device::Device, command_pool::CommandPool; flags = 0)::Result{VkResult, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_DEVICE_MEMORY

Arguments:

  • device::Device
  • command_pool::CommandPool (externsync)
  • flags: defaults to 0
source
Vulkan.reset_descriptor_poolFunction
reset_descriptor_pool(device::Device, descriptor_pool::DescriptorPool; flags = 0)::Result{VkResult, VulkanError}

Return codes:

Arguments:

  • device::Device
  • descriptor_pool::DescriptorPool (externsync)
  • flags: defaults to 0
source
Vulkan.reset_eventFunction
reset_event(device::Device, event::Event)::Result{VkResult, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_DEVICE_MEMORY

Arguments:

  • device::Device
  • event::Event (externsync)
source
Vulkan.reset_fencesFunction
reset_fences(device::Device, fences::AbstractArray{<:Fence})::Result{VkResult, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_DEVICE_MEMORY

Arguments:

  • device::Device
  • fences::AbstractArray{<:Fence} (externsync)
source
Vulkan.reset_query_poolFunction
reset_query_pool(device::Device, query_pool::QueryPool, first_query::Integer, query_count::Integer)::Cvoid

Arguments:

  • device::Device
  • query_pool::QueryPool
  • first_query::Integer
  • query_count::Integer
source
Vulkan.set_debug_utils_object_name_extFunction
set_debug_utils_object_name_ext(device::Device, name_info::DebugUtilsObjectNameInfoEXT)::Result{VkResult, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY

Arguments:

  • device::Device
  • name_info::DebugUtilsObjectNameInfoEXT (externsync)
source
Vulkan.set_debug_utils_object_tag_extFunction
set_debug_utils_object_tag_ext(device::Device, tag_info::DebugUtilsObjectTagInfoEXT)::Result{VkResult, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY

Arguments:

  • device::Device
  • tag_info::DebugUtilsObjectTagInfoEXT (externsync)
source
Vulkan.set_driverMethod

Convenience function for setting an ICD (Installable Client Driver) used by Vulkan. Only SwiftShader is currently supported. To add another ICD, you must do it by hand. You can achieve that by setting the environment variable "VKICDFILENAMES" to point to your own ICD JSON file, as described in https://github.com/KhronosGroup/Vulkan-Loader/blob/master/loader/LoaderAndLayerInterface.md#icd-discovery.

Available drivers:

  • SwiftShader: a CPU implementation of Vulkan. Requires SwiftShader_jll to be imported in mod.
set_driver(mod::Module, backend::Symbol) -> String
source
Vulkan.set_eventFunction
set_event(device::Device, event::Event)::Result{VkResult, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY

Arguments:

  • device::Device
  • event::Event (externsync)
source
Vulkan.set_hdr_metadata_extFunction
set_hdr_metadata_ext(device::Device, swapchains::AbstractArray{<:SwapchainKHR}, metadata::AbstractArray{<:HdrMetadataEXT})::Cvoid

Arguments:

  • device::Device
  • swapchains::AbstractArray{<:SwapchainKHR}
  • metadata::AbstractArray{<:HdrMetadataEXT}
source
Vulkan.set_local_dimming_amdFunction
set_local_dimming_amd(device::Device, swap_chain::SwapchainKHR, local_dimming_enable::Bool)::Cvoid

Arguments:

  • device::Device
  • swap_chain::SwapchainKHR
  • local_dimming_enable::Bool
source
Vulkan.set_private_data_extFunction
set_private_data_ext(device::Device, object_type::VkObjectType, object_handle::Integer, private_data_slot::PrivateDataSlotEXT, data::Integer)::Result{VkResult, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY

Arguments:

  • device::Device
  • object_type::VkObjectType
  • object_handle::Integer
  • private_data_slot::PrivateDataSlotEXT
  • data::Integer
source
Vulkan.signal_semaphoreFunction
signal_semaphore(device::Device, signal_info::SemaphoreSignalInfo)::Result{VkResult, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY

Arguments:

  • device::Device
  • signal_info::SemaphoreSignalInfo
source
Vulkan.submit_debug_utils_message_extFunction
submit_debug_utils_message_ext(instance::Instance, message_severity::DebugUtilsMessageSeverityFlagEXT, message_types::DebugUtilsMessageTypeFlagEXT, callback_data::DebugUtilsMessengerCallbackDataEXT)::Cvoid

Arguments:

  • instance::Instance
  • message_severity::DebugUtilsMessageSeverityFlagEXT
  • message_types::DebugUtilsMessageTypeFlagEXT
  • callback_data::DebugUtilsMessengerCallbackDataEXT
source
Vulkan.to_vkFunction

Convert a type into its corresponding Vulkan type.

Examples

julia> to_vk(UInt32, v"1")
0x00400000

julia> to_vk(NTuple{6, UInt8}, "hello")
(0x68, 0x65, 0x6c, 0x6c, 0x6f, 0x00)
source
Vulkan.trim_command_poolFunction
trim_command_pool(device::Device, command_pool::CommandPool; flags = 0)::Cvoid

Arguments:

  • device::Device
  • command_pool::CommandPool (externsync)
  • flags: defaults to 0
source
Vulkan.unmap_memoryFunction
unmap_memory(device::Device, memory::DeviceMemory)::Cvoid

Arguments:

  • device::Device
  • memory::DeviceMemory (externsync)
source
Vulkan.update_descriptor_set_with_templateFunction
update_descriptor_set_with_template(device::Device, descriptor_set::DescriptorSet, descriptor_update_template::DescriptorUpdateTemplate, data::Ptr{Cvoid})::Cvoid

Arguments:

  • device::Device
  • descriptor_set::DescriptorSet (externsync)
  • descriptor_update_template::DescriptorUpdateTemplate
  • data::Ptr{Cvoid}
source
Vulkan.update_descriptor_setsFunction
update_descriptor_sets(device::Device, descriptor_writes::AbstractArray{<:WriteDescriptorSet}, descriptor_copies::AbstractArray{<:CopyDescriptorSet})::Cvoid

Arguments:

  • device::Device
  • descriptor_writes::AbstractArray{<:WriteDescriptorSet} (externsync)
  • descriptor_copies::AbstractArray{<:CopyDescriptorSet} (externsync)
source
Vulkan.wait_for_fencesFunction
wait_for_fences(device::Device, fences::AbstractArray{<:Fence}, wait_all::Bool, timeout::Integer)::Result{VkResult, VulkanError}

Return codes:

  • Success:
    • VK_SUCCESS
    • VK_TIMEOUT
  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY
    • VK_ERROR_DEVICE_LOST

Arguments:

  • device::Device
  • fences::AbstractArray{<:Fence}
  • wait_all::Bool
  • timeout::Integer
source
Vulkan.wait_semaphoresFunction
wait_semaphores(device::Device, wait_info::SemaphoreWaitInfo, timeout::Integer)::Result{VkResult, VulkanError}

Return codes:

  • Success:
    • VK_SUCCESS
    • VK_TIMEOUT
  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY
    • VK_ERROR_DEVICE_LOST

Arguments:

  • device::Device
  • wait_info::SemaphoreWaitInfo
  • timeout::Integer
source
Vulkan.write_acceleration_structures_properties_khrFunction
write_acceleration_structures_properties_khr(device::Device, acceleration_structures::AbstractArray{<:AccelerationStructureKHR}, query_type::VkQueryType, data_size::Integer, data::Ptr{Cvoid}, stride::Integer)::Result{VkResult, VulkanError}

Return codes:

  • Error:
    • VK_ERROR_OUT_OF_HOST_MEMORY
    • VK_ERROR_OUT_OF_DEVICE_MEMORY

Arguments:

  • device::Device
  • acceleration_structures::AbstractArray{<:AccelerationStructureKHR}
  • query_type::VkQueryType
  • data_size::Integer
  • data::Ptr{Cvoid} (must be a valid pointer with data_size bytes)
  • stride::Integer
source
Vulkan.@bitmask_flagMacro
@bitmask_flag BitFlags::UInt32 begin
    FLAG_A = 1
    FLAG_B = 2
    FLAG_C = 4
end

Enumeration of bitmask flags that can be combined with &, | and xor, forbidding the combination of flags from different bitmasks.

source
Vulkan.@checkMacro
@check vkCreateInstance(args...)

Assign the expression to a variable named _return_code. Then, if the value is not a success code, return a VulkanError holding the return code.

source