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
qsgvertexcolormaterial.h
Go to the documentation of this file.
1
// Copyright (C) 2016 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4
#
ifndef
QSGVERTEXCOLORMATERIAL_H
5
#
define
QSGVERTEXCOLORMATERIAL_H
6
7
#
include
<
QtQuick
/
qsgmaterial
.
h
>
8
9
QT_BEGIN_NAMESPACE
10
11
class
Q_QUICK_EXPORT
QSGVertexColorMaterial
:
public
QSGMaterial
12
{
13
public
:
14
QSGVertexColorMaterial();
15
16
int
compare(
const
QSGMaterial *other)
const
override;
17
18
protected
:
19
QSGMaterialType *type()
const
override;
20
QSGMaterialShader *createShader(QSGRendererInterface::RenderMode renderMode)
const
override;
21
};
22
23
QT_END_NAMESPACE
24
25
#
endif
// VERTEXCOLORMATERIAL_H
QSGVertexColorMaterialRhiShader
Definition
qsgvertexcolormaterial.cpp:9
QSGVertexColorMaterialRhiShader::QSGVertexColorMaterialRhiShader
QSGVertexColorMaterialRhiShader(int viewCount)
Definition
qsgvertexcolormaterial.cpp:16
QSGVertexColorMaterialRhiShader::updateUniformData
bool updateUniformData(RenderState &state, QSGMaterial *newMaterial, QSGMaterial *oldMaterial) override
This function is called by the scene graph to get the contents of the shader program's uniform buffer...
Definition
qsgvertexcolormaterial.cpp:22
QSGVertexColorMaterial
The QSGVertexColorMaterial class provides a convenient way of rendering per-vertex colored geometry i...
Definition
qsgvertexcolormaterial.h:12
QPlatformGraphicsBufferHelper
\inmodule QtGui
qtdeclarative
src
quick
scenegraph
util
qsgvertexcolormaterial.h
Generated on
for Qt by
1.14.0