Main Page
Namespaces
Classes
Files
File List
File Members
include
Graphics
GL4
GteGL4Texture2Array.h
Go to the documentation of this file.
1
// David Eberly, Geometric Tools, Redmond WA 98052
2
// Copyright (c) 1998-2017
3
// Distributed under the Boost Software License, Version 1.0.
4
// http://www.boost.org/LICENSE_1_0.txt
5
// http://www.geometrictools.com/License/Boost/LICENSE_1_0.txt
6
// File Version: 3.0.0 (2016/06/19)
7
8
#pragma once
9
10
#include <
Graphics/GteTexture2Array.h
>
11
#include <
Graphics/GL4/GteGL4TextureArray.h
>
12
13
namespace
gte
14
{
15
16
class
GTE_IMPEXP
GL4Texture2Array
:
public
GL4TextureArray
17
{
18
public
:
19
// Construction and destruction.
20
virtual
~
GL4Texture2Array
();
21
GL4Texture2Array
(
Texture2Array
const
*
texture
);
22
static
std::shared_ptr<GEObject> Create(
void
* unused,
GraphicsObject
const
*
object
);
23
24
// Member access.
25
inline
Texture2Array
* GetTexture()
const
;
26
27
// Returns true if mipmaps need to be generated.
28
virtual
bool
CanAutoGenerateMipmaps()
const override
;
29
30
protected
:
31
virtual
void
LoadTextureLevel(
unsigned
int
item,
unsigned
int
level
,
void
const
*
data
)
override
;
32
};
33
34
inline
Texture2Array
*
GL4Texture2Array::GetTexture
()
const
35
{
36
return
static_cast<
Texture2Array
*
>
(mGTObject);
37
}
38
39
}
GteTexture2Array.h
gte::Texture2Array
Definition:
GteTexture2Array.h:15
level
GLint level
Definition:
glcorearb.h:103
GteGL4TextureArray.h
gte::GraphicsObject
Definition:
GteGraphicsObject.h:115
gte
Definition:
GLX/GteWICFileIO.h:16
data
GLboolean * data
Definition:
glcorearb.h:126
texture
GLuint texture
Definition:
glcorearb.h:410
gte::GL4Texture2Array
Definition:
GteGL4Texture2Array.h:16
gte::GL4TextureArray
Definition:
GteGL4TextureArray.h:16
gte::GL4Texture2Array::GetTexture
Texture2Array * GetTexture() const
Definition:
GteGL4Texture2Array.h:34
GTE_IMPEXP
#define GTE_IMPEXP
Definition:
GTEngineDEF.h:63
geometric_tools_engine
Author(s): Yijiang Huang
autogenerated on Thu Jul 18 2019 04:00:00