Qt3DRender::QRenderState Class | Qt 3D | Qt 6.12.0
Description: An abstract base class for all render states.
Keywords: class

- Qt 6.12
- Qt 3D
- C++ Classes
- Qt3DRender (Deprecated)
- QRenderState
- Qt 6.12.0 Reference Documentation

# Qt3DRender::QRenderState Class

class Qt3DRender::QRenderState

An abstract base class for all render states. More...

Header: | `#include <qrenderstate.h>`
CMake: | `find_package(Qt6 REQUIRED COMPONENTS 3drender)` `target_link_libraries(mytarget PRIVATE Qt6::3drender)`
qmake: | `QT += 3drender`
In QML: | RenderState
Inherits: | Qt3DCore::QNode
Inherited By: | Qt3DRender::QAlphaCoverage, Qt3DRender::QAlphaTest, Qt3DRender::QBlendEquation, Qt3DRender::QBlendEquationArguments, Qt3DRender::QClipPlane, Qt3DRender::QColorMask, Qt3DRender::QCullFace, Qt3DRender::QDepthRange, Qt3DRender::QDepthTest, Qt3DRender::QDithering, Qt3DRender::QFrontFace, Qt3DRender::QLineWidth, Qt3DRender::QMultiSampleAntiAliasing, Qt3DRender::QNoDepthMask, Qt3DRender::QPointSize, Qt3DRender::QPolygonOffset, Qt3DRender::QRasterMode, Qt3DRender::QScissorTest, Qt3DRender::QSeamlessCubemap, Qt3DRender::QStencilMask, Qt3DRender::QStencilOperation, and Qt3DRender::QStencilTest
Status: | Deprecated

This class is deprecated. We strongly advise against using it in new code.

- List of all members, including inherited members

## Detailed Description

A Qt3DRender::QRenderState class is abstract base class for all render states. One can not instantiate QRenderState directly, but through its subclasses.