[−][src]Module amethyst_rendy::rendy::hal
Low-level graphics abstraction for Rust. Mostly operates on data, not types. Designed for use by libraries and higher-level abstractions only.
Modules
| adapter | Physical devices and adapters. |
| buffer | Memory buffers. |
| command | Command buffers. |
| device | Logical device |
| error | Return values from function calls. |
| format | Universal format specification. Applicable to textures, views, and vertex buffers. |
| image | Image related structures. |
| mapping | Memory mapping |
| memory | Types to describe the properties of memory allocated for gfx resources. |
| pass | RenderPass handling. |
| pool | Command pools |
| pso | Raw Pipeline State Objects |
| query | Queries are commands that can be submitted to a command buffer to record statistics or other useful values as the command buffer is running. They are often intended for profiling or other introspection, providing a mechanism for the command buffer to record data about its operation as it is running. |
| queue | Command queues. |
| range | Generic range type abstraction that allows ranges to be handled a little more generically. |
| window | Windowing system interoperability |
Macros
| spec_const_list | Macro for specifying list of specialization constatns for |
Structs
| Features | Features that the device supports. These only include features of the core interface and not API extensions. |
| Gpu | Represents a combination of a logical device and the hardware queues it provides. |
| Limits | Resource limits of a particular graphics device. |
Enums
| IndexType | An enum describing the type of an index value in a slice's index buffer |
| Primitive | Describes the type of geometric primitives, created from vertex data. |
| SubmissionError | Marks that an error occurred submitting a command to a command buffer. |
Traits
| Backend | The |
| Instance | An instantiated backend. |
Type Definitions
| AttributeSlot | Slot for an attribute. |
| ColorSlot | Slot for an active color buffer. |
| ConstantBufferSlot | Slot for a constant buffer object. |
| DrawCount | Indirect draw calls count. |
| IndexCount | Draw number of indices. |
| InstanceCount | Draw number of instances. |
| PatchSize | Number of vertices in a patch |
| ResourceViewSlot | Slot for a shader resource view. |
| SamplerSlot | Slot for a sampler. |
| SubmissionResult | Submission result for DX11 backend. Currently mostly unused. |
| UnorderedViewSlot | Slot for an unordered access object. |
| VertexCount | Draw vertex count. |
| VertexOffset | Draw vertex base offset. |
| WorkGroupCount | Number of work groups. |