GteGL4InputLayout.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 
11 #include <Graphics/GL4/GteOpenGL.h>
12 
13 namespace gte
14 {
15 
17 {
18 public:
19  // Construction and destruction.
20  ~GL4InputLayout();
21  GL4InputLayout(GLuint programHandle, GLuint vbufferHandle,
22  VertexBuffer const* vbuffer);
23 
24  // Support for drawing geometric primitives.
25  void Enable();
26  void Disable();
27 
28 private:
32 
33  struct Attribute
34  {
35  VASemantic semantic;
42  };
43 
46 
47  // Conversions from GTEngine values to GL4 values.
48  static GLenum const msChannelType[];
49 };
50 
51 }
int GLint
Definition: glcorearb.h:85
unsigned int GLuint
Definition: glcorearb.h:89
VA_MAX_ATTRIBUTES
unsigned char GLboolean
Definition: glcorearb.h:90
int GLsizei
Definition: glcorearb.h:86
unsigned int GLenum
Definition: glcorearb.h:83
#define GTE_IMPEXP
Definition: GTEngineDEF.h:63
ptrdiff_t GLintptr
Definition: glcorearb.h:618


geometric_tools_engine
Author(s): Yijiang Huang
autogenerated on Thu Jul 18 2019 04:00:00