mirror of
https://git.freebsd.org/ports.git
synced 2025-05-19 10:33:12 -04:00
The Simple and Fast Multimedia Library (SFML) exists in devel/sfml. SFML is a C++ library, and as such, may introduce complexity for other languages to use the library. CSFML is an official SFML project to provide C bindings to SFML, with the aim of reducing language binding complexity, to enable other languages to use C over C++. Website: https://github.com/SFML/CSFML Differential Revision: https://reviews.freebsd.org/D41519
12 lines
713 B
Text
12 lines
713 B
Text
CSFML is the official C bindings for the Simple and Fast Multimedia Library
|
|
(SFML). SFML is a simple, fast, cross-platform, C++ object-oriented multimedia
|
|
API. It abstracts windowing, graphics, audio, and networking.
|
|
|
|
The CSFML API aims to create C style abstractions as close as possible, to the
|
|
SFML C++ API. The follow-on effect of this enables building SFML bindings for
|
|
other languages, either via the language's Foreign Function Interface
|
|
mechanism, or by directly supporting C instead of C++.
|
|
|
|
Due to the similarities between the two APIs, no tutorial is provided, however,
|
|
users can follow the C++ tutorials available via the SFML website. Adapting
|
|
those tutorials to the C API should take little effort.
|