Main Page
Namespaces
Classes
Files
File List
File Members
include
Graphics
GteTexture3.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/GteTextureSingle.h
>
11
12
namespace
gte
13
{
14
15
class
GTE_IMPEXP
Texture3
:
public
TextureSingle
16
{
17
public
:
18
// Construction.
19
Texture3
(DFType
format
,
unsigned
int
width
,
unsigned
int
height
,
20
unsigned
int
thickness,
bool
hasMipmaps =
false
,
21
bool
createStorage =
true
);
22
23
// Texture dimensions.
24
unsigned
int
GetWidth()
const
;
25
unsigned
int
GetHeight()
const
;
26
unsigned
int
GetThickness()
const
;
27
};
28
29
}
gte::Texture3
Definition:
GteTexture3.h:15
width
GLint GLsizei width
Definition:
glcorearb.h:98
GteTextureSingle.h
gte
Definition:
GLX/GteWICFileIO.h:16
format
GLint GLint GLsizei GLint GLenum format
Definition:
glcorearb.h:103
height
GLint GLsizei GLsizei height
Definition:
glcorearb.h:98
gte::TextureSingle
Definition:
GteTextureSingle.h:15
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