Obsolete Members for QBuffer
The following members of class QBuffer are obsolete. They are provided to keep old source code working. We strongly advise against using them in new code.
Public Types
(obsolete) enum | BufferType { VertexBuffer, IndexBuffer, PixelPackBuffer, PixelUnpackBuffer, UniformBuffer, …, DrawIndirectBuffer } |
Properties
(obsolete)
type : BufferType
Public Functions
(obsolete) | QBuffer(Qt3DRender::QBuffer::BufferType ty, Qt3DCore::QNode *parent = nullptr) |
Member Type Documentation
enum QBuffer::BufferType
This enum is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.
The type of the buffer.
Constant | Value | Description |
---|---|---|
Qt3DRender::QBuffer::VertexBuffer | 0x8892 | GL_ARRAY_BUFFER |
Qt3DRender::QBuffer::IndexBuffer | 0x8893 | GL_ELEMENT_ARRAY_BUFFER |
Qt3DRender::QBuffer::PixelPackBuffer | 0x88EB | GL_PIXEL_PACK_BUFFER |
Qt3DRender::QBuffer::PixelUnpackBuffer | 0x88EC | GL_PIXEL_UNPACK_BUFFER |
Qt3DRender::QBuffer::UniformBuffer | 0x8A11 | GL_UNIFORM_BUFFER |
Qt3DRender::QBuffer::ShaderStorageBuffer | 0x90D2 | GL_SHADER_STORAGE_BUFFER |
Qt3DRender::QBuffer::DrawIndirectBuffer | 0x8F3F | GL_DRAW_INDIRECT_BUFFER |
Property Documentation
type : BufferType
This property is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.
Holds the buffer type.
Access functions:
Notifier signal:
void | typeChanged(Qt3DRender::QBuffer::BufferType type) |
Member Function Documentation
QBuffer::QBuffer(Qt3DRender::QBuffer::BufferType ty, Qt3DCore::QNode *parent = nullptr)
This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.
Constructs a new QBuffer of buffer type ty with parent.
© 2020 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.