pub enum BackendResources {}

Trait Implementations

Reset the command buffer contents, retain the allocated storage
Bind a pipeline state object
Bind a complete set of vertex buffers
Bind a complete set of constant buffers
Bind a global constant
Bind a complete set of shader resource views
Bind a complete set of unordered access views
Bind a complete set of samplers
Bind a complete set of pixel targets, including multiple colors views and an optional depth/stencil view. Read more
Bind an index buffer
Set scissor rectangle
Set reference values for the blending and stencil front/back
Copy part of a buffer to another
Copy part of a buffer to a texture
Copy part of a texture to a buffer
Copy part of one texture into another
Update a vertex/index/uniform buffer
Update a texture
Clear color target
Draw a primitive
Draw a primitive with index buffer
Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Returns the capabilities of this Factory. This usually depends on the graphics API being used. Read more
Compiles a shader source into a Shader object that can be used to create a shader Program. Read more
Creates a new shader Program for the supplied ShaderSet.
Creates a new RawPipelineState. To create a safely typed PipelineState, see the FactoryExt trait and pso module, both in the gfx crate. Read more
Create a new empty raw texture with no data. The channel type parameter is a hint, required to assist backends that have no concept of typeless formats (OpenGL). The initial data, if given, has to be provided for all mip levels and slices: Slice0.Mip0, Slice0.Mip1, …, Slice1.Mip0, … Read more
Acquire a mapping Reader Read more
Acquire a mapping Writer Read more
Compiles a VertexShader from source.
Compiles a HullShader from source.
Compiles a VertexShader from source.
Compiles a GeometryShader from source.
Compiles a PixelShader from source. This is the same as what some APIs call a fragment shader. Read more
Feeds this value into the given Hasher. Read more
Feeds a slice of this type into the given Hasher. Read more
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. 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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The alignment of pointer.
The type for initializers.
Initializes a with the given initializer. Read more
Dereferences the given pointer. Read more
Mutably dereferences the given pointer. Read more
Drops the object pointed to by the given pointer. Read more
Sets value as a parameter of self.
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
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.