Main Page
Namespaces
Classes
Files
File List
File Members
include
Graphics
GteTextureCube.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/GteTextureArray.h
>
11
12
namespace
gte
13
{
14
15
class
GTE_IMPEXP
TextureCube
:
public
TextureArray
16
{
17
public
:
18
// Construction. Cube maps must be square; the 'length' parameter is the
19
// shared value for width and height.
20
TextureCube
(DFType
format
,
unsigned
int
length
,
bool
hasMipmaps =
false
,
21
bool
createStorage =
true
);
22
23
// The texture width and height are the same value.
24
unsigned
int
GetLength()
const
;
25
};
26
27
}
GteTextureArray.h
gte::TextureCube
Definition:
GteTextureCube.h:15
gte
Definition:
GLX/GteWICFileIO.h:16
gte::TextureArray
Definition:
GteTextureArray.h:15
format
GLint GLint GLsizei GLint GLenum format
Definition:
glcorearb.h:103
length
GLuint GLsizei GLsizei * length
Definition:
glcorearb.h:790
GTE_IMPEXP
#define GTE_IMPEXP
Definition:
GTEngineDEF.h:63
geometric_tools_engine
Author(s): Yijiang Huang
autogenerated on Thu Jul 18 2019 04:00:01