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)
  • 2 public functions inherited from QObject

Member Type Documentation

enum QBuffer::BufferType

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

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)

Constructs a new QBuffer of buffer type ty with parent.

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