Main Page
Namespaces
Classes
Files
File List
File Members
include
Graphics
GL4
GteGL4AtomicCounterBuffer.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/GteRawBuffer.h
>
11
#include <
Graphics/GL4/GteGL4Buffer.h
>
12
13
namespace
gte
14
{
15
16
class
GTE_IMPEXP
GL4AtomicCounterBuffer
:
public
GL4Buffer
17
{
18
public
:
19
// Construction.
20
GL4AtomicCounterBuffer
(
RawBuffer
const
* cbuffer);
21
static
std::shared_ptr<GEObject> Create(
void
* unused,
GraphicsObject
const
*
object
);
22
23
// Member access.
24
inline
RawBuffer
* GetRawBuffer()
const
;
25
26
// Bind the raw buffer data to the specified atomic counter buffer unit.
27
void
AttachToUnit(
GLint
atomicCounterBufferUnit);
28
};
29
30
31
inline
RawBuffer
*
GL4AtomicCounterBuffer::GetRawBuffer
()
const
32
{
33
return
static_cast<
RawBuffer
*
>
(mGTObject);
34
}
35
36
}
GLint
int GLint
Definition:
glcorearb.h:85
gte::GL4Buffer
Definition:
GteGL4Buffer.h:16
gte::GraphicsObject
Definition:
GteGraphicsObject.h:115
GteGL4Buffer.h
gte
Definition:
GLX/GteWICFileIO.h:16
gte::GL4AtomicCounterBuffer
Definition:
GteGL4AtomicCounterBuffer.h:16
gte::RawBuffer
Definition:
GteRawBuffer.h:15
gte::GL4AtomicCounterBuffer::GetRawBuffer
RawBuffer * GetRawBuffer() const
Definition:
GteGL4AtomicCounterBuffer.h:31
GteRawBuffer.h
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