Main Page
Namespaces
Classes
Files
File List
File Members
include
Graphics
GteBuffer.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/GteResource.h
>
11
#include <functional>
12
13
namespace
gte
14
{
15
16
class
GTE_IMPEXP
Buffer
:
public
Resource
17
{
18
protected
:
19
// Abstract base class.
20
Buffer
(
unsigned
int
numElements,
size_t
elementSize,
21
bool
createStorage =
true
);
22
};
23
24
typedef
std::function<void(std::shared_ptr<Buffer>
const
&)>
BufferUpdater
;
25
26
}
gte::BufferUpdater
std::function< void(std::shared_ptr< Buffer > const &)> BufferUpdater
Definition:
GteBuffer.h:24
gte
Definition:
GLX/GteWICFileIO.h:16
gte::Resource
Definition:
GteResource.h:16
GteResource.h
gte::Buffer
Definition:
GteBuffer.h:16
GTE_IMPEXP
#define GTE_IMPEXP
Definition:
GTEngineDEF.h:63
geometric_tools_engine
Author(s): Yijiang Huang
autogenerated on Thu Jul 18 2019 03:59:59