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
QOpenGLConfig::Gpu Struct Reference

#include <qopengl_p.h>

Collaboration diagram for QOpenGLConfig::Gpu:

Public Member Functions

 Gpu ()
bool isValid () const
bool equals (const Gpu &other) const

Static Public Member Functions

static Gpu fromDevice (uint vendorId, uint deviceId, QVersionNumber driverVersion, const QByteArray &driverDescription)
static Gpu fromGLVendor (const QByteArray &glVendor)
static Gpu fromContext ()

Public Attributes

uint vendorId
uint deviceId
QVersionNumber driverVersion
QByteArray driverDescription
QByteArray glVendor

Detailed Description

Definition at line 48 of file qopengl_p.h.

Constructor & Destructor Documentation

◆ Gpu()

QOpenGLConfig::Gpu::Gpu ( )
inline

Definition at line 49 of file qopengl_p.h.

Member Function Documentation

◆ equals()

bool QOpenGLConfig::Gpu::equals ( const Gpu & other) const
inline

Definition at line 51 of file qopengl_p.h.

◆ fromContext()

QOpenGLConfig::Gpu QOpenGLConfig::Gpu::fromContext ( )
static

Definition at line 460 of file qopengl.cpp.

◆ fromDevice()

Gpu QOpenGLConfig::Gpu::fromDevice ( uint vendorId,
uint deviceId,
QVersionNumber driverVersion,
const QByteArray & driverDescription )
inlinestatic

Definition at line 62 of file qopengl_p.h.

◆ fromGLVendor()

Gpu QOpenGLConfig::Gpu::fromGLVendor ( const QByteArray & glVendor)
inlinestatic

Definition at line 71 of file qopengl_p.h.

◆ isValid()

bool QOpenGLConfig::Gpu::isValid ( ) const
inline

Definition at line 50 of file qopengl_p.h.

Member Data Documentation

◆ deviceId

uint QOpenGLConfig::Gpu::deviceId

Definition at line 57 of file qopengl_p.h.

◆ driverDescription

QByteArray QOpenGLConfig::Gpu::driverDescription

Definition at line 59 of file qopengl_p.h.

◆ driverVersion

QVersionNumber QOpenGLConfig::Gpu::driverVersion

Definition at line 58 of file qopengl_p.h.

◆ glVendor

QByteArray QOpenGLConfig::Gpu::glVendor

Definition at line 60 of file qopengl_p.h.

◆ vendorId

uint QOpenGLConfig::Gpu::vendorId

Definition at line 56 of file qopengl_p.h.


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