Skip to main content

Module visibility

Module visibility 

Source

Structs§

RenderExtractedShadowMapVisibleEntities
The entities that the CPU has determined are visible from a single shadow-casting light.
RenderExtractedVisibleEntities
The entities that the CPU has determined are visible from a single view or subview.
RenderExtractedVisibleEntitiesClass
The entities that the CPU has determined are visible from a single view or subview, for a single VisibilityClass.
RenderShadowMapVisibleEntities
Collection of entities visible from a single light.
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
Stores a list of all entities that are visible from a single view or subview, as well as the change lists.
RenderVisibleEntitiesClass
Stores a list of all entities that are visible from a single view for a single VisibilityClass, as well as the change lists.
VisibilityExtractionSystemParam
A system parameter that goes on any render-world system that needs to extract entities into RenderVisibleEntities.

Constants§

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

Functions§

collect_visible_cpu_culled_entities
Updates the RenderVisibleEntities and RenderShadowMapVisibleEntities components with the contents of the RenderExtractedVisibleEntities and the RenderExtractedShadowMapVisibleEntities components respectively.
extract_visibility_ranges
Extracts all VisibilityRange components from the main world to the render world and inserts them into RenderVisibilityRanges.
write_render_visibility_ranges
Writes the RenderVisibilityRanges table to the GPU.

Type Aliases§

VisibilityExtractionNoCpuCullingChangedQuery
The query, part of VisibilityExtractionSystemParam, that searches for entities with NoCpuCulling that might have changed visibility.