![]() |
Qt 6.x
The Qt SDK
|
#include <qsgdefaultinternalimagenode_p.h>
Inheritance diagram for QSGSmoothTextureMaterial:
Collaboration diagram for QSGSmoothTextureMaterial:Public Member Functions | |
| QSGSmoothTextureMaterial () | |
| void | setTexture (QSGTexture *texture) |
Public Member Functions inherited from QSGTextureMaterial | |
| QSGMaterialType * | type () const override |
| QSGMaterialShader * | createShader (QSGRendererInterface::RenderMode renderMode) const override |
Public Member Functions inherited from QSGOpaqueTextureMaterial | |
| QSGOpaqueTextureMaterial () | |
| Creates a new QSGOpaqueTextureMaterial. | |
| QSGMaterialType * | type () const override |
| QSGMaterialShader * | createShader (QSGRendererInterface::RenderMode renderMode) const override |
| int | compare (const QSGMaterial *other) const override |
| void | setTexture (QSGTexture *texture) |
| Sets the texture of this material to texture. | |
| QSGTexture * | texture () const |
| Returns this texture material's texture. | |
| void | setMipmapFiltering (QSGTexture::Filtering filteringType) |
| Sets the mipmap mode to filtering. | |
| QSGTexture::Filtering | mipmapFiltering () const |
| Returns this material's mipmap filtering mode. | |
| void | setFiltering (QSGTexture::Filtering filteringType) |
| Sets the filtering to filtering. | |
| QSGTexture::Filtering | filtering () const |
| Returns this material's filtering mode. | |
| void | setHorizontalWrapMode (QSGTexture::WrapMode mode) |
| Sets the horizontal wrap mode to mode. | |
| QSGTexture::WrapMode | horizontalWrapMode () const |
| Returns this material's horizontal wrap mode. | |
| void | setVerticalWrapMode (QSGTexture::WrapMode mode) |
| Sets the vertical wrap mode to mode. | |
| QSGTexture::WrapMode | verticalWrapMode () const |
| Returns this material's vertical wrap mode. | |
| void | setAnisotropyLevel (QSGTexture::AnisotropyLevel level) |
| Sets this material's anistropy level to level. | |
| QSGTexture::AnisotropyLevel | anisotropyLevel () const |
| Returns this material's anistropy level. | |
Public Member Functions inherited from QSGMaterial | |
| 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. | |
Protected Member Functions | |
| QSGMaterialType * | type () const override |
| QSGMaterialShader * | createShader (QSGRendererInterface::RenderMode renderMode) const override |
Additional Inherited Members | |
Public Types inherited from QSGMaterial | |
| 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... | |
Protected Attributes inherited from QSGOpaqueTextureMaterial | |
| QSGTexture * | m_texture |
| uint | m_filtering: 2 |
| uint | m_mipmap_filtering: 2 |
| uint | m_horizontal_wrap: 1 |
| uint | m_vertical_wrap: 1 |
| uint | m_anisotropy_level: 3 |
| uint | m_reserved: 23 |
Definition at line 27 of file qsgdefaultinternalimagenode_p.h.
| QSGSmoothTextureMaterial::QSGSmoothTextureMaterial | ( | ) |
Definition at line 23 of file qsgdefaultinternalimagenode.cpp.
References QSGMaterial::Blending, QSGMaterial::RequiresFullMatrixExceptTranslate, and QSGMaterial::setFlag().
Here is the call graph for this function:
|
overrideprotectedvirtual |
Reimplemented from QSGOpaqueTextureMaterial.
Definition at line 40 of file qsgdefaultinternalimagenode.cpp.
References Q_UNUSED.
| void QSGSmoothTextureMaterial::setTexture | ( | QSGTexture * | texture | ) |
Definition at line 29 of file qsgdefaultinternalimagenode.cpp.
References QSGOpaqueTextureMaterial::m_texture, and QSGOpaqueTextureMaterial::texture().
Referenced by QSGDefaultInternalImageNode::setMaterialTexture().
Here is the call graph for this function:
Here is the caller graph for this function:
|
overrideprotectedvirtual |
Reimplemented from QSGOpaqueTextureMaterial.
Definition at line 34 of file qsgdefaultinternalimagenode.cpp.
References type().
Referenced by type().
Here is the call graph for this function:
Here is the caller graph for this function: