Expand description
Shape rendering pipeline for UI components.
This module provides the GPU pipeline and associated data structures for rendering vector-based shapes in Tessera UI components. Supported shapes include rectangles, rounded rectangles (with G2 curve support), ellipses, and arbitrary polygons.
The pipeline supports advanced visual effects such as drop shadows and interactive ripples, making it suitable for rendering button backgrounds, surfaces, and other interactive or decorative UI elements.
Typical usage scenarios include:
- Drawing backgrounds and outlines for buttons, surfaces, and containers
- Rendering custom-shaped UI elements with smooth corners
- Applying shadow and ripple effects for interactive feedback
This module is intended to be used internally by basic UI components and registered as part of the rendering pipeline system.
Structs§
- Ripple
Props - Properties for ripple effect animation
- Shadow
Props - Properties for shadow, used in BasicDrawable variants
- Shape
Pipeline - Pipeline for rendering vector shapes in UI components.
- Shape
Uniforms - Uniforms for shape rendering pipeline.
- Shape
Vertex - Vertex for any shapes.
- Shape
Vertex Data - Vertex data for shape triangulation.
Enums§
- Shape
Command - Represents a shape drawable