QBuffer Class

(Qt3D::QBuffer)
Inherits:

Public Types

enum BufferType { VertexBuffer, IndexBuffer, PixelPackBuffer, PixelUnpackBuffer }
enum UsageType { StreamDraw, StreamRead, StreamCopy, StaticDraw, ..., DynamicCopy }

Properties

Public Functions

QBuffer(BufferType ty = QBuffer::VertexBuffer, QNode * parent = 0)
~QBuffer()
QBufferFunctorPtr bufferFunctor() const
void setBufferFunctor(const QBufferFunctorPtr & functor)
void setType(BufferType type)
void setUsage(UsageType usage)
BufferType type() const
UsageType usage() const

Signals

void typeChanged()
void usageChanged()

Protected Functions

QBuffer(QBufferPrivate & dd, QBuffer::BufferType ty, QNode * parent = 0)
void copy(const QNode * ref)

Member Type Documentation

enum QBuffer::BufferType

enum QBuffer::UsageType

Property Documentation

type : BufferType

Access functions:

BufferType type() const
void setType(BufferType type)

Notifier signal:

void typeChanged()

usage : UsageType

Access functions:

UsageType usage() const
void setUsage(UsageType usage)

Notifier signal:

void usageChanged()

Member Function Documentation

QBuffer::QBuffer(BufferType ty = QBuffer::VertexBuffer, QNode * parent = 0)

[protected] QBuffer::QBuffer(QBufferPrivate & dd, QBuffer::BufferType ty, QNode * parent = 0)

QBuffer::~QBuffer()

QBufferFunctorPtr QBuffer::bufferFunctor() const

See also setBufferFunctor().

[protected] void QBuffer::copy(const QNode * ref)

void QBuffer::setBufferFunctor(const QBufferFunctorPtr & functor)

See also bufferFunctor().

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