(WIP) OpenGL ES 2 implementation for the 3DS.
Download a prebuilt version, use as a CMake dependency, or build manually.
cmake -B BuildHOS -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="$DEVKITPRO/cmake/3DS.cmake" -DCMAKE_BUILD_TYPE=Release -DGLASS_COMPILE_EXAMPLES=ON
cmake --build BuildHOS --config Release
cmake --install BuildHOS --prefix BuildHOS/Releasecmake -B BuildBM -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="$CTR_BM_TOOLCHAIN_ROOT/Toolchain.cmake" -DCMAKE_BUILD_TYPE=Release -DGLASS_COMPILE_EXAMPLES=ON
cmake --build BuildBM --config Release
cmake --install BuildBM --prefix BuildBM/ReleaseRead the docs. Additionally, the examples folder includes some examples.
The following projects were used for reference:
Additionally, many thanks to:
for providing informations about the GPU, graphics, and generally being helpful.
This library is doubly licensed:
- MPL 2.0, for HOS (userland) usage (see HOS_LICENSE.txt).
- GPLv3, for baremetal usage (see BM_LICENSE.txt).