esp/core/Esp.h file

Namespaces

namespace esp
Root namespace.

Functions

template<typename Base>
auto shared_from_base(std::enable_shared_from_this<Base>* base) -> std::shared_ptr<Base>
template<typename Derived>
auto shared_from(Derived* derived) -> std::shared_ptr<Derived>
template<typename T>
auto equal(const std::vector<std::shared_ptr<T>>& a, const std::vector<std::shared_ptr<T>>& b) -> bool
template<typename K, typename V>
auto equal(const std::map<K, std::shared_ptr<V>>& a, const std::map<K, std::shared_ptr<V>>& b) -> bool

Variables

int ID_UNDEFINED constexpr
Returned on failed creation or lookup of an ID.
int RIGID_STAGE_ID constexpr
Object ID of the rigid stage.
static const double NO_TIME
char NO_LIGHT_KEY constexpr
The esp::gfx::ShaderManager key for esp::gfx::LightInfo which has no lights.
char DEFAULT_LIGHTING_KEY constexpr
The esp::gfx::ShaderManager key for the default esp::gfx::LightInfo.
char DEFAULT_MATERIAL_KEY constexpr
The esp::gfx::ShaderManager key for the default esp::gfx::MaterialInfo.
char WHITE_MATERIAL_KEY constexpr
The esp::gfx::ShaderManager key for full ambient white esp::gfx::MaterialInfo.
char METALLIC_MATERIAL_KEY constexpr
The esp::gfx::ShaderManager key for shiny metallic esp::gfx::MaterialInfo.
char PER_VERTEX_OBJECT_ID_MATERIAL_KEY constexpr
The ShaderManager key for MaterialInfo with per-vertex object ID.

Defines

#define ESP_SMART_POINTERS(...)
#define ESP_UNIQUE_PTR_PIMPL()
#define ESP_SHARED_PTR_PIMPL()
#define ESP_SMART_POINTERS_WITH_UNIQUE_PIMPL(T)
#define ESP_SMART_POINTERS_WITH_SHARED_PIMPL(T)