#include "pbrt.h"Go to the source code of this file.
Functions | |
| RGBSpectrum * | ReadImage (const string &name, int *xSize, int *ySize) |
| void | WriteImage (const string &name, float *pixels, float *alpha, int XRes, int YRes, int totalXRes, int totalYRes, int xOffset, int yOffset) |
| RGBSpectrum* ReadImage | ( | const string & | name, | |
| int * | xSize, | |||
| int * | ySize | |||
| ) |
Definition at line 45 of file imageio.cpp.
References Error(), ReadImageEXR(), ReadImagePFM(), and ReadImageTGA().
Referenced by ImageTexture< Tmemory, Treturn >::GetTexture(), GonioPhotometricLight::GonioPhotometricLight(), InfiniteAreaLight::InfiniteAreaLight(), and ProjectionLight::ProjectionLight().
| void WriteImage | ( | const string & | name, | |
| float * | pixels, | |||
| float * | alpha, | |||
| int | XRes, | |||
| int | YRes, | |||
| int | totalXRes, | |||
| int | totalYRes, | |||
| int | xOffset, | |||
| int | yOffset | |||
| ) |
Definition at line 69 of file imageio.cpp.
References Error(), WriteImageEXR(), WriteImagePFM(), and WriteImageTGA().
Referenced by SHWriteImage().
1.6.3