Crate bevy_ui_render

Crate bevy_ui_render 

Source
Expand description

Provides rendering functionality for bevy_ui.

Modules§

box_shadow
Box shadows rendering
graph
prelude
shader_flags
The values here should match the values for the constants in ui.wgsl
stack_z_offsets
Local Z offsets of “extracted nodes” for a given entity. These exist to allow rendering multiple “extracted nodes” for a given source entity (ex: render both a background color and a custom material for a given node).
ui_material
ui_texture_slice_pipeline

Structs§

BoxShadowSamples
Number of shadow samples. A larger value will result in higher quality shadows. Default is 4, values higher than ~10 offer diminishing returns.
DrawUiMaterialNode
DrawUiNode
ExtractedGlyph
ExtractedUiMaterialNode
ExtractedUiMaterialNodes
ExtractedUiNode
ExtractedUiNodes
ImageNodeBindGroups
PreparedUiMaterial
SetMatUiViewBindGroup
SetUiMaterialBindGroup
SetUiTextureBindGroup
SetUiViewBindGroup
TransparentUi
UiBatch
UiCameraMap
UiCameraMapper
Helper for mapping UI target camera entities to their corresponding render entities, with caching to avoid repeated lookups for the same camera.
UiCameraView
A render-world component that lives on the main render target view and specifies the corresponding UI view.
UiDebugOptionsbevy_ui_debug
Configuration for the UI debug overlay
UiMaterialBatch
UiMaterialMeta
UiMaterialPipeline
Render pipeline data for a given UiMaterial
UiMaterialPlugin
Adds the necessary ECS resources and render logic to enable rendering entities using the given UiMaterial asset type (which includes UiMaterial types).
UiMaterialVertex
UiMeta
UiPassNode
UiPipeline
UiPipelineKey
UiRenderPlugin
UiViewTarget
A render-world component that lives on the UI view and specifies the corresponding main render target view.

Enums§

ExtractedUiItem
NodeType
The type of UI node. This is used to determine how to render the UI node.
RenderUiSystems
UiAntiAlias
Marker for controlling whether UI is rendered with or without anti-aliasing in a camera. By default, UI is always anti-aliased.

Functions§

extract_text_background_colors
extract_text_sections
extract_text_shadows
extract_ui_camera_view
Extracts all UI elements associated with a camera into the render world.
extract_ui_material_nodes
extract_uinode_background_colors
extract_uinode_borders
extract_uinode_images
extract_viewport_nodes
init_ui_material_pipeline
init_ui_pipeline
prepare_uimaterial_nodes
prepare_uinodes
queue_ui_material_nodes
queue_uinodes

Type Aliases§

DrawUi
DrawUiMaterial
RenderUiSystemDeprecated
Deprecated alias for RenderUiSystems.