Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QSGBatchRenderer::Element Struct Reference

#include <qsgbatchrenderer_p.h>

+ Inheritance diagram for QSGBatchRenderer::Element:
+ Collaboration diagram for QSGBatchRenderer::Element:

Public Member Functions

 Element ()
 
void setNode (QSGGeometryNode *n)
 
void ensureBoundsValid ()
 
void computeBounds ()
 

Public Attributes

QSGGeometryNodenode = nullptr
 
Batchbatch = nullptr
 
ElementnextInBatch = nullptr
 
Noderoot = nullptr
 
Rect bounds
 
int order = 0
 
QRhiShaderResourceBindingssrb = nullptr
 
QRhiGraphicsPipelineps = nullptr
 
QRhiGraphicsPipelinedepthPostPassPs = nullptr
 
uint boundsComputed: 1
 
uint boundsOutsideFloatRange: 1
 
uint translateOnlyToRoot: 1
 
uint removed: 1
 
uint orphaned: 1
 
uint isRenderNode: 1
 
uint isMaterialBlended: 1
 

Detailed Description

Definition at line 270 of file qsgbatchrenderer_p.h.

Constructor & Destructor Documentation

◆ Element()

QSGBatchRenderer::Element::Element ( )
inline

Definition at line 271 of file qsgbatchrenderer_p.h.

References Element().

Referenced by Element().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Function Documentation

◆ computeBounds()

void QSGBatchRenderer::Element::computeBounds ( )

Definition at line 663 of file qsgbatchrenderer.cpp.

References bounds, QSGBatchRenderer::Rect::br, QSGBatchRenderer::Rect::operator|=(), QSGBatchRenderer::Rect::tl, QSGBatchRenderer::Pt::x, and QSGBatchRenderer::Pt::y.

Referenced by ensureBoundsValid().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ensureBoundsValid()

void QSGBatchRenderer::Element::ensureBoundsValid ( )
inline

Definition at line 287 of file qsgbatchrenderer_p.h.

References computeBounds().

+ Here is the call graph for this function:

◆ setNode()

void QSGBatchRenderer::Element::setNode ( QSGGeometryNode * n)
inline

Definition at line 282 of file qsgbatchrenderer_p.h.

Member Data Documentation

◆ batch

Batch* QSGBatchRenderer::Element::batch = nullptr

◆ bounds

Rect QSGBatchRenderer::Element::bounds

Definition at line 298 of file qsgbatchrenderer_p.h.

Referenced by computeBounds().

◆ boundsComputed

uint QSGBatchRenderer::Element::boundsComputed

Definition at line 305 of file qsgbatchrenderer_p.h.

◆ boundsOutsideFloatRange

uint QSGBatchRenderer::Element::boundsOutsideFloatRange

Definition at line 306 of file qsgbatchrenderer_p.h.

◆ depthPostPassPs

QRhiGraphicsPipeline* QSGBatchRenderer::Element::depthPostPassPs = nullptr

Definition at line 303 of file qsgbatchrenderer_p.h.

◆ isMaterialBlended

uint QSGBatchRenderer::Element::isMaterialBlended

Definition at line 311 of file qsgbatchrenderer_p.h.

◆ isRenderNode

uint QSGBatchRenderer::Element::isRenderNode

Definition at line 310 of file qsgbatchrenderer_p.h.

◆ nextInBatch

◆ node

QSGGeometryNode* QSGBatchRenderer::Element::node = nullptr

Definition at line 293 of file qsgbatchrenderer_p.h.

◆ order

◆ orphaned

uint QSGBatchRenderer::Element::orphaned

Definition at line 309 of file qsgbatchrenderer_p.h.

◆ ps

QRhiGraphicsPipeline* QSGBatchRenderer::Element::ps = nullptr

Definition at line 302 of file qsgbatchrenderer_p.h.

◆ removed

uint QSGBatchRenderer::Element::removed

Definition at line 308 of file qsgbatchrenderer_p.h.

◆ root

Node* QSGBatchRenderer::Element::root = nullptr

Definition at line 296 of file qsgbatchrenderer_p.h.

Referenced by QSGBatchRenderer::Updater::visitGeometryNode().

◆ srb

QRhiShaderResourceBindings* QSGBatchRenderer::Element::srb = nullptr

Definition at line 301 of file qsgbatchrenderer_p.h.

◆ translateOnlyToRoot

uint QSGBatchRenderer::Element::translateOnlyToRoot

Definition at line 307 of file qsgbatchrenderer_p.h.


The documentation for this struct was generated from the following files: