Structs§
- Render
Visibility Range Plugin - A plugin that enables
RenderVisibilityRangess, which allow entities to be hidden or shown based on distance to the camera. - Render
Visibility Ranges - Stores information related to
VisibilityRanges 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
VisibilityRangecomponents from the main world to the render world and inserts them intoRenderVisibilityRanges. - write_
render_ visibility_ ranges - Writes the
RenderVisibilityRangestable to the GPU.