ppm_image.h
来自「此程序需要Brew sdk2.1版本以上,是关于OpenGL的手机编程.」· C头文件 代码 · 共 47 行
H
47 行
#ifndef __PPM_IMAGE_H_
#define __PPM_IMAGE_H_
/*=================================================================================
FILE: ppm_image.h
DESCRIPTION: This file is provide as a standard sample Brew header file.
Please refer to this OpenGL(R)ES brew sample application as a
reference on how to use the standard OpenGL-ES and EGL APIs.
ABSTRACT: The ppm image loader application header file
AUTHOR: QUALCOMM
Copyright (c) 2004 QUALCOMM Incorporated.
All Rights Reserved.
QUALCOMM Proprietary/GTDR
=================================================================================*/
/*-------------------------------------------------------------------------------*
* I N C L U D E F I L E S *
*-------------------------------------------------------------------------------*/
#include <stdio.h>
#include "AEEStdLib.h"
#include "AEEFile.h"
#include "AEE.h"
#include "AEEShell.h"
/*-------------------------------------------------------------------------------*
* F U N C T I O N S *
*-------------------------------------------------------------------------------*/
#ifdef __cplusplus
extern "C"
{
#endif
unsigned char *
PPMToTexture(IShell *shell, const char *filename, int *widthp, int *heightp );
int
ReadPPMLine( IFile* pFile, char *line );
#ifdef __cplusplus
}
#endif
#endif //__PPM_IMAGE_H_
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?