Main Page
Namespaces
Classes
Files
File List
File Members
src
Graphics
GteBuffer.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/GteBuffer.h
>
10
using namespace
gte
;
11
12
13
Buffer::Buffer
(
unsigned
int
numElements,
size_t
elementSize,
14
bool
createStorage)
15
:
16
Resource
(numElements, elementSize, createStorage)
17
{
18
mType
=
GT_BUFFER
;
19
}
20
gte::Buffer::Buffer
Buffer(unsigned int numElements, size_t elementSize, bool createStorage=true)
Definition:
GteBuffer.cpp:13
GteBuffer.h
GTEnginePCH.h
gte::GraphicsObject::mType
GraphicsObjectType mType
Definition:
GteGraphicsObject.h:156
gte
Definition:
GLX/GteWICFileIO.h:16
gte::Resource
Definition:
GteResource.h:16
GT_BUFFER
GT_BUFFER
Definition:
GteGraphicsObject.h:79
geometric_tools_engine
Author(s): Yijiang Huang
autogenerated on Thu Jul 18 2019 03:59:59