Main Page
Namespaces
Classes
Files
File List
File Members
include
Graphics
GL4
GteGL4SamplerState.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/GteSamplerState.h
>
11
#include <
Graphics/GL4/GteGL4DrawingState.h
>
12
13
namespace
gte
14
{
15
16
class
GTE_IMPEXP
GL4SamplerState
:
public
GL4DrawingState
17
{
18
public
:
19
// Construction and destruction.
20
virtual
~
GL4SamplerState
();
21
GL4SamplerState
(
SamplerState
const
* samplerState);
22
static
std::shared_ptr<GEObject> Create(
void
* unused,
GraphicsObject
const
*
object
);
23
24
// Member access.
25
inline
SamplerState
* GetSamplerState();
26
27
private
:
28
// Conversions from GTEngine values to GL4 values.
29
static
GLint
const
msMode[];
30
};
31
32
inline
SamplerState
*
GL4SamplerState::GetSamplerState
()
33
{
34
return
static_cast<
SamplerState
*
>
(mGTObject);
35
}
36
37
}
gte::GL4SamplerState::GetSamplerState
SamplerState * GetSamplerState()
Definition:
GteGL4SamplerState.h:32
gte::GL4DrawingState
Definition:
GteGL4DrawingState.h:16
GLint
int GLint
Definition:
glcorearb.h:85
gte::GL4SamplerState
Definition:
GteGL4SamplerState.h:16
gte::SamplerState
Definition:
GteSamplerState.h:16
gte::GraphicsObject
Definition:
GteGraphicsObject.h:115
gte
Definition:
GLX/GteWICFileIO.h:16
GteSamplerState.h
GteGL4DrawingState.h
GTE_IMPEXP
#define GTE_IMPEXP
Definition:
GTEngineDEF.h:63
geometric_tools_engine
Author(s): Yijiang Huang
autogenerated on Thu Jul 18 2019 04:00:00