Expand description
Shared types for the 2D/UI rendering pipeline.
These types are used by both the CPU (renderling-ui crate) and the GPU (shader entry points in this crate). They are stored in a GPU slab buffer and read by the UI vertex and fragment shaders.
Modules§
- shader
- GPU shader entry points for the 2D/UI rendering pipeline.
Structs§
- Gradient
Descriptor - Describes a gradient fill for a UI element.
- UiDraw
Call Descriptor - Describes a single 2D UI element on the GPU.
- UiVertex
- Per-vertex data for the 2D/UI pipeline.
- UiViewport
- Camera/viewport descriptor for the 2D UI pipeline.
Enums§
- Gradient
Type - Identifies the type of gradient fill.
- UiElement
Type - Identifies what kind of UI element is being rendered.