Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qsgdefaultspritenode.cpp File Reference
#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 126 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 131 of file qsgdefaultspritenode.cpp.

Referenced by QSGDefaultSpriteNode::QSGDefaultSpriteNode().