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) BufferType type() const

Public Slots

(obsolete) void setType(BufferType type)

Signals

(obsolete) void typeChanged(BufferType type)

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:

BufferType type() const
void setType(BufferType type)

Notifier signal:

void typeChanged(BufferType type)