Skip to content
المشاريع

حول

Library for drawing 2D graphics using the Nintendo 3DS's PICA200 GPU

التصميم والوسائط

كيف تُقاس هذه الأرقام

النمو المقاس للنجوم

خلال 24 ساعة
٠
خلال 7 أيام
٠
خلال 15 يومًا
+٣
خلال شهر
+٥

تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.

README.md

الأصل

citro2d

( ͡° ͜ʖ ͡°)

Library for drawing 2D graphics using the Nintendo 3DS's PICA200 GPU.

This library contains optimized routines that allow 3DS homebrew developers to develop applications that take full advantage of the GPU to draw 2D graphics. The routines in this library have been carefully designed and optimized for the purpose of removing bottlenecks and allowing higher GPU throughput.

citro2d uses citro3d under the hood to talk to the GPU. It is possible to use citro2d on its own, or use it alongside citro3d to draw mixed 2D and 3D content.

Features:

  • Lightweight and straightforward API
  • Full doxygen documentation
  • Drawing on any surface (C3D_RenderTarget)
  • Drawing images and sprites (the latter contain state whereas the former don't)
  • Drawing text using the system font
  • Spritesheet/texture atlas support using tex3ds
  • Scaling, flipping, rotation
  • Drawing untextured triangles and rectangles
  • Per-vertex tinting with configurable blend factor (additive color blending with user specified colors)
  • Flexible and configurable gradients
  • Full-screen fade-out/fade-in transitions (to any color)
  • Concurrent usage of citro2d and citro3d

استكشف مشاريع مشابهة ومرتبطة

جارٍ التحميل…