nngn
Loading...
Searching...
No Matches
EntityBench Class Reference

#include <entity.h>

Inheritance diagram for EntityBench:
Collaboration diagram for EntityBench:

Public Member Functions

 EntityBench ()
 

Private Slots

void update_pos ()
 
void update_pos_components ()
 
void update_pos_with_holes ()
 
void update_pos_components_with_holes ()
 

Private Member Functions

void clear ()
 
Entities gen_entities ()
 
Entities gen_entities_with_components ()
 
void benchmark_full (Entities &&es)
 
void benchmark (Entities &&es)
 

Private Attributes

std::vector< nngn::SpriteRenderersprites = {}
 
std::vector< nngn::Cameracameras = {}
 
std::vector< nngn::Animationanimations = {}
 
std::vector< nngn::AABBCollidercolliders = {}
 
std::vector< nngn::Lightlights = {}
 

Constructor & Destructor Documentation

◆ EntityBench()

EntityBench::EntityBench ( )

Member Function Documentation

◆ benchmark()

void EntityBench::benchmark ( Entities && es)
private
Here is the caller graph for this function:

◆ benchmark_full()

void EntityBench::benchmark_full ( Entities && es)
private
Here is the call graph for this function:
Here is the caller graph for this function:

◆ clear()

void EntityBench::clear ( )
private
Here is the caller graph for this function:

◆ gen_entities()

Entities EntityBench::gen_entities ( )
private
Here is the call graph for this function:
Here is the caller graph for this function:

◆ gen_entities_with_components()

Entities EntityBench::gen_entities_with_components ( )
private
Here is the call graph for this function:
Here is the caller graph for this function:

◆ update_pos

void EntityBench::update_pos ( )
privateslot
Here is the call graph for this function:

◆ update_pos_components

void EntityBench::update_pos_components ( )
privateslot
Here is the call graph for this function:

◆ update_pos_components_with_holes

void EntityBench::update_pos_components_with_holes ( )
privateslot
Here is the call graph for this function:

◆ update_pos_with_holes

void EntityBench::update_pos_with_holes ( )
privateslot
Here is the call graph for this function:

Member Data Documentation

◆ animations

std::vector<nngn::Animation> EntityBench::animations = {}
private

◆ cameras

std::vector<nngn::Camera> EntityBench::cameras = {}
private

◆ colliders

std::vector<nngn::AABBCollider> EntityBench::colliders = {}
private

◆ lights

std::vector<nngn::Light> EntityBench::lights = {}
private

◆ sprites

std::vector<nngn::SpriteRenderer> EntityBench::sprites = {}
private

The documentation for this class was generated from the following files: