Main Page
Namespaces
Classes
Files
File List
File Members
src
Graphics
GL4
GteGL4GraphicsObject.cpp
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
#include <
GTEnginePCH.h
>
9
#include <
Graphics/GL4/GteGL4GraphicsObject.h
>
10
using namespace
gte
;
11
12
GL4GraphicsObject::GL4GraphicsObject
(
GraphicsObject
const
* gtObject)
13
:
14
GEObject
(gtObject),
15
mGLHandle(0)
16
{
17
}
18
19
void
GL4GraphicsObject::SetName
(
std::string
const
&
name
)
20
{
21
// TODO: Determine how to tag OpenGL objects with names?
22
mName
=
name
;
23
}
GTEnginePCH.h
name
GLuint const GLchar * name
Definition:
glcorearb.h:781
gte::GL4GraphicsObject::SetName
virtual void SetName(std::string const &name) override
Definition:
GteGL4GraphicsObject.cpp:19
gte::GraphicsObject
Definition:
GteGraphicsObject.h:115
string
GLsizei const GLchar *const * string
Definition:
glcorearb.h:809
gte
Definition:
GLX/GteWICFileIO.h:16
gte::GL4GraphicsObject::GL4GraphicsObject
GL4GraphicsObject(GraphicsObject const *gtObject)
Definition:
GteGL4GraphicsObject.cpp:12
GteGL4GraphicsObject.h
gte::GEObject::mName
std::string mName
Definition:
GteGEObject.h:33
gte::GEObject
Definition:
GteGEObject.h:15
geometric_tools_engine
Author(s): Yijiang Huang
autogenerated on Thu Jul 18 2019 04:00:00