mirror of https://github.com/qt/qtdatavis3d.git
Added doc about reflections and stencil buffer
Change-Id: I939d02433291b00a529598718b6390d7246f89f9 Change-Id: I939d02433291b00a529598718b6390d7246f89f9 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>
This commit is contained in:
parent
d76b078947
commit
fc049fcbc2
|
|
@ -743,6 +743,9 @@ qreal QAbstract3DGraph::horizontalAspectRatio() const
|
|||
* for custom items that intersect the floor plane. In that case, reflections should be turned off
|
||||
* to avoid incorrect rendering.
|
||||
*
|
||||
* \note If using custom surface format, stencil buffer needs to be defined
|
||||
* (QSurfaceFormat::setStencilBufferSize()) for reflections to work.
|
||||
*
|
||||
* \sa reflectivity
|
||||
*/
|
||||
void QAbstract3DGraph::setReflection(bool enable)
|
||||
|
|
|
|||
Loading…
Reference in New Issue