Module bevy_vector_shapes::render
source · Expand description
Rendering specific traits and structs.
Structs§
- Flags consumed in shape shaders
- Properties attached to a batch of shapes that are needed for pipeline specialization
- Plugin that sets up shared components for
ShapeTypePlugin
. - Plugin that sets up the 3d render pipeline for the given
ShapeComponent
. - Plugin that sets up the 2d render pipeline for the given
ShapeComponent
.
Enums§
- Determines whether the shape is rendered in the 2D or 3D pipelines.
Constants§
- Handler to shader containing shared constants.
- Handler to shader containing shared functionality.
- Handler to shader for drawing discs.
- Handler to shader for drawing lines.
- Handler to shader for drawing regular polygons.
- Handler to shader for drawing rectangles.
- Handler to shader for drawing triangles.
Traits§
- Trait implemented by the corresponding component for each shape type.
- Trait implemented by each shapes shader data, defines common methods used in the rendering pipeline.
Functions§
- System that extracts [
RenderLayers
] for each camera - Load the libraries shaders as internal assets.
Type Aliases§
- A pair of
ShapePipelineMaterial
andShapeData
to be used for rendering.