texture.h
来自「生成雾气的效果」· C头文件 代码 · 共 17 行
H
17 行
/* * read_texture() - read in an image file in SGI 'libimage' format * currently its very simple minded and converts all images * to RGBA8 regardless of the input format and returns the * original number of components in the appropriate parameter. * * * the components are converted as follows * L -> LLL 1.0 * LA -> LLL A * RGB -> RGB 1.0 * RGBA -> RGB A * */unsigned *read_texture(char *name, int *width, int *height, int *components);
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?