Starshatter_Open
Open source Starshatter engine
Main Page
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
D3DXImage.h
Go to the documentation of this file.
1
/* Project nGenEx
2
Destroyer Studios LLC
3
Copyright © 1997-2004. All Rights Reserved.
4
5
SUBSYSTEM: nGenEx.lib
6
FILE: D3DXImage.h
7
AUTHOR: John DiCamillo
8
9
10
OVERVIEW
11
========
12
D3DX image file loader
13
*/
14
15
#ifndef D3DXImage_h
16
#define D3DXImage_h
17
18
#include "
Types.h
"
19
20
// +--------------------------------------------------------------------+
21
22
struct
D3DXImage
23
{
24
static
const
char
*
TYPENAME
() {
return
"D3DXImage"
; }
25
26
D3DXImage
();
27
D3DXImage
(WORD w, WORD h, DWORD* img);
28
~D3DXImage
();
29
30
bool
Load
(
char
*filename);
31
bool
Save
(
char
*filename);
32
33
bool
LoadBuffer
(BYTE* buf,
int
len);
34
35
DWORD*
image
;
36
DWORD
width
;
37
DWORD
height
;
38
DWORD
format
;
39
};
40
41
// +--------------------------------------------------------------------+
42
43
#endif D3DXImage_h
nGenEx
D3DXImage.h
Generated on Tue Jun 5 2012 20:46:20 for Starshatter_Open by
1.8.1