![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
Public Member Functions | |
| const QMatrix4x4 * | projectionMatrix () const override |
| QRect | scissorRect () const override |
| bool | scissorEnabled () const override |
| int | stencilValue () const override |
| bool | stencilEnabled () const override |
| const QRegion * | clipRegion () const override |
| const QMatrix4x4 * | projectionMatrix () const override |
| QRect | scissorRect () const override |
| bool | scissorEnabled () const override |
| int | stencilValue () const override |
| bool | stencilEnabled () const override |
| const QRegion * | clipRegion () const override |
| Public Member Functions inherited from QSGRenderNode::RenderState | |
| virtual | ~RenderState () |
| virtual void * | get (const char *state) const |
Public Attributes | |
| QMatrix4x4 | ident |
| QRegion | cr |
Definition at line 212 of file qsgsoftwarerenderablenode.cpp.
|
inlineoverridevirtual |
The software backend uses no projection, scissor or stencil, meaning most of the render state is not in use. However, the clip region that can be set on the QPainter still has to be communicated since reconstructing this manually in render() is not reasonable. It can therefore be queried via this function. The region is in world coordinates and can be passed to QPainter::setClipRegion() with Qt::ReplaceClip. This must be done before calling QPainter::setTransform() since the clip region is already mapped to the transform provided in QSGRenderNode::matrix().
Implements QSGRenderNode::RenderState.
Definition at line 219 of file qsgsoftwarerenderablenode.cpp.
|
inlineoverridevirtual |
The software backend uses no projection, scissor or stencil, meaning most of the render state is not in use. However, the clip region that can be set on the QPainter still has to be communicated since reconstructing this manually in render() is not reasonable. It can therefore be queried via this function. The region is in world coordinates and can be passed to QPainter::setClipRegion() with Qt::ReplaceClip. This must be done before calling QPainter::setTransform() since the clip region is already mapped to the transform provided in QSGRenderNode::matrix().
Implements QSGRenderNode::RenderState.
Definition at line 219 of file qsgsoftwarerenderablenode.cpp.
|
inlineoverridevirtual |
The model-view matrix can be retrieved with QSGRenderNode::matrix(). Typically {projection * modelview} is the matrix that is then used in the vertex shader to transform the vertices.
Implements QSGRenderNode::RenderState.
Definition at line 214 of file qsgsoftwarerenderablenode.cpp.
|
inlineoverridevirtual |
The model-view matrix can be retrieved with QSGRenderNode::matrix(). Typically {projection * modelview} is the matrix that is then used in the vertex shader to transform the vertices.
Implements QSGRenderNode::RenderState.
Definition at line 214 of file qsgsoftwarerenderablenode.cpp.
|
inlineoverridevirtual |
Implements QSGRenderNode::RenderState.
Definition at line 216 of file qsgsoftwarerenderablenode.cpp.
|
inlineoverridevirtual |
Implements QSGRenderNode::RenderState.
Definition at line 216 of file qsgsoftwarerenderablenode.cpp.
|
inlineoverridevirtual |
Implements QSGRenderNode::RenderState.
Definition at line 215 of file qsgsoftwarerenderablenode.cpp.
|
inlineoverridevirtual |
Implements QSGRenderNode::RenderState.
Definition at line 215 of file qsgsoftwarerenderablenode.cpp.
|
inlineoverridevirtual |
KEEP, comparison function EQUAL, and a read and write mask of 0xFF. Implements QSGRenderNode::RenderState.
Definition at line 218 of file qsgsoftwarerenderablenode.cpp.
|
inlineoverridevirtual |
KEEP, comparison function EQUAL, and a read and write mask of 0xFF. Implements QSGRenderNode::RenderState.
Definition at line 218 of file qsgsoftwarerenderablenode.cpp.
|
inlineoverridevirtual |
Implements QSGRenderNode::RenderState.
Definition at line 217 of file qsgsoftwarerenderablenode.cpp.
|
inlineoverridevirtual |
Implements QSGRenderNode::RenderState.
Definition at line 217 of file qsgsoftwarerenderablenode.cpp.
| QRegion RenderNodeState::cr |
Definition at line 221 of file qsgsoftwarerenderablenode.cpp.
| QMatrix4x4 RenderNodeState::ident |
Definition at line 220 of file qsgsoftwarerenderablenode.cpp.