DI-Guy SDK Documentation  13.8
diguyOglGraphicsTextureArray.h
Go to the documentation of this file.
1 /****************************************************************************
2  * Copyright (c) 2024 MAK Technologies, Inc.
3  * All rights reserved.
4  ****************************************************************************/
5 
6 #pragma once
7 
8 // needed for function prototypes
9 #include <GL/glew.h>
10 #include <GL/gl.h>
11 
13 
30 {
31 
32 public:
33 
34  diguyOglGraphicsTextureArray(void* internal_data);
35 
36  virtual void build() override;
37  virtual void unbuild() override;
38  virtual void bind_now(diguyTextureMapType texture_type) override;
39 
40 protected:
41  int m_built;
43 };
44 
45 
46 
54 
GLuint m_texture_object
Definition: diguyOglGraphicsTextureArray.h:42
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...
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...
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:29
diguyGraphicsTextureArray * diguyOglGraphicsTextureArray_create_func(void *internal_data)
Create function declaration.
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...
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)
int m_built
Definition: diguyOglGraphicsTextureArray.h:41