Expand description
Provides an abstraction layer above erupt to easier use Vulkan in Rust.
No validation and a lot of pain. Lifetimes are not fully tracked, so you need to pay attention when to drop which resource to avoid UB (check the validation layer). In general resources should not be dropped while they are being used.
Structs§
- Acceleration
Structure - Wraps an acceleration structure.
- Binary
Semaphore - A binary semaphore.
- Binary
Semaphore Handle - A handle of a binary semaphore.
- Buffer
- Wraps a buffer.
- Buffer
Descriptor - Describes how an image should be configured.
- Buffer
View - Wraps a buffer view.
- Buffer
View Descriptor - Describes how an buffer view should be configured.
- Compute
Command Buffer - A command buffer for the compute queue. Command buffer need to be reset using the parent pool.
- Compute
Command Encoder - Used to encode command for a compute command buffer.
- Compute
Command Pool - A command pool for the compute queue.
- Compute
Pipeline - Wraps a compute pipeline.
- Compute
Queue - A queue for compute operations.
- Deferred
Operation - Wraps a deferred operation.
- Descriptor
Pool - Wraps a descriptor pool.
- Descriptor
Pool Descriptor - Describes how an image view should be configured.
- Descriptor
Set - Wraps a descriptor set.
- Descriptor
SetLayout - Wraps a descriptor set layout.
- Device
- A Vulkan device.
- Device
Configuration - Describes how the device should be configured.
- Fence
- A fence.
- Graphics
Command Buffer - A command buffer for the compute queue. Command buffer need to be reset using the parent pool.
- Graphics
Command Encoder - Used to encode command for a graphics command buffer.
- Graphics
Command Pool - A command pool for the graphics queue.
- Graphics
Pipeline - Wraps a graphics pipeline.
- Graphics
Queue - A queue for graphics operations.
- Image
- Wraps an image.
- Image
Descriptor - Describes how an image should be configured.
- Image
View - Wraps an image view.
- Image
View Descriptor - Describes how an image view should be configured.
- Instance
- Initializes the all Vulkan resources needed to create a device.
- Instance
Configuration - Describes how the instance should be configured.
- Pipeline
Layout - Wraps a pipeline layout.
- Query
Pool - Wraps a Query Pool.
- Queue
Configuration - Defines the configuration of the queues. Each vector entry defines the priority of a queue.
- Queues
- Contains all queues that were created for the device.
- RayTracing
Pipeline - Wraps a raytracing pipeline.
- Render
Pass - Wraps a render pass.
- Render
Pass Color Attachment Descriptor - Describes a render pass color attachment. Used to create the framebuffer.
- Render
Pass Depth Attachment Descriptor - Describes a render pass depth attachment. Used to create the framebuffer.
- Render
Pass Encoder - Used to encode render pass commands of a command buffer.
- Sampler
- Wraps a sampler.
- Sampler
Descriptor - Describes how a sampler should be configured.
- Shader
Module - Wraps a shader module.
- Swapchain
- Abstracts a Vulkan swapchain.
- Swapchain
Frame - Swapchain frame.
- Timeline
Semaphore - A semaphore that uses the timeline feature.
- Timeline
Semaphore Handle - A handle of a timeline semaphore.
- Transfer
Command Buffer - A command buffer for the transfer queue. Command buffer need to be reset using the parent pool.
- Transfer
Command Encoder - Used to encode command for a transfer command buffer.
- Transfer
Command Pool - A command pool for the transfer queue.
- Transfer
Queue - A queue for transfer operations.
- Version
- A version number.
Enums§
- Allocator
Error - Errors that the allocators can throw.
- Asche
Error - Errors that asche can throw.
- BarSupport
- Shows if the device support access to the device memory using the base address register.
- Command
Buffer Semaphore - Defines the semaphore a command buffer will use on wait and signal.
- Memory
Location - The intended location of the memory.
Traits§
- Common
Commands - Implements common command between all queues.
- Lifetime
- The lifetime of an allocation. Used to pool allocations and reduce fragmentation.