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
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()

QShader getShader ( const QString & name)
static

Definition at line 66 of file qquickrhiitem_intro.cpp.

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.