Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QSGBatchRenderer::ClipState Struct Reference

#include <qsgbatchrenderer_p.h>

+ Collaboration diagram for QSGBatchRenderer::ClipState:

Public Types

enum  ClipTypeBit { NoClip = 0x00 , ScissorClip = 0x01 , StencilClip = 0x02 }
 

Public Member Functions

void reset ()
 

Public Attributes

const QSGClipNodeclipList
 
ClipType type
 
QRhiScissor scissor
 
int stencilRef
 

Detailed Description

Definition at line 360 of file qsgbatchrenderer_p.h.

Member Enumeration Documentation

◆ ClipTypeBit

Enumerator
NoClip 
ScissorClip 
StencilClip 

Definition at line 362 of file qsgbatchrenderer_p.h.

Member Function Documentation

◆ reset()

void QSGBatchRenderer::ClipState::reset ( )
inline

Definition at line 987 of file qsgbatchrenderer_p.h.

References clipList, NoClip, and stencilRef.

Referenced by QSGBatchRenderer::Renderer::prepareRenderPass().

+ Here is the caller graph for this function:

Member Data Documentation

◆ clipList

const QSGClipNode* QSGBatchRenderer::ClipState::clipList

Definition at line 370 of file qsgbatchrenderer_p.h.

Referenced by reset().

◆ scissor

QRhiScissor QSGBatchRenderer::ClipState::scissor

Definition at line 372 of file qsgbatchrenderer_p.h.

◆ stencilRef

int QSGBatchRenderer::ClipState::stencilRef

Definition at line 373 of file qsgbatchrenderer_p.h.

Referenced by reset().

◆ type

ClipType QSGBatchRenderer::ClipState::type

Definition at line 371 of file qsgbatchrenderer_p.h.


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