QGeometryRenderer Class

(Qt3D::QGeometryRenderer)
Inherits:
Inherited By:

Public Types

enum PrimitiveType { Points, Lines, LineLoop, LineStrip, ..., Patches }

Properties

Public Functions

QGeometryRenderer(QNode * parent = 0)
~QGeometryRenderer()
int baseInstance() const
int baseVertex() const
QGeometry * geometry() const
QGeometryFunctorPtr geometryFunctor() const
int instanceCount() const
int primitiveCount() const
bool primitiveRestart() const
PrimitiveType primitiveType() const
int restartIndex() const
void setBaseInstance(int baseInstance)
void setBaseVertex(int baseVertex)
void setGeometry(QGeometry * geometry)
void setGeometryFunctor(const QGeometryFunctorPtr & functor)
void setInstanceCount(int instanceCount)
void setPrimitiveCount(int primitiveCount)
void setPrimitiveRestart(bool enabled)
void setPrimitiveType(PrimitiveType primitiveType)
void setRestartIndex(int index)

Signals

Protected Functions

QGeometryRenderer(QGeometryRendererPrivate & dd, QNode * parent = 0)
void copy(const QNode * ref)
void sceneChangeEvent(const QSceneChangePtr & change)

Member Type Documentation

enum QGeometryRenderer::PrimitiveType

Property Documentation

baseInstance : int

Access functions:

int baseInstance() const
void setBaseInstance(int baseInstance)

Notifier signal:

void baseInstanceChanged()

baseVertex : int

Access functions:

int baseVertex() const
void setBaseVertex(int baseVertex)

Notifier signal:

void baseVertexChanged()

geometry : Qt3D::QGeometry *

Access functions:

QGeometry * geometry() const
void setGeometry(QGeometry * geometry)

Notifier signal:

void geometryChanged()

instanceCount : int

Access functions:

int instanceCount() const
void setInstanceCount(int instanceCount)

Notifier signal:

void instanceCountChanged()

primitiveCount : int

Access functions:

int primitiveCount() const
void setPrimitiveCount(int primitiveCount)

Notifier signal:

void primitiveCountChanged()

primitiveRestart : bool

Access functions:

bool primitiveRestart() const
void setPrimitiveRestart(bool enabled)

Notifier signal:

void primitiveRestartChanged()

primitiveType : PrimitiveType

Access functions:

PrimitiveType primitiveType() const
void setPrimitiveType(PrimitiveType primitiveType)

Notifier signal:

void primitiveTypeChanged()

restartIndex : int

Access functions:

int restartIndex() const
void setRestartIndex(int index)

Notifier signal:

void restartIndexChanged()

Member Function Documentation

QGeometryRenderer::QGeometryRenderer(QNode * parent = 0)

[protected] QGeometryRenderer::QGeometryRenderer(QGeometryRendererPrivate & dd, QNode * parent = 0)

QGeometryRenderer::~QGeometryRenderer()

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

QGeometryFunctorPtr QGeometryRenderer::geometryFunctor() const

See also setGeometryFunctor().

[protected] void QGeometryRenderer::sceneChangeEvent(const QSceneChangePtr & change)

void QGeometryRenderer::setGeometryFunctor(const QGeometryFunctorPtr & functor)

See also geometryFunctor().

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