Main Page
Namespaces
Classes
Files
File List
File Members
src
Graphics
GteSamplerState.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/GteSamplerState.h
>
10
using namespace
gte
;
11
12
13
SamplerState::SamplerState
()
14
:
15
filter
(
MIN_P_MAG_P_MIP_P
),
16
mipLODBias(0.0
f
),
17
maxAnisotropy(1),
18
comparison(
NEVER
),
19
borderColor({ 1.0f, 1.0f, 1.0f, 1.0f }),
20
minLOD
(-std::numeric_limits<float>::max()),
21
maxLOD
(std::numeric_limits<float>::max())
22
{
23
mType
=
GT_SAMPLER_STATE
;
24
25
mode
[0] =
CLAMP
;
26
mode
[1] =
CLAMP
;
27
mode
[2] =
CLAMP
;
28
}
29
gte::SamplerState::minLOD
float minLOD
Definition:
GteSamplerState.h:76
GTEnginePCH.h
gte::GraphicsObject::mType
GraphicsObjectType mType
Definition:
GteGraphicsObject.h:156
GT_SAMPLER_STATE
GT_SAMPLER_STATE
Definition:
GteGraphicsObject.h:79
MIN_P_MAG_P_MIP_P
MIN_P_MAG_P_MIP_P
Definition:
GteSamplerState.h:23
gte
Definition:
GLX/GteWICFileIO.h:16
filter
GLint GLint GLint GLint GLint GLint GLint GLbitfield GLenum filter
Definition:
glcorearb.h:1292
GteSamplerState.h
mode
GLenum mode
Definition:
glcorearb.h:94
gte::SamplerState::maxLOD
float maxLOD
Definition:
GteSamplerState.h:77
f
GLfloat f
Definition:
glcorearb.h:1921
NEVER
NEVER
Definition:
GteDepthStencilState.h:26
gte::SamplerState::SamplerState
SamplerState()
Definition:
GteSamplerState.cpp:13
CLAMP
CLAMP
Definition:
GteSamplerState.h:46
geometric_tools_engine
Author(s): Yijiang Huang
autogenerated on Thu Jul 18 2019 04:00:01