Main Page
Namespaces
Classes
Files
File List
File Members
include
Graphics
GL4
GteGL4TextureRT.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/GteTextureRT.h
>
11
#include <
Graphics/GL4/GteGL4Texture2.h
>
12
13
namespace
gte
14
{
15
16
class
GTE_IMPEXP
GL4TextureRT
:
public
GL4Texture2
17
{
18
public
:
19
// Construction.
20
GL4TextureRT
(
TextureRT
const
*
texture
);
21
static
std::shared_ptr<GEObject> Create(
void
* unused,
GraphicsObject
const
*
object
);
22
23
// Member access.
24
inline
TextureRT
* GetTexture()
const
;
25
26
// Returns true of mipmaps need to be generated.
27
virtual
bool
CanAutoGenerateMipmaps()
const override
;
28
};
29
30
inline
TextureRT
*
GL4TextureRT::GetTexture
()
const
31
{
32
return
static_cast<
TextureRT
*
>
(mGTObject);
33
}
34
35
}
gte::GL4Texture2
Definition:
GteGL4Texture2.h:16
gte::GL4TextureRT
Definition:
GteGL4TextureRT.h:16
gte::GraphicsObject
Definition:
GteGraphicsObject.h:115
gte::GL4TextureRT::GetTexture
TextureRT * GetTexture() const
Definition:
GteGL4TextureRT.h:30
gte
Definition:
GLX/GteWICFileIO.h:16
texture
GLuint texture
Definition:
glcorearb.h:410
gte::TextureRT
Definition:
GteTextureRT.h:15
GteTextureRT.h
GteGL4Texture2.h
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