Structs§
- Render
Visibility Range Plugin - A plugin that enables
RenderVisibilityRanges
s, which allow entities to be hidden or shown based on distance to the camera. - Render
Visibility Ranges - Stores information related to
VisibilityRange
s in the render world. - Render
Visible Entities - Collection of entities visible from the current view.
Constants§
- VISIBILITY_
RANGES_ STORAGE_ BUFFER_ COUNT - We need at least 4 storage buffer bindings available to enable the visibility range buffer.
Functions§
- extract_
visibility_ ranges - Extracts all
VisibilityRange
components from the main world to the render world and inserts them intoRenderVisibilityRanges
. - write_
render_ visibility_ ranges - Writes the
RenderVisibilityRanges
table to the GPU.