Module basics

Module basics 

Source
Expand description

The Vulkan basics

Structs§

BufferRegion
The region of a buffer
BufferViewRange
The buffer view range
LockedMappedMemoryGuard
The state that indicates the Vulkan memory is currently mapped
LockedTypedMappedMemoryGuard
The typed map
MappedMemory
The state that indicates the Vulkan memory is currently mapped
MemoryMappingState
The mapping info of the memory
StagingBuffer
The staging buffer for the Vulkan buffer object
TypedMappedMemory
The typed map
VulkanBuffer
The buffer object that temporarily stores the VkBuffer
VulkanBufferView
The buffer view object for a buffer
VulkanFence
The wrapper for the VkFence
VulkanMemory
The memory object that temporarily stores the VkDeviceMemory
VulkanPipelineCache
The wrapper for the VkPipelineCache
VulkanSampler
The sampler for the shader to sample a texture
VulkanSemaphore
The wrapper for the VkSemaphore

Enums§

DataDirection
The direction of manipulating data
VulkanError
The error for almost all of the crate’s Result<>

Functions§

filter_no_staging_buffer
Filter out NoStagingBuffer error from a Result
proceed_run
Print the error info and proceed to run