Skip to main content

Module ui_slab

Module ui_slab 

Source
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§

GradientDescriptor
Describes a gradient fill for a UI element.
UiDrawCallDescriptor
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§

GradientType
Identifies the type of gradient fill.
UiElementType
Identifies what kind of UI element is being rendered.