forked from gscept/CubeMapGen
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathHDRWrite.h
More file actions
25 lines (16 loc) · 744 Bytes
/
HDRWrite.h
File metadata and controls
25 lines (16 loc) · 744 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
//--------------------------------------------------------------------------------------
//HDRWrite.h
// Routines for writing .HDR images.. included to work around D3DX .hdr writing bug
//
//--------------------------------------------------------------------------------------
// (C) 2005 ATI Research, Inc., All rights reserved.
//--------------------------------------------------------------------------------------
#ifndef HDRREADWRITE_H
#define HDRREADWRITE_H
#include <stdio.h>
#include "Types.h"
// Write HDR file header
void HDR_WriteHeader(FILE *fp, int32 a_Width, int32 a_Height);
// Write out HDR data
void HDR_WritePixels(FILE *fp, float32 *a_RawData, int32 a_NumPixels);
#endif //HDRREADWRITE_H