![]() |
Qt 6.x
The Qt SDK
|
#include <qquickimageparticle_p.h>
Public Member Functions | |
virtual ImageMaterialData * | state ()=0 |
![]() | |
QSGMaterial () | |
virtual | ~QSGMaterial () |
virtual QSGMaterialType * | type () const =0 |
This function is called by the scene graph to query an identifier that is unique to the QSGMaterialShader instantiated by createShader(). | |
virtual QSGMaterialShader * | createShader (QSGRendererInterface::RenderMode renderMode) const =0 |
This function returns a new instance of a the QSGMaterialShader implementation used to render geometry for a specific implementation of QSGMaterial. | |
virtual int | compare (const QSGMaterial *other) const |
Compares this material to other and returns 0 if they are equal; -1 if this material should sort before other and 1 if other should sort before. | |
QSGMaterial::Flags | flags () const |
Returns the material's flags. | |
void | setFlag (Flags flags, bool on=true) |
Sets the flags flags on this material if on is true; otherwise clears the attribute. | |
Additional Inherited Members | |
![]() | |
enum | Flag { Blending = 0x0001 , RequiresDeterminant = 0x0002 , RequiresFullMatrixExceptTranslate = 0x0004 | RequiresDeterminant , RequiresFullMatrix = 0x0008 | RequiresFullMatrixExceptTranslate , NoBatching = 0x0010 } |
\value Blending Set this flag to true if the material requires blending to be enabled during rendering. More... | |
Definition at line 143 of file qquickimageparticle_p.h.
|
pure virtual |
Implemented in TabledMaterial, DeformableMaterial, SpriteMaterial, ColoredPointMaterial, ColoredMaterial, and SimplePointMaterial.