Skip to content

Class atlas::physics::broad_phase_layer_interface

ClassList > atlas > physics > broad_phase_layer_interface

This class is made to control the broadphase layer. Filters can be added to it to create a better and more organized broadphase. Ass well as giving some control to the user on how the broadphase should be organized. This requires dynamic masking however, which is not currently running.

  • #include <jolt_broad_phase.hpp>

Inherits the following classes: JPH::BroadPhaseLayerInterface

Public Functions

Type Name
JPH::BroadPhaseLayer GetBroadPhaseLayer (JPH::ObjectLayer p_in_layer) override const
Gives the caller access to the broadphase object. Allowing for some manipulation on how those interactions may go. Including but not limited to changing the filtering of the broadphase or reorganizing the oct-tree.
uint32_t GetNumBroadPhaseLayers () override const
Get the Number of layers that exsist in the current context. Static for now.
broad_phase_layer_interface () = default

Public Functions Documentation

function GetBroadPhaseLayer

Gives the caller access to the broadphase object. Allowing for some manipulation on how those interactions may go. Including but not limited to changing the filtering of the broadphase or reorganizing the oct-tree.

inline JPH::BroadPhaseLayer atlas::physics::broad_phase_layer_interface::GetBroadPhaseLayer (
    JPH::ObjectLayer p_in_layer
) override const

Parameters:

  • p_in_layer The layer that the player wants.

Returns:

JPH::BroadPhaseLayer Object to organize and manipulate the oct-tree for that layer.


function GetNumBroadPhaseLayers

Get the Number of layers that exsist in the current context. Static for now.

inline uint32_t atlas::physics::broad_phase_layer_interface::GetNumBroadPhaseLayers () override const

Returns:

uint32_t


function broad_phase_layer_interface

atlas::physics::broad_phase_layer_interface::broad_phase_layer_interface () = default


The documentation for this class was generated from the following file TheAtlasEngine/atlas/physics/physics_3d/jolt/interface/jolt_broad_phase.hpp