Classes | |
class | Assets |
Manages the asset paths for the application. More... | |
class | Camera |
Represents a camera in a 3D space, managing its properties and transformations. More... | |
struct | Camera_Transform |
Represents the transformation of a camera in 3D space. More... | |
class | Component |
Base class for components in the Ragot engine. More... | |
struct | coordinates_t |
Represents 2D coordinates. More... | |
class | Driver_ST7789 |
Driver for the ST7789 LCD panel. More... | |
class | DriverEK79007 |
Driver for the EK79007 LCD panel. More... | |
class | DriverLCD |
Base class for LCD drivers. More... | |
class | ExtrudeMesh |
Represents a 3D mesh created by extruding a 2D shape along a specified height. This class inherits from the Mesh class and provides methods to generate vertices and faces for the extruded mesh. It also includes methods for culling faces based on the camera's view direction and logging mesh information. More... | |
struct | face_t |
Represents a face in a 3D mesh. More... | |
class | Fragment_Shader |
Class for managing an OpenGL fragment shader. More... | |
class | FrameBuffer |
Class to manage a frame buffer for rendering graphics. More... | |
class | Logger |
Singleton logger class for the Ragot engine. More... | |
class | Mesh |
Represents a 3D mesh in the Ragot engine. More... | |
struct | mesh_info_t |
Represents information about a mesh. More... | |
class | MeshSerializer |
Singleton class to serialize Mesh objects to OBJ file format. More... | |
class | Node |
Represents a node in a scene graph for 3D rendering. More... | |
class | PSRAMAllocator |
Custom memory allocator for PSRAM. More... | |
class | Rasterizer |
Class for rasterizing polygons in a frame buffer. More... | |
class | Renderer |
Class for rendering scenes in the Ragot engine. More... | |
class | RevolutionMesh |
Class for generating revolution meshes. More... | |
class | Scene |
Class for managing a 3D scene. More... | |
class | Shader |
Class for managing an OpenGL shader. More... | |
class | Shader_Program |
Class for managing an OpenGL shader program. More... | |
class | Sync_Queue |
A thread-safe queue implementation. More... | |
class | Thread_Pool |
A thread pool for managing concurrent tasks. More... | |
class | Transform |
A class representing a 3D transformation with position, rotation, and scale. More... | |
struct | transform_t |
Represents a transformation in 3D space. More... | |
class | Vertex_Shader |
Class for managing an OpenGL vertex shader. More... | |
struct | vertex_t |
Represents a vertex in 3D space. More... | |
class | Window |
Class for managing an SDL window with OpenGL context. More... | |
Typedefs | |
using | RGB565 = uint16_t |
using | RGB888 = uint32_t |
using | RGBA8888 = uint32_t |
using | RGB8 = uint8_t |
Color Index. | |
using | Matrix4x4 = glm::mat4 |
Enumerations | |
enum | render_flag_t : uint8_t { RENDER_NONE , RENDER_REVOLUTION , RENDER_EXTRUDE , RENDER_MAX } |
Flags for rendering types. More... | |
enum | Buffer : uint8_t { CURRENT_BUFFER = ( 1 << 0) , NEXT_BUFFER = ( 1 << 1) , MAX_BUFFER = ( 1 << 2) } |
Enum to represent the different buffers in a frame buffer. More... | |
Functions | |
static bool | panel_refresh_callback (esp_lcd_panel_handle_t panel, esp_lcd_dpi_panel_event_data_t *edata, void *user_ctx) |
static bool | panel_refresh_callback (esp_lcd_panel_io_handle_t panel, esp_lcd_panel_io_event_data_t *edata, void *user_ctx) |
template<typename T, uint16_t F1, typename U, uint16_t F2> | |
bool | operator== (const PSRAMAllocator< T, F1 > &, const PSRAMAllocator< U, F2 > &) |
Equality operator for PSRAMAllocator. | |
template<typename T, uint16_t F1, typename U, uint16_t F2> | |
bool | operator!= (const PSRAMAllocator< T, F1 > &a, const PSRAMAllocator< U, F2 > &b) |
Inequality operator for PSRAMAllocator. | |
template<typename Inside, typename Intersect> | |
static std::vector< glm::fvec4 > | clipAgainstPlane (const std::vector< glm::fvec4 > &in, Inside inside, Intersect intersect) |
Variables | |
Assets & | assets = Assets::instance() |
constexpr float | PI = 3.141592653f |
Mathematical constant PI. | |
static const char * | TAG = "DriverEK79007" |
Logger & | logger = Logger::instance() |
MeshSerializer & | serializer = MeshSerializer::instance() |
template<class COLOR_BUFFER_TYPE> | |
int | Rasterizer< COLOR_BUFFER_TYPE >::offset_cache0 [1024] |
template<class COLOR_BUFFER_TYPE> | |
int | Rasterizer< COLOR_BUFFER_TYPE >::offset_cache1 [1024] |
template<class COLOR_BUFFER_TYPE> | |
int | Rasterizer< COLOR_BUFFER_TYPE >::z_cache0 [1024] |
template<class COLOR_BUFFER_TYPE> | |
int | Rasterizer< COLOR_BUFFER_TYPE >::z_cache1 [1024] |
static const char * | RENDERER_TAG = "Renderer" |
static const char * | MAIN_TAG = "Main" |
Thread_Pool & | thread_pool = Thread_Pool::instance () |
using Ragot::Matrix4x4 = glm::mat4 |
using Ragot::RGB565 = uint16_t |
using Ragot::RGB8 = uint8_t |
Color Index.
using Ragot::RGB888 = uint32_t |
using Ragot::RGBA8888 = uint32_t |
enum Ragot::Buffer : uint8_t |
enum Ragot::render_flag_t : uint8_t |
|
static |
bool Ragot::operator!= | ( | const PSRAMAllocator< T, F1 > & | a, |
const PSRAMAllocator< U, F2 > & | b ) |
Inequality operator for PSRAMAllocator.
This operator checks if two PSRAMAllocators are not equal based on their flags.
T | The type of the first allocator. |
F1 | The flag of the first allocator. |
U | The type of the second allocator. |
F2 | The flag of the second allocator. |
a | The first PSRAMAllocator. |
b | The second PSRAMAllocator. |
bool Ragot::operator== | ( | const PSRAMAllocator< T, F1 > & | , |
const PSRAMAllocator< U, F2 > & | ) |
Equality operator for PSRAMAllocator.
This operator checks if two PSRAMAllocators are equal based on their flags.
T | The type of the first allocator. |
F1 | The flag of the first allocator. |
U | The type of the second allocator. |
F2 | The flag of the second allocator. |
a | The first PSRAMAllocator. |
b | The second PSRAMAllocator. |
|
static |
|
static |
Assets & Ragot::assets = Assets::instance() |
Logger & Ragot::logger = Logger::instance() |
|
static |
|
constexpr |
Mathematical constant PI.
This constant represents the value of π (pi), which is approximately 3.141592653.
int Ragot::Rasterizer< COLOR_BUFFER_TYPE >::offset_cache0[1024] |
int Ragot::Rasterizer< COLOR_BUFFER_TYPE >::offset_cache1[1024] |
int Ragot::Rasterizer< COLOR_BUFFER_TYPE >::z_cache0[1024] |
int Ragot::Rasterizer< COLOR_BUFFER_TYPE >::z_cache1[1024] |
|
static |
MeshSerializer & Ragot::serializer = MeshSerializer::instance() |
|
static |
Thread_Pool & Ragot::thread_pool = Thread_Pool::instance () |