rds1983 / StbSharp

C# port of the famous C framework

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This repo is archived and in process of being split into separate projects. (one repo for each stb library).

The new project site is https://github.com/stbsharp

About

StbSharp is C# port of the famous C framework: https://github.com/nothings/stb

It is important to note, that this project is port, not wrapper. Original C code had been ported to C#. Therefore StbSharp doesnt require any native binaries.

The porting hasn't been done by hand, but using Sichem, which is the C to C# code converter utility.

Following libraries had been ported so far: stb_image.h, stb_image_write.h, stb_image_resize.h, stb_dxt.h, stb_vorbis.c and stb_truetype.h.

Following libraries porting is planned: stb_textedit.h and stb_rectpack.h.

Documentation

StbSharp has same API as STB. Therefore the STB documentation is valid for StbSharp as well. However some wrapper classes and helper functions had been added.

The wiki contains instructions about adding StbSharp to a project and the code samples.

Building From Source

  1. git clone https://github.com/rds1983/StbSharp
  2. cd StbSharp
  3. git submodule update --init --recursive

License

Public Domain

About

C# port of the famous C framework


Languages

Language:C# 68.0%Language:C 31.8%Language:C++ 0.1%Language:Batchfile 0.0%