GteTexture2Array.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>
10 using namespace gte;
11 
12 
13 Texture2Array::Texture2Array(unsigned int numItems, DFType format,
14  unsigned int width, unsigned int height, bool hasMipmaps,
15  bool createStorage)
16  :
17  TextureArray(numItems, format, 2, width, height, 1, hasMipmaps,
18  createStorage)
19 {
21 }
22 
23 unsigned int Texture2Array::GetWidth() const
24 {
26 }
27 
28 unsigned int Texture2Array::GetHeight() const
29 {
31 }
32 
GLint GLsizei width
Definition: glcorearb.h:98
GraphicsObjectType mType
Texture2Array(unsigned int numItems, DFType format, unsigned int width, unsigned int height, bool hasMipmaps=false, bool createStorage=true)
unsigned int GetWidth() const
GT_TEXTURE2_ARRAY
unsigned int GetHeight() const
GLint GLint GLsizei GLint GLenum format
Definition: glcorearb.h:103
GLint GLsizei GLsizei height
Definition: glcorearb.h:98
unsigned int GetDimension(int i) const
Definition: GteTexture.h:110


geometric_tools_engine
Author(s): Yijiang Huang
autogenerated on Thu Jul 18 2019 04:00:01