QPointSize Class
(Qt3DRender::QPointSize)Specifies the size of rasterized points. May either be set statically or by shader programs. More...
Header: | #include <QPointSize> |
qmake: | QT += 3drender |
Inherits: | Qt3DRender::QRenderState |
Public Types
enum | Specification { StaticValue, Programmable } |
Properties
- specification : Specification
- value : float
- 2 properties inherited from Qt3DCore::QNode
- 1 property inherited from QObject
Public Functions
QPointSize(Qt3DCore::QNode *parent = Q_NULLPTR) | |
~QPointSize() | |
bool | isProgrammable() const |
Specification | specification() const |
float | value() const |
- 1 public function inherited from Qt3DRender::QRenderState
- 6 public functions inherited from Qt3DCore::QNode
- 31 public functions inherited from QObject
Public Slots
void | setSpecification(Specification spec) |
void | setValue(float value) |
- 2 public slots inherited from Qt3DCore::QNode
- 1 public slot inherited from QObject
Signals
void | specificationChanged(Specification spec) |
void | valueChanged(float value) |
- 2 signals inherited from Qt3DCore::QNode
- 2 signals inherited from QObject
Protected Functions
void | copy(const Qt3DCore::QNode *ref) |
- 3 protected functions inherited from Qt3DCore::QNode
- 9 protected functions inherited from QObject
Additional Inherited Members
- 11 static public members inherited from QObject
- 1 static protected member inherited from Qt3DCore::QNode
Detailed Description
Specifies the size of rasterized points. May either be set statically or by shader programs.
When using StaticValue, the value is set using glPointSize(), if available. When using Programmable, gl_PointSize must be set within shader programs, the value provided to this RenderState is ignored in that case.
Property Documentation
specification : Specification
Access functions:
Specification | specification() const |
void | setSpecification(Specification spec) |
Notifier signal:
void | specificationChanged(Specification spec) |
value : float
Access functions:
float | value() const |
void | setValue(float value) |
Notifier signal:
void | valueChanged(float value) |
Member Function Documentation
QPointSize::QPointSize(Qt3DCore::QNode *parent = Q_NULLPTR)
Default constructs an instance of QPointSize.
QPointSize::~QPointSize()
Destroys the instance of QPointSize.
[protected]
void QPointSize::copy(const Qt3DCore::QNode *ref)
bool QPointSize::isProgrammable() const
© 2017 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.