# soil **Repository Path**: yangyw6/soil ## Basic Information - **Project Name**: soil - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-04-12 - **Last Updated**: 2024-04-12 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README Simple OpenGL Image Library (SOIL) ================================== ## Introduction SOIL is a tiny C library used primarily for uploading textures into OpenGL. It is based on `stb_image` version 1.16, the public domain code from Sean Barrett (found here). It has been extended to load TGA and DDS files, and to perform common functions needed in loading OpenGL textures. SOIL can also be used to save and load images in a variety of formats. ## Installation With [clib](https://github.com/clibs/clib): ```sh $ clib install littlstar/soil --save ``` From source: ```sh $ make $ make install ``` ## Usage SOIL is meant to be used as a static library (as it's tiny and in the public domain). Simply `#include ` in your C or C++ file, link in the static library, and then use any of SOIL's functions. The file `