Skip to main content

Crate vka

Crate vka 

Source

Re-exports§

pub use ash;
pub use ash_window;
pub use gpu_allocator;
pub use raw_window_handle;

Macros§

vertex_attributes

Structs§

Allocation
A piece of allocated memory.
Attachment
Buffer
A reference-counted wrapper around a Vulkan buffer resource.
BufferDesc
BufferImpl
Color32
ColorBlendState
CommandEncoder
ComputePipelineDesc
DebugUtils
Handles Vulkan debug callbacks and messenger.
DepthStencilState
DescriptorSet
DescriptorSetImpl
DescriptorSetLayout
DescriptorSetLayoutEntry
DescriptorSetLayoutImpl
EncoderInFlight
Features
Frame
Image
A wrapper around a Vulkan image resource, providing additional metadata and caching for image views.
ImageDesc
ImageImpl
ImageView
InputAssemblyState
MultisampleState
Pipeline
PipelineImpl
PipelineLayout
PipelineLayoutImpl
QueueFamilies
Holds indices for the different Vulkan queue families used by the device.
RasterizationState
RenderPass
RenderPassDesc
RenderPassImpl
RenderPipelineDesc
RenderingDevice
A reference-counted wrapper around RenderingDeviceImpl, providing convenient access to Vulkan operations.
RenderingDeviceDesc
RenderingDeviceImpl
The inner state of a Vulkan rendering device containing the instance, physical device, logical device, and other core resources.
Sampler
SamplerImpl
ShaderModule
ShaderModuleImpl
ShaderStage
SharedDevice
Subpass
Surface
SurfaceConfig
SurfaceImage
Swapchain
Encapsulates the Vulkan swapchain and its associated images for presentation to a window surface.
VertexAttribute
VertexInputLayout

Enums§

AllocationScheme
LoadOp
MemoryLocation
Operations
StoreOp
WriteDescriptor

Constants§

COLOR_BLEND_ALPHA
COLOR_BLEND_PREMULTIPLIED
COLOR_BLEND_REPLACE

Traits§

AsExtent3D

Functions§

align_up
all_of
any_of
bytes_of
clear_color
clear_depth
color32
find_optimal_image_layout
find_sample_count
hash_struct
make_blend_state
make_debug_utils
make_swapchain
Factory function to create or recreate a swapchain based on the current surface config
next_resource_id
Vulkan handles are not unique. Give each resource a unique ID for debugging and internal caching purposes.
none_of
one_of
read_spv
Decode SPIR-V from bytes.
vulkan_debug_callback
vulkan_version_str