Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
src_gui_opengl_qopenglbuffer.cpp
Go to the documentation of this file.
1// Copyright (C) 2018 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
3#include <QtOpenGL/QOpenGLBuffer>
4
6void wrapper() {
7
8//! [0]
9QOpenGLBuffer buffer1(QOpenGLBuffer::IndexBuffer);
10buffer1.create();
11
12QOpenGLBuffer buffer2 = buffer1;
13//! [0]
14
15
16//! [1]
17QOpenGLBuffer::release(QOpenGLBuffer::VertexBuffer);
18//! [1]
19
20} // wrapper
21} // src_gui_opengl_qopenglbuffer