Struct asche::Device[][src]

pub struct Device {
    pub device_type: PhysicalDeviceType,
    pub resizable_bar_support: BarSupport,
    // some fields omitted
}
Expand description

A Vulkan device.

Handles all resource creation. Command buffer and queue handling are handled by the Queue. Swapchain and framebuffer handling are handled by the Swapchain.

Fields

device_type: PhysicalDeviceType

The type of the physical device.

resizable_bar_support: BarSupport

Shows if the device support access to the device memory using the base address register.

Implementations

Creates a new render pass.

Creates a new pipeline layout.

Creates a new graphics pipeline.

Creates a new raytracing pipeline.

Creates a new compute pipeline.

Creates a descriptor pool.

Creates a descriptor set layout.

Creates a new shader module using the provided SPIR-V code.

Creates a new buffer.

Creates a new buffer view.

Creates a new image.

Creates a new image.

Creates a sampler.

Creates a fence.

Creates a new binary semaphore.

Creates a new timeline semaphore.

Creates a new query pool.

Flush mapped memory. Used for CPU->GPU transfers. Vulkan Manual Page

Invalidate mapped memory. Used for GPU->CPU transfers. Vulkan Manual Page

Query ray tracing capture replay pipeline shader group handles. Vulkan Manual Page

Query ray tracing pipeline shader group handles. Vulkan Manual Page

Query ray tracing pipeline shader group shader stack size. Vulkan Manual Page

Returns properties of a physical device. Vulkan Manual Page

Create a deferred operation handle. Vulkan Manual Page

Build an acceleration structure on the host. Vulkan Manual Page

Create a new acceleration structure object. Vulkan Manual Page

Retrieve the required size for an acceleration structure. Vulkan Manual Page

Check if a serialized acceleration structure is compatible with the current device. Vulkan Manual Page

Copy an acceleration structure on the host. Vulkan Manual Page

Serialize an acceleration structure on the host. Vulkan Manual Page

Deserialize an acceleration structure on the host. Vulkan Manual Page

Update the contents of a descriptor set object. Vulkan Manual Page

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.