Starshatter_Open
Open source Starshatter engine
Main Page
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
TexCubeDX9.h
Go to the documentation of this file.
1
/* Project nGenEx
2
Destroyer Studios LLC
3
Copyright © 1997-2006. All Rights Reserved.
4
5
SUBSYSTEM: nGenEx.lib
6
FILE: TexCubeDX9.h
7
AUTHOR: John DiCamillo
8
9
10
OVERVIEW
11
========
12
Direct 3D Texture Cube for Env Mapping
13
*/
14
15
#ifndef TexCubeDX9_h
16
#define TexCubeDX9_h
17
18
#include "
Bitmap.h
"
19
20
// +--------------------------------------------------------------------+
21
22
class
Video
;
23
class
VideoDX9
;
24
class
Bitmap
;
25
struct
VD3D_texture_format;
26
27
// +--------------------------------------------------------------------+
28
29
class
TexCubeDX9
30
{
31
public
:
32
TexCubeDX9
(
VideoDX9
* video);
33
virtual
~TexCubeDX9
();
34
35
IDirect3DCubeTexture9*
GetTexture
();
36
bool
LoadTexture
(
Bitmap
* bmp,
int
face);
37
38
private
:
39
VideoDX9
* video;
40
IDirect3D9* d3d;
41
IDirect3DDevice9* d3ddevice;
42
43
IDirect3DCubeTexture9* texture;
44
Bitmap
* faces[6];
45
DWORD last_modified[6];
46
};
47
48
#endif // TexCubeDX9_h
49
nGenEx
TexCubeDX9.h
Generated on Tue Jun 5 2012 20:46:16 for Starshatter_Open by
1.8.1