GteTextureCubeArray.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 TextureCubeArray::TextureCubeArray(unsigned int numCubes, DFType format,
14  unsigned int length, bool hasMipmaps, bool createStorage)
15  :
16  TextureArray(CubeFaceCount * numCubes, format, 2, length, length, 1, hasMipmaps,
17  createStorage),
18  mNumCubes(numCubes)
19 {
21 }
22 
23 unsigned int TextureCubeArray::GetNumCubes() const
24 {
25  return mNumCubes;
26 }
27 
28 unsigned int TextureCubeArray::GetLength() const
29 {
31 }
32 
GraphicsObjectType mType
unsigned int GetNumCubes() const
TextureCubeArray(unsigned int numCubes, DFType format, unsigned int length, bool hasMipmaps=false, bool createStorage=true)
GT_TEXTURE_CUBE_ARRAY
GLint GLint GLsizei GLint GLenum format
Definition: glcorearb.h:103
unsigned int GetLength() const
GLuint GLsizei GLsizei * length
Definition: glcorearb.h:790
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