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
rhiwidgetintro.cpp File Reference

(72a453c6a8b02c08c5c09842f468459d6a51c387)

#include <QRhiWidget>
#include <QFile>
#include <rhi/qrhi.h>
+ Include dependency graph for rhiwidgetintro.cpp:

Go to the source code of this file.

Classes

class  ExampleRhiWidget
 [0] More...
 

Functions

QShader getShader (const QString &name)
 

Variables

float vertexData []
 

Function Documentation

◆ getShader()

QShader getShader ( const QString & name)

Definition at line 31 of file rhiwidgetintro.cpp.

References QShader::fromSerialized(), and QIODeviceBase::ReadOnly.

Referenced by ExampleRhiWidget::initialize().

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

Variable Documentation

◆ vertexData

float vertexData[]
Initial value:
= {
0.0f, 0.5f, 1.0f, 0.0f, 0.0f,
-0.5f, -0.5f, 0.0f, 1.0f, 0.0f,
0.5f, -0.5f, 0.0f, 0.0f, 1.0f,
}

Definition at line 25 of file rhiwidgetintro.cpp.

Referenced by fillVertexData(), QT_BEGIN_NAMESPACE::generateMeshLevelsOfDetail(), ExampleRhiWidget::initialize(), main(), operator<<(), QSSGDebugDrawSystem::prepareGeometry(), QSGDefaultGlyphNode::updateGeometry(), and QWavefrontMesh::updateGeometry().