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
QVersionDirectivePosition Struct Reference
+ Collaboration diagram for QVersionDirectivePosition:

Public Member Functions

constexpr QVersionDirectivePosition (int position=0, int line=-1)
 
constexpr bool hasPosition () const
 

Public Attributes

const int position
 
const int line
 

Detailed Description

Definition at line 457 of file qopenglshaderprogram.cpp.

Constructor & Destructor Documentation

◆ QVersionDirectivePosition()

constexpr QVersionDirectivePosition::QVersionDirectivePosition ( int position = 0,
int line = -1 )
inlineconstexpr

Definition at line 459 of file qopenglshaderprogram.cpp.

Member Function Documentation

◆ hasPosition()

constexpr bool QVersionDirectivePosition::hasPosition ( ) const
inlineconstexpr

Definition at line 465 of file qopenglshaderprogram.cpp.

References position.

Member Data Documentation

◆ line

const int QVersionDirectivePosition::line

Definition at line 471 of file qopenglshaderprogram.cpp.

◆ position

const int QVersionDirectivePosition::position

Definition at line 470 of file qopenglshaderprogram.cpp.

Referenced by hasPosition().


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