DI-Guy SDK Documentation  13.2
diguyOglGraphicsTexture.h
Go to the documentation of this file.
1 #pragma once
2 
3 
4 // needed for function prototypes
5 #include <GL/glew.h>
6 #include <GL/gl.h>
7 
8 #include <diguyGraphicsTexture.h>
9 
10 
26 {
27 
28 public:
29 
30  diguyOglGraphicsTexture(void* internal_data);
31 
32  virtual void build();
33  virtual void unbuild();
34  virtual void bind_now(diguyTextureMapType texture_type);
35 
36 protected:
37 
38  GLuint m_texture_object;
39 };
40 
41 
42 
50 
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:334
A class that represents a shared texture.
Definition: diguyGraphicsTexture.h:122
diguyOglGraphicsTexture(void *internal_data)
Definition: diguyOglGraphicsTexture.cpp:23
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:53
diguyTextureMapType
This enumeration lists the type of texture map a given image file is being used as.
Definition: diguyGraphicsTexture.h:56
The class diguyOglGraphicsTexture is an example of a diguyGraphicsTexture subclass for an immediate m...
Definition: diguyOglGraphicsTexture.h:23
diguyGraphicsTexture * diguyOglGraphicsTexture_create_func(void *internal_data)
Create function declaration.
Definition: diguyOglGraphicsTexture.cpp:373
GLuint m_texture_object
Definition: diguyOglGraphicsTexture.h:36
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:308