Structs§
- Inherited
Visibility - Whether or not an entity is visible in the hierarchy.
This will not be accurate until
VisibilityPropagate
runs in thePostUpdate
schedule. - NoFrustum
Culling - Use this component to opt-out of built-in frustum culling for entities, see
Frustum
. - Render
Layers - Describes which rendering layers an entity belongs to.
- Render
Visibility Ranges - Stores information related to
VisibilityRange
s in the render world. - Render
Visible Entities - Collection of entities visible from the current view.
- View
Visibility - Algorithmically-computed indication of whether an entity is visible and should be extracted for rendering.
- Visibility
Bundle Deprecated - A
Bundle
of theVisibility
,InheritedVisibility
, andViewVisibility
Component
s, which describe the visibility of an entity. - Visibility
Plugin - Visibility
Range - Specifies the range of distances that this entity must be from the camera in order to be rendered.
- Visibility
Range Plugin - A plugin that enables
VisibilityRange
s, which allow entities to be hidden or shown based on distance to the camera. - Visible
Entities - Collection of entities visible from the current view.
- Visible
Entity Ranges - Stores which entities are in within the
VisibilityRange
s of views.
Enums§
- Visibility
- User indication of whether an entity is visible. Propagates down the entity hierarchy.
- Visibility
Systems
Constants§
- DEFAULT_
LAYERS - VISIBILITY_
RANGES_ STORAGE_ BUFFER_ COUNT - We need at least 4 storage buffer bindings available to enable the visibility range buffer.
Functions§
- calculate_
bounds - Computes and adds an
Aabb
component to entities with aMesh3d
component and without aNoFrustumCulling
component. - check_
visibility - System updating the visibility of entities each frame.
- check_
visibility_ ranges - Checks all entities against all views in order to determine which entities
with
VisibilityRange
s are potentially visible. - extract_
visibility_ ranges - Extracts all
VisibilityRange
components from the main world to the render world and inserts them intoRenderVisibilityRanges
. - update_
frusta - Updates
Frustum
. - write_
render_ visibility_ ranges - Writes the
RenderVisibilityRanges
table to the GPU.
Type Aliases§
- Layer
- An identifier for a rendering layer.