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

(b5a05e4e7e97f8ef5c4cc65fee0cfcfd9e4c5cc4)

#include "qsgdefaultspritenode_p.h"
#include <QtQuick/QSGMaterial>
+ Include dependency graph for qsgdefaultspritenode.cpp:

Go to the source code of this file.

Classes

struct  SpriteVertex
 
struct  SpriteVertices
 
class  QQuickSpriteMaterial
 
class  SpriteMaterialRhiShader
 

Variables

static QSGGeometry::Attribute Sprite_Attributes []
 
static QSGGeometry::AttributeSet Sprite_AttributeSet
 

Variable Documentation

◆ Sprite_Attributes

QSGGeometry::Attribute Sprite_Attributes[]
static
Initial value:
= {
}
static Attribute create(int pos, int tupleSize, int primitiveType, bool isPosition=false)
Creates a new QSGGeometry::Attribute for attribute register pos with tupleSize.

Definition at line 130 of file qsgdefaultspritenode.cpp.

◆ Sprite_AttributeSet

QSGGeometry::AttributeSet Sprite_AttributeSet
static
Initial value:
=
{
2,
(2+2) * sizeof(float),
}
static QSGGeometry::Attribute Sprite_Attributes[]

Definition at line 135 of file qsgdefaultspritenode.cpp.

Referenced by QSGDefaultSpriteNode::QSGDefaultSpriteNode().