DI-Guy SDK Documentation  13.1
diguyOglGraphicsTexture.h
Go to the documentation of this file.
1 #ifndef __diguyOglGraphicsTexture_H
2 #define __diguyOglGraphicsTexture_H
3 
4 
5 #include <diguyGraphicsTexture.h>
6 #include "ogl_headers.h"
7 
8 
9 /*****************************************************************************
10  **
11  *2 diguyOglGraphicsTexture
12  **
13  ** This class is part of the DI-Guy Graphics API. It overrides the class
14  ** diguyGraphicsTexture. Detailed documentation is in the implementation
15  ** file documentation <a href="diguyOglGraphicsTexture.cpp.html">here</a>.
16  */
17 /****************************************************************************/
19 {
20 
21 public:
22 
23  diguyOglGraphicsTexture(void* internal_data);
24 
25  virtual void build();
26  virtual void unbuild();
27  virtual void bind_now(diguyTextureMapType texture_type);
28 
29 protected:
30 
31  GLuint m_texture_object;
32 };
33 
34 
40 
41 #endif
virtual void bind_now(diguyTextureMapType texture_type)
This function will be called by DI-Guy when the texture should be made active, or bound...
Definition: diguyOglGraphicsTexture.cpp:329
diguyGraphicsTexture * diguyOglGraphicsTexture_create_func(void *internal_data)
Create function declaration.
Definition: diguyOglGraphicsTexture.cpp:354
A class that represents a shared texture. Can be subclassed by filling out the diguy_graphics_set_tex...
Definition: diguyGraphicsTexture.h:124
diguyOglGraphicsTexture(void *internal_data)
4 Header files and forward declarations
Definition: diguyOglGraphicsTexture.cpp:42
virtual void build()
This function will be called by DI-Guy when it is time for a renderer-specific texture object to be c...
Definition: diguyOglGraphicsTexture.cpp:72
diguyTextureMapType
This enumeration lists the type of texture map a given image file is being used as.
Definition: diguyGraphicsTexture.h:56
Definition: diguyOglGraphicsTexture.h:17
GLuint m_texture_object
Definition: diguyOglGraphicsTexture.h:30
virtual void unbuild()
This function will be called by DI-Guy when it is time for a renderer-specific texture object to be d...
Definition: diguyOglGraphicsTexture.cpp:303