Enum gfx_backend_vulkan::Backend[][src]

pub enum Backend {}

Trait Implementations

The corresponding instance type for this backend.

The corresponding physical device type for this backend.

The corresponding logical device type for this backend.

The corresponding surface type for this backend.

The corresponding queue family type for this backend.

The corresponding command queue type for this backend.

The corresponding command buffer type for this backend.

The corresponding memory type for this backend.

The corresponding command pool type for this backend.

The corresponding shader module type for this backend.

The corresponding render pass type for this backend.

The corresponding framebuffer type for this backend.

The corresponding buffer type for this backend.

The corresponding buffer view type for this backend.

The corresponding image type for this backend.

The corresponding image view type for this backend.

The corresponding sampler type for this backend.

The corresponding compute pipeline type for this backend.

The corresponding graphics pipeline type for this backend.

The corresponding pipeline layout type for this backend.

The corresponding pipeline cache type for this backend.

The corresponding descriptor set layout type for this backend.

The corresponding descriptor pool type for this backend.

The corresponding descriptor set type for this backend.

The corresponding fence type for this backend.

The corresponding semaphore type for this backend.

The corresponding event type for this backend.

The corresponding query pool type for this backend.

The corresponding display type for this backend.

The corresponding display mode type for this backend

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Allocates a memory segment of a specified type. Read more

Create a new command pool for a given queue family. Read more

Destroy a command pool.

Create a render pass with the given attachments and subpasses. Read more

Create a new pipeline layout object. Read more

Create a pipeline cache object.

Retrieve data from pipeline cache object.

Destroy a pipeline cache object.

Merge a number of source pipeline caches into the target one.

Create a graphics pipeline. Read more

Create a compute pipeline.

Create a new framebuffer object. Read more

Create a new shader module object from the SPIR-V binary data. Read more

Create a new sampler object

Create a new buffer (unbound). Read more

Get memory requirements for the buffer

Bind memory to a buffer. Read more

Create a new buffer view object

Create a new image object

Get memory requirements for the Image

Bind device memory to an image object

Create an image view from an existing image

Create a descriptor pool. Read more

Create a descriptor set layout. Read more

Specifying the parameters of a descriptor set write operation.

Structure specifying a copy descriptor set operation.

Map a memory object into application address space Read more

Unmap a memory object once host access to it is no longer needed by the application

Flush mapped memory ranges

Invalidate ranges of non-coherent memory from the host caches

Create a new semaphore object.

Create a new fence object. Read more

Resets a given fence to its original, unsignaled state.

Blocks until all or one of the given fences are signaled. Returns true if fences were signaled before the timeout. Read more

true for signaled, false for not ready

Create an event object.

Query the status of an event. Read more

Sets an event.

Resets an event.

Free device memory

Create a new query pool object Read more

Get query pool results into the specified CPU memory. Returns Ok(false) if the results are not ready yet and neither of WAIT or PARTIAL flags are set. Read more

Destroy a query pool object

Destroy a shader module module Read more

Destroys a render pass created by this device.

Destroy a pipeline layout object

Destroy a graphics pipeline. Read more

Destroy a compute pipeline. Read more

Destroy a framebuffer. Read more

Destroy a buffer. Read more

Destroy a buffer view object

Destroy an image. Read more

Destroy an image view object

Destroy a sampler object

Destroy a descriptor pool object Read more

Destroy a descriptor set layout object

Destroy a fence object

Destroy a semaphore object.

Destroy an event object.

Wait for all queues associated with this device to idle. Read more

Associate a name with an image, for easier debugging in external tools or with validation layers that can print a friendly name when referring to objects in error messages Read more

Associate a name with a buffer, for easier debugging in external tools or with validation layers that can print a friendly name when referring to objects in error messages Read more

Associate a name with a command buffer, for easier debugging in external tools or with validation layers that can print a friendly name when referring to objects in error messages Read more

Associate a name with a semaphore, for easier debugging in external tools or with validation layers that can print a friendly name when referring to objects in error messages Read more

Associate a name with a fence, for easier debugging in external tools or with validation layers that can print a friendly name when referring to objects in error messages Read more

Associate a name with a framebuffer, for easier debugging in external tools or with validation layers that can print a friendly name when referring to objects in error messages Read more

Associate a name with a render pass, for easier debugging in external tools or with validation layers that can print a friendly name when referring to objects in error messages Read more

Associate a name with a descriptor set, for easier debugging in external tools or with validation layers that can print a friendly name when referring to objects in error messages Read more

Associate a name with a descriptor set layout, for easier debugging in external tools or with validation layers that can print a friendly name when referring to objects in error messages Read more

Associate a name with a pipeline layout, for easier debugging in external tools or with validation layers that can print a friendly name when referring to objects in error messages Read more

Control the power state of the provided display

Register device event

Register display event

Create, allocate and bind a buffer that can be exported. Read more

Import external memory as binded buffer and memory. Read more

Create, allocate and bind an image that can be exported. Read more

Import external memory as binded image and memory. Read more

Export memory as os type (Fd, Handle or Ptr) based on the requested external memory type. Read more

Retrieve the underlying drm format modifier from an image, if any. Read more

Starts frame capture.

Stops frame capture.

Create a new shader module from the naga module.

Blocks until the given fence is signaled. Returns true if the fence was signaled before the timeout. Read more

Feeds this value into the given Hasher. Read more

Feeds a slice of this type into the given Hasher. Read more

Create a new instance. Read more

Return all available graphics adapters.

Create a new surface. Read more

Destroy a surface, freeing the resources associated with it and releasing it from this graphics API. Read more

Create a new surface from a display plane. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Create a new logical device with the requested features. If requested_features is empty, then only the core features are supported. Read more

Fetch details for a particular format.

Fetch details for a particular image format.

Fetch details for the memory regions provided by the device.

Get external buffer properties. The parameters specify how the buffer is going to used. Read more

Get external image properties. The parameters specify how the image is going to used. Read more

Returns the features of this PhysicalDevice. This usually depends on the graphics API being used, as well as the actual platform underneath. Read more

Returns the properties of this PhysicalDevice. Similarly to Features, they

Check cache compatibility with the PhysicalDevice.

Enumerate active displays surface from display. Please notice that, even if a system has displays attached, they could be not returned because they are managed by some other components. This function only return the display that are available to be managed by the current application. Since, generally, while compositor are running they take the control of every display connected, it could be better to run the application directly from the tty to avoid the return of an empty list. Read more

Enumerate compatibles planes with the provided display. Read more

Create a new display mode from a display, a resolution, a refresh_rate and the plane index. If the builtin display modes does not satisfy the requirements, this function will try to create a new one. Read more

Create a display plane from a display, a resolution, a refresh_rate and a plane. If the builtin display modes does not satisfy the requirements, this function will try to create a new one. Read more

Submit command buffers to queue for execution. Read more

Sparse memory bind operation. Read more

Present a swapchain image directly to a surface, after waiting on wait_semaphore. Read more

Wait for the queue to be idle.

The amount of nanoseconds that causes a timestamp query value to increment by one.

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.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

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.