Enum gfx_backend_empty::Backend[][src]

pub enum Backend {}
Expand description

Dummy 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 cache type for this backend.

The corresponding pipeline layout 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

Begins recording commands to a command buffer.

Finish recording commands to a command buffer.

Empties the command buffer, optionally releasing all resources from the commands that have been submitted. Read more

Inserts a synchronization dependency between pipeline stages in the command buffer. Read more

Fill a buffer with the given u32 value.

Copy data from the given slice into a buffer.

Clears an image to the given color/depth/stencil.

Takes an iterator of attachments and an iterator of rect’s, and clears the given rect’s for each attachment. Read more

“Resolves” a multisampled image, converting it into a non-multisampled image. Takes an iterator of regions to apply the resolution to. Read more

Copies regions from the source to destination image, applying scaling, filtering and potentially format conversion. Read more

Bind the index buffer view, making it the “current” one that draw commands will operate on. Read more

Bind the vertex buffer set, making it the “current” one that draw commands will operate on. Read more

Set the viewport parameters for the rasterizer. Read more

Set the scissor rectangles for the rasterizer. Read more

Sets the stencil reference value for comparison operations and store operations. Will be used on the LHS of stencil compare ops and as store value when the store op is Reference. Read more

Sets the stencil read mask.

Sets the stencil write mask.

Set the blend constant values dynamically.

Set the depth bounds test values dynamically.

Set the line width dynamically. Read more

Set the depth bias dynamically.

Begins recording commands for a render pass on the given framebuffer. Read more

Steps to the next subpass in the current render pass.

Finishes recording commands for the current a render pass.

Bind a graphics pipeline. Read more

Takes an iterator of graphics DescriptorSet’s, and binds them to the command buffer. first_set is the index that the first descriptor is mapped to in the command buffer. Read more

Bind a compute pipeline. Read more

Takes an iterator of compute DescriptorSet’s, and binds them to the command buffer, first_set is the index that the first descriptor is mapped to in the command buffer. Read more

Execute a workgroup in the compute pipeline. x, y and z are the number of local workgroups to dispatch along each “axis”; a total of xyz local workgroups will be created. Read more

Works similarly to dispatch() but reads parameters from the given buffer during execution. Read more

Adds a command to copy regions from the source to destination buffer.

Copies regions from the source to the destination images, which have the given layouts. No format conversion is done; the source and destination Layout’s must have the same sized image formats (such as Rgba8Unorm and R32, both of which are 32 bits). Read more

Copies regions from the source buffer to the destination image.

Copies regions from the source image to the destination buffer.

Performs a non-indexed drawing operation, fetching vertex attributes from the currently bound vertex buffers. It performs instanced drawing, drawing instances.len() times with an instanceIndex starting with the start of the range. Read more

Performs indexed drawing, drawing the range of indices given by the current index buffer and any bound vertex buffers. base_vertex specifies the vertex offset corresponding to index 0. That is, the offset into the vertex buffer is (current_index + base_vertex) Read more

Functions identically to draw(), except the parameters are read from the given buffer, starting at offset and increasing stride bytes with each successive draw. Performs draw_count draws total. draw_count may be zero. Read more

Like draw_indirect(), this does indexed drawing a la draw_indexed() but reads the draw parameters out of the given buffer. Read more

Functions identically to draw_indirect(), except the amount of draw calls are specified by the u32 in count_buffer at count_buffer_offset. There is a limit of max_draw_count invocations. Read more

Functions identically to draw_indexed_indirect(), except the amount of draw calls are specified by the u32 in count_buffer at count_buffer_offset. There is a limit of max_draw_count invocations. Read more

Dispatches task_count of threads. Similar to compute dispatch.

Indirect version of draw_mesh_tasks. Analogous to draw_indirect, but for mesh shaders.

Like draw_mesh_tasks_indirect except that the draw count is read by the device from a buffer during execution. The command will read an unsigned 32-bit integer from count_buffer located at count_buffer_offset and use this as the draw count. Read more

Signals an event once all specified stages of the shader pipeline have completed.

Resets an event once all specified stages of the shader pipeline have completed.

Waits at some shader stage(s) until all events have been signalled. Read more

Begins a query operation. Queries count operations or record timestamps resulting from commands that occur between the beginning and end of the query, and save the results to the query pool. Read more

End a query.

Reset/clear the values in the given range of the query pool.

Copy query results into a buffer.

Requests a timestamp to be written.

Modify constant data in a graphics pipeline. Push constants are intended to modify data in a pipeline more quickly than a updating the values inside a descriptor set. Read more

Modify constant data in a compute pipeline. Push constants are intended to modify data in a pipeline more quickly than a updating the values inside a descriptor set. Read more

Execute the given secondary command buffers.

Debug mark the current spot in the command buffer.

Start a debug marker at the current place in the command buffer.

End the last started debug marker scope.

Begins recording a primary command buffer (that has no inheritance information). Read more

Allocate a single command buffer from the pool. Read more

Reset the command pool and the corresponding command buffers. Read more

Free command buffers allocated from this pool.

Allocate new command buffers from the pool. Read more

Formats the value using the given formatter. Read more

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

Destroy a command pool.

Allocates a memory segment of a specified type. Read more

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.

Create a graphics pipeline. Read more

Create a compute pipeline.

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

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.

Create a new semaphore object.

Create a new fence object. 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.

Create a new query pool object Read more

Destroy a query pool object

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

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

Free device memory

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

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

Resets a given fence to its original, unsignaled state.

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

Control the power state of the provided display

Register device event

Register display event

Starts frame capture.

Stops frame capture.

Create a new shader module from the naga module.

Blocks until all or one of the given fences are signaled. Returns true if fences were 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

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

Check cache compatibility with the PhysicalDevice.

An opaque type wrapping the swapchain image.

Set up the swapchain associated with the surface to have the given format.

Remove the associated swapchain from this surface. Read more

Acquire a new swapchain image for rendering. Read more

Submit command buffers to queue for execution. 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.

Sparse memory bind operation. Read more

Check if the queue family supports presentation to this surface.

Query surface capabilities for this physical device. Read more

Query surface formats for this physical device. 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.

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.