Re-exports
pub use raw_window_handle_06 as raw_window_handle;
Structs
- Contains a VkBuffer and a memory allocation.
- Note: default values for
size
, andusage
are nothing! - Note: default value for
queue_family_index
is nothing! - Note: default values are nothing!
- Note: default values are nothing!
- Note: default has no bindings!
- Properties of an extension in the loader or a physical device.
- The equivilent vk*CreateInfo structs for the members of
GraphicsPipelineProperties
. - Note: default values for
format
,dimensions
andusage
are nothing! - WARNING
default()
values forformat
,view_type
are nothing! - Note this doesn’t impl
Drop
. Destroy this yourself! e.g. withBuffer
andImage
Drop
implementations - Per-pipeline creation arguments
- WARNING when using
default()
the following values should be overridden:
Enums
Constants
- so it’s easy to find all allocation callback args, just in case I want to use them in the future.
Traits
- Allows any struct containing a memory allocation to “inherit” the read/write functions
- Unifies different types of vma allocators
- Unifies different types of images
- Unifies image views with different types of images
- Unifies different types of pipeline
Functions
- For allocating memory that can be accessed and mapped from the cpu. Prefered flags include HOST_COHERENT (doesn’t require flushing). Good for staging buffers.
- Default
AllocationCreateInfo
with specified required and preferred flags. - Doesn’t support planes/metadata.
- Safety: see
CStr::from_ptr
documentation… - Checks surface support for the first compositie alpha flag in order of preference:
- Returns the first surface format with a linear image format in the vec. Returns
None
is there’s none. - Returns the first surface format with a linear image format in the vec. Returns
None
is there’s none. - Returns a depth stencil format guarenteed by the vulkan spec to be supported as a depth stencil attachment. Prefers VK_FORMAT_D24_UNORM_S8_UINT.
- Returns a pure depth format guarenteed by the vulkan spec to be supported as a depth stencil attachment. Prefers VK_FORMAT_D32_SFLOAT.
- Properties for a device local and preferably lazily-allocated transient attachment image.