Main Page
Namespaces
Classes
Files
File List
File Members
src
Graphics
GteTextureSingle.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/GteTextureSingle.h
>
10
using namespace
gte
;
11
12
13
TextureSingle::TextureSingle
(DFType
format
,
unsigned
int
numDimensions,
14
unsigned
int
dim0,
unsigned
int
dim1,
unsigned
int
dim2,
bool
hasMipmaps,
15
bool
createStorage)
16
:
17
Texture
(1, format, numDimensions, dim0, dim1, dim2, hasMipmaps,
18
createStorage)
19
{
20
mType
=
GT_TEXTURE_SINGLE
;
21
}
22
GT_TEXTURE_SINGLE
GT_TEXTURE_SINGLE
Definition:
GteGraphicsObject.h:79
GTEnginePCH.h
gte::GraphicsObject::mType
GraphicsObjectType mType
Definition:
GteGraphicsObject.h:156
GteTextureSingle.h
gte::Texture
Definition:
GteTexture.h:19
gte
Definition:
GLX/GteWICFileIO.h:16
format
GLint GLint GLsizei GLint GLenum format
Definition:
glcorearb.h:103
gte::TextureSingle::TextureSingle
TextureSingle(DFType format, unsigned int numDimensions, unsigned int dim0, unsigned int dim1, unsigned int dim2, bool hasMipmaps, bool createStorage)
Definition:
GteTextureSingle.cpp:13
geometric_tools_engine
Author(s): Yijiang Huang
autogenerated on Thu Jul 18 2019 04:00:01