4#ifndef QSGDEFAULTIMAGENODE_P_H
5#define QSGDEFAULTIMAGENODE_P_H
18#include <QtQuick/private/qtquickglobal_p.h>
19#include <QtQuick/qsgimagenode.h>
20#include <QtQuick/qsggeometry.h>
21#include <QtQuick/qsgtexturematerial.h>
62 TextureCoordinatesTransformMode m_texCoordMode;
63 uint m_isAtlasTexture : 1;
64 uint m_ownsTexture : 1;
\inmodule QtCore\reentrant
The QSGGeometry class provides low-level storage for graphics primitives in the \l{Qt Quick Scene Gra...
The QSGImageNode class is provided for convenience to easily draw textured content using the QML scen...
virtual void setOwnsTexture(bool owns)=0
Sets whether the node takes ownership of the texture to owns.
virtual void setSourceRect(const QRectF &r)=0
Sets the source rect of this image node to rect.
virtual void setFiltering(QSGTexture::Filtering filtering)=0
Sets the filtering to be used for this image node to filtering.
virtual void setTextureCoordinatesTransform(TextureCoordinatesTransformMode mode)=0
Sets the method used to generate texture coordinates to mode.
virtual QSGTexture::AnisotropyLevel anisotropyLevel() const =0
Returns this image node's anistropy level.
virtual QSGTexture::Filtering mipmapFiltering() const =0
Returns the mipmap filtering for this image node.
virtual QRectF rect() const =0
Returns the target rect of this image node.
virtual void setRect(const QRectF &rect)=0
Sets the target rect of this image node to rect.
virtual QSGTexture * texture() const =0
Returns the texture for this image node.
virtual QSGTexture::Filtering filtering() const =0
Returns the filtering for this image node.
virtual void setTexture(QSGTexture *texture)=0
Sets the texture of this image node to texture.
virtual bool ownsTexture() const =0
virtual void setMipmapFiltering(QSGTexture::Filtering filtering)=0
Sets the mipmap filtering to be used for this image node to filtering.
virtual TextureCoordinatesTransformMode textureCoordinatesTransform() const =0
Returns the mode used to generate texture coordinates for this node.
virtual void setAnisotropyLevel(QSGTexture::AnisotropyLevel level)=0
Sets this image node's anistropy level to level.
virtual QRectF sourceRect() const =0
Returns the source rect of this image node.
The QSGOpaqueTextureMaterial class provides a convenient way of rendering textured geometry in the sc...
The QSGTextureMaterial class provides a convenient way of rendering textured geometry in the scene gr...
Filtering
Specifies how sampling of texels should filter when texture coordinates are not pixel aligned.
AnisotropyLevel
Specifies the anisotropic filtering level to be used when the texture is not screen aligned.
Combined button and popup list for selecting options.
GLenum GLuint GLint level