Main Page
Namespaces
Classes
Files
File List
File Members
src
Graphics
GteGeometryShader.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/GteGeometryShader.h
>
10
using namespace
gte
;
11
12
#if defined(GTE_DEV_OPENGL)
13
GeometryShader::GeometryShader
(
GLSLReflection
const
& reflector)
14
:
15
Shader
(reflector,
GLSLReflection
::ST_GEOMETRY)
16
{
17
mType =
GT_GEOMETRY_SHADER
;
18
}
19
#else
20
GeometryShader::GeometryShader
(
HLSLShader
const
&
program
)
21
:
22
Shader
(program)
23
{
24
mType
=
GT_GEOMETRY_SHADER
;
25
}
26
#endif
GTEnginePCH.h
gte::GraphicsObject::mType
GraphicsObjectType mType
Definition:
GteGraphicsObject.h:156
program
GLbitfield GLuint program
Definition:
glcorearb.h:1926
gte::GeometryShader::GeometryShader
GeometryShader(HLSLShader const &program)
Definition:
GteGeometryShader.cpp:20
gte::HLSLShader
Definition:
GteHLSLShader.h:24
gte::GLSLReflection
Definition:
GteGLSLReflection.h:23
gte
Definition:
GLX/GteWICFileIO.h:16
GteGeometryShader.h
gte::Shader
Definition:
GteShader.h:33
GT_GEOMETRY_SHADER
GT_GEOMETRY_SHADER
Definition:
GteGraphicsObject.h:79
geometric_tools_engine
Author(s): Yijiang Huang
autogenerated on Thu Jul 18 2019 03:59:59