Main Page
Namespaces
Classes
Files
File List
File Members
include
Graphics
GL4
GteGL4GraphicsObject.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/GteGEObject.h
>
11
#include <
Graphics/GL4/GteOpenGL.h
>
12
13
namespace
gte
14
{
15
16
class
GTE_IMPEXP
GL4GraphicsObject
:
public
GEObject
17
{
18
protected
:
19
// Abstract base class.
20
GL4GraphicsObject
(
GraphicsObject
const
* gtObject);
21
22
public
:
23
// Member access.
24
inline
GLuint
GetGLHandle()
const
;
25
26
// Support for debugging.
27
virtual
void
SetName(
std::string
const
&
name
)
override
;
28
29
protected
:
30
GLuint
mGLHandle
;
31
};
32
33
inline
GLuint
GL4GraphicsObject::GetGLHandle
()
const
34
{
35
return
mGLHandle;
36
}
37
38
}
GLuint
unsigned int GLuint
Definition:
glcorearb.h:89
GteGEObject.h
name
GLuint const GLchar * name
Definition:
glcorearb.h:781
gte::GL4GraphicsObject
Definition:
GteGL4GraphicsObject.h:16
GteOpenGL.h
gte::GraphicsObject
Definition:
GteGraphicsObject.h:115
string
GLsizei const GLchar *const * string
Definition:
glcorearb.h:809
gte::GL4GraphicsObject::mGLHandle
GLuint mGLHandle
Definition:
GteGL4GraphicsObject.h:30
gte
Definition:
GLX/GteWICFileIO.h:16
gte::GEObject
Definition:
GteGEObject.h:15
GTE_IMPEXP
#define GTE_IMPEXP
Definition:
GTEngineDEF.h:63
gte::GL4GraphicsObject::GetGLHandle
GLuint GetGLHandle() const
Definition:
GteGL4GraphicsObject.h:33
geometric_tools_engine
Author(s): Yijiang Huang
autogenerated on Thu Jul 18 2019 04:00:00