GteMemberLayout.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 <GTEngineDEF.h>
11 #include <string>
12 #include <vector>
13 
14 namespace gte
15 {
16 
17 // Support for generation of lookup tables for constant buffers and texture
18 // buffers. Given the name of a member of a buffer, get the offset into the
19 // buffer memory where the member lives. The layout is specific to the
20 // shading language (HLSL, GLSL).
22 {
24  unsigned int offset;
25  unsigned int numElements;
26 };
27 
28 typedef std::vector<MemberLayout> BufferLayout;
29 
30 }
unsigned int offset
std::vector< MemberLayout > BufferLayout
GLsizei const GLchar *const * string
Definition: glcorearb.h:809
unsigned int numElements
#define GTE_IMPEXP
Definition: GTEngineDEF.h:63


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