DI-Guy SDK Documentation  13.7.1
diguyOglGraphicsTextureArray.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 
9 
10 
27 {
28 
29 public:
30 
31  diguyOglGraphicsTextureArray(void* internal_data);
32 
33  virtual void build() override;
34  virtual void unbuild() override;
35  virtual void bind_now(diguyTextureMapType texture_type) override;
36 
37 protected:
38  int m_built;
39  GLuint m_texture_object;
40 };
41 
42 
43 
51 
GLuint m_texture_object
Definition: diguyOglGraphicsTextureArray.h:37
virtual void unbuild() override
This function will be called by DI-Guy when it is time for a renderer-specific texture object to be d...
Definition: diguyOglGraphicsTextureArray.cpp:179
A class that represents a shared 2D texture array.
Definition: diguyGraphicsTextureArray.h:40
The class diguyOglGraphicsTextureArray is an example of a diguyGraphicsTextureArray subclass for an i...
Definition: diguyOglGraphicsTextureArray.h:24
diguyGraphicsTextureArray * diguyOglGraphicsTextureArray_create_func(void *internal_data)
Create function declaration.
Definition: diguyOglGraphicsTextureArray.cpp:241
virtual void build() override
This function will be called by DI-Guy when it is time for a renderer-specific texture object to be c...
Definition: diguyOglGraphicsTextureArray.cpp:56
diguyTextureMapType
This enumeration lists the type of texture map a given image file is being used as.
Definition: diguyGraphicsTexture.h:55
diguyOglGraphicsTextureArray(void *internal_data)
Definition: diguyOglGraphicsTextureArray.cpp:25
int m_built
Definition: diguyOglGraphicsTextureArray.h:36
virtual void bind_now(diguyTextureMapType texture_type) override
This function will be called by DI-Guy when the texture should be made active, or bound...
Definition: diguyOglGraphicsTextureArray.cpp:209