VulkanVersion10

Struct VulkanVersion10 

Source
pub struct VulkanVersion10 { /* private fields */ }
Expand description

struct for VK_VERSION_1_0

Implementations§

Source§

impl VulkanVersion10

Source

pub fn new( instance: *const VkInstance_T, get_instance_proc_address: impl FnMut(*const VkInstance_T, &'static str) -> *const c_void, ) -> VulkanVersion10

Trait Implementations§

Source§

impl Clone for VulkanVersion10

Source§

fn clone(&self) -> VulkanVersion10

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for VulkanVersion10

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl Default for VulkanVersion10

Source§

fn default() -> VulkanVersion10

Returns the “default value” for a type. Read more
Source§

impl VK_VERSION_1_0 for VulkanVersion10

Source§

fn vkCreateInstance( &self, pCreateInfo: *const VkInstanceCreateInfo, pAllocator: *const VkAllocationCallbacks, pInstance: *mut *const VkInstance_T, ) -> Result<(), VkError>

Source§

fn vkDestroyInstance( &self, instance: *const VkInstance_T, pAllocator: *const VkAllocationCallbacks, ) -> Result<(), VkError>

Source§

fn vkEnumeratePhysicalDevices( &self, instance: *const VkInstance_T, pPhysicalDeviceCount: *mut u32, pPhysicalDevices: *mut *const VkPhysicalDevice_T, ) -> Result<(), VkError>

Source§

fn vkGetPhysicalDeviceFeatures( &self, physicalDevice: *const VkPhysicalDevice_T, pFeatures: *mut VkPhysicalDeviceFeatures, ) -> Result<(), VkError>

Source§

fn vkGetPhysicalDeviceFormatProperties( &self, physicalDevice: *const VkPhysicalDevice_T, format: VkFormat, pFormatProperties: *mut VkFormatProperties, ) -> Result<(), VkError>

Source§

fn vkGetPhysicalDeviceImageFormatProperties( &self, physicalDevice: *const VkPhysicalDevice_T, format: VkFormat, type_: VkImageType, tiling: VkImageTiling, usage: u32, flags: u32, pImageFormatProperties: *mut VkImageFormatProperties, ) -> Result<(), VkError>

Source§

fn vkGetPhysicalDeviceProperties( &self, physicalDevice: *const VkPhysicalDevice_T, pProperties: *mut VkPhysicalDeviceProperties, ) -> Result<(), VkError>

Source§

fn vkGetPhysicalDeviceQueueFamilyProperties( &self, physicalDevice: *const VkPhysicalDevice_T, pQueueFamilyPropertyCount: *mut u32, pQueueFamilyProperties: *mut VkQueueFamilyProperties, ) -> Result<(), VkError>

Source§

fn vkGetPhysicalDeviceMemoryProperties( &self, physicalDevice: *const VkPhysicalDevice_T, pMemoryProperties: *mut VkPhysicalDeviceMemoryProperties, ) -> Result<(), VkError>

Source§

fn vkGetInstanceProcAddr( &self, instance: *const VkInstance_T, pName: *const i8, ) -> Result<extern "system" fn(), VkError>

Source§

fn vkGetDeviceProcAddr( &self, device: *const VkDevice_T, pName: *const i8, ) -> Result<extern "system" fn(), VkError>

Source§

fn vkCreateDevice( &self, physicalDevice: *const VkPhysicalDevice_T, pCreateInfo: *const VkDeviceCreateInfo, pAllocator: *const VkAllocationCallbacks, pDevice: *mut *const VkDevice_T, ) -> Result<(), VkError>

Source§

fn vkDestroyDevice( &self, device: *const VkDevice_T, pAllocator: *const VkAllocationCallbacks, ) -> Result<(), VkError>

Source§

fn vkEnumerateInstanceExtensionProperties( &self, pLayerName: *const i8, pPropertyCount: *mut u32, pProperties: *mut VkExtensionProperties, ) -> Result<(), VkError>

Source§

fn vkEnumerateDeviceExtensionProperties( &self, physicalDevice: *const VkPhysicalDevice_T, pLayerName: *const i8, pPropertyCount: *mut u32, pProperties: *mut VkExtensionProperties, ) -> Result<(), VkError>

Source§

fn vkEnumerateInstanceLayerProperties( &self, pPropertyCount: *mut u32, pProperties: *mut VkLayerProperties, ) -> Result<(), VkError>

Source§

fn vkEnumerateDeviceLayerProperties( &self, physicalDevice: *const VkPhysicalDevice_T, pPropertyCount: *mut u32, pProperties: *mut VkLayerProperties, ) -> Result<(), VkError>

Source§

fn vkGetDeviceQueue( &self, device: *const VkDevice_T, queueFamilyIndex: u32, queueIndex: u32, pQueue: *mut *const VkQueue_T, ) -> Result<(), VkError>

Source§

fn vkQueueSubmit( &self, queue: *const VkQueue_T, submitCount: u32, pSubmits: *const VkSubmitInfo, fence: *const VkFence_T, ) -> Result<(), VkError>

Source§

fn vkQueueWaitIdle(&self, queue: *const VkQueue_T) -> Result<(), VkError>

Source§

fn vkDeviceWaitIdle(&self, device: *const VkDevice_T) -> Result<(), VkError>

Source§

fn vkAllocateMemory( &self, device: *const VkDevice_T, pAllocateInfo: *const VkMemoryAllocateInfo, pAllocator: *const VkAllocationCallbacks, pMemory: *mut *const VkDeviceMemory_T, ) -> Result<(), VkError>

Source§

fn vkFreeMemory( &self, device: *const VkDevice_T, memory: *const VkDeviceMemory_T, pAllocator: *const VkAllocationCallbacks, ) -> Result<(), VkError>

Source§

fn vkMapMemory( &self, device: *const VkDevice_T, memory: *const VkDeviceMemory_T, offset: u64, size: u64, flags: u32, ppData: *mut *mut c_void, ) -> Result<(), VkError>

Source§

fn vkUnmapMemory( &self, device: *const VkDevice_T, memory: *const VkDeviceMemory_T, ) -> Result<(), VkError>

Source§

fn vkFlushMappedMemoryRanges( &self, device: *const VkDevice_T, memoryRangeCount: u32, pMemoryRanges: *const VkMappedMemoryRange, ) -> Result<(), VkError>

Source§

fn vkInvalidateMappedMemoryRanges( &self, device: *const VkDevice_T, memoryRangeCount: u32, pMemoryRanges: *const VkMappedMemoryRange, ) -> Result<(), VkError>

Source§

fn vkGetDeviceMemoryCommitment( &self, device: *const VkDevice_T, memory: *const VkDeviceMemory_T, pCommittedMemoryInBytes: *mut u64, ) -> Result<(), VkError>

Source§

fn vkBindBufferMemory( &self, device: *const VkDevice_T, buffer: *const VkBuffer_T, memory: *const VkDeviceMemory_T, memoryOffset: u64, ) -> Result<(), VkError>

Source§

fn vkBindImageMemory( &self, device: *const VkDevice_T, image: *const VkImage_T, memory: *const VkDeviceMemory_T, memoryOffset: u64, ) -> Result<(), VkError>

Source§

fn vkGetBufferMemoryRequirements( &self, device: *const VkDevice_T, buffer: *const VkBuffer_T, pMemoryRequirements: *mut VkMemoryRequirements, ) -> Result<(), VkError>

Source§

fn vkGetImageMemoryRequirements( &self, device: *const VkDevice_T, image: *const VkImage_T, pMemoryRequirements: *mut VkMemoryRequirements, ) -> Result<(), VkError>

Source§

fn vkGetImageSparseMemoryRequirements( &self, device: *const VkDevice_T, image: *const VkImage_T, pSparseMemoryRequirementCount: *mut u32, pSparseMemoryRequirements: *mut VkSparseImageMemoryRequirements, ) -> Result<(), VkError>

Source§

fn vkGetPhysicalDeviceSparseImageFormatProperties( &self, physicalDevice: *const VkPhysicalDevice_T, format: VkFormat, type_: VkImageType, samples: VkSampleCountFlagBits, usage: u32, tiling: VkImageTiling, pPropertyCount: *mut u32, pProperties: *mut VkSparseImageFormatProperties, ) -> Result<(), VkError>

Source§

fn vkQueueBindSparse( &self, queue: *const VkQueue_T, bindInfoCount: u32, pBindInfo: *const VkBindSparseInfo, fence: *const VkFence_T, ) -> Result<(), VkError>

Source§

fn vkCreateFence( &self, device: *const VkDevice_T, pCreateInfo: *const VkFenceCreateInfo, pAllocator: *const VkAllocationCallbacks, pFence: *mut *const VkFence_T, ) -> Result<(), VkError>

Source§

fn vkDestroyFence( &self, device: *const VkDevice_T, fence: *const VkFence_T, pAllocator: *const VkAllocationCallbacks, ) -> Result<(), VkError>

Source§

fn vkResetFences( &self, device: *const VkDevice_T, fenceCount: u32, pFences: *const *const VkFence_T, ) -> Result<(), VkError>

Source§

fn vkGetFenceStatus( &self, device: *const VkDevice_T, fence: *const VkFence_T, ) -> Result<(), VkError>

Source§

fn vkWaitForFences( &self, device: *const VkDevice_T, fenceCount: u32, pFences: *const *const VkFence_T, waitAll: u32, timeout: u64, ) -> Result<(), VkError>

Source§

fn vkCreateSemaphore( &self, device: *const VkDevice_T, pCreateInfo: *const VkSemaphoreCreateInfo, pAllocator: *const VkAllocationCallbacks, pSemaphore: *mut *const VkSemaphore_T, ) -> Result<(), VkError>

Source§

fn vkDestroySemaphore( &self, device: *const VkDevice_T, semaphore: *const VkSemaphore_T, pAllocator: *const VkAllocationCallbacks, ) -> Result<(), VkError>

Source§

fn vkCreateEvent( &self, device: *const VkDevice_T, pCreateInfo: *const VkEventCreateInfo, pAllocator: *const VkAllocationCallbacks, pEvent: *mut *const VkEvent_T, ) -> Result<(), VkError>

Source§

fn vkDestroyEvent( &self, device: *const VkDevice_T, event: *const VkEvent_T, pAllocator: *const VkAllocationCallbacks, ) -> Result<(), VkError>

Source§

fn vkGetEventStatus( &self, device: *const VkDevice_T, event: *const VkEvent_T, ) -> Result<(), VkError>

Source§

fn vkSetEvent( &self, device: *const VkDevice_T, event: *const VkEvent_T, ) -> Result<(), VkError>

Source§

fn vkResetEvent( &self, device: *const VkDevice_T, event: *const VkEvent_T, ) -> Result<(), VkError>

Source§

fn vkCreateQueryPool( &self, device: *const VkDevice_T, pCreateInfo: *const VkQueryPoolCreateInfo, pAllocator: *const VkAllocationCallbacks, pQueryPool: *mut *const VkQueryPool_T, ) -> Result<(), VkError>

Source§

fn vkDestroyQueryPool( &self, device: *const VkDevice_T, queryPool: *const VkQueryPool_T, pAllocator: *const VkAllocationCallbacks, ) -> Result<(), VkError>

Source§

fn vkGetQueryPoolResults( &self, device: *const VkDevice_T, queryPool: *const VkQueryPool_T, firstQuery: u32, queryCount: u32, dataSize: usize, pData: *mut c_void, stride: u64, flags: u32, ) -> Result<(), VkError>

Source§

fn vkCreateBuffer( &self, device: *const VkDevice_T, pCreateInfo: *const VkBufferCreateInfo, pAllocator: *const VkAllocationCallbacks, pBuffer: *mut *const VkBuffer_T, ) -> Result<(), VkError>

Source§

fn vkDestroyBuffer( &self, device: *const VkDevice_T, buffer: *const VkBuffer_T, pAllocator: *const VkAllocationCallbacks, ) -> Result<(), VkError>

Source§

fn vkCreateBufferView( &self, device: *const VkDevice_T, pCreateInfo: *const VkBufferViewCreateInfo, pAllocator: *const VkAllocationCallbacks, pView: *mut *const VkBufferView_T, ) -> Result<(), VkError>

Source§

fn vkDestroyBufferView( &self, device: *const VkDevice_T, bufferView: *const VkBufferView_T, pAllocator: *const VkAllocationCallbacks, ) -> Result<(), VkError>

Source§

fn vkCreateImage( &self, device: *const VkDevice_T, pCreateInfo: *const VkImageCreateInfo, pAllocator: *const VkAllocationCallbacks, pImage: *mut *const VkImage_T, ) -> Result<(), VkError>

Source§

fn vkDestroyImage( &self, device: *const VkDevice_T, image: *const VkImage_T, pAllocator: *const VkAllocationCallbacks, ) -> Result<(), VkError>

Source§

fn vkGetImageSubresourceLayout( &self, device: *const VkDevice_T, image: *const VkImage_T, pSubresource: *const VkImageSubresource, pLayout: *mut VkSubresourceLayout, ) -> Result<(), VkError>

Source§

fn vkCreateImageView( &self, device: *const VkDevice_T, pCreateInfo: *const VkImageViewCreateInfo, pAllocator: *const VkAllocationCallbacks, pView: *mut *const VkImageView_T, ) -> Result<(), VkError>

Source§

fn vkDestroyImageView( &self, device: *const VkDevice_T, imageView: *const VkImageView_T, pAllocator: *const VkAllocationCallbacks, ) -> Result<(), VkError>

Source§

fn vkCreateShaderModule( &self, device: *const VkDevice_T, pCreateInfo: *const VkShaderModuleCreateInfo, pAllocator: *const VkAllocationCallbacks, pShaderModule: *mut *const VkShaderModule_T, ) -> Result<(), VkError>

Source§

fn vkDestroyShaderModule( &self, device: *const VkDevice_T, shaderModule: *const VkShaderModule_T, pAllocator: *const VkAllocationCallbacks, ) -> Result<(), VkError>

Source§

fn vkCreatePipelineCache( &self, device: *const VkDevice_T, pCreateInfo: *const VkPipelineCacheCreateInfo, pAllocator: *const VkAllocationCallbacks, pPipelineCache: *mut *const VkPipelineCache_T, ) -> Result<(), VkError>

Source§

fn vkDestroyPipelineCache( &self, device: *const VkDevice_T, pipelineCache: *const VkPipelineCache_T, pAllocator: *const VkAllocationCallbacks, ) -> Result<(), VkError>

Source§

fn vkGetPipelineCacheData( &self, device: *const VkDevice_T, pipelineCache: *const VkPipelineCache_T, pDataSize: *mut usize, pData: *mut c_void, ) -> Result<(), VkError>

Source§

fn vkMergePipelineCaches( &self, device: *const VkDevice_T, dstCache: *const VkPipelineCache_T, srcCacheCount: u32, pSrcCaches: *const *const VkPipelineCache_T, ) -> Result<(), VkError>

Source§

fn vkCreateGraphicsPipelines( &self, device: *const VkDevice_T, pipelineCache: *const VkPipelineCache_T, createInfoCount: u32, pCreateInfos: *const VkGraphicsPipelineCreateInfo, pAllocator: *const VkAllocationCallbacks, pPipelines: *mut *const VkPipeline_T, ) -> Result<(), VkError>

Source§

fn vkCreateComputePipelines( &self, device: *const VkDevice_T, pipelineCache: *const VkPipelineCache_T, createInfoCount: u32, pCreateInfos: *const VkComputePipelineCreateInfo, pAllocator: *const VkAllocationCallbacks, pPipelines: *mut *const VkPipeline_T, ) -> Result<(), VkError>

Source§

fn vkDestroyPipeline( &self, device: *const VkDevice_T, pipeline: *const VkPipeline_T, pAllocator: *const VkAllocationCallbacks, ) -> Result<(), VkError>

Source§

fn vkCreatePipelineLayout( &self, device: *const VkDevice_T, pCreateInfo: *const VkPipelineLayoutCreateInfo, pAllocator: *const VkAllocationCallbacks, pPipelineLayout: *mut *const VkPipelineLayout_T, ) -> Result<(), VkError>

Source§

fn vkDestroyPipelineLayout( &self, device: *const VkDevice_T, pipelineLayout: *const VkPipelineLayout_T, pAllocator: *const VkAllocationCallbacks, ) -> Result<(), VkError>

Source§

fn vkCreateSampler( &self, device: *const VkDevice_T, pCreateInfo: *const VkSamplerCreateInfo, pAllocator: *const VkAllocationCallbacks, pSampler: *mut *const VkSampler_T, ) -> Result<(), VkError>

Source§

fn vkDestroySampler( &self, device: *const VkDevice_T, sampler: *const VkSampler_T, pAllocator: *const VkAllocationCallbacks, ) -> Result<(), VkError>

Source§

fn vkCreateDescriptorSetLayout( &self, device: *const VkDevice_T, pCreateInfo: *const VkDescriptorSetLayoutCreateInfo, pAllocator: *const VkAllocationCallbacks, pSetLayout: *mut *const VkDescriptorSetLayout_T, ) -> Result<(), VkError>

Source§

fn vkDestroyDescriptorSetLayout( &self, device: *const VkDevice_T, descriptorSetLayout: *const VkDescriptorSetLayout_T, pAllocator: *const VkAllocationCallbacks, ) -> Result<(), VkError>

Source§

fn vkCreateDescriptorPool( &self, device: *const VkDevice_T, pCreateInfo: *const VkDescriptorPoolCreateInfo, pAllocator: *const VkAllocationCallbacks, pDescriptorPool: *mut *const VkDescriptorPool_T, ) -> Result<(), VkError>

Source§

fn vkDestroyDescriptorPool( &self, device: *const VkDevice_T, descriptorPool: *const VkDescriptorPool_T, pAllocator: *const VkAllocationCallbacks, ) -> Result<(), VkError>

Source§

fn vkResetDescriptorPool( &self, device: *const VkDevice_T, descriptorPool: *const VkDescriptorPool_T, flags: u32, ) -> Result<(), VkError>

Source§

fn vkAllocateDescriptorSets( &self, device: *const VkDevice_T, pAllocateInfo: *const VkDescriptorSetAllocateInfo, pDescriptorSets: *mut *const VkDescriptorSet_T, ) -> Result<(), VkError>

Source§

fn vkFreeDescriptorSets( &self, device: *const VkDevice_T, descriptorPool: *const VkDescriptorPool_T, descriptorSetCount: u32, pDescriptorSets: *const *const VkDescriptorSet_T, ) -> Result<(), VkError>

Source§

fn vkUpdateDescriptorSets( &self, device: *const VkDevice_T, descriptorWriteCount: u32, pDescriptorWrites: *const VkWriteDescriptorSet, descriptorCopyCount: u32, pDescriptorCopies: *const VkCopyDescriptorSet, ) -> Result<(), VkError>

Source§

fn vkCreateFramebuffer( &self, device: *const VkDevice_T, pCreateInfo: *const VkFramebufferCreateInfo, pAllocator: *const VkAllocationCallbacks, pFramebuffer: *mut *const VkFramebuffer_T, ) -> Result<(), VkError>

Source§

fn vkDestroyFramebuffer( &self, device: *const VkDevice_T, framebuffer: *const VkFramebuffer_T, pAllocator: *const VkAllocationCallbacks, ) -> Result<(), VkError>

Source§

fn vkCreateRenderPass( &self, device: *const VkDevice_T, pCreateInfo: *const VkRenderPassCreateInfo, pAllocator: *const VkAllocationCallbacks, pRenderPass: *mut *const VkRenderPass_T, ) -> Result<(), VkError>

Source§

fn vkDestroyRenderPass( &self, device: *const VkDevice_T, renderPass: *const VkRenderPass_T, pAllocator: *const VkAllocationCallbacks, ) -> Result<(), VkError>

Source§

fn vkGetRenderAreaGranularity( &self, device: *const VkDevice_T, renderPass: *const VkRenderPass_T, pGranularity: *mut VkExtent2D, ) -> Result<(), VkError>

Source§

fn vkCreateCommandPool( &self, device: *const VkDevice_T, pCreateInfo: *const VkCommandPoolCreateInfo, pAllocator: *const VkAllocationCallbacks, pCommandPool: *mut *const VkCommandPool_T, ) -> Result<(), VkError>

Source§

fn vkDestroyCommandPool( &self, device: *const VkDevice_T, commandPool: *const VkCommandPool_T, pAllocator: *const VkAllocationCallbacks, ) -> Result<(), VkError>

Source§

fn vkResetCommandPool( &self, device: *const VkDevice_T, commandPool: *const VkCommandPool_T, flags: u32, ) -> Result<(), VkError>

Source§

fn vkAllocateCommandBuffers( &self, device: *const VkDevice_T, pAllocateInfo: *const VkCommandBufferAllocateInfo, pCommandBuffers: *mut *const VkCommandBuffer_T, ) -> Result<(), VkError>

Source§

fn vkFreeCommandBuffers( &self, device: *const VkDevice_T, commandPool: *const VkCommandPool_T, commandBufferCount: u32, pCommandBuffers: *const *const VkCommandBuffer_T, ) -> Result<(), VkError>

Source§

fn vkBeginCommandBuffer( &self, commandBuffer: *const VkCommandBuffer_T, pBeginInfo: *const VkCommandBufferBeginInfo, ) -> Result<(), VkError>

Source§

fn vkEndCommandBuffer( &self, commandBuffer: *const VkCommandBuffer_T, ) -> Result<(), VkError>

Source§

fn vkResetCommandBuffer( &self, commandBuffer: *const VkCommandBuffer_T, flags: u32, ) -> Result<(), VkError>

Source§

fn vkCmdBindPipeline( &self, commandBuffer: *const VkCommandBuffer_T, pipelineBindPoint: VkPipelineBindPoint, pipeline: *const VkPipeline_T, ) -> Result<(), VkError>

Source§

fn vkCmdSetViewport( &self, commandBuffer: *const VkCommandBuffer_T, firstViewport: u32, viewportCount: u32, pViewports: *const VkViewport, ) -> Result<(), VkError>

Source§

fn vkCmdSetScissor( &self, commandBuffer: *const VkCommandBuffer_T, firstScissor: u32, scissorCount: u32, pScissors: *const VkRect2D, ) -> Result<(), VkError>

Source§

fn vkCmdSetLineWidth( &self, commandBuffer: *const VkCommandBuffer_T, lineWidth: f32, ) -> Result<(), VkError>

Source§

fn vkCmdSetDepthBias( &self, commandBuffer: *const VkCommandBuffer_T, depthBiasConstantFactor: f32, depthBiasClamp: f32, depthBiasSlopeFactor: f32, ) -> Result<(), VkError>

Source§

fn vkCmdSetBlendConstants( &self, commandBuffer: *const VkCommandBuffer_T, blendConstants: &[f32; 4], ) -> Result<(), VkError>

Source§

fn vkCmdSetDepthBounds( &self, commandBuffer: *const VkCommandBuffer_T, minDepthBounds: f32, maxDepthBounds: f32, ) -> Result<(), VkError>

Source§

fn vkCmdSetStencilCompareMask( &self, commandBuffer: *const VkCommandBuffer_T, faceMask: u32, compareMask: u32, ) -> Result<(), VkError>

Source§

fn vkCmdSetStencilWriteMask( &self, commandBuffer: *const VkCommandBuffer_T, faceMask: u32, writeMask: u32, ) -> Result<(), VkError>

Source§

fn vkCmdSetStencilReference( &self, commandBuffer: *const VkCommandBuffer_T, faceMask: u32, reference: u32, ) -> Result<(), VkError>

Source§

fn vkCmdBindDescriptorSets( &self, commandBuffer: *const VkCommandBuffer_T, pipelineBindPoint: VkPipelineBindPoint, layout: *const VkPipelineLayout_T, firstSet: u32, descriptorSetCount: u32, pDescriptorSets: *const *const VkDescriptorSet_T, dynamicOffsetCount: u32, pDynamicOffsets: *const u32, ) -> Result<(), VkError>

Source§

fn vkCmdBindIndexBuffer( &self, commandBuffer: *const VkCommandBuffer_T, buffer: *const VkBuffer_T, offset: u64, indexType: VkIndexType, ) -> Result<(), VkError>

Source§

fn vkCmdBindVertexBuffers( &self, commandBuffer: *const VkCommandBuffer_T, firstBinding: u32, bindingCount: u32, pBuffers: *const *const VkBuffer_T, pOffsets: *const u64, ) -> Result<(), VkError>

Source§

fn vkCmdDraw( &self, commandBuffer: *const VkCommandBuffer_T, vertexCount: u32, instanceCount: u32, firstVertex: u32, firstInstance: u32, ) -> Result<(), VkError>

Source§

fn vkCmdDrawIndexed( &self, commandBuffer: *const VkCommandBuffer_T, indexCount: u32, instanceCount: u32, firstIndex: u32, vertexOffset: i32, firstInstance: u32, ) -> Result<(), VkError>

Source§

fn vkCmdDrawIndirect( &self, commandBuffer: *const VkCommandBuffer_T, buffer: *const VkBuffer_T, offset: u64, drawCount: u32, stride: u32, ) -> Result<(), VkError>

Source§

fn vkCmdDrawIndexedIndirect( &self, commandBuffer: *const VkCommandBuffer_T, buffer: *const VkBuffer_T, offset: u64, drawCount: u32, stride: u32, ) -> Result<(), VkError>

Source§

fn vkCmdDispatch( &self, commandBuffer: *const VkCommandBuffer_T, groupCountX: u32, groupCountY: u32, groupCountZ: u32, ) -> Result<(), VkError>

Source§

fn vkCmdDispatchIndirect( &self, commandBuffer: *const VkCommandBuffer_T, buffer: *const VkBuffer_T, offset: u64, ) -> Result<(), VkError>

Source§

fn vkCmdCopyBuffer( &self, commandBuffer: *const VkCommandBuffer_T, srcBuffer: *const VkBuffer_T, dstBuffer: *const VkBuffer_T, regionCount: u32, pRegions: *const VkBufferCopy, ) -> Result<(), VkError>

Source§

fn vkCmdCopyImage( &self, commandBuffer: *const VkCommandBuffer_T, srcImage: *const VkImage_T, srcImageLayout: VkImageLayout, dstImage: *const VkImage_T, dstImageLayout: VkImageLayout, regionCount: u32, pRegions: *const VkImageCopy, ) -> Result<(), VkError>

Source§

fn vkCmdBlitImage( &self, commandBuffer: *const VkCommandBuffer_T, srcImage: *const VkImage_T, srcImageLayout: VkImageLayout, dstImage: *const VkImage_T, dstImageLayout: VkImageLayout, regionCount: u32, pRegions: *const VkImageBlit, filter: VkFilter, ) -> Result<(), VkError>

Source§

fn vkCmdCopyBufferToImage( &self, commandBuffer: *const VkCommandBuffer_T, srcBuffer: *const VkBuffer_T, dstImage: *const VkImage_T, dstImageLayout: VkImageLayout, regionCount: u32, pRegions: *const VkBufferImageCopy, ) -> Result<(), VkError>

Source§

fn vkCmdCopyImageToBuffer( &self, commandBuffer: *const VkCommandBuffer_T, srcImage: *const VkImage_T, srcImageLayout: VkImageLayout, dstBuffer: *const VkBuffer_T, regionCount: u32, pRegions: *const VkBufferImageCopy, ) -> Result<(), VkError>

Source§

fn vkCmdUpdateBuffer( &self, commandBuffer: *const VkCommandBuffer_T, dstBuffer: *const VkBuffer_T, dstOffset: u64, dataSize: u64, pData: *const c_void, ) -> Result<(), VkError>

Source§

fn vkCmdFillBuffer( &self, commandBuffer: *const VkCommandBuffer_T, dstBuffer: *const VkBuffer_T, dstOffset: u64, size: u64, data: u32, ) -> Result<(), VkError>

Source§

fn vkCmdClearColorImage( &self, commandBuffer: *const VkCommandBuffer_T, image: *const VkImage_T, imageLayout: VkImageLayout, pColor: *const VkClearColorValue, rangeCount: u32, pRanges: *const VkImageSubresourceRange, ) -> Result<(), VkError>

Source§

fn vkCmdClearDepthStencilImage( &self, commandBuffer: *const VkCommandBuffer_T, image: *const VkImage_T, imageLayout: VkImageLayout, pDepthStencil: *const VkClearDepthStencilValue, rangeCount: u32, pRanges: *const VkImageSubresourceRange, ) -> Result<(), VkError>

Source§

fn vkCmdClearAttachments( &self, commandBuffer: *const VkCommandBuffer_T, attachmentCount: u32, pAttachments: *const VkClearAttachment, rectCount: u32, pRects: *const VkClearRect, ) -> Result<(), VkError>

Source§

fn vkCmdResolveImage( &self, commandBuffer: *const VkCommandBuffer_T, srcImage: *const VkImage_T, srcImageLayout: VkImageLayout, dstImage: *const VkImage_T, dstImageLayout: VkImageLayout, regionCount: u32, pRegions: *const VkImageResolve, ) -> Result<(), VkError>

Source§

fn vkCmdSetEvent( &self, commandBuffer: *const VkCommandBuffer_T, event: *const VkEvent_T, stageMask: u32, ) -> Result<(), VkError>

Source§

fn vkCmdResetEvent( &self, commandBuffer: *const VkCommandBuffer_T, event: *const VkEvent_T, stageMask: u32, ) -> Result<(), VkError>

Source§

fn vkCmdWaitEvents( &self, commandBuffer: *const VkCommandBuffer_T, eventCount: u32, pEvents: *const *const VkEvent_T, srcStageMask: u32, dstStageMask: u32, memoryBarrierCount: u32, pMemoryBarriers: *const VkMemoryBarrier, bufferMemoryBarrierCount: u32, pBufferMemoryBarriers: *const VkBufferMemoryBarrier, imageMemoryBarrierCount: u32, pImageMemoryBarriers: *const VkImageMemoryBarrier, ) -> Result<(), VkError>

Source§

fn vkCmdPipelineBarrier( &self, commandBuffer: *const VkCommandBuffer_T, srcStageMask: u32, dstStageMask: u32, dependencyFlags: u32, memoryBarrierCount: u32, pMemoryBarriers: *const VkMemoryBarrier, bufferMemoryBarrierCount: u32, pBufferMemoryBarriers: *const VkBufferMemoryBarrier, imageMemoryBarrierCount: u32, pImageMemoryBarriers: *const VkImageMemoryBarrier, ) -> Result<(), VkError>

Source§

fn vkCmdBeginQuery( &self, commandBuffer: *const VkCommandBuffer_T, queryPool: *const VkQueryPool_T, query: u32, flags: u32, ) -> Result<(), VkError>

Source§

fn vkCmdEndQuery( &self, commandBuffer: *const VkCommandBuffer_T, queryPool: *const VkQueryPool_T, query: u32, ) -> Result<(), VkError>

Source§

fn vkCmdResetQueryPool( &self, commandBuffer: *const VkCommandBuffer_T, queryPool: *const VkQueryPool_T, firstQuery: u32, queryCount: u32, ) -> Result<(), VkError>

Source§

fn vkCmdWriteTimestamp( &self, commandBuffer: *const VkCommandBuffer_T, pipelineStage: VkPipelineStageFlagBits, queryPool: *const VkQueryPool_T, query: u32, ) -> Result<(), VkError>

Source§

fn vkCmdCopyQueryPoolResults( &self, commandBuffer: *const VkCommandBuffer_T, queryPool: *const VkQueryPool_T, firstQuery: u32, queryCount: u32, dstBuffer: *const VkBuffer_T, dstOffset: u64, stride: u64, flags: u32, ) -> Result<(), VkError>

Source§

fn vkCmdPushConstants( &self, commandBuffer: *const VkCommandBuffer_T, layout: *const VkPipelineLayout_T, stageFlags: u32, offset: u32, size: u32, pValues: *const c_void, ) -> Result<(), VkError>

Source§

fn vkCmdBeginRenderPass( &self, commandBuffer: *const VkCommandBuffer_T, pRenderPassBegin: *const VkRenderPassBeginInfo, contents: VkSubpassContents, ) -> Result<(), VkError>

Source§

fn vkCmdNextSubpass( &self, commandBuffer: *const VkCommandBuffer_T, contents: VkSubpassContents, ) -> Result<(), VkError>

Source§

fn vkCmdEndRenderPass( &self, commandBuffer: *const VkCommandBuffer_T, ) -> Result<(), VkError>

Source§

fn vkCmdExecuteCommands( &self, commandBuffer: *const VkCommandBuffer_T, commandBufferCount: u32, pCommandBuffers: *const *const VkCommandBuffer_T, ) -> Result<(), VkError>

Source§

impl Copy for VulkanVersion10

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> Conv for T

Source§

fn conv<T>(self) -> T
where Self: Into<T>,

Converts self into T using Into<T>. Read more
Source§

impl<T> FmtForward for T

Source§

fn fmt_binary(self) -> FmtBinary<Self>
where Self: Binary,

Causes self to use its Binary implementation when Debug-formatted.
Source§

fn fmt_display(self) -> FmtDisplay<Self>
where Self: Display,

Causes self to use its Display implementation when Debug-formatted.
Source§

fn fmt_lower_exp(self) -> FmtLowerExp<Self>
where Self: LowerExp,

Causes self to use its LowerExp implementation when Debug-formatted.
Source§

fn fmt_lower_hex(self) -> FmtLowerHex<Self>
where Self: LowerHex,

Causes self to use its LowerHex implementation when Debug-formatted.
Source§

fn fmt_octal(self) -> FmtOctal<Self>
where Self: Octal,

Causes self to use its Octal implementation when Debug-formatted.
Source§

fn fmt_pointer(self) -> FmtPointer<Self>
where Self: Pointer,

Causes self to use its Pointer implementation when Debug-formatted.
Source§

fn fmt_upper_exp(self) -> FmtUpperExp<Self>
where Self: UpperExp,

Causes self to use its UpperExp implementation when Debug-formatted.
Source§

fn fmt_upper_hex(self) -> FmtUpperHex<Self>
where Self: UpperHex,

Causes self to use its UpperHex implementation when Debug-formatted.
Source§

fn fmt_list(self) -> FmtList<Self>
where &'a Self: for<'a> IntoIterator,

Formats each item in a sequence. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

impl<T> Pipe for T
where T: ?Sized,

Source§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where Self: Sized,

Pipes by value. This is generally the method you want to use. Read more
Source§

fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> R
where R: 'a,

Borrows self and passes that borrow into the pipe function. Read more
Source§

fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> R
where R: 'a,

Mutably borrows self and passes that borrow into the pipe function. Read more
Source§

fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
where Self: Borrow<B>, B: 'a + ?Sized, R: 'a,

Borrows self, then passes self.borrow() into the pipe function. Read more
Source§

fn pipe_borrow_mut<'a, B, R>( &'a mut self, func: impl FnOnce(&'a mut B) -> R, ) -> R
where Self: BorrowMut<B>, B: 'a + ?Sized, R: 'a,

Mutably borrows self, then passes self.borrow_mut() into the pipe function. Read more
Source§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
where Self: AsRef<U>, U: 'a + ?Sized, R: 'a,

Borrows self, then passes self.as_ref() into the pipe function.
Source§

fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R
where Self: AsMut<U>, U: 'a + ?Sized, R: 'a,

Mutably borrows self, then passes self.as_mut() into the pipe function.
Source§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
where Self: Deref<Target = T>, T: 'a + ?Sized, R: 'a,

Borrows self, then passes self.deref() into the pipe function.
Source§

fn pipe_deref_mut<'a, T, R>( &'a mut self, func: impl FnOnce(&'a mut T) -> R, ) -> R
where Self: DerefMut<Target = T> + Deref, T: 'a + ?Sized, R: 'a,

Mutably borrows self, then passes self.deref_mut() into the pipe function.
Source§

impl<T> Pointable for T

Source§

const ALIGN: usize

The alignment of pointer.
Source§

type Init = T

The type for initializers.
Source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
Source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
Source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
Source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
Source§

impl<R, P> ReadPrimitive<R> for P
where R: Read + ReadEndian<P>, P: Default,

Source§

fn read_from_little_endian(read: &mut R) -> Result<Self, Error>

Read this value from the supplied reader. Same as ReadEndian::read_from_little_endian().
Source§

fn read_from_big_endian(read: &mut R) -> Result<Self, Error>

Read this value from the supplied reader. Same as ReadEndian::read_from_big_endian().
Source§

fn read_from_native_endian(read: &mut R) -> Result<Self, Error>

Read this value from the supplied reader. Same as ReadEndian::read_from_native_endian().
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<SS, SP> SupersetOf<SS> for SP
where SS: SubsetOf<SP>,

Source§

fn to_subset(&self) -> Option<SS>

The inverse inclusion map: attempts to construct self from the equivalent element of its superset. Read more
Source§

fn is_in_subset(&self) -> bool

Checks if self is actually part of its subset T (and can be converted to it).
Source§

fn to_subset_unchecked(&self) -> SS

Use with care! Same as self.to_subset but without any property checks. Always succeeds.
Source§

fn from_subset(element: &SS) -> SP

The inclusion map: converts self to the equivalent element of its superset.
Source§

impl<T> Tap for T

Source§

fn tap(self, func: impl FnOnce(&Self)) -> Self

Immutable access to a value. Read more
Source§

fn tap_mut(self, func: impl FnOnce(&mut Self)) -> Self

Mutable access to a value. Read more
Source§

fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
where Self: Borrow<B>, B: ?Sized,

Immutable access to the Borrow<B> of a value. Read more
Source§

fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
where Self: BorrowMut<B>, B: ?Sized,

Mutable access to the BorrowMut<B> of a value. Read more
Source§

fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
where Self: AsRef<R>, R: ?Sized,

Immutable access to the AsRef<R> view of a value. Read more
Source§

fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
where Self: AsMut<R>, R: ?Sized,

Mutable access to the AsMut<R> view of a value. Read more
Source§

fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
where Self: Deref<Target = T>, T: ?Sized,

Immutable access to the Deref::Target of a value. Read more
Source§

fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
where Self: DerefMut<Target = T> + Deref, T: ?Sized,

Mutable access to the Deref::Target of a value. Read more
Source§

fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self

Calls .tap() only in debug builds, and is erased in release builds.
Source§

fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self

Calls .tap_mut() only in debug builds, and is erased in release builds.
Source§

fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
where Self: Borrow<B>, B: ?Sized,

Calls .tap_borrow() only in debug builds, and is erased in release builds.
Source§

fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self
where Self: BorrowMut<B>, B: ?Sized,

Calls .tap_borrow_mut() only in debug builds, and is erased in release builds.
Source§

fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
where Self: AsRef<R>, R: ?Sized,

Calls .tap_ref() only in debug builds, and is erased in release builds.
Source§

fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self
where Self: AsMut<R>, R: ?Sized,

Calls .tap_ref_mut() only in debug builds, and is erased in release builds.
Source§

fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
where Self: Deref<Target = T>, T: ?Sized,

Calls .tap_deref() only in debug builds, and is erased in release builds.
Source§

fn tap_deref_mut_dbg<T>(self, func: impl FnOnce(&mut T)) -> Self
where Self: DerefMut<Target = T> + Deref, T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release builds.
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T> TryConv for T

Source§

fn try_conv<T>(self) -> Result<T, Self::Error>
where Self: TryInto<T>,

Attempts to convert self into T using TryInto<T>. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V

Source§

impl<T> BufferVecItem for T
where T: Copy + Default + Debug,

Source§

impl<T> TexelBufferDataType for T
where T: Copy + Clone + Default + Debug,