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:
Tomi Korpipää 2014-10-09 12:28:57 +03:00
parent d76b078947
commit fc049fcbc2
1 changed files with 3 additions and 0 deletions

View File

@ -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)