1// Copyright (C) 2016 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
3
4//
5// W A R N I N G
6// -------------
7//
8// This file is not part of the QtDataVisualization API. It exists purely as an
9// implementation detail. This header file may change from version to
10// version without notice, or even be removed.
11//
12// We mean it.
13
14#ifndef ABSTRACTOBJECTHELPER_H
15#define ABSTRACTOBJECTHELPER_H
16
17#include "datavisualizationglobal_p.h"
18
19QT_BEGIN_NAMESPACE
20
21class AbstractObjectHelper: protected QOpenGLFunctions
22{
23protected:
24 AbstractObjectHelper();
25public:
26 virtual ~AbstractObjectHelper();
27
28 GLuint vertexBuf();
29 GLuint normalBuf();
30 virtual GLuint uvBuf();
31 GLuint elementBuf();
32 GLuint indexCount();
33
34public:
35 GLuint m_vertexbuffer;
36 GLuint m_normalbuffer;
37 GLuint m_uvbuffer;
38 GLuint m_elementbuffer;
39
40 GLuint m_indexCount;
41 GLboolean m_meshDataLoaded;
42};
43
44QT_END_NAMESPACE
45
46#endif
47

source code of qtdatavis3d/src/datavisualization/utils/abstractobjecthelper_p.h