DDS
所属分类:图形图像处理
开发工具:C
文件大小:4KB
下载次数:0
上传日期:2021-07-02 21:44:08
上 传 者:
sh-1993
说明: 用于加载.dds纹理的库(支持DXT1、DXT3、DXT5、3D纹理等...)
(Library for loading .dds textures (supports DXT1, DXT3, DXT5, 3D textures, etc...))
文件列表:
LICENSE (1063, 2021-07-03)
dds.c (15298, 2021-07-03)
dds.h (1985, 2021-07-03)
# DDS
This is a simple library for loading `.dds` textures. It supports DXT1, DXT3 & DXT5 compressed formats and most of the uncompressed formats. It loads the data into a RGBA byte array.
It supports 3D textures.
Example:
```c
dds_image_t image = dds_load_from_file("texture.dds");
// use image->pixels, image->header.width, image->header.width, image->header.depth
dds_image_free(image);
```
近期下载者:
相关文件:
收藏者: