DI-Guy SDK Documentation  13.8
diguyDx9GraphicsTexture.h
Go to the documentation of this file.
1 /****************************************************************************
2  * Copyright (c) 2024 MAK Technologies, Inc.
3  * All rights reserved.
4  ****************************************************************************/
5 
6 /*****************************************************************************
7  **
8  *2 diguyDx9GraphicsTexture
9  **
10  ** This class is part of the DI-Guy Graphics API. It overrides the class
11  ** diguyGraphicsTexture. Detailed documentation is in the implementation
12  ** file documentation <a href="diguyDx9GraphicsTexture.cpp.html">here</a>.
13  */
14 
15 #ifndef diguyDx9GraphicsTexture_h__
16 #define diguyDx9GraphicsTexture_h__
17 
18 #include <diguyGraphicsTexture.h>
19 
20 struct IDirect3DTexture9;
21 
22 
23 /****************************************************************************/
25 {
26 
27 public:
28 
29  diguyDx9GraphicsTexture(void* internal_data);
30 
31  virtual void build();
32  virtual void unbuild();
33  virtual void bind_now(diguyTextureMapType texture_type);
34 
35 protected:
36 
37  /*
38  * Convenience functions for texture creation
39  */
42  void buildNullTexture();
43 
44  IDirect3DTexture9* m_pTexture;
45 };
46 
47 
53 
54 #endif /* diguyDx9GraphicsTexture_h__ */
55 
diguyDx9GraphicsTexture(void *internal_data)
A class that represents a shared texture.
Definition: diguyGraphicsTexture.h:124
Definition: diguyDx9GraphicsTexture.h:23
virtual void bind_now(diguyTextureMapType texture_type)
This function will be called by DI-Guy when the texture should be made active, or bound...
diguyTextureMapType
This enumeration lists the type of texture map a given image file is being used as.
Definition: diguyGraphicsTexture.h:55
virtual void build()
This function will be called by DI-Guy when it is time for a renderer-specific texture object to be c...
virtual void unbuild()
This function will be called by DI-Guy when it is time for a renderer-specific texture object to be d...
diguyGraphicsTexture * diguyDx9GraphicsTexture_create_func(void *internal_data)
Create function declaration.
IDirect3DTexture9 * m_pTexture
Definition: diguyDx9GraphicsTexture.h:43