The Wayback Machine - https://web.archive.org/web/20221224151746/https://github.com/rds1983/StbSharp
Skip to content
This repository has been archived by the owner before Nov 9, 2022. It is now read-only.

rds1983/StbSharp

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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