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, ..., DrawIndirectBuffer }

Properties

  • (obsolete) type : BufferType

Public Functions

(obsolete) QBuffer(Qt3DRender::QBuffer::BufferType ty, Qt3DCore::QNode *parent = nullptr)
(obsolete) dumpObjectInfo()
(obsolete) dumpObjectTree()

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.

ConstantValueDescription
Qt3DRender::QBuffer::VertexBuffer0x8892GL_ARRAY_BUFFER
Qt3DRender::QBuffer::IndexBuffer0x8893GL_ELEMENT_ARRAY_BUFFER
Qt3DRender::QBuffer::PixelPackBuffer0x88EBGL_PIXEL_PACK_BUFFER
Qt3DRender::QBuffer::PixelUnpackBuffer0x88ECGL_PIXEL_UNPACK_BUFFER
Qt3DRender::QBuffer::UniformBuffer0x8A11GL_UNIFORM_BUFFER
Qt3DRender::QBuffer::ShaderStorageBuffer0x90D2GL_SHADER_STORAGE_BUFFER
Qt3DRender::QBuffer::DrawIndirectBuffer0x8F3FGL_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:

Qt3DRender::QBuffer::BufferType type() const
void setType(Qt3DRender::QBuffer::BufferType type)

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.

© 2021 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.