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

(bd71e82c2ff8fee9516e6474b3966148f2040189)

#include <QtQuick/QQuickRhiItem>
#include <rhi/qrhi.h>
+ Include dependency graph for qquickrhiitem_intro.cpp:

Go to the source code of this file.

Classes

class  ExampleRhiItemRenderer
 [0] More...
 
class  ExampleRhiItem
 

Functions

static QShader getShader (const QString &name)
 

Variables

static float vertexData []
 

Function Documentation

◆ getShader()

static QShader getShader ( const QString & name)
static

Definition at line 66 of file qquickrhiitem_intro.cpp.

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

Referenced by ExampleRhiItemRenderer::initialize().

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

Variable Documentation

◆ vertexData

float vertexData[]
static
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 72 of file qquickrhiitem_intro.cpp.

Referenced by ExampleRhiItemRenderer::initialize().