![]() |
TGX 1.1.2
A tiny 2D/3D graphics library optimized for 32 bits microcontrollers.
|
Configuration file depending on the architecture. More...
#include "esp_attr.h"Go to the source code of this file.
Macros | |
| #define | TGX_COMPILER_HAS_FPU 0 |
| #define | TGX_RUN_ON_TEENSY4 |
| #define | TGX_HAS_FPU TGX_COMPILER_HAS_FPU |
| #define | TGX_USE_FAST_INV_TRICK 1 |
| Enable the fast approximate inverse trick on architectures where it is beneficial. More... | |
| #define | TGX_USE_FMA_MATH 1 |
| Use explicit fused multiply-add instructions in selected floating-point math helpers when this improves performance on the target architecture. More... | |
| #define | TGX_SHADER_USE_INCREMENTAL_PIXEL_POINTERS 1 |
| #define | TGX_INLINE_ZDIVIDE __attribute__((always_inline)) |
| #define | TGX_HOT_IRAM IRAM_ATTR |
| #define | TGX_SHADER_GOURAUD_TEXTURE_FLOAT_INCREMENTAL 0 |
| flags for uber_shader compilation | |
| #define | TGX_SHADER_GOURAUD_RGB565_FLOAT_INCREMENTAL 0 |
| #define | TGX_SHADER_RGB565_FAST_TEXTURE_MODULATE 1 |
| #define | TGX_SHADER_RGB565_FAST_BILINEAR 1 |
| #define | TGX_SHADER_RGB565_FAST_CLAMP 0 |
| #define | TGX_SINGLE_PRECISION_COMPUTATIONS 1 |
| Set to 1 to use float as the default floating point type, or to 0 to use double precision. | |
| #define | TGX_DEFAULT_NO_BLENDING -1.0f |
| Default opacity sentinel used by drawing primitives to request overwrite/no-blending mode. | |
| #define | TGX_MESHLET_SPHERE_CLIP 1 |
| Set to 1 to let Mesh3Dv2 skip per-triangle clipping for meshlets whose bounding sphere is fully inside the frustum, and discard meshlets fully outside. | |
| #define | TGX_MESHLET_WIREFRAME_CULL 1 |
| Set to 1 to let Mesh3Dv2 wireframe rendering discard meshlets using their visibility cones. | |
Configuration file depending on the architecture.
| #define TGX_USE_FAST_INV_TRICK 1 |
Enable the fast approximate inverse trick on architectures where it is beneficial.
This is selected automatically from the target board/architecture below.
| #define TGX_USE_FMA_MATH 1 |
Use explicit fused multiply-add instructions in selected floating-point math helpers when this improves performance on the target architecture.
This is selected automatically from the target board/architecture below.