Module view

Source

Modules§

visibility
window

Structs§

ColorGrading
Configures filmic color grading parameters to adjust the image appearance.
ColorGradingGlobal
Filmic color grading values applied to the image as a whole (as opposed to individual sections, like shadows and highlights).
ColorGradingSection
A section of color grading values that can be selectively applied to shadows, midtones, and highlights.
ColorGradingUniform
The ColorGrading structure, packed into the most efficient form for the GPU.
ExtractedView
Describes a camera in the render world.
ExtractedWindow
ExtractedWindows
Hdr
If this component is added to a camera, the camera will use an intermediate “high dynamic range” render texture. This allows rendering with a wider range of lighting values. However, this does not affect whether the camera will render with hdr display output (which bevy does not support currently) and only affects the intermediate render texture.
NoIndirectDrawing
Add this component to a camera to disable indirect mode.
PostProcessWrite
RenderVisibilityRangePlugin
A plugin that enables RenderVisibilityRangess, which allow entities to be hidden or shown based on distance to the camera.
RenderVisibilityRanges
Stores information related to VisibilityRanges in the render world.
RenderVisibleEntities
Collection of entities visible from the current view.
RetainedViewEntity
An identifier for a view that is stable across frames.
ViewDepthTexture
ViewPlugin
ViewTarget
ViewTargetAttachments
Contains OutputColorAttachment used for each target present on any view in the current frame, after being prepared by prepare_view_attachments. Users that want to override the default output color attachment for a specific target can do so by adding a OutputColorAttachment to this resource before prepare_view_targets is called.
ViewUniform
ViewUniformOffset
ViewUniforms
WindowRenderPlugin
WindowSurfaces

Enums§

Msaa
Component for configuring the number of samples for Multi-Sample Anti-Aliasing for a Camera.

Constants§

VISIBILITY_RANGES_STORAGE_BUFFER_COUNT
We need at least 4 storage buffer bindings available to enable the visibility range buffer.

Functions§

clear_view_attachments
Clears the view target OutputColorAttachments.
create_surfaces
Creates window surfaces.
extract_visibility_ranges
Extracts all VisibilityRange components from the main world to the render world and inserts them into RenderVisibilityRanges.
need_surface_configuration
prepare_view_attachments
Prepares the view target OutputColorAttachment for each view in the current frame.
prepare_view_targets
prepare_view_uniforms
prepare_windows
(re)configures window surfaces, and obtains a swapchain texture for rendering.
write_render_visibility_ranges
Writes the RenderVisibilityRanges table to the GPU.