-
Notifications
You must be signed in to change notification settings - Fork 0
API & Extension Review
The status symbols found below will be used throughout this document, but I will further explain them here.
Symbol | Description | Notes |
---|---|---|
βοΈ | 1.0 | API is stable (will not be broken) but can be added to |
π’ | Review Needed | Candidate for 1.0. Just need more eyes on the API |
π‘ | Beta | Most of the API is stable but there are known changes needed |
π΄ | Active Development | API is under active development and subject to frequent changes |
π | Documentation Needed | This doesn't hold up 1.0 |
π₯ | Tests Needed | This doesn't hold up 1.0 |
The Core of Pilot Light is very small and entirely contained in the src directory. The Core APIs are found in the pl.h header file and are required by any Pilot Light application. The current status of these APIs can be found in the table below:
API | Status | Description | |
---|---|---|---|
Base | platform agnostic systems | ||
API Registry | βοΈ π π₯ | ||
Data Registry | βοΈ π π₯ | ||
Extension Registry | βοΈ π π₯ | ||
IO | βοΈ π π₯ | keyboard + mouse + event input/output |
If some functionality can be an extension, then it should be. Most of the real work is put into the extensions which are found in the extensions directory. The Standard extensions are those included directly in the Pilot Light code base. The current status of the APIs provided by these extensions can be found in the table below:
API | Status | File | Description |
---|---|---|---|
Log | βοΈ π π₯ | pl_log_ext.h | simple logger |
Profile | βοΈ π π₯ | pl_profile_ext.h | simple profiler |
File | βοΈ π π₯ | pl_file_ext.h | simple binary file API |
Library | βοΈ π π₯ | pl_library_ext.h | shared library loading |
Window | βοΈ π π₯ | pl_window_ext.h | simple windowing |
Network | βοΈ π π₯ | pl_network_ext.h | UDP/TCP API |
Threads | βοΈ π π₯ | pl_threads_ext.h | basic thread & synchronization primitives |
Atomics | βοΈ π π₯ | pl_atomics_ext.h | basic atomic primitives |
Virtual Memory | βοΈ π π₯ | pl_virtual_memory_ext.h | virtual memory access |
String Intern | βοΈ π π₯ | pl_string_intern_ext.h | string interning |
Image | βοΈ π π₯ | pl_image_ext.h | image loading |
Stats | βοΈ π π₯ | pl_stats_ext.h | statistics |
Rect Pack | βοΈ π π₯ | pl_rect_pack_ext.h | rectangle packing |
Job | βοΈ π π₯ | pl_job_ext.h | basic job system |
GPU Allocators | βοΈ π π₯ | pl_gpu_allocators_ext.h | GPU allocators |
Shader | βοΈ π π₯ | pl_shader_ext.h | shader compiling |
Draw | βοΈ π π₯ | pl_draw_ext.h | 2D/3D drawing |
UI | βοΈ π π₯ | pl_ui_ext.h | debug UI |
Profile | βοΈ π π₯ | pl_profile_ext.h | profiler |
Graphics | βοΈ π | pl_graphics_ext.h | graphics API abstraction over Vulkan & Metal 2.0 |
Draw Backend | βοΈ π | pl_draw_backend_ext.h | draw backend using pl_graphics_ext.h |
ECS | π‘ π | pl_ecs_ext.h | |
Model Loader | π‘ π | pl_model_loader_ext.h | model loaders |
Resource Manager | π΄ π π₯ | pl_resource_ext.h | resource manager |
Renderer | π΄ π | pl_renderer_ext.h | reference renderer |
The Libraries are referring to the STB style libraries found in the libs directory. These are completely standalone libraries. The status of this can be seen below:
Library | Status | File | Description |
---|---|---|---|
Data Structures | βοΈ π₯ | pl_ds.h | minimal data structures |
JSON | βοΈ π₯ | pl_json.h | JSON parser |
Log | βοΈ π₯ | pl_log.h | logger |
Math | βοΈ π₯ | pl_math.h | math |
Memory | βοΈ π₯ | pl_memory.h | memory allocators |
Profiler | βοΈ π₯ | pl_profile.h | profiler |
STL | βοΈ π₯ | pl_stl.h | STL File parser |
String | βοΈ π₯ | pl_string.h | string utilities |
Testing | βοΈ | pl_test.h | minimal testing library |